-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Invalid paths are suggested for "possibly newer version of crate" error on Windows #31306
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
Comments
I see these error all the time on Windows/GNU, but never got to actually reporting them. How to reproduce:
Failing tests:
Output of one of the tests:
|
@petrochenkov Did I do that? |
@michaelwoerister |
@petrochenkov It's possible. But off the top of my head I can't think of anything that would cause that. |
I feel like I've seen errors like this all the time when the build dir gets into weird states, but starting back from a stage0 libstd usually fixes everything. I've never had a chance to track it down unfortunately so nothing leaps to mind :( |
I can't think of anything that incremental would have done to cause this, but I have observed this sort of thing I think (though not on Windows) -- this is not to say that changes for incremental are not at fault in some way of course. |
Is this still an issue? It's been a few years without comment so I'm just wondering if it's been fixed in the meantime? |
#30778 uncovered that on Windows (Rust compiled with msvc), additional paths are suggested when there's a newer version of a crate, e.g. e.g. for
changing-crates.rs
the following notes are emitted:The last two notes shouldn't be there. The first of those seem to point to the one already suggested, except that the first part is missing and slashes instead of backslashes are used. The last note suggests
arena-db5a760f.dll.lib
, but that does not seem right at all.The following tests fail due to this issue (marked as
// ignore-msvc
for now)The text was updated successfully, but these errors were encountered: