-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
spurious ci failure: The process cannot access the file because it is being used by another process
#127126
Comments
The bootstrap code that panics hasn't changed in years: Lines 1696 to 1698 in d1b7355
It would be interesting to know what's changed recently to cause this. "os error 32" is a sharing violation, which is usually because the file is locked in certain way. But, as far as I'm aware, we don't do that kind of locking. Maybe someone who knows bootstrap well has some ideas. Edit: I guess it could be a cargo issue and not bootstrap |
Bootstrap: Retry copying/linking May be a workaround for rust-lang#127126. But it's hard to know if this works due to the error only appearing some times. This just adds a retry loop with a fairly long pause between retries so as to give time to whatever is locking the file to give up its lock. try-job: x86_64-msvc-ext
Bootstrap: Try renaming the file if removing fails Second attempt at working around rust-lang#127126 If we can't remove the file, then try renaming it. This will leave the destination path free to use. try-job: x86_64-msvc-ext
Bootstrap: Try renaming the file if removing fails Second attempt at working around rust-lang#127126 If we can't remove the file, then try renaming it. This will leave the destination path free to use. try-job: x86_64-msvc-ext
Bootstrap: Try renaming the file if removing fails Second attempt at working around rust-lang#127126 If we can't remove the file, then try renaming it. This will leave the destination path free to use. try-job: x86_64-msvc-ext
Bootstrap: Try renaming the file if removing fails Second attempt at working around rust-lang/rust#127126 If we can't remove the file, then try renaming it. This will leave the destination path free to use. try-job: x86_64-msvc-ext
Bootstrap: Try renaming the file if removing fails Second attempt at working around rust-lang/rust#127126 If we can't remove the file, then try renaming it. This will leave the destination path free to use. try-job: x86_64-msvc-ext
See https://github.com/rust-lang/rust/pulls?q=is%3Apr+%22The+process+cannot+access+the+file+because+it+is+being+used+by+another+process%22+is%3Aclosed
seems to happen on
x86_64-msvc-ext
a lotThe text was updated successfully, but these errors were encountered: