We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have an empty project through cargo init --lib Almost everything is following the tutorial
cargo init --lib
➜ test_rust git:(main) ✗ cargo publish --allow-dirty --verbose --registry ktra Updating `ktra` index Running `git fetch --force --update-head-ok 'ssh://[email protected]/xxxxxx/ktra-index' '+HEAD:refs/remotes/origin/HEAD'` warning: manifest has no description, license, license-file, documentation, homepage or repository. See https://doc.rust-lang.org/cargo/reference/manifest.html#package-metadata for more info. Packaging test_rust v0.1.0 (/Users/jack/Dev/new_trading/libraries/test_rust) Archiving Cargo.toml Archiving Cargo.toml.orig Archiving src/lib.rs Verifying test_rust v0.1.0 (/Users/jack/Dev/new_trading/libraries/test_rust) Compiling test_rust v0.1.0 (/Users/jack/Dev/new_trading/libraries/test_rust/target/package/test_rust-0.1.0) Running `rustc --crate-name test_rust --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C split-debuginfo=unpacked -C debuginfo=2 -C metadata=51782412979cedc2 -C extra-filename=-51782412979cedc2 --out-dir /Users/jack/Dev/new_trading/libraries/test_rust/target/package/test_rust-0.1.0/target/debug/deps -C incremental=/Users/jack/Dev/new_trading/libraries/test_rust/target/package/test_rust-0.1.0/target/debug/incremental -L dependency=/Users/jack/Dev/new_trading/libraries/test_rust/target/package/test_rust-0.1.0/target/debug/deps` Finished dev [unoptimized + debuginfo] target(s) in 2.74s Uploading test_rust v0.1.0 (/Users/jack/Dev/new_trading/libraries/test_rust) error: failed to publish to registry at http://localhost:8000 Caused by: the remote server responded with an error (status 404 Not Found): resource or api is not defined
[registries] ktra = { index = "ssh://[email protected]/xxxxxxxx/ktra-index" }
I'm not sure why is this happening.
The text was updated successfully, but these errors were encountered:
Dec 25 17:26:58.943 DEBUG hyper::proto::h1::io: parsed 5 headers Dec 25 17:26:58.943 DEBUG hyper::proto::h1::conn: incoming body is content-length (965 bytes) Dec 25 17:26:58.944 DEBUG request{method=PUT path=/api/v1/crates/new version=HTTP/1.1 remote.addr=127.0.0.1:53721}: warp::filters::trace: received request Dec 25 17:26:58.944 INFO request{method=PUT path=/api/v1/crates/new version=HTTP/1.1 remote.addr=127.0.0.1:53721}: warp::filters::trace: processing request Dec 25 17:26:58.945 WARN request{method=PUT path=/api/v1/crates/new version=HTTP/1.1 remote.addr=127.0.0.1:53721}: warp::filters::trace: unable to serve request (client error) status=400 error=Rejection([MissingHeader { name: "Authorization" }, MissingHeader { name: "Authorization" }, MissingHeader { name: "Authorization" }, MethodNotAllowed, MethodNotAllowed, MethodNotAllowed, MethodNotAllowed, MethodNotAllowed, MethodNotAllowed, MethodNotAllowed, MethodNotAllowed, MethodNotAllowed]) Dec 25 17:26:58.945 DEBUG hyper::proto::h1::io: flushed 171 bytes
Sorry, something went wrong.
It turns out to be that my token is not set properly. But please fix the error message
No branches or pull requests
I have an empty project through
cargo init --lib
Almost everything is following the tutorial
I'm not sure why is this happening.
The text was updated successfully, but these errors were encountered: