[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#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fniklasad1%2Fnrf52dk-rs" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/niklasad1/nrf52dk-rs on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-13/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-13/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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] bd69f075ad6a382f85a56d2602a6c5d31a9fe235b0fe15fb699606d32508d321 [INFO] running `Command { std: "docker" "start" "-a" "bd69f075ad6a382f85a56d2602a6c5d31a9fe235b0fe15fb699606d32508d321", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd69f075ad6a382f85a56d2602a6c5d31a9fe235b0fe15fb699606d32508d321", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd69f075ad6a382f85a56d2602a6c5d31a9fe235b0fe15fb699606d32508d321", kill_on_drop: false }` [INFO] [stdout] bd69f075ad6a382f85a56d2602a6c5d31a9fe235b0fe15fb699606d32508d321 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 10f289f4c624a4e0f88225300b4143b279abb109dc01124d244d2339c12702dd [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" "10f289f4c624a4e0f88225300b4143b279abb109dc01124d244d2339c12702dd", 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] 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/8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-e3026a7ea720d3a3.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/8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-e3026a7ea720d3a3.rlib [INFO] [stdout] = note: second definition in the local crate (`nrf52dk_rs`) [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: 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" "10f289f4c624a4e0f88225300b4143b279abb109dc01124d244d2339c12702dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10f289f4c624a4e0f88225300b4143b279abb109dc01124d244d2339c12702dd", kill_on_drop: false }` [INFO] [stdout] 10f289f4c624a4e0f88225300b4143b279abb109dc01124d244d2339c12702dd