cargo-prefetch icon indicating copy to clipboard operation
cargo-prefetch copied to clipboard

can't find packages sometimes

Open matthiaskrgr opened this issue 5 years ago • 1 comments

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

matthiaskrgr avatar Nov 28 '19 13:11 matthiaskrgr

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

Vanille-N avatar Jul 30 '20 10:07 Vanille-N