cargo-prefetch
cargo-prefetch copied to clipboard
can't find packages sometimes
If I run cargo prefetch --list --top-downloads=1000
, I get an error
Error: `cargo` failed to run:
exit code: 101
Updating crates.io index
error: no matching package named `futures-select-macro-preview` found
location searched: registry `https://github.com/rust-lang/crates.io-index`
required by package `temp_prefetch_project v0.0.0 (/tmp/.tmpqXY825)`
I don't understand what the problem is since the package does exist and should be available actually:
https://crates.io/crates/futures-select-macro-preview
cargo search futures-select-macro-preview
find it without a problem it seems.
cargo-prefetch 0.1.0
Same issue here.
The package in question is currently in position 1298:
cargo prefetch --top-downloads 1297
Updating crates.io index
cargo prefetch --top-downloads 1298
Updating crates.io index
error: no matching package named `futures-select-macro-preview` found
location searched: registry `https://github.com/rust-lang/crates.io-index`
required by package `temp_prefetch_project v0.0.0 (/tmp/.tmp880sTf)`
Error: `cargo` failed to run: exit code: 101