-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
trait_impls_of does not have an unique index (DepKind variant: 166) #139110
Comments
A workaround[build]
incremental = false in a cargo config file ( ICEI get two flavors of ICE on
These may be the same thing but I don't know enough about the compiler to know. (typeck)
(trait_impls_of)
|
I've been getting a similar error on Windows x64:
|
Could you try having |
Could you also see if it reproduces with |
@Zoxc I turned on incremental compiles again for my workday, I should be able to try out various configs throughout the day as time allows. I will start with Is setting the following in my [build]
rustflags = [
"-Clink-arg=-fuse-ld=mold", # I assume unrelated
"-Zthreads=8", # I assume unrelated
"-Zincremental-verify-ich",
]
incremental = true At least anecdotally, I don't remember seeing these issues much before |
For my builds, I am getting the issue with |
@Zoxc Here are some results of the tests you requested I do not know how to instruct the compiler to use a specific branch as it's toolchain. But, if it would help, I can figure it out. AFAICT I did not see any changes from enabling the In summary (TLDR)
ICE (all produced similar results, regardless of nightly version or
|
It seems likely that #138824 would be the PR introducing this error. It would be helpful to have a reproduction in case that PR does not introduce the root cause here. If you have a codebase that can be shared, starting from clean slate and building different commits could be a decent way to reproduce it. |
If I have time over the weekend, I can attempt to make a minimal reproduction as a shareable repo. Would be nice see this resolved. Thank you all for the help in this matter! |
I see an issue in #138824 where a query can be marked green an get a node assigned, then executed later and get another node assigned. That's probably the cause of this issue. |
I occasionally get a corrupted
target
directory:I have
-Zincremental-verify-ich
set, but it doesn't seem to change anything.The text was updated successfully, but these errors were encountered: