-
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
Updating error with Cargo.lock #311
Comments
I wonder if running |
I still wonder why |
Killing it worked because then, the repo would have been re-downloaded, and therefore, been at HEAD. Basically, cargo did not check that your local HEAD was equal to origin/master's HEAD. |
Closing, it sounds like this is working as intended. You should not be able to generate a lockfile from a build that does not work through As @steveklabnik mentioned, you can force generation of a lockfile through |
Perhaps this should be documented somewhere, say on crates.io? |
Sadly the website documentation lags a little behind master, but we're slated to update the documentation soon! |
If I had cargo had built repos before Cargo.lock was introduced, then it fails to update them.
And of course
cargo build
fails because the packages are outdated.This is fixed by deleting
~/.cargo
. To say nothing about the inappropriate location of this folder, which should be~/.cache/cargo
, as #148 recommends.PistonDevelopers/hematite#54 and PistonDevelopers/sdl2_window#23 are related.
The text was updated successfully, but these errors were encountered: