Skip to content

Windows CI runners are sporadically failing with os error 32 #88924

Closed
@ehuss

Description

@ehuss

The Windows CI runners have recently started failing with:

thread 'main' panicked at 'failed to copy D:\a\rust\rust\build\x86_64-pc-windows-msvc\stage1-rustc\x86_64-pc-windows-msvc\release\rustc-main.exe to D:\a\rust\rust\build\x86_64-pc-windows-msvc\stage2\bin\rustc.exe: The process cannot access the file because it is being used by another process. (os error 32)', src\bootstrap\lib.rs:1335:17

os error 32 is ERROR_SHARING_VIOLATION. It is not clear to me what could possibly be locking the file in such a way to prevent reading it.

Recent instances:

Metadata

Metadata

Assignees

No one assigned

    Labels

    O-windowsOperating system: Windows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions