[INFO] cloning repository https://github.com/niklasad1/nrf52dk-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/niklasad1/nrf52dk-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fniklasad1%2Fnrf52dk-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fniklasad1%2Fnrf52dk-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0cb257deefa1a18ad1286d150d7e1059298a57af [INFO] checking niklasad1/nrf52dk-rs against try#575650af7d7ca88602df28e39d27bf3e456c306e for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fniklasad1%2Fnrf52dk-rs" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/niklasad1/nrf52dk-rs on toolchain 575650af7d7ca88602df28e39d27bf3e456c306e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1/source/.cargo/config [INFO] started tweaking git repo https://github.com/niklasad1/nrf52dk-rs [INFO] finished tweaking git repo https://github.com/niklasad1/nrf52dk-rs [INFO] tweaked toml for git repo https://github.com/niklasad1/nrf52dk-rs written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/niklasad1/nrf52dk-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bare-metal v0.2.3 [INFO] [stderr] Downloaded tock-registers v0.1.0 [INFO] [stderr] Downloaded cortex-m v0.5.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 276c62c8ba99e0832ab5d9152fc1618b47b3a166b933dbe79542db8acace885c [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" "276c62c8ba99e0832ab5d9152fc1618b47b3a166b933dbe79542db8acace885c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "276c62c8ba99e0832ab5d9152fc1618b47b3a166b933dbe79542db8acace885c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "276c62c8ba99e0832ab5d9152fc1618b47b3a166b933dbe79542db8acace885c", kill_on_drop: false }` [INFO] [stdout] 276c62c8ba99e0832ab5d9152fc1618b47b3a166b933dbe79542db8acace885c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0acf390ad23f5ac07e04877b130906569b117f203915e9491c1fb5e3e665d1cd [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" "0acf390ad23f5ac07e04877b130906569b117f203915e9491c1fb5e3e665d1cd", kill_on_drop: false }` [INFO] [stderr] Compiling cortex-m v0.5.7 [INFO] [stderr] Checking vcell v0.1.0 [INFO] [stderr] Checking bare-metal v0.2.3 [INFO] [stderr] Checking aligned v0.2.0 [INFO] [stderr] Checking tock-registers v0.1.0 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Checking nrf52dk-rs v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/peripherals/gpio.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | /// Gpio [INFO] [stdout] | ^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/peripherals/gpio.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | /// Gpio [INFO] [stdout] | ^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `start` [INFO] [stdout] --> src/lang_items.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / extern "C" fn start(main: fn() -> T, _argc: isize, _argv: *const *const u8) -> i32 [INFO] [stdout] 4 | | where [INFO] [stdout] 5 | | T: Termination, [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/575650af7d7ca88602df28e39d27bf3e456c306e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-25c6acf8063a3802.rlib [INFO] [stdout] = note: second definition in the local crate (`nrf52dk_rs`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `termination` [INFO] [stdout] --> src/lang_items.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / pub trait Termination { [INFO] [stdout] 13 | | fn report(self) -> i32; [INFO] [stdout] 14 | | } [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/575650af7d7ca88602df28e39d27bf3e456c306e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-25c6acf8063a3802.rlib [INFO] [stdout] = note: second definition in the local crate (`nrf52dk_rs`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 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 `nrf52dk-rs` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: `extern` fn uses type `fn() -> T`, which is not FFI-safe [INFO] [stdout] --> src/lang_items.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | extern "C" fn start(main: fn() -> T, _argc: isize, _argv: *const *const u8) -> i32 [INFO] [stdout] | ^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = help: consider using an `extern fn(...) -> ...` function pointer instead [INFO] [stdout] = note: this function pointer has Rust-specific calling convention [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "0acf390ad23f5ac07e04877b130906569b117f203915e9491c1fb5e3e665d1cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0acf390ad23f5ac07e04877b130906569b117f203915e9491c1fb5e3e665d1cd", kill_on_drop: false }` [INFO] [stdout] 0acf390ad23f5ac07e04877b130906569b117f203915e9491c1fb5e3e665d1cd