Skip to content

cargo upgrade gets stuck at "Updating 'https://github.com/rust-lang/crates.io-index' index" #869

@VorpalBlade

Description

@VorpalBlade

When I run cargo upgrade it gets stuck at Updating '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.

$ cargo --version
cargo 1.71.1 (7f1d04c00 2023-07-29)
$ cargo upgrade --version
cargo-edit-upgrade 0.12.0

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions