-
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
cargo update --verbose
should explain why a dependency couldn't be updated
#15055
Comments
Possibly this is a bug in explanation or a bug in that it backtrace wasn't updated. I don't know. I can't tell, and that is a big issue. |
This appears to be a duplicate of #7929, so closing in favor of that. If there is something I've missed, let us know! |
@epage Maybe it is a duplicate, I don't know if it is a bug that it didn't upgrade that package, or if it is just missing an explanation. How would I find out what the reason is so that I can determine if it is legitimate or buggy? Because all the reasons I could think of were not it. |
That feature was removed from I found this by running
Personally, I would be interested in turning this into a hard error but that is a separate conversation that needs a lot of exploration and maybe an Edition. |
The current resolver does not keep track of enough information to actually give a "complete reason" why something was not updated. Fundamentally all of its reasons have to boil down to "I iterated through all the possibilities", which really isn't all that satisfying. The still in development PubGrub based resolver will give "complete reason", although making them human understandable will take polishing work that has not yet been done. |
Problem
This is a sub-par explanation of why backtrace wasn't updated.
I'm at a loss and I believe it would be very useful to be able to see exactly why a dependency wasn't updated by cargo update.
Steps
git clone https://github.com/VorpalBlade/paketkoll
git checkout 3ec58fac
cargo update
Possible Solution(s)
When using
--verbose
the reason for why a dependency couldn't be updated, especially in trickier cases like this one.Notes
No response
Version
The text was updated successfully, but these errors were encountered: