[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] documenting daschl/nrf52840dk-sample against 1.59.0 for beta-1.60-rustdoc-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaschl%2Fnrf52840dk-sample" "/workspace/builds/worker-2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/daschl/nrf52840dk-sample on toolchain 1.59.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-2/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-2/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" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "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] 4c32db573c05855bb4d16b66ac320d177bc2f8eafea6f725b89744945a2e6ad1
[INFO] running `Command { std: "docker" "start" "-a" "4c32db573c05855bb4d16b66ac320d177bc2f8eafea6f725b89744945a2e6ad1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4c32db573c05855bb4d16b66ac320d177bc2f8eafea6f725b89744945a2e6ad1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4c32db573c05855bb4d16b66ac320d177bc2f8eafea6f725b89744945a2e6ad1", kill_on_drop: false }`
[INFO] [stdout] 4c32db573c05855bb4d16b66ac320d177bc2f8eafea6f725b89744945a2e6ad1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 636c5100cbd9b343f9ae25e2db3e6cf157e38fe4053277e61a3506b9a8351156
[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" "636c5100cbd9b343f9ae25e2db3e6cf157e38fe4053277e61a3506b9a8351156", kill_on_drop: false }`
[INFO] [stderr]    Compiling fixed v1.2.0
[INFO] [stderr]    Compiling nrf52840-pac v0.9.0
[INFO] [stderr]    Compiling defmt v0.1.0 (https://github.com/knurling-rs/defmt?branch=main#3aa4e70e)
[INFO] [stderr]    Compiling defmt-parser v0.1.0 (https://github.com/knurling-rs/defmt?branch=main#3aa4e70e)
[INFO] [stderr]    Compiling nrf52840-hal v0.11.0
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking defmt-common v0.1.0 (https://github.com/knurling-rs/defmt?branch=main#3aa4e70e)
[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]  Documenting 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/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-a46a068050a12a4b.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 document `nrf52840dk-sample`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name nrf52840dk_sample src/main.rs -o /opt/rustwide/target/doc --cfg 'feature="default"' --cfg 'feature="defmt-default"' --error-format=json --json=diagnostic-rendered-ansi,future-incompat --document-private-items -C metadata=91b2ab930ffa625a -L dependency=/opt/rustwide/target/debug/deps --extern cortex_m=/opt/rustwide/target/debug/deps/libcortex_m-393655b688c0efe5.rmeta --extern cortex_m_rt=/opt/rustwide/target/debug/deps/libcortex_m_rt-3cdaa61a9f02c93f.rmeta --extern defmt=/opt/rustwide/target/debug/deps/libdefmt-746a9f7ae499c889.rmeta --extern defmt_rtt=/opt/rustwide/target/debug/deps/libdefmt_rtt-e37a603634bdb209.rmeta --extern nrf52840_hal=/opt/rustwide/target/debug/deps/libnrf52840_hal-b71a2cac164ad16e.rmeta --cap-lints=warn --crate-version 0.1.0` (exit status: 1)
[INFO] running `Command { std: "docker" "inspect" "636c5100cbd9b343f9ae25e2db3e6cf157e38fe4053277e61a3506b9a8351156", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "636c5100cbd9b343f9ae25e2db3e6cf157e38fe4053277e61a3506b9a8351156", kill_on_drop: false }`
[INFO] [stdout] 636c5100cbd9b343f9ae25e2db3e6cf157e38fe4053277e61a3506b9a8351156
