Open
Description
Problem
Looking at the packages on crates.io I can't see a good reason for this so there's a chance it should be an issue cargo side.
$ cargo add --dev fake --features "uuid derive"
Updating crates.io index
Adding fake v3.0.1 to dev-dependencies
Features:
+ derive
+ dummy
+ uuid
- always-true-rng
- bigdecimal
- bigdecimal-rs
- bson
- bson_oid
- chrono
- chrono-tz
- geo
- geo-types
- glam
- http
- indexmap
- maybe-non-empty-collections
- num-traits
- rand_core
- random_color
- rust_decimal
- semver
- serde_json
- time
- ulid
- url
- url-escape
- zerocopy
error: failed to select a version for the requirement `dummy = "^0.9"`
candidate versions found which didn't match: 0.7.0, 0.6.0, 0.5.0, ...
location searched: crates.io index
required by package `fake v3.0.1`
... which satisfies dependency `fake = "^3.0.1"` (locked to 3.0.1) of package `rs v0.1.0 (project-rs)`
Hmm just tried cargo add on a clean project and it works so it's definitely a cargo issue. I also removed fake from the manifest where it didn't work and manually wrote the entry and did a cargo check and it grabbed dummy 0.9 as expected. So maybe this is some temporary registry failure?
I've been trying to reproduce this in a clean project and I haven't managed to yet... So hopefully it's something someone here can instantly see what's up or I'll have to keep trying.
Steps
No response
Possible Solution(s)
No response
Notes
No response
Version
cargo 1.83.0 (5ffbef321 2024-10-29)
release: 1.83.0
commit-hash: 5ffbef3211a8c378857905775a15c5b32a174d3b
commit-date: 2024-10-29
host: x86_64-unknown-linux-gnu
libgit2: 1.8.1 (sys:0.19.0 vendored)
libcurl: 8.9.0-DEV (sys:0.4.74+curl-8.9.0 vendored ssl:OpenSSL/1.1.1w)
ssl: OpenSSL 1.1.1w 11 Sep 2023
os: Ubuntu 18.4.0 (bionic) [64-bit]