[INFO] cloning repository https://github.com/Vrixyz/button [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Vrixyz/button" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVrixyz%2Fbutton", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVrixyz%2Fbutton'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1944b9de7806b69ce74f51d5569dcd2f9ac1e5bb [INFO] documenting Vrixyz/button against master#394e1b40d264aa6928811919c1124fa248e7d802 for pr-73566 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVrixyz%2Fbutton" "/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/Vrixyz/button on toolchain 394e1b40d264aa6928811919c1124fa248e7d802 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "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/Vrixyz/button [INFO] finished tweaking git repo https://github.com/Vrixyz/button [INFO] tweaked toml for git repo https://github.com/Vrixyz/button written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/Vrixyz/button already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8e117683af99dfaf08b678d5c7827798f162de02a01a918440b6fa1e85077eed [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" "8e117683af99dfaf08b678d5c7827798f162de02a01a918440b6fa1e85077eed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e117683af99dfaf08b678d5c7827798f162de02a01a918440b6fa1e85077eed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e117683af99dfaf08b678d5c7827798f162de02a01a918440b6fa1e85077eed", kill_on_drop: false }` [INFO] [stdout] 8e117683af99dfaf08b678d5c7827798f162de02a01a918440b6fa1e85077eed [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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-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" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 61a2b5abbb25ff0e554fa67f60abdb08b0b0cc229556f457be3be14d7781ecab [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" "61a2b5abbb25ff0e554fa67f60abdb08b0b0cc229556f457be3be14d7781ecab", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cortex-m v0.6.2 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Checking vcell v0.1.2 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling cortex-m v0.5.10 [INFO] [stderr] Compiling cortex-m-rt v0.6.12 [INFO] [stderr] Checking nb v0.1.2 [INFO] [stderr] Checking aligned v0.2.0 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Compiling stm32f30x v0.7.1 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.5 [INFO] [stderr] Compiling f3 v0.6.1 [INFO] [stderr] Checking panic-halt v0.2.0 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Checking embedded-hal v0.2.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking generic-array v0.11.1 [INFO] [stderr] Checking lsm303dlhc v0.2.0 [INFO] [stderr] Checking l3gd20 v0.2.0 [INFO] [stderr] Checking as-slice v0.1.3 [INFO] [stderr] Checking aligned v0.3.2 [INFO] [stderr] Checking panic-itm v0.4.1 [INFO] [stderr] Checking panic-semihosting v0.5.3 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.8 [INFO] [stderr] Checking stm32f30x-hal v0.2.0 [INFO] [stderr] Documenting button v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: duplicate lang item in crate `panic_halt` (which `button` depends on): `panic_impl`. [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `panic_semihosting` (which `button` depends on) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: duplicate lang item in crate `panic_itm` (which `button` depends on): `panic_impl`. [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `panic_halt` (which `button` depends on) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: Could not document `button`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name button src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern cortex_m=/opt/rustwide/target/debug/deps/libcortex_m-030201be0227dbba.rmeta --extern cortex_m_rt=/opt/rustwide/target/debug/deps/libcortex_m_rt-41937a5a1b23f2a6.rmeta --extern f3=/opt/rustwide/target/debug/deps/libf3-3cf9ea59bdf27a2d.rmeta --extern panic_halt=/opt/rustwide/target/debug/deps/libpanic_halt-5cb144f9267ebca2.rmeta --extern panic_itm=/opt/rustwide/target/debug/deps/libpanic_itm-feda2a18d60cb932.rmeta --extern panic_semihosting=/opt/rustwide/target/debug/deps/libpanic_semihosting-d6a27b9658457817.rmeta --cap-lints=forbid` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "61a2b5abbb25ff0e554fa67f60abdb08b0b0cc229556f457be3be14d7781ecab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61a2b5abbb25ff0e554fa67f60abdb08b0b0cc229556f457be3be14d7781ecab", kill_on_drop: false }` [INFO] [stdout] 61a2b5abbb25ff0e554fa67f60abdb08b0b0cc229556f457be3be14d7781ecab