-
Notifications
You must be signed in to change notification settings - Fork 144
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 upgrade gets stuck at "Updating 'https://github.com/rust-lang/crates.io-index' index" #869
Comments
For anyone else who finds themselves here: In order to use
|
Maybe it's worth to be added in the README? I spent about half an hour on this 😢 I'm willing to do this if you accept. cc current maintainer @epage for ideas. |
Ran `cargo upgrade` from cargo-edit (with workaround from <killercup/cargo-edit#869 (comment)>) and `cargo update`.
It's a good call. I spent quite a bit of time on it as well. |
Please also suggest |
Is there a reason this |
However, this solves my issue rust-lang/cargo#11014 (comment) cd ~/.cargo/registry/index/github.com-1ecc6299db9ec823
git fetch https://github.com/rust-lang/crates.io-index refs/heads/master:refs/remotes/origin/master |
I can put time into this or I can put time into integrating this with cargo. I have opted for the latter. |
Seems cool! |
I'm still hitting this issue, and forcing Does anyone know of alternative crates that use the sparse registry? |
When I run
cargo upgrade
it gets stuck atUpdating 'https://github.com/rust-lang/crates.io-index' index
(for at least 10 minutes).cargo update
is fast, as is other, built in, cargo operations.It appears that
cargo upgrade
isn't using the sparse index properly, that could have something to do with it. It still seems strange it would get stuck for that long though, as I'm fast internet (150 mbit/s down) and not behind any sort of corporate proxy or similar that could interfere.Running
cargo upgrade -v
doesn't provide any more info.The text was updated successfully, but these errors were encountered: