Since #88310, we don't allow multiple processes of bootstrap to run in parallel. That's good to avoid issues like #76661, but means that people sometimes don't know why the build directory is locked (e.g. if they're running rust-analyzer in the background or running x in two terminals at once). We should make it easier to figure this out.
In the short-term, ps -u $USER | grep bootstrap/debug/bootstrap on Unix will show all the relevant processes. In the long-term, and to support windows, we might want to run the equivalent of that ourselves and directly print all relevant PIDs.
Since #88310, we don't allow multiple processes of bootstrap to run in parallel. That's good to avoid issues like #76661, but means that people sometimes don't know why the build directory is locked (e.g. if they're running rust-analyzer in the background or running x in two terminals at once). We should make it easier to figure this out.
In the short-term,
ps -u $USER | grep bootstrap/debug/bootstrapon Unix will show all the relevant processes. In the long-term, and to support windows, we might want to run the equivalent of that ourselves and directly print all relevant PIDs.