cargo: "Object not found" updating registry
cargo test --verbose
Updating registry `https://github.com/rust-lang/crates.io-index`
error: failed to load source for a dependency on `interpolate_idents`
Caused by:
Unable to update registry https://github.com/rust-lang/crates.io-index
Caused by:
failed to fetch `https://github.com/rust-lang/crates.io-index`
Caused by:
[9/-3] Object not found - no match for id (ad11335f47604b5f394994354204323098310754)
version: cargo 0.19.0-nightly (fa7584c14 2017-04-26)
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 5
- Comments: 22 (8 by maintainers)
Commits related to this issue
- Auto merge of #8735 - ehuss:git-object-not-found, r=alexcrichton Reinitialize index on "Object not found" error. Fixes #4007 Users have occasionally been reporting "Object not found" errors when up... — committed to rust-lang/cargo by bors 4 years ago
- Reset cargo registry in between benchmarks (https://github.com/rust-lang/cargo/issues/4007#issuecomment-299882510). — committed to finnbear/surrealdb by finnbear a year ago
Hm is this persistent? In the sense does it reproduce if you try again?
Also, if you blow away
$CARGO_HOME/registrydoes it reproduce?(ah, as per https://github.com/rust-lang/cargo/issues/4245,
rm -rf ~/.cargo/registryfixed it. How strangeā¦)Same issue in v1.41.0 & Linux. Clearing the registry did fix it: