[INFO] cloning repository https://github.com/MarkusAkesson/rost [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MarkusAkesson/rost" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarkusAkesson%2Frost", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarkusAkesson%2Frost'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c748295519eba83765b7020039aaa67c56ec11da [INFO] checking MarkusAkesson/rost against master#db1fb85cff63ad5fffe435e17128f99f9e1d970c for pr-89056 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarkusAkesson%2Frost" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MarkusAkesson/rost on toolchain db1fb85cff63ad5fffe435e17128f99f9e1d970c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3/source/.cargo/config [INFO] removed /workspace/builds/worker-3/source/rust-toolchain [INFO] started tweaking git repo https://github.com/MarkusAkesson/rost [INFO] finished tweaking git repo https://github.com/MarkusAkesson/rost [INFO] tweaked toml for git repo https://github.com/MarkusAkesson/rost written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/rust-embedded/riscv.git` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8a2836ca5842249b86d46c9e56922fc0bb97d8caa90bff33fb01ebc5352a4e4b [INFO] running `Command { std: "docker" "start" "-a" "8a2836ca5842249b86d46c9e56922fc0bb97d8caa90bff33fb01ebc5352a4e4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a2836ca5842249b86d46c9e56922fc0bb97d8caa90bff33fb01ebc5352a4e4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a2836ca5842249b86d46c9e56922fc0bb97d8caa90bff33fb01ebc5352a4e4b", kill_on_drop: false }` [INFO] [stdout] 8a2836ca5842249b86d46c9e56922fc0bb97d8caa90bff33fb01ebc5352a4e4b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c66062f7d8f4549fe4bee8deb10eb2f3c7c51ee5ad9e387906a558ab5363acea [INFO] running `Command { std: "docker" "start" "-a" "c66062f7d8f4549fe4bee8deb10eb2f3c7c51ee5ad9e387906a558ab5363acea", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Compiling rost v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking bare-metal v1.0.0 [INFO] [stderr] Checking r0 v1.0.0 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling riscv-target v0.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling riscv v0.6.0 [INFO] [stderr] Compiling riscv v0.7.0 (https://github.com/rust-embedded/riscv.git#be2927e2) [INFO] [stderr] Compiling riscv-rt v0.8.0 [INFO] [stderr] Compiling thiserror v1.0.29 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Compiling num_enum_derive v0.5.4 [INFO] [stderr] Compiling riscv-rt-macros v0.1.6 [INFO] [stdout] warning: unused import: `trace` [INFO] [stdout] --> src/trap.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use log::{trace, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `trace` [INFO] [stdout] --> src/trap.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use log::{trace, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | fn panic(info: &core::panic::PanicInfo) -> ! { [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/db1fb85cff63ad5fffe435e17128f99f9e1d970c/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-d6566390077dd5f5.rlib [INFO] [stdout] = note: second definition in the local crate (`rost`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rost` due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c66062f7d8f4549fe4bee8deb10eb2f3c7c51ee5ad9e387906a558ab5363acea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c66062f7d8f4549fe4bee8deb10eb2f3c7c51ee5ad9e387906a558ab5363acea", kill_on_drop: false }` [INFO] [stdout] c66062f7d8f4549fe4bee8deb10eb2f3c7c51ee5ad9e387906a558ab5363acea