kbknapp / cargo-outdated

A cargo subcommand for displaying when Rust dependencies are out of date
MIT License
1.23k stars 96 forks source link

Error checking deps #320

Open qrilka opened 2 years ago

qrilka commented 2 years ago

Running cargo outdated fails for our project with the following message:

error: failed to select a version for the requirement `libgit2-sys = "^0.13.4"`
candidate versions found which didn't match: 0.13.2+1.4.2, 0.13.1+1.4.2, 0.13.0+1.4.1, ...
location searched: crates.io index
required by package `git2 v0.14.4`

https://github.com/rust-lang/git2-rs/issues/838#issuecomment-1136144078 says that this problem is about old cargo being used. But after switching to cargo-1.60 a test project using git2-14.4 builds fine but cargo outdated fails with the message above

uazu commented 1 year ago

Updating to the latest cargo-outdated (0.11.2) fixed this for me (I was getting errors about time ^0.3 not matching time 0.3.17... or something like that). But now on 0.11.2 instead I get a lot of crates showing as Removed (e.g. time, which is definitely not removed). So something is still broken.