You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
rustbuild: x.py install: error: manifest path .. cargo/crates/credential/cargo-credential-1password/Cargo.toml does not exist` #110742
You'll need to delete the src/tools/cargo/crates/credential directory. There was probably a Cargo.lock file left behind, and git won't delete the directory automatically.
~/vcs/github/rust_debug_assertions/src/tools/cargo/crates (de80432)
at 00:22:52 ❯ ls
cargo-platform cargo-util mdman
cargo-test-macro crates-io resolver-tests
cargo-test-support home semver-check
There is a rust_debug_assertions/src/tools/cargo/credential though
What is most concerning to me is that this actually did not fail the entire x.py install, so this would/did not even break CI..? is there something we can do about that?
Oh, sorry, I misunderstood what was going on. There have been some issues with those directories being moved around, but this was different.
What is most concerning to me is that this actually did not fail the entire x.py install, so this would/did not even break CI..? is there something we can do about that?
The issue here is that the credential helpers are being included on an "as available" basis. Because they are nightly and experimental, they were intentionally marked as being optional so that if they failed it wouldn't cause problems here on rust-lang/rust. Eventually, if it gets stabilized, this will need to change to make them required tools.
Activity
ehuss commentedon Apr 23, 2023
You'll need to delete the
src/tools/cargo/crates/credentialdirectory. There was probably aCargo.lockfile left behind, and git won't delete the directory automatically.matthiaskrgr commentedon Apr 23, 2023
Hm, there is no such directory ?! 😅
There is a
rust_debug_assertions/src/tools/cargo/credentialthoughweihanglo commentedon Apr 23, 2023
My fault. I forgot to update
rust/src/bootstrap/tool.rs
Line 602 in 7f94b31
Will send a PR.
matthiaskrgr commentedon Apr 23, 2023
What is most concerning to me is that this actually did not fail the entire
x.py install, so this would/did not even break CI..? is there something we can do about that?weihanglo commentedon Apr 23, 2023
Run
./x.py build cargoin CI probably?I supposed to run it locally before submitting a PR. However, that was an unlucky day. Something on nightly cannot build, so I blindly pushed 🙇🏾.
ehuss commentedon Apr 24, 2023
Oh, sorry, I misunderstood what was going on. There have been some issues with those directories being moved around, but this was different.
The issue here is that the credential helpers are being included on an "as available" basis. Because they are nightly and experimental, they were intentionally marked as being optional so that if they failed it wouldn't cause problems here on rust-lang/rust. Eventually, if it gets stabilized, this will need to change to make them required tools.
Rollup merge of rust-lang#110744 - weihanglo:cargo-credential-install…
Rollup merge of rust-lang#110744 - weihanglo:cargo-credential-install…
Rollup merge of rust-lang#110744 - weihanglo:cargo-credential-install…
Rollup merge of rust-lang#110744 - weihanglo:cargo-credential-install…