Skip to content

Incremental compilation warning "Error finalizing incremental compilation session directory" when building compiler on Windows  #86929

Closed
@rylev

Description

@rylev

When building the compiler on Windows with incremental turned on I often get the following warning:

warning: Error finalizing incremental compilation session directory `\\?\C:\Users\ryanl\Code\rust\build\x86_64-pc-windows-msvc\stage0-rustc\x86_64-pc-windows-msvc\release\incremental\rustc_incremental-3eitboxu59x4j\s-g08srunmh1-1cw7crv-working`: Access is denied. (os error 5)

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.

Metadata

Metadata

Labels

A-incr-compArea: Incremental compilationC-bugCategory: This is a bug.O-windowsOperating system: Windows

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions