"all possible versions conflict with previously selected packages" error is not giving the appropriate diagnostic #10189
Labels
A-dependency-resolution
Area: dependency resolution and the resolver
A-diagnostics
Area: Error and warning messages generated by Cargo itself.
C-bug
Category: bug
Problem
I'm getting the "all possible versions conflict with previously selected packages" error even though there are valid versions available according to the diagnostic:
Looking at this diagnostic, I understand that
memchr v2.3.4
would satisfy both>=2.0, <2.4
andmemchr = "^2.2"
and no error should occurs.In fact, the real issue is that
os_str_bytes = "^6.0"
, which is depended on by some other package, is requiringmemchr = "^2.4"
, but the diagnostic doesn't include this information.Steps
Notes
I was able to obtain a useful diagnostic by adding
memchr = "~2.3.4"
to one of the Cargo.toml:Version
The text was updated successfully, but these errors were encountered: