[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] checking daschl/nrf52840dk-sample/e0c09c8beda1c69ea2d9a32a7fbdbac18176328e against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaschl%2Fnrf52840dk-sample" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/daschl/nrf52840dk-sample on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc1/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-0-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/knurling-rs/defmt` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fixed v1.2.0 [INFO] [stderr] Downloaded nrf52840-hal v0.11.0 [INFO] [stderr] Downloaded nrf-hal-common v0.11.1 [INFO] [stderr] Downloaded nrf52840-pac v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d97fb9557d898ea7724f655b39893120a199e05e687e74007255a8e7ebc1db3e [INFO] running `Command { std: "docker" "start" "-a" "d97fb9557d898ea7724f655b39893120a199e05e687e74007255a8e7ebc1db3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d97fb9557d898ea7724f655b39893120a199e05e687e74007255a8e7ebc1db3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d97fb9557d898ea7724f655b39893120a199e05e687e74007255a8e7ebc1db3e", kill_on_drop: false }` [INFO] [stdout] d97fb9557d898ea7724f655b39893120a199e05e687e74007255a8e7ebc1db3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 285c4e902db6ccc6afaceed70740401185b17cfb4d9876cf5f797a627f39ec25 [INFO] running `Command { std: "docker" "start" "-a" "285c4e902db6ccc6afaceed70740401185b17cfb4d9876cf5f797a627f39ec25", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling cortex-m v0.6.3 [INFO] [stderr] Checking vcell v0.1.2 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling cortex-m-rt v0.6.13 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Compiling fixed v1.2.0 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Compiling nrf52840-pac v0.9.0 [INFO] [stderr] Compiling defmt-parser v0.1.0 (https://github.com/knurling-rs/defmt?branch=main#3aa4e70e) [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling defmt v0.1.0 (https://github.com/knurling-rs/defmt?branch=main#3aa4e70e) [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling nrf52840-hal v0.11.0 [INFO] [stderr] Checking embedded-hal v0.2.4 [INFO] [stderr] Checking defmt-common v0.1.0 (https://github.com/knurling-rs/defmt?branch=main#3aa4e70e) [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking as-slice v0.1.4 [INFO] [stderr] Checking 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] Checking defmt-rtt v0.1.0 (https://github.com/knurling-rs/defmt?branch=main#3aa4e70e) [INFO] [stderr] Checking nrf-hal-common v0.11.1 [INFO] [stderr] Checking 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] 26 | | defmt::error!("panicked"); [INFO] [stdout] 27 | | exit() [INFO] [stdout] 28 | | } [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/f609b7e0586f81fefb3523e3e17adf779ac416be/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-e0ee872a6f64065a.rlib [INFO] [stdout] = note: second definition in the local crate (`nrf52840dk_sample`) [INFO] [stdout] [INFO] [stdout] [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] 26 | | defmt::error!("panicked"); [INFO] [stdout] 27 | | exit() [INFO] [stdout] 28 | | } [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/f609b7e0586f81fefb3523e3e17adf779ac416be/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-e0ee872a6f64065a.rlib [INFO] [stdout] = note: second definition in the local crate (`nrf52840dk_sample`) [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] [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 `nrf52840dk-sample` (bin "nrf52840dk-sample") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `nrf52840dk-sample` (bin "nrf52840dk-sample" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "285c4e902db6ccc6afaceed70740401185b17cfb4d9876cf5f797a627f39ec25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "285c4e902db6ccc6afaceed70740401185b17cfb4d9876cf5f797a627f39ec25", kill_on_drop: false }` [INFO] [stdout] 285c4e902db6ccc6afaceed70740401185b17cfb4d9876cf5f797a627f39ec25