[INFO] cloning repository https://github.com/popovicu/risc-v-bare-metal-rust-dynamic-memory [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/popovicu/risc-v-bare-metal-rust-dynamic-memory" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpopovicu%2Frisc-v-bare-metal-rust-dynamic-memory", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpopovicu%2Frisc-v-bare-metal-rust-dynamic-memory'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3db843101e6660f5ec2fc0db2808a34941d8d2b3 [INFO] checking popovicu/risc-v-bare-metal-rust-dynamic-memory against master#426a60abc213b28a7c7198e475476b6e650d871f for pr-129199 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpopovicu%2Frisc-v-bare-metal-rust-dynamic-memory" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/popovicu/risc-v-bare-metal-rust-dynamic-memory on toolchain 426a60abc213b28a7c7198e475476b6e650d871f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+426a60abc213b28a7c7198e475476b6e650d871f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/popovicu/risc-v-bare-metal-rust-dynamic-memory [INFO] finished tweaking git repo https://github.com/popovicu/risc-v-bare-metal-rust-dynamic-memory [INFO] tweaked toml for git repo https://github.com/popovicu/risc-v-bare-metal-rust-dynamic-memory written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/popovicu/risc-v-bare-metal-rust-dynamic-memory already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+426a60abc213b28a7c7198e475476b6e650d871f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking popovicu/risc-v-bare-metal-rust-dynamic-memory against try#2c70eb47850052381670935f807d41647a7dc992 for pr-129199 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpopovicu%2Frisc-v-bare-metal-rust-dynamic-memory" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/popovicu/risc-v-bare-metal-rust-dynamic-memory on toolchain 2c70eb47850052381670935f807d41647a7dc992 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2c70eb47850052381670935f807d41647a7dc992" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/popovicu/risc-v-bare-metal-rust-dynamic-memory [INFO] finished tweaking git repo https://github.com/popovicu/risc-v-bare-metal-rust-dynamic-memory [INFO] tweaked toml for git repo https://github.com/popovicu/risc-v-bare-metal-rust-dynamic-memory written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/popovicu/risc-v-bare-metal-rust-dynamic-memory already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2c70eb47850052381670935f807d41647a7dc992" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking popovicu/risc-v-bare-metal-rust-dynamic-memory against try#2c70eb47850052381670935f807d41647a7dc992 for pr-129199 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpopovicu%2Frisc-v-bare-metal-rust-dynamic-memory" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/popovicu/risc-v-bare-metal-rust-dynamic-memory on toolchain 2c70eb47850052381670935f807d41647a7dc992 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2c70eb47850052381670935f807d41647a7dc992" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/popovicu/risc-v-bare-metal-rust-dynamic-memory [INFO] finished tweaking git repo https://github.com/popovicu/risc-v-bare-metal-rust-dynamic-memory [INFO] tweaked toml for git repo https://github.com/popovicu/risc-v-bare-metal-rust-dynamic-memory written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/popovicu/risc-v-bare-metal-rust-dynamic-memory already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2c70eb47850052381670935f807d41647a7dc992" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded talc v3.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+2c70eb47850052381670935f807d41647a7dc992" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fcea4ccfba4ac28cd7ed0f3007379b479204f42b3acc90fabf2949336f84de64 [INFO] running `Command { std: "docker" "start" "-a" "fcea4ccfba4ac28cd7ed0f3007379b479204f42b3acc90fabf2949336f84de64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fcea4ccfba4ac28cd7ed0f3007379b479204f42b3acc90fabf2949336f84de64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcea4ccfba4ac28cd7ed0f3007379b479204f42b3acc90fabf2949336f84de64", kill_on_drop: false }` [INFO] [stdout] fcea4ccfba4ac28cd7ed0f3007379b479204f42b3acc90fabf2949336f84de64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+2c70eb47850052381670935f807d41647a7dc992" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19b9428b118c73ced728ff25e9e847ff2e192855c720b70f4d2f55a6e2e2352e [INFO] running `Command { std: "docker" "start" "-a" "19b9428b118c73ced728ff25e9e847ff2e192855c720b70f4d2f55a6e2e2352e", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling risc-v-rust-bare-metal v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking talc v3.1.0 [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/main.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | / fn panic(_info: &PanicInfo) -> ! { [INFO] [stdout] 49 | | uart_print("Something went wrong."); [INFO] [stdout] 50 | | loop {} [INFO] [stdout] 51 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/2c70eb47850052381670935f807d41647a7dc992/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-f4c4082e8243d12c.rlib [INFO] [stdout] = note: second definition in the local crate (`risc_v_rust_bare_metal`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:18:107 [INFO] [stdout] | [INFO] [stdout] 18 | static ALLOCATOR: Talck, ClaimOnOom> = Talc::new(unsafe {ClaimOnOom::new(Span::from_array(&mut ARENA))}).lock(); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 18 | static ALLOCATOR: Talck, ClaimOnOom> = Talc::new(unsafe {ClaimOnOom::new(Span::from_array(addr_of_mut!(ARENA)))}).lock(); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `risc-v-rust-bare-metal` (bin "risc-v-rust-bare-metal" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `risc-v-rust-bare-metal` (bin "risc-v-rust-bare-metal") due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "19b9428b118c73ced728ff25e9e847ff2e192855c720b70f4d2f55a6e2e2352e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19b9428b118c73ced728ff25e9e847ff2e192855c720b70f4d2f55a6e2e2352e", kill_on_drop: false }` [INFO] [stdout] 19b9428b118c73ced728ff25e9e847ff2e192855c720b70f4d2f55a6e2e2352e