-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
C-bugCategory: This is a bug.Category: This is a bug.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Description
Summary
I just saw this:
WARNING: build directory locked by process , waiting for lock
Which made me quite confused confused. is ,
the process? (not unheard of, I have a binary called ,
) Is the process empty string?
The actual result is (most likely) that because rust-analyzer OOM'ed after using >44GiB of RAM today, the lock was not released and so is held by no process (thus, empty string).
Command used
x b proc-macro-srv-cli rustfmt --stage 0 --build-dir build/rust-analyzer
(although it does not matter)
Expected behaviour
Bootstrap explicitly saying that no process is holding the lock & possibly even suggesting removing the lockfile.
Operating system
NixOS
HEAD
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)