-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
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
Nightly Rust using cargo 0.25.0-nightly (930f9d949 2017-12-05) fails to respect --frozen
#4815
Comments
Ok, hypothesizing that the problem is that checksums of dependencies would be different under latest rustc stable and latest rustc nightly, but I was unable to reproduce the failure tor is seeing in travis using this hypothesis :-/ What I did:
I added
Cargo.lock now contains:
I checked that I could successfully use
I switched to nightly:
And I was able to successfully use
So I don't think it's the checksum. Talking with Alex at lunch, he says the checksum commit that updated the test should only apply to cargo's tests. He also can't think of anything recently that could have broken My next step is going to be figuring out what cargo was before it was updated a week ago and start looking at the commits in between to make a new hypothesis :-/ |
Last passing tor build
First failing tor build
|
@carols10cents were you able to reproduce it locally? I've https://github.com/tlyu/tor |
...
And it does not complain. |
@matklad neither I nor Alex have been able to reproduce this locally :( :( :( |
One thing I've noticed is that only builds with TOR_RUST_DEPENDENCIES=true fail: https://travis-ci.org/tlyu/tor/builds/315398991 |
@isislovecruft what effect does the TOR_RUST_DEPENDENCIES env var have? |
AHA https://github.com/tlyu/tor/blob/master/doc/HACKING/GettingStartedRust.md it turns on a use of cargo-vendor :) the plot thickens!! |
I've reproduced this locally and confirmed that this is a regression due to #4767 |
This commit alters the logic to bail out on probing for `CARGO_HOME` to do it a little later rather than early on in the loop iteration, notably allowing members to reside in `CARGO_HOME` itself. Closes rust-lang#4815
I've posted a fix at #4816 @isislovecruft for a quick fix deleting this line should fix the regression and I think keep the build working ( |
Defer bailing out workspace root probing This commit alters the logic to bail out on probing for `CARGO_HOME` to do it a little later rather than early on in the loop iteration, notably allowing members to reside in `CARGO_HOME` itself. Closes #4815
|
Oh nice, and @carols10cents and @alexcrichton already figured it out by the time I got here to respond! :D |
Previous discussion at the end of #4563 (comment) as that issue was suspected at first:
/cc @matklad @isislovecruft @alexcrichton @nrc
The text was updated successfully, but these errors were encountered: