[INFO] cloning repository https://github.com/pgorczak/rust-bluepill-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pgorczak/rust-bluepill-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpgorczak%2Frust-bluepill-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpgorczak%2Frust-bluepill-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 75147c53086d3090ae8cbbac23effcf8019ea635 [INFO] documenting pgorczak/rust-bluepill-example against beta-2020-08-29 for beta-1.47-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpgorczak%2Frust-bluepill-example" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pgorczak/rust-bluepill-example on toolchain beta-2020-08-29 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-08-29" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-12/source/.cargo/config [INFO] started tweaking git repo https://github.com/pgorczak/rust-bluepill-example [INFO] finished tweaking git repo https://github.com/pgorczak/rust-bluepill-example [INFO] tweaked toml for git repo https://github.com/pgorczak/rust-bluepill-example written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/pgorczak/rust-bluepill-example already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-08-29" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-12/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-08-29" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-08-29" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded stm32f1xx-hal v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-08-29" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f00d9ba8ede2db3b734de0f98fa680a0dd4de57e50ec923c6ad07e06bd40b52e [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" "f00d9ba8ede2db3b734de0f98fa680a0dd4de57e50ec923c6ad07e06bd40b52e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f00d9ba8ede2db3b734de0f98fa680a0dd4de57e50ec923c6ad07e06bd40b52e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f00d9ba8ede2db3b734de0f98fa680a0dd4de57e50ec923c6ad07e06bd40b52e", kill_on_drop: false }` [INFO] [stdout] f00d9ba8ede2db3b734de0f98fa680a0dd4de57e50ec923c6ad07e06bd40b52e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-08-29" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 718508acb9550e10ac58e839fbaf7a7687d2172df0bc4f5fd8730e78f8961f07 [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" "718508acb9550e10ac58e839fbaf7a7687d2172df0bc4f5fd8730e78f8961f07", kill_on_drop: false }` [INFO] [stderr] Compiling cortex-m v0.6.3 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking vcell v0.1.2 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling cortex-m-rt v0.6.12 [INFO] [stderr] Compiling cortex-m v0.5.10 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.5 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Checking aligned v0.2.0 [INFO] [stderr] Compiling stm32f1 v0.6.0 [INFO] [stderr] Checking panic-halt v0.2.0 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking embedded-hal v0.2.4 [INFO] [stderr] Checking as-slice v0.1.3 [INFO] [stderr] Checking aligned v0.3.4 [INFO] [stderr] Checking panic-semihosting v0.5.3 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.8 [INFO] [stderr] Checking stm32f1xx-hal v0.2.1 [INFO] [stderr] Documenting rust-bluepill-example v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: duplicate lang item in crate `panic_halt` (which `rust_bluepill_example` depends on): `panic_impl`. [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `panic_semihosting` (which `rust_bluepill_example` depends on) [INFO] [stdout] = note: first definition in `panic_semihosting` loaded from /opt/rustwide/target/debug/deps/libpanic_semihosting-09a20fd40f2a213e.rmeta [INFO] [stdout] = note: second definition in `panic_halt` loaded from /opt/rustwide/target/debug/deps/libpanic_halt-e898de5af9d9d9bd.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: Could not document `rust-bluepill-example`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --crate-type bin --crate-name rust_bluepill_example 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-d8000ed704aa8b51.rmeta --extern cortex_m_rt=/opt/rustwide/target/debug/deps/libcortex_m_rt-256b3d6c447ad5e0.rmeta --extern cortex_m_semihosting=/opt/rustwide/target/debug/deps/libcortex_m_semihosting-89058fc8dc54f46c.rmeta --extern nb=/opt/rustwide/target/debug/deps/libnb-80f0af67cce08533.rmeta --extern panic_halt=/opt/rustwide/target/debug/deps/libpanic_halt-e898de5af9d9d9bd.rmeta --extern panic_semihosting=/opt/rustwide/target/debug/deps/libpanic_semihosting-09a20fd40f2a213e.rmeta --extern stm32f1xx_hal=/opt/rustwide/target/debug/deps/libstm32f1xx_hal-7f8fc1413a58c95c.rmeta --cap-lints=warn --crate-version 0.0.1` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "718508acb9550e10ac58e839fbaf7a7687d2172df0bc4f5fd8730e78f8961f07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "718508acb9550e10ac58e839fbaf7a7687d2172df0bc4f5fd8730e78f8961f07", kill_on_drop: false }` [INFO] [stdout] 718508acb9550e10ac58e839fbaf7a7687d2172df0bc4f5fd8730e78f8961f07