Skip to content
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

Executing ./src/ci/docker/run.sh x86_64-gnu raises errors #115316

Closed
gemesa opened this issue Aug 28, 2023 · 1 comment
Closed

Executing ./src/ci/docker/run.sh x86_64-gnu raises errors #115316

gemesa opened this issue Aug 28, 2023 · 1 comment
Labels
C-bug Category: This is a bug.

Comments

@gemesa
Copy link

gemesa commented Aug 28, 2023

I tried this code:

git clone git@github.com:rust-lang/rust.git
cd rust/src/ci/docker
./run.sh x86_64-gnu

I expected to see this happen: image is built and executed

Instead, this happened:

...
   Compiling build_helper v0.1.0 (/checkout/src/tools/build_helper)
    Finished dev [unoptimized] target(s) in 32.03s
error: manifest path `/checkout/src/tools/cargo/Cargo.toml` does not exist
thread 'main' panicked at metadata.rs:86:31:
command did not execute successfully: RUSTC_BOOTSTRAP="1" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "metadata" "--format-version" "1" "--no-deps" "--manifest-path" "/checkout/src/tools/cargo/Cargo.toml"
expected success, got: exit status: 101
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Build completed unsuccessfully in 0:00:50
make: *** [Makefile:58: prepare] Error 1
Command failed. Attempt 2/5:
Building bootstrap
    Finished dev [unoptimized] target(s) in 0.06s
error: manifest path `/checkout/src/tools/cargo/Cargo.toml` does not exist
thread 'main' panicked at metadata.rs:86:31:
command did not execute successfully: RUSTC_BOOTSTRAP="1" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "metadata" "--format-version" "1" "--no-deps" "--manifest-path" "/checkout/src/tools/cargo/Cargo.toml"
expected success, got: exit status: 101
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Build completed unsuccessfully in 0:00:00
make: *** [Makefile:58: prepare] Error 1
Command failed. Attempt 3/5:
Building bootstrap
    Finished dev [unoptimized] target(s) in 0.05s
error: manifest path `/checkout/src/tools/cargo/Cargo.toml` does not exist
thread 'main' panicked at metadata.rs:86:31:
command did not execute successfully: RUSTC_BOOTSTRAP="1" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "metadata" "--format-version" "1" "--no-deps" "--manifest-path" "/checkout/src/tools/cargo/Cargo.toml"
expected success, got: exit status: 101
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Build completed unsuccessfully in 0:00:00
make: *** [Makefile:58: prepare] Error 1
Command failed. Attempt 4/5:
Building bootstrap
    Finished dev [unoptimized] target(s) in 0.05s
error: manifest path `/checkout/src/tools/cargo/Cargo.toml` does not exist
thread 'main' panicked at metadata.rs:86:31:
command did not execute successfully: RUSTC_BOOTSTRAP="1" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "metadata" "--format-version" "1" "--no-deps" "--manifest-path" "/checkout/src/tools/cargo/Cargo.toml"
expected success, got: exit status: 101
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Build completed unsuccessfully in 0:00:00
make: *** [Makefile:58: prepare] Error 1
Command failed. Attempt 5/5:
Building bootstrap
    Finished dev [unoptimized] target(s) in 0.05s
error: manifest path `/checkout/src/tools/cargo/Cargo.toml` does not exist
thread 'main' panicked at metadata.rs:86:31:
command did not execute successfully: RUSTC_BOOTSTRAP="1" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "metadata" "--format-version" "1" "--no-deps" "--manifest-path" "/checkout/src/tools/cargo/Cargo.toml"
expected success, got: exit status: 101
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Build completed unsuccessfully in 0:00:00
make: *** [Makefile:58: prepare] Error 1
The command has failed after 5 attempts.
  local time: Mon Aug 28 14:36:11 UTC 2023
  network time: Mon, 28 Aug 2023 14:36:11 GMT

Meta

the HEAD in my clone is 9847c64

might be related to #115041 (similar error message)

@gemesa gemesa added the C-bug Category: This is a bug. label Aug 28, 2023
@rustbot rustbot added the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Aug 28, 2023
@gemesa gemesa changed the title Executing ./src/ci/docker/run.sh x86_64-gnu raises errors Executing ./src/ci/docker/run.sh x86_64-gnu raises errors Aug 28, 2023
@gemesa
Copy link
Author

gemesa commented Aug 29, 2023

this was a dumb mistake on my part, i forgot to check out the submodules

git submodule init
git submodule update

@gemesa gemesa closed this as completed Aug 29, 2023
@Noratrieb Noratrieb removed the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Sep 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug.
Projects
None yet
Development

No branches or pull requests

3 participants