[INFO] fetching crate mcumeter 0.1.1... [INFO] checking mcumeter-0.1.1 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate mcumeter 0.1.1 into /workspace/builds/worker-44/source [INFO] validating manifest of crates.io crate mcumeter 0.1.1 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-44/source/.cargo/config [INFO] started tweaking crates.io crate mcumeter 0.1.1 [INFO] finished tweaking crates.io crate mcumeter 0.1.1 [INFO] tweaked toml for crates.io crate mcumeter 0.1.1 written to /workspace/builds/worker-44/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tinytga v0.1.0 [INFO] [stderr] Downloaded embedded-graphics v0.4.9 [INFO] [stderr] Downloaded shared-bus v0.1.4 [INFO] [stderr] Downloaded ssd1306 v0.2.6 [INFO] [stderr] Downloaded tinybmp v0.1.1 [INFO] [stderr] Downloaded ina260 v0.2.6 [INFO] [stderr] Downloaded stm32f0xx-hal v0.12.0 [INFO] [stderr] Downloaded stm32f0 v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2dc75af4f91ba93a925b2b4f69ffa3cf9bdd9cdec3a0937c0f3f2fe175393994 [INFO] running `Command { std: "docker" "start" "-a" "2dc75af4f91ba93a925b2b4f69ffa3cf9bdd9cdec3a0937c0f3f2fe175393994", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2dc75af4f91ba93a925b2b4f69ffa3cf9bdd9cdec3a0937c0f3f2fe175393994", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2dc75af4f91ba93a925b2b4f69ffa3cf9bdd9cdec3a0937c0f3f2fe175393994", kill_on_drop: false }` [INFO] [stdout] 2dc75af4f91ba93a925b2b4f69ffa3cf9bdd9cdec3a0937c0f3f2fe175393994 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f2ac8181eaf6ea55a024c9508f8ba274f2b84120cc43f4520493d373094738e [INFO] running `Command { std: "docker" "start" "-a" "1f2ac8181eaf6ea55a024c9508f8ba274f2b84120cc43f4520493d373094738e", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling cortex-m v0.7.3 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling cortex-m-rt v0.6.15 [INFO] [stderr] Compiling cortex-m v0.5.11 [INFO] [stderr] Checking aligned v0.2.0 [INFO] [stderr] Compiling stm32f0 v0.5.0 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Compiling heapless v0.4.4 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling ssd1306 v0.2.6 [INFO] [stderr] Checking panic-halt v0.2.0 [INFO] [stderr] Checking volatile-register v0.2.1 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking embedded-hal v0.2.6 [INFO] [stderr] Checking hash32 v0.1.1 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Checking tinytga v0.1.0 [INFO] [stderr] Checking generic-array v0.13.3 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking generic-array v0.11.2 [INFO] [stderr] Checking ina260 v0.2.6 [INFO] [stderr] Checking as-slice v0.1.5 [INFO] [stderr] Checking tinybmp v0.1.1 [INFO] [stderr] Checking embedded-graphics v0.4.9 [INFO] [stderr] Checking aligned v0.3.5 [INFO] [stderr] Checking shared-bus v0.1.4 [INFO] [stderr] Compiling cortex-m-rt-macros v0.6.15 [INFO] [stderr] Checking stm32f0xx-hal v0.12.0 [INFO] [stderr] Checking mcumeter v0.1.1 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [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 `mcumeter` depends on) [INFO] [stdout] = note: first definition in `panic_halt` loaded from /opt/rustwide/target/debug/deps/libpanic_halt-9f5aedf93aaf901c.rmeta [INFO] [stdout] = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/a7a572ce3edd6d476191fbfe92c9c1986e009b34/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1dd6c19f0820d51d.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `stm32f0xx_hal::prelude::_embedded_hal_digital_OutputPin::set_high`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/main.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | led.set_high(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `stm32f0xx_hal::prelude::_embedded_hal_digital_OutputPin::set_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/main.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | led.set_low(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `stm32f0xx_hal::prelude::_embedded_hal_digital_OutputPin::set_high`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/main.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | led.set_high(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `stm32f0xx_hal::prelude::_embedded_hal_digital_OutputPin::set_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/main.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | led.set_low(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `stm32f0xx_hal::prelude::_embedded_hal_digital_OutputPin::set_high`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/main.rs:130:21 [INFO] [stdout] | [INFO] [stdout] 130 | led.set_high(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: changes to closure capture in Rust 2021 will affect `UnwindSafe`, `Send` trait implementation for closure [INFO] [stdout] --> src/main.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | cortex_m::interrupt::free(|cs| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | in Rust 2018, this closure implements `UnwindSafe` as `p` implements `UnwindSafe`, but in Rust 2021, this closure will no longer implement `UnwindSafe` as `p.FLASH` does not implement `UnwindSafe` [INFO] [stdout] | in Rust 2018, this closure implements `Send` as `p` implements `Send`, but in Rust 2021, this closure will no longer implement `Send` as `p.DBGMCU` does not implement `Send` [INFO] [stdout] 35 | let mut rcc = p.RCC.configure().sysclk(48.mhz()).freeze(&mut p.FLASH); [INFO] [stdout] | ------- in Rust 2018, this closure captures all of `p`, but in Rust 2021, it will only capture `p.FLASH` [INFO] [stdout] ... [INFO] [stdout] 51 | p.DBGMCU.apb1_fz.modify(|_, w| w.dbg_iwdg_stop().set_bit()); [INFO] [stdout] | -------- in Rust 2018, this closure captures all of `p`, but in Rust 2021, it will only capture `p.DBGMCU` [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn rust-2021-incompatible-closure-captures` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a dummy let to cause `p` to be fully captured [INFO] [stdout] | [INFO] [stdout] 34 ~ cortex_m::interrupt::free(|cs| { [INFO] [stdout] 35 + let _ = &p; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mcumeter` due to 2 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `stm32f0xx_hal::prelude::_embedded_hal_digital_OutputPin::set_high`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/main.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | led.set_high(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `stm32f0xx_hal::prelude::_embedded_hal_digital_OutputPin::set_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/main.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | led.set_low(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `stm32f0xx_hal::prelude::_embedded_hal_digital_OutputPin::set_high`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/main.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | led.set_high(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `stm32f0xx_hal::prelude::_embedded_hal_digital_OutputPin::set_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/main.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | led.set_low(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `stm32f0xx_hal::prelude::_embedded_hal_digital_OutputPin::set_high`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/main.rs:130:21 [INFO] [stdout] | [INFO] [stdout] 130 | led.set_high(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: changes to closure capture in Rust 2021 will affect `UnwindSafe`, `Send` trait implementation for closure [INFO] [stdout] --> src/main.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | cortex_m::interrupt::free(|cs| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | in Rust 2018, this closure implements `UnwindSafe` as `p` implements `UnwindSafe`, but in Rust 2021, this closure will no longer implement `UnwindSafe` as `p.FLASH` does not implement `UnwindSafe` [INFO] [stdout] | in Rust 2018, this closure implements `Send` as `p` implements `Send`, but in Rust 2021, this closure will no longer implement `Send` as `p.DBGMCU` does not implement `Send` [INFO] [stdout] 35 | let mut rcc = p.RCC.configure().sysclk(48.mhz()).freeze(&mut p.FLASH); [INFO] [stdout] | ------- in Rust 2018, this closure captures all of `p`, but in Rust 2021, it will only capture `p.FLASH` [INFO] [stdout] ... [INFO] [stdout] 51 | p.DBGMCU.apb1_fz.modify(|_, w| w.dbg_iwdg_stop().set_bit()); [INFO] [stdout] | -------- in Rust 2018, this closure captures all of `p`, but in Rust 2021, it will only capture `p.DBGMCU` [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn rust-2021-incompatible-closure-captures` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a dummy let to cause `p` to be fully captured [INFO] [stdout] | [INFO] [stdout] 34 ~ cortex_m::interrupt::free(|cs| { [INFO] [stdout] 35 + let _ = &p; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "1f2ac8181eaf6ea55a024c9508f8ba274f2b84120cc43f4520493d373094738e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f2ac8181eaf6ea55a024c9508f8ba274f2b84120cc43f4520493d373094738e", kill_on_drop: false }` [INFO] [stdout] 1f2ac8181eaf6ea55a024c9508f8ba274f2b84120cc43f4520493d373094738e