-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
C-bugCategory: bugCategory: bug
Description
Problem
After running cargo update, a new version of standback (0.2.10) got introduced. When cargo tries to fetch it, it receives an unexpected HTTP status.
➜ gitoxide git:(main) ✗ cargo check
error: failed to download from `https://crates.io/api/v1/crates/standback/0.2.10/download`
Caused by:
failed to get 200 response from `https://static.crates.io/crates/standback/standback-0.2.10.crate`, got 206
The issue would happen repeatedly and I was unable to run any cargo command I was interested in.
The download should succeed.
Steps
cargo new dl-test
cd dl-test
cargo add standback
cargo checkPossible Solution(s)
Luckily I download each and every crate using criner, so I could fix it by copying the downloaded crate into the cargo cache:
cp ~/dev/the-lean-crate/criner/criner.db/assets/st/an/standback/0.2.10-download:1.0.0.crate cache/github.com-1ecc6299db9ec823/standback-0.2.10.crate
This prevented cargo from trying to download anything.
Notes
Output of cargo version:
cargo 1.45.1 (f242df6ed 2020-07-22)
running on MacOS 11 Beta 7 (20A5354i).
This is the very first time I see this issue. The issue does not occour on CI.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C-bugCategory: bugCategory: bug