[INFO] cloning repository https://github.com/alepez/stm32-blink [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alepez/stm32-blink" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falepez%2Fstm32-blink", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falepez%2Fstm32-blink'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aa1ca8e61dfa50babf5ce8df330dbadc9ffa4dee [INFO] checking alepez/stm32-blink against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falepez%2Fstm32-blink" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alepez/stm32-blink on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3/source/.cargo/config [INFO] started tweaking git repo https://github.com/alepez/stm32-blink [INFO] finished tweaking git repo https://github.com/alepez/stm32-blink [INFO] tweaked toml for git repo https://github.com/alepez/stm32-blink written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/alepez/stm32-blink already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--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-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35e3dc6a9484d8851fab02595855c94dea5140e38c3c545008ac45f5ec6a681d [INFO] running `Command { std: "docker" "start" "-a" "35e3dc6a9484d8851fab02595855c94dea5140e38c3c545008ac45f5ec6a681d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35e3dc6a9484d8851fab02595855c94dea5140e38c3c545008ac45f5ec6a681d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35e3dc6a9484d8851fab02595855c94dea5140e38c3c545008ac45f5ec6a681d", kill_on_drop: false }` [INFO] [stdout] 35e3dc6a9484d8851fab02595855c94dea5140e38c3c545008ac45f5ec6a681d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 09300e433368daa8af58d0b6836a02cc23e9f48c33cc5c7e691783a4da511e37 [INFO] running `Command { std: "docker" "start" "-a" "09300e433368daa8af58d0b6836a02cc23e9f48c33cc5c7e691783a4da511e37", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Compiling cortex-m v0.6.1 [INFO] [stderr] Checking vcell v0.1.2 [INFO] [stderr] Compiling cortex-m-rt v0.6.10 [INFO] [stderr] Compiling stm32f0 v0.8.0 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Checking nb v0.1.2 [INFO] [stderr] Checking cast v0.2.2 [INFO] [stderr] Checking panic-halt v0.2.0 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Checking as-slice v0.1.0 [INFO] [stderr] Checking embedded-hal v0.2.3 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Checking aligned v0.3.1 [INFO] [stderr] Checking panic-ramdump v0.1.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.5 [INFO] [stderr] Checking stm32f0xx-hal v0.15.1 [INFO] [stderr] Checking stm32-blink v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | fn new(pin: &mut embedded_hal::digital::v1::ToggleableOutputPin) -> Led { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn embedded_hal::digital::v1::ToggleableOutputPin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | fn new(pin: &mut embedded_hal::digital::v1::ToggleableOutputPin) -> Led { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn embedded_hal::digital::v1::ToggleableOutputPin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: duplicate lang item in crate `std` (which `test` depends on): `panic_impl`. [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `panic_halt` (which `stm32_blink` depends on) [INFO] [stdout] = note: first definition in `panic_halt` loaded from /opt/rustwide/target/debug/deps/libpanic_halt-ce71486a7799fd8b.rmeta [INFO] [stdout] = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1a95cddb5b8aaf6b.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `stm32f0xx_hal::prelude::_embedded_hal_digital_ToggleableOutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/main.rs:13:49 [INFO] [stdout] | [INFO] [stdout] 13 | pin: &'a mut dyn embedded_hal::digital::v1::ToggleableOutputPin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `stm32f0xx_hal::prelude::_embedded_hal_digital_ToggleableOutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/main.rs:13:49 [INFO] [stdout] | [INFO] [stdout] 13 | pin: &'a mut dyn embedded_hal::digital::v1::ToggleableOutputPin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `stm32f0xx_hal::prelude::_embedded_hal_digital_ToggleableOutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/main.rs:17:49 [INFO] [stdout] | [INFO] [stdout] 17 | fn new(pin: &mut embedded_hal::digital::v1::ToggleableOutputPin) -> Led { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `stm32f0xx_hal::prelude::_embedded_hal_digital_ToggleableOutputPin::toggle`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/main.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | self.pin.toggle(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `stm32f0xx_hal::prelude::_embedded_hal_digital_ToggleableOutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/main.rs:17:49 [INFO] [stdout] | [INFO] [stdout] 17 | fn new(pin: &mut embedded_hal::digital::v1::ToggleableOutputPin) -> Led { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `stm32f0xx_hal::prelude::_embedded_hal_digital_ToggleableOutputPin::toggle`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/main.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | self.pin.toggle(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stm32-blink` due to 2 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "09300e433368daa8af58d0b6836a02cc23e9f48c33cc5c7e691783a4da511e37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09300e433368daa8af58d0b6836a02cc23e9f48c33cc5c7e691783a4da511e37", kill_on_drop: false }` [INFO] [stdout] 09300e433368daa8af58d0b6836a02cc23e9f48c33cc5c7e691783a4da511e37