[INFO] cloning repository https://github.com/ppuzicks/hello_nrf52 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ppuzicks/hello_nrf52" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fppuzicks%2Fhello_nrf52", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fppuzicks%2Fhello_nrf52'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 77db1506f6d9d14292c8c8b3e9be8498266a23c0 [INFO] documenting ppuzicks/hello_nrf52 against beta-2022-05-20 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fppuzicks%2Fhello_nrf52" "/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/ppuzicks/hello_nrf52 on toolchain beta-2022-05-20 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4/source/.cargo/config [INFO] started tweaking git repo https://github.com/ppuzicks/hello_nrf52 [INFO] finished tweaking git repo https://github.com/ppuzicks/hello_nrf52 [INFO] tweaked toml for git repo https://github.com/ppuzicks/hello_nrf52 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/ppuzicks/hello_nrf52 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "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] e8e2d58ae227ac42d47f99b496ecac1494813845b5b00f0bea44e4b072e3e297 [INFO] running `Command { std: "docker" "start" "-a" "e8e2d58ae227ac42d47f99b496ecac1494813845b5b00f0bea44e4b072e3e297", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e8e2d58ae227ac42d47f99b496ecac1494813845b5b00f0bea44e4b072e3e297", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8e2d58ae227ac42d47f99b496ecac1494813845b5b00f0bea44e4b072e3e297", kill_on_drop: false }` [INFO] [stdout] e8e2d58ae227ac42d47f99b496ecac1494813845b5b00f0bea44e4b072e3e297 [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" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--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] 91b0e78e35676f59553334799b4e9001a52fd2edd929f14d9c0c212b5f2b76d1 [INFO] running `Command { std: "docker" "start" "-a" "91b0e78e35676f59553334799b4e9001a52fd2edd929f14d9c0c212b5f2b76d1", kill_on_drop: false }` [INFO] [stderr] Compiling cortex-m v0.7.2 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling cortex-m-rt v0.6.13 [INFO] [stderr] Compiling nrf52840-pac v0.9.0 [INFO] [stderr] Compiling fixed v1.6.0 [INFO] [stderr] Compiling nrf-hal-common v0.12.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling nrf52840-hal v0.12.1 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Checking embedded-hal v0.2.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking aligned v0.3.4 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Checking panic-itm v0.4.2 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.8 [INFO] [stderr] Documenting hello_nrf52 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: duplicate lang item in crate `std`: `panic_impl`. [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `panic_halt`. [INFO] [stdout] = note: first definition in `panic_halt` loaded from /opt/rustwide/target/debug/deps/libpanic_halt-8e0ecb18292def22.rmeta [INFO] [stdout] = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/beta-2022-05-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-e17ad048e2926c1e.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/main.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | fn panic(_: &core::panic::PanicInfo) -> ! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std`. [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/beta-2022-05-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-e17ad048e2926c1e.rlib [INFO] [stdout] = note: second definition in the local crate (`hello_nrf52`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not document `hello_nrf52` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name hello_nrf52 src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items '-Arustdoc::private-intra-doc-links' -C metadata=bcde8831bb9276ac -L dependency=/opt/rustwide/target/debug/deps --extern cortex_m=/opt/rustwide/target/debug/deps/libcortex_m-ca477aa5de2a5bce.rmeta --extern cortex_m_rt=/opt/rustwide/target/debug/deps/libcortex_m_rt-1657265ad769644a.rmeta --extern embedded_hal=/opt/rustwide/target/debug/deps/libembedded_hal-9903ad45cf3c2a8d.rmeta --extern nrf52840_hal=/opt/rustwide/target/debug/deps/libnrf52840_hal-639332b694ebad9a.rmeta --extern panic_halt=/opt/rustwide/target/debug/deps/libpanic_halt-8e0ecb18292def22.rmeta --extern panic_itm=/opt/rustwide/target/debug/deps/libpanic_itm-9c018530edf394c2.rmeta --cap-lints=warn --crate-version 0.1.0` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "91b0e78e35676f59553334799b4e9001a52fd2edd929f14d9c0c212b5f2b76d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91b0e78e35676f59553334799b4e9001a52fd2edd929f14d9c0c212b5f2b76d1", kill_on_drop: false }` [INFO] [stdout] 91b0e78e35676f59553334799b4e9001a52fd2edd929f14d9c0c212b5f2b76d1