-
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
Cargo update hangs with a specific configuration of dependency crates #4474
Comments
I got a confirmation that it happens on other people's computers too. It seems that it happens with the combination of the crates rust-s3 and postgres in the dependencies. Updated the demo repository. |
Sounds like #4066 |
Looks like this is caused by the update of rust-s3 from 0.6.1 to 0.6.2. I'm experiencing the same issue with the aws-sdk-rust crate which hasn't been updated for some time. My guess is that they have some dependency in common that causes the issue. You may want to explicitly use rust-s3 0.6.1 for now:
|
@golddranks I looked at it a bit closer, the Generic-array has been updated and the next release should fix the issue. You can directly use the git repository from
|
It seems that rust-s3 0.6.2 contained breaking changes. I reported the issue: durch/rust-s3#18 Some takeaways:
Closing this issue. |
I encountered another breaking change (namely sfackler/rust-postgres#290 ) with crates updating to Is there a some reason that cargo can't find compatible versions of the crates? |
This is likely #4066 |
Closing this since it sounds like it will be solved by solutions to #4066 and/or implementing public/private dependencies. |
For the record, this was caused by |
It appears to be a some kind of a livelock. It never prints anything after
Updating registry https://github.com/rust-lang/crates.io-index
, but if I enable the tracelog, it seems to be doing copious amounts of... something. Eventually I stopped it with ctrl-c. Here's a gist of the tracelog: https://gist.github.com/golddranks/3c8bfb3dfe7b8e26b8052cdfd02af7daHere's a repository that triggers the behaviour for me. I tried it on two networks, but unfortunately I haven't been able to try it on multiple computers. I also tested it on the latest nightly, latest stable (1.20) and the stable before that (1.19). They all seem to trigger it. I'll be curious to see if it hangs on other people's computers too. https://github.com/golddranks/cargo_test
This affects my daily work so hopefully this gets resolved soon. First of all, I'm curious to hear whether it happens on other computers too!
The text was updated successfully, but these errors were encountered: