[INFO] cloning repository https://github.com/daschl/nrf52840dk-sample [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/daschl/nrf52840dk-sample" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaschl%2Fnrf52840dk-sample", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaschl%2Fnrf52840dk-sample'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e0c09c8beda1c69ea2d9a32a7fbdbac18176328e [INFO] testing daschl/nrf52840dk-sample against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaschl%2Fnrf52840dk-sample" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/daschl/nrf52840dk-sample on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/daschl/nrf52840dk-sample [INFO] finished tweaking git repo https://github.com/daschl/nrf52840dk-sample [INFO] tweaked toml for git repo https://github.com/daschl/nrf52840dk-sample written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/daschl/nrf52840dk-sample already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f1d58d743ceb0097cb6233b851fc9fa14d30a85afd9cf82f98010ad3f4215bd0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f1d58d743ceb0097cb6233b851fc9fa14d30a85afd9cf82f98010ad3f4215bd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f1d58d743ceb0097cb6233b851fc9fa14d30a85afd9cf82f98010ad3f4215bd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1d58d743ceb0097cb6233b851fc9fa14d30a85afd9cf82f98010ad3f4215bd0", kill_on_drop: false }` [INFO] [stdout] f1d58d743ceb0097cb6233b851fc9fa14d30a85afd9cf82f98010ad3f4215bd0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73b7424a1530c40b0be70fcf158cfbd329f200add30bfcc257372c4721c85e8c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "73b7424a1530c40b0be70fcf158cfbd329f200add30bfcc257372c4721c85e8c", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling cortex-m v0.6.3 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling cortex-m-rt v0.6.13 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling nrf52840-pac v0.9.0 [INFO] [stderr] Compiling fixed v1.2.0 [INFO] [stderr] Compiling defmt-parser v0.1.0 (https://github.com/knurling-rs/defmt?branch=main#3aa4e70e) [INFO] [stderr] Compiling defmt v0.1.0 (https://github.com/knurling-rs/defmt?branch=main#3aa4e70e) [INFO] [stderr] Compiling defmt-common v0.1.0 (https://github.com/knurling-rs/defmt?branch=main#3aa4e70e) [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling nrf52840-hal v0.11.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling embedded-hal v0.2.4 [INFO] [stderr] Compiling generic-array v0.13.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling as-slice v0.1.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling aligned v0.3.4 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.8 [INFO] [stderr] Compiling defmt-macros v0.1.0 (https://github.com/knurling-rs/defmt?branch=main#3aa4e70e) [INFO] [stderr] Compiling defmt-rtt v0.1.0 (https://github.com/knurling-rs/defmt?branch=main#3aa4e70e) [INFO] [stderr] Compiling nrf-hal-common v0.11.1 [INFO] [stderr] Compiling nrf52840dk-sample v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/main.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | fn panic(_info: &core::panic::PanicInfo) -> ! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `defmt` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-29e5e596e889a0aa.so, /opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-29e5e596e889a0aa.rlib [INFO] [stdout] = note: second definition in the local crate (`nrf52840dk_sample`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 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 `nrf52840dk-sample` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "73b7424a1530c40b0be70fcf158cfbd329f200add30bfcc257372c4721c85e8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73b7424a1530c40b0be70fcf158cfbd329f200add30bfcc257372c4721c85e8c", kill_on_drop: false }` [INFO] [stdout] 73b7424a1530c40b0be70fcf158cfbd329f200add30bfcc257372c4721c85e8c