-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
maybe suggest running cargo update
if there's a previously selected version conflict
#5484
Comments
cc @Eh2406 |
Ya we can definitely do better. @alexcrichton Is there an easy way to tell if a dependency is pind by a lock file, if so we should definitely add it to the output. Ore is there some way to trigger a thing like we do for #5180 ? |
I added a note reminding myself to try that in our rework of the wording of these are messages. On a different note, isn't this exactly the situation #5180 what's supposed to solve? If not how hard would it be to expand that to work here? @mozkeeler by the way, what version of cargo gave you that message? |
@Eh2406 well, the version I have now is |
@mozkeeler Thanks for the info! That explains it, #5180 merged after 0.26.0 branched. Sorry for the noize. |
FWIW, this is something I just bumped into. Even without checking whether the dependency comes from |
I added a new dependency to a project, ran
cargo build
and got this:My assumption was this was because ipc-channel didn't support libc >0.2.23, but there's no such restriction in ipc-channel's Cargo.toml, so this was just confusing. I ended up removing Cargo.lock and rebuilding, and this worked. A colleague later told me
cargo update
is the real way to fix this.The text was updated successfully, but these errors were encountered: