-
Notifications
You must be signed in to change notification settings - Fork 13k
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
thread 'main' panicked at 'rustc
not found in /scratch/rustc/build/sparcv9/build/bootstrap/debug/deps, run cargo build --bins
before cargo run
', lib.rs:415:13
#112785
Comments
are you running |
I see it does: I think I should look once again if it's possible make You can close the bug. Thank you! |
Adding reference to main proble - |
@jyn514 I'm confused now. I have seen the same error even with Also tried to dig closely how locking works and put into |
@psumbera did you clear the cache before running i don't know what's going on with fd-lock, but the file that bootstrap locks is |
Everything is removed before new build... |
exactly what command are you running and what is your config.toml? |
If I see it right, lock file is created/opened here: rust/src/bootstrap/bin/main.rs Line 25 in 536635c
and the file descriptor for the lock file is closed on block exit here: rust/src/bootstrap/bin/main.rs Line 38 in 536635c
Isn't it mean that locking isn't working even on Linux? |
no, it's declared outside the block rust/src/bootstrap/bin/main.rs Line 21 in 536635c
|
Right. Unfortunatelly version 1.70.0 hasn't fix for this (my) regression. And the declaration is still insde the block. |
we do not support old versions of rust. the only supported release is the latest stable release. |
Isn't version 1.70.0 latest stable version? I'm just curious. |
yes, you're right. i'm sorry. i think you should ask someone else for help on this issue. i am having trouble focusing today. |
I run: and then: Where on some systems helps to run Line 416 in 90c5418
When I look into the directory where rustc should be present:
|
i'm not sure why this is looking in i wonder if |
It does:
It's hardling. When I remove the asserion the build passes. |
It wasn't true. It just didnt' hit the problem when the code was rebuilt. Now I'm trying following:
It must execute sometime deps/bootstrap-[hash] instead of just bootstrap. |
Rust 1.70 build on Solaris sometimes files on some machines:
I wonder whether it can do something with:
warning: file locking not supported for target, not locking build directory
?!The text was updated successfully, but these errors were encountered: