-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Incremental compilation warning "Error finalizing incremental compilation session directory" when building compiler on Windows #86929
Comments
Seems to be an |
when will this bug be removed, and will this bug, cause major problems, for creating various stuff, cuz I am new to rust, and I continuously get this error message! |
I get this error a lot having just moved to a Windows PC. Whilst everything clearly compiles and runs fine it's very frustrating and can cause real problems. For example, I ran
Elsewhere I've seen it reported as a VS Code or WSL problem and seen fixes like this proposed: #62031 (comment) |
I have also received this warning as well. The solution for me was to run |
This resolved it for me as well, moving to wsl 1 on Windows PC. Thanks! |
I'll try to take a look at this. |
…on-dir, r=oli-obk incr. comp.: Let compiler retry finalizing session directory a few times. In my local testing this fixed issue rust-lang#86929. I wasn't able to come up with a regression test for it though.
I haven't seen any reports about this after #95304 was merged. Closing. |
…loading, r=petrochenkov Retry opening proc-macro DLLs a few times on Windows. On Windows, the compiler [sometimes](https://users.rust-lang.org/t/error-loadlibraryexw-failed/77603) fails with the message `error: LoadLibraryExW failed` when trying to load a proc-macro crate. The error seems to occur intermittently, similar to rust-lang#86929, however, it seems to be almost impossible to reproduce outside of CI environments and thus very hard to debug. The fact that the error only occurs intermittently makes me think that this is a timing related issue. This PR is an attempt to mitigate the issue by letting the compiler retry a few times when encountering this specific error (which resolved the issue described in rust-lang#86929).
just encountered this on windows 8. the clean/check thing seems to have worked though. |
When building the compiler on Windows with incremental turned on I often get the following warning:
Compilation continues after this and leads to a successful build.
A similar issue has been reported before (#48700), but that is a panic during compilation of a normal crate.
The text was updated successfully, but these errors were encountered: