[INFO] cloning repository https://github.com/nholstein/opentitan.rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nholstein/opentitan.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnholstein%2Fopentitan.rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnholstein%2Fopentitan.rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3e0d2281c440d2e2bcd5d4e94d9830a08266c7c7 [INFO] checking nholstein/opentitan.rs against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnholstein%2Fopentitan.rs" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nholstein/opentitan.rs on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/nholstein/opentitan.rs [INFO] finished tweaking git repo https://github.com/nholstein/opentitan.rs [INFO] tweaked toml for git repo https://github.com/nholstein/opentitan.rs written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/nholstein/opentitan.rs 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bit_field v0.9.0 [INFO] [stderr] Downloaded vcell v0.1.2 [INFO] [stderr] Downloaded riscv v0.5.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8512cb123fe51ca5ce63f84328f8db172a7f5afb8cacd53bea92aad3c46d8fa6 [INFO] running `Command { std: "docker" "start" "-a" "8512cb123fe51ca5ce63f84328f8db172a7f5afb8cacd53bea92aad3c46d8fa6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8512cb123fe51ca5ce63f84328f8db172a7f5afb8cacd53bea92aad3c46d8fa6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8512cb123fe51ca5ce63f84328f8db172a7f5afb8cacd53bea92aad3c46d8fa6", kill_on_drop: false }` [INFO] [stdout] 8512cb123fe51ca5ce63f84328f8db172a7f5afb8cacd53bea92aad3c46d8fa6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec9705ca8c6f2d35243716a6aa653d4386fe64fe24826fbdaf9f3636604ba694 [INFO] running `Command { std: "docker" "start" "-a" "ec9705ca8c6f2d35243716a6aa653d4386fe64fe24826fbdaf9f3636604ba694", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling riscv v0.5.4 [INFO] [stderr] Checking bit_field v0.9.0 [INFO] [stderr] Checking vcell v0.1.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking earlgrey-registers v0.1.0 (/opt/rustwide/workdir/earlgrey-registers) [INFO] [stderr] Checking earlgrey-uart v0.1.0 (/opt/rustwide/workdir/earlgrey-uart) [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> earlgrey-uart/src/main.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | asm!("wfi"::::"volatile"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 8 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> earlgrey-uart/src/main.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | asm!("wfi"::::"volatile"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 8 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `global_asm` in this scope [INFO] [stdout] --> earlgrey-uart/src/main.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | global_asm!(r#" [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 8 + use core::arch::global_asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `global_asm` in this scope [INFO] [stdout] --> earlgrey-uart/src/main.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | global_asm!(r#" [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 8 + use core::arch::global_asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `eh_personality` [INFO] [stdout] --> earlgrey-uart/src/main.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern "C" fn eh_personality() {} [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/af4a5a13a15fa0c60e06321077ef452f769b42fd/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-eb900a948ffb2e3b.rlib [INFO] [stdout] = note: second definition in the local crate (`earlgrey_uart`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `earlgrey-uart` (bin "earlgrey-uart") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `earlgrey-uart` (bin "earlgrey-uart" test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "ec9705ca8c6f2d35243716a6aa653d4386fe64fe24826fbdaf9f3636604ba694", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec9705ca8c6f2d35243716a6aa653d4386fe64fe24826fbdaf9f3636604ba694", kill_on_drop: false }` [INFO] [stdout] ec9705ca8c6f2d35243716a6aa653d4386fe64fe24826fbdaf9f3636604ba694