[INFO] fetching crate stm32l432xx-hal 0.2.7... [INFO] checking stm32l432xx-hal-0.2.7 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate stm32l432xx-hal 0.2.7 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate stm32l432xx-hal 0.2.7 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3-tc1/source/.cargo/config [INFO] started tweaking crates.io crate stm32l432xx-hal 0.2.7 [INFO] finished tweaking crates.io crate stm32l432xx-hal 0.2.7 [INFO] tweaked toml for crates.io crate stm32l432xx-hal 0.2.7 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 36 packages to latest compatible versions [INFO] [stderr] Adding aligned v0.2.0 (available: v0.4.2) [INFO] [stderr] Adding aligned v0.3.5 (available: v0.4.2) [INFO] [stderr] Adding as-slice v0.1.5 (available: v0.2.1) [INFO] [stderr] Adding bare-metal v0.2.5 (available: v1.0.0) [INFO] [stderr] Adding bitfield v0.13.2 (available: v0.17.0) [INFO] [stderr] Adding cast v0.2.7 (available: v0.3.0) [INFO] [stderr] Adding cortex-m v0.5.11 (available: v0.7.7) [INFO] [stderr] Adding cortex-m v0.6.7 (available: v0.7.7) [INFO] [stderr] Adding cortex-m-rt v0.6.15 (available: v0.7.3) [INFO] [stderr] Adding cortex-m-rt-macros v0.6.15 (available: v0.7.0) [INFO] [stderr] Adding cortex-m-semihosting v0.3.7 (available: v0.5.0) [INFO] [stderr] Adding embedded-hal v0.2.7 (available: v1.0.0) [INFO] [stderr] Adding generic-array v0.12.4 (available: v1.1.0) [INFO] [stderr] Adding generic-array v0.13.3 (available: v1.1.0) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding nb v0.1.3 (available: v1.1.0) [INFO] [stderr] Adding panic-semihosting v0.5.6 (available: v0.6.0) [INFO] [stderr] Adding r0 v0.2.2 (available: v1.0.0) [INFO] [stderr] Adding rustc_version v0.2.3 (available: v0.4.1) [INFO] [stderr] Adding semver v0.9.0 (available: v1.0.23) [INFO] [stderr] Adding semver-parser v0.7.0 (available: v0.10.2) [INFO] [stderr] Adding stm32l4 v0.3.2 (available: v0.15.1) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cortex-m v0.5.11 [INFO] [stderr] Downloaded cortex-m-rt-macros v0.6.15 [INFO] [stderr] Downloaded volatile-register v0.2.2 [INFO] [stderr] Downloaded as-slice v0.1.5 [INFO] [stderr] Downloaded cortex-m v0.6.7 [INFO] [stderr] Downloaded panic-semihosting v0.5.6 [INFO] [stderr] Downloaded aligned v0.2.0 [INFO] [stderr] Downloaded aligned v0.3.5 [INFO] [stderr] Downloaded cortex-m-rt v0.6.15 [INFO] [stderr] Downloaded cortex-m-semihosting v0.3.7 [INFO] [stderr] Downloaded generic-array v0.13.3 [INFO] [stderr] Downloaded stm32l4 v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 582305db567fa30b60b08fab883383a12be4df730c2daa0887b74ea227adbe1a [INFO] running `Command { std: "docker" "start" "-a" "582305db567fa30b60b08fab883383a12be4df730c2daa0887b74ea227adbe1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "582305db567fa30b60b08fab883383a12be4df730c2daa0887b74ea227adbe1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "582305db567fa30b60b08fab883383a12be4df730c2daa0887b74ea227adbe1a", kill_on_drop: false }` [INFO] [stdout] 582305db567fa30b60b08fab883383a12be4df730c2daa0887b74ea227adbe1a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 463b1ae106220cd70c0f561589632602170189e3ce0fc2bcc9a90b1cab9c73a7 [INFO] running `Command { std: "docker" "start" "-a" "463b1ae106220cd70c0f561589632602170189e3ce0fc2bcc9a90b1cab9c73a7", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Compiling cortex-m-rt v0.6.15 [INFO] [stderr] Compiling cortex-m v0.5.11 [INFO] [stderr] Checking typenum v1.17.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.7 [INFO] [stderr] Checking aligned v0.2.0 [INFO] [stderr] Compiling cortex-m-rt-macros v0.6.15 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Compiling stm32l4 v0.3.2 [INFO] [stderr] Checking volatile-register v0.2.2 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking generic-array v0.13.3 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Checking panic-semihosting v0.5.6 [INFO] [stderr] Checking as-slice v0.1.5 [INFO] [stderr] Checking aligned v0.3.5 [INFO] [stderr] Checking stm32l432xx-hal v0.2.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/rcc.rs:291:18 [INFO] [stdout] | [INFO] [stdout] 291 | 3...5 => 0b1001, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [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 [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/rcc.rs:292:18 [INFO] [stdout] | [INFO] [stdout] 292 | 6...11 => 0b1010, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/rcc.rs:293:19 [INFO] [stdout] | [INFO] [stdout] 293 | 12...39 => 0b1011, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/rcc.rs:294:19 [INFO] [stdout] | [INFO] [stdout] 294 | 40...95 => 0b1100, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/rcc.rs:295:19 [INFO] [stdout] | [INFO] [stdout] 295 | 96...191 => 0b1101, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/rcc.rs:296:20 [INFO] [stdout] | [INFO] [stdout] 296 | 192...383 => 0b1110, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/rcc.rs:310:18 [INFO] [stdout] | [INFO] [stdout] 310 | 3...5 => 0b101, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/rcc.rs:311:18 [INFO] [stdout] | [INFO] [stdout] 311 | 6...11 => 0b110, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/rcc.rs:326:18 [INFO] [stdout] | [INFO] [stdout] 326 | 3...5 => 0b101, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/rcc.rs:327:18 [INFO] [stdout] | [INFO] [stdout] 327 | 6...11 => 0b110, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/spi.rs:80:26 [INFO] [stdout] | [INFO] [stdout] 80 | 1...2 => 0b000, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 181 | / hal! { [INFO] [stdout] 182 | | SPI1: (spi1, APB2, spi1en, spi1rst, pclk2), [INFO] [stdout] 183 | | // SPI2: (spi2, APB1R1, spi2en, spi2rst, pclk1), // NOT Avail on 32k(b|c) [INFO] [stdout] 184 | | SPI3: (spi3, APB1R1, spi3en, spi3rst, pclk1), [INFO] [stdout] 185 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [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 [INFO] [stdout] = note: this warning originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/spi.rs:81:26 [INFO] [stdout] | [INFO] [stdout] 81 | 3...5 => 0b001, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 181 | / hal! { [INFO] [stdout] 182 | | SPI1: (spi1, APB2, spi1en, spi1rst, pclk2), [INFO] [stdout] 183 | | // SPI2: (spi2, APB1R1, spi2en, spi2rst, pclk1), // NOT Avail on 32k(b|c) [INFO] [stdout] 184 | | SPI3: (spi3, APB1R1, spi3en, spi3rst, pclk1), [INFO] [stdout] 185 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [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 [INFO] [stdout] = note: this warning originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/spi.rs:82:26 [INFO] [stdout] | [INFO] [stdout] 82 | 6...11 => 0b010, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 181 | / hal! { [INFO] [stdout] 182 | | SPI1: (spi1, APB2, spi1en, spi1rst, pclk2), [INFO] [stdout] 183 | | // SPI2: (spi2, APB1R1, spi2en, spi2rst, pclk1), // NOT Avail on 32k(b|c) [INFO] [stdout] 184 | | SPI3: (spi3, APB1R1, spi3en, spi3rst, pclk1), [INFO] [stdout] 185 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [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 [INFO] [stdout] = note: this warning originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/spi.rs:83:27 [INFO] [stdout] | [INFO] [stdout] 83 | 12...23 => 0b011, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 181 | / hal! { [INFO] [stdout] 182 | | SPI1: (spi1, APB2, spi1en, spi1rst, pclk2), [INFO] [stdout] 183 | | // SPI2: (spi2, APB1R1, spi2en, spi2rst, pclk1), // NOT Avail on 32k(b|c) [INFO] [stdout] 184 | | SPI3: (spi3, APB1R1, spi3en, spi3rst, pclk1), [INFO] [stdout] 185 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [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 [INFO] [stdout] = note: this warning originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/spi.rs:84:27 [INFO] [stdout] | [INFO] [stdout] 84 | 24...39 => 0b100, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 181 | / hal! { [INFO] [stdout] 182 | | SPI1: (spi1, APB2, spi1en, spi1rst, pclk2), [INFO] [stdout] 183 | | // SPI2: (spi2, APB1R1, spi2en, spi2rst, pclk1), // NOT Avail on 32k(b|c) [INFO] [stdout] 184 | | SPI3: (spi3, APB1R1, spi3en, spi3rst, pclk1), [INFO] [stdout] 185 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [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 [INFO] [stdout] = note: this warning originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/spi.rs:85:27 [INFO] [stdout] | [INFO] [stdout] 85 | 40...95 => 0b101, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 181 | / hal! { [INFO] [stdout] 182 | | SPI1: (spi1, APB2, spi1en, spi1rst, pclk2), [INFO] [stdout] 183 | | // SPI2: (spi2, APB1R1, spi2en, spi2rst, pclk1), // NOT Avail on 32k(b|c) [INFO] [stdout] 184 | | SPI3: (spi3, APB1R1, spi3en, spi3rst, pclk1), [INFO] [stdout] 185 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [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 [INFO] [stdout] = note: this warning originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/rcc.rs:291:18 [INFO] [stdout] | [INFO] [stdout] 291 | 3...5 => 0b1001, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [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 [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/spi.rs:86:27 [INFO] [stdout] | [INFO] [stdout] 86 | 96...191 => 0b110, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 181 | / hal! { [INFO] [stdout] 182 | | SPI1: (spi1, APB2, spi1en, spi1rst, pclk2), [INFO] [stdout] 183 | | // SPI2: (spi2, APB1R1, spi2en, spi2rst, pclk1), // NOT Avail on 32k(b|c) [INFO] [stdout] 184 | | SPI3: (spi3, APB1R1, spi3en, spi3rst, pclk1), [INFO] [stdout] 185 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [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 [INFO] [stdout] = note: this warning originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/rtc.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 219 | (tmp + (value & 0x0F)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 219 - (tmp + (value & 0x0F)) [INFO] [stdout] 219 + tmp + (value & 0x0F) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/rcc.rs:292:18 [INFO] [stdout] | [INFO] [stdout] 292 | 6...11 => 0b1010, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/rcc.rs:293:19 [INFO] [stdout] | [INFO] [stdout] 293 | 12...39 => 0b1011, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/rcc.rs:294:19 [INFO] [stdout] | [INFO] [stdout] 294 | 40...95 => 0b1100, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/rcc.rs:295:19 [INFO] [stdout] | [INFO] [stdout] 295 | 96...191 => 0b1101, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/rcc.rs:296:20 [INFO] [stdout] | [INFO] [stdout] 296 | 192...383 => 0b1110, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/rcc.rs:310:18 [INFO] [stdout] | [INFO] [stdout] 310 | 3...5 => 0b101, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/rcc.rs:311:18 [INFO] [stdout] | [INFO] [stdout] 311 | 6...11 => 0b110, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/rcc.rs:326:18 [INFO] [stdout] | [INFO] [stdout] 326 | 3...5 => 0b101, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/rcc.rs:327:18 [INFO] [stdout] | [INFO] [stdout] 327 | 6...11 => 0b110, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/spi.rs:80:26 [INFO] [stdout] | [INFO] [stdout] 80 | 1...2 => 0b000, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 181 | / hal! { [INFO] [stdout] 182 | | SPI1: (spi1, APB2, spi1en, spi1rst, pclk2), [INFO] [stdout] 183 | | // SPI2: (spi2, APB1R1, spi2en, spi2rst, pclk1), // NOT Avail on 32k(b|c) [INFO] [stdout] 184 | | SPI3: (spi3, APB1R1, spi3en, spi3rst, pclk1), [INFO] [stdout] 185 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [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 [INFO] [stdout] = note: this warning originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/spi.rs:81:26 [INFO] [stdout] | [INFO] [stdout] 81 | 3...5 => 0b001, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 181 | / hal! { [INFO] [stdout] 182 | | SPI1: (spi1, APB2, spi1en, spi1rst, pclk2), [INFO] [stdout] 183 | | // SPI2: (spi2, APB1R1, spi2en, spi2rst, pclk1), // NOT Avail on 32k(b|c) [INFO] [stdout] 184 | | SPI3: (spi3, APB1R1, spi3en, spi3rst, pclk1), [INFO] [stdout] 185 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [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 [INFO] [stdout] = note: this warning originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/spi.rs:82:26 [INFO] [stdout] | [INFO] [stdout] 82 | 6...11 => 0b010, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 181 | / hal! { [INFO] [stdout] 182 | | SPI1: (spi1, APB2, spi1en, spi1rst, pclk2), [INFO] [stdout] 183 | | // SPI2: (spi2, APB1R1, spi2en, spi2rst, pclk1), // NOT Avail on 32k(b|c) [INFO] [stdout] 184 | | SPI3: (spi3, APB1R1, spi3en, spi3rst, pclk1), [INFO] [stdout] 185 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [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 [INFO] [stdout] = note: this warning originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/spi.rs:83:27 [INFO] [stdout] | [INFO] [stdout] 83 | 12...23 => 0b011, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 181 | / hal! { [INFO] [stdout] 182 | | SPI1: (spi1, APB2, spi1en, spi1rst, pclk2), [INFO] [stdout] 183 | | // SPI2: (spi2, APB1R1, spi2en, spi2rst, pclk1), // NOT Avail on 32k(b|c) [INFO] [stdout] 184 | | SPI3: (spi3, APB1R1, spi3en, spi3rst, pclk1), [INFO] [stdout] 185 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [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 [INFO] [stdout] = note: this warning originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/spi.rs:84:27 [INFO] [stdout] | [INFO] [stdout] 84 | 24...39 => 0b100, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 181 | / hal! { [INFO] [stdout] 182 | | SPI1: (spi1, APB2, spi1en, spi1rst, pclk2), [INFO] [stdout] 183 | | // SPI2: (spi2, APB1R1, spi2en, spi2rst, pclk1), // NOT Avail on 32k(b|c) [INFO] [stdout] 184 | | SPI3: (spi3, APB1R1, spi3en, spi3rst, pclk1), [INFO] [stdout] 185 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [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 [INFO] [stdout] = note: this warning originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/spi.rs:85:27 [INFO] [stdout] | [INFO] [stdout] 85 | 40...95 => 0b101, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 181 | / hal! { [INFO] [stdout] 182 | | SPI1: (spi1, APB2, spi1en, spi1rst, pclk2), [INFO] [stdout] 183 | | // SPI2: (spi2, APB1R1, spi2en, spi2rst, pclk1), // NOT Avail on 32k(b|c) [INFO] [stdout] 184 | | SPI3: (spi3, APB1R1, spi3en, spi3rst, pclk1), [INFO] [stdout] 185 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [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 [INFO] [stdout] = note: this warning originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/spi.rs:86:27 [INFO] [stdout] | [INFO] [stdout] 86 | 96...191 => 0b110, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 181 | / hal! { [INFO] [stdout] 182 | | SPI1: (spi1, APB2, spi1en, spi1rst, pclk2), [INFO] [stdout] 183 | | // SPI2: (spi2, APB1R1, spi2en, spi2rst, pclk1), // NOT Avail on 32k(b|c) [INFO] [stdout] 184 | | SPI3: (spi3, APB1R1, spi3en, spi3rst, pclk1), [INFO] [stdout] 185 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [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 [INFO] [stdout] = note: this warning originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/rtc.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 219 | (tmp + (value & 0x0F)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 219 - (tmp + (value & 0x0F)) [INFO] [stdout] 219 + tmp + (value & 0x0F) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:104:38 [INFO] [stdout] | [INFO] [stdout] 104 | use crate::hal::digital::OutputPin; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 551 | / gpio!(GPIOA, gpioa, gpioa, gpioaen, gpioarst, PAx, [ [INFO] [stdout] 552 | | PA0: (pa0, 0, Input, AFRL), [INFO] [stdout] 553 | | PA1: (pa1, 1, Input, AFRL), [INFO] [stdout] 554 | | PA2: (pa2, 2, Input, AFRL), [INFO] [stdout] ... | [INFO] [stdout] 564 | | PA12: (pa12, 12, Input, AFRH), [INFO] [stdout] 565 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:215:24 [INFO] [stdout] | [INFO] [stdout] 215 | impl OutputPin for $PXx> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 551 | / gpio!(GPIOA, gpioa, gpioa, gpioaen, gpioarst, PAx, [ [INFO] [stdout] 552 | | PA0: (pa0, 0, Input, AFRL), [INFO] [stdout] 553 | | PA1: (pa1, 1, Input, AFRL), [INFO] [stdout] 554 | | PA2: (pa2, 2, Input, AFRL), [INFO] [stdout] ... | [INFO] [stdout] 564 | | PA12: (pa12, 12, Input, AFRH), [INFO] [stdout] 565 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:535:28 [INFO] [stdout] | [INFO] [stdout] 535 | impl OutputPin for $PXi> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 551 | / gpio!(GPIOA, gpioa, gpioa, gpioaen, gpioarst, PAx, [ [INFO] [stdout] 552 | | PA0: (pa0, 0, Input, AFRL), [INFO] [stdout] 553 | | PA1: (pa1, 1, Input, AFRL), [INFO] [stdout] 554 | | PA2: (pa2, 2, Input, AFRL), [INFO] [stdout] ... | [INFO] [stdout] 564 | | PA12: (pa12, 12, Input, AFRH), [INFO] [stdout] 565 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:104:38 [INFO] [stdout] | [INFO] [stdout] 104 | use crate::hal::digital::OutputPin; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 567 | / gpio!(GPIOB, gpiob, gpiob, gpioben, gpiobrst, PBx, [ [INFO] [stdout] 568 | | PB0: (pb0, 0, Input, AFRL), [INFO] [stdout] 569 | | PB1: (pb1, 1, Input, AFRL), [INFO] [stdout] 570 | | PB2: (pb2, 2, Input, AFRL), [INFO] [stdout] ... | [INFO] [stdout] 575 | | PB7: (pb7, 7, Input, AFRL), [INFO] [stdout] 576 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:215:24 [INFO] [stdout] | [INFO] [stdout] 215 | impl OutputPin for $PXx> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 567 | / gpio!(GPIOB, gpiob, gpiob, gpioben, gpiobrst, PBx, [ [INFO] [stdout] 568 | | PB0: (pb0, 0, Input, AFRL), [INFO] [stdout] 569 | | PB1: (pb1, 1, Input, AFRL), [INFO] [stdout] 570 | | PB2: (pb2, 2, Input, AFRL), [INFO] [stdout] ... | [INFO] [stdout] 575 | | PB7: (pb7, 7, Input, AFRL), [INFO] [stdout] 576 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:535:28 [INFO] [stdout] | [INFO] [stdout] 535 | impl OutputPin for $PXi> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 567 | / gpio!(GPIOB, gpiob, gpiob, gpioben, gpiobrst, PBx, [ [INFO] [stdout] 568 | | PB0: (pb0, 0, Input, AFRL), [INFO] [stdout] 569 | | PB1: (pb1, 1, Input, AFRL), [INFO] [stdout] 570 | | PB2: (pb2, 2, Input, AFRL), [INFO] [stdout] ... | [INFO] [stdout] 575 | | PB7: (pb7, 7, Input, AFRL), [INFO] [stdout] 576 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:104:38 [INFO] [stdout] | [INFO] [stdout] 104 | use crate::hal::digital::OutputPin; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 551 | / gpio!(GPIOA, gpioa, gpioa, gpioaen, gpioarst, PAx, [ [INFO] [stdout] 552 | | PA0: (pa0, 0, Input, AFRL), [INFO] [stdout] 553 | | PA1: (pa1, 1, Input, AFRL), [INFO] [stdout] 554 | | PA2: (pa2, 2, Input, AFRL), [INFO] [stdout] ... | [INFO] [stdout] 564 | | PA12: (pa12, 12, Input, AFRH), [INFO] [stdout] 565 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:215:24 [INFO] [stdout] | [INFO] [stdout] 215 | impl OutputPin for $PXx> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 551 | / gpio!(GPIOA, gpioa, gpioa, gpioaen, gpioarst, PAx, [ [INFO] [stdout] 552 | | PA0: (pa0, 0, Input, AFRL), [INFO] [stdout] 553 | | PA1: (pa1, 1, Input, AFRL), [INFO] [stdout] 554 | | PA2: (pa2, 2, Input, AFRL), [INFO] [stdout] ... | [INFO] [stdout] 564 | | PA12: (pa12, 12, Input, AFRH), [INFO] [stdout] 565 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:535:28 [INFO] [stdout] | [INFO] [stdout] 535 | impl OutputPin for $PXi> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 551 | / gpio!(GPIOA, gpioa, gpioa, gpioaen, gpioarst, PAx, [ [INFO] [stdout] 552 | | PA0: (pa0, 0, Input, AFRL), [INFO] [stdout] 553 | | PA1: (pa1, 1, Input, AFRL), [INFO] [stdout] 554 | | PA2: (pa2, 2, Input, AFRL), [INFO] [stdout] ... | [INFO] [stdout] 564 | | PA12: (pa12, 12, Input, AFRH), [INFO] [stdout] 565 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:104:38 [INFO] [stdout] | [INFO] [stdout] 104 | use crate::hal::digital::OutputPin; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 567 | / gpio!(GPIOB, gpiob, gpiob, gpioben, gpiobrst, PBx, [ [INFO] [stdout] 568 | | PB0: (pb0, 0, Input, AFRL), [INFO] [stdout] 569 | | PB1: (pb1, 1, Input, AFRL), [INFO] [stdout] 570 | | PB2: (pb2, 2, Input, AFRL), [INFO] [stdout] ... | [INFO] [stdout] 575 | | PB7: (pb7, 7, Input, AFRL), [INFO] [stdout] 576 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:215:24 [INFO] [stdout] | [INFO] [stdout] 215 | impl OutputPin for $PXx> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 567 | / gpio!(GPIOB, gpiob, gpiob, gpioben, gpiobrst, PBx, [ [INFO] [stdout] 568 | | PB0: (pb0, 0, Input, AFRL), [INFO] [stdout] 569 | | PB1: (pb1, 1, Input, AFRL), [INFO] [stdout] 570 | | PB2: (pb2, 2, Input, AFRL), [INFO] [stdout] ... | [INFO] [stdout] 575 | | PB7: (pb7, 7, Input, AFRL), [INFO] [stdout] 576 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:535:28 [INFO] [stdout] | [INFO] [stdout] 535 | impl OutputPin for $PXi> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 567 | / gpio!(GPIOB, gpiob, gpiob, gpioben, gpiobrst, PBx, [ [INFO] [stdout] 568 | | PB0: (pb0, 0, Input, AFRL), [INFO] [stdout] 569 | | PB1: (pb1, 1, Input, AFRL), [INFO] [stdout] 570 | | PB2: (pb2, 2, Input, AFRL), [INFO] [stdout] ... | [INFO] [stdout] 575 | | PB7: (pb7, 7, Input, AFRL), [INFO] [stdout] 576 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: assigning to `&T` is undefined behavior, consider using an `UnsafeCell` [INFO] [stdout] --> src/serial.rs:224:29 [INFO] [stdout] | [INFO] [stdout] 224 | ptr::write_volatile(&(*$USARTX::ptr()).tdr as *const _ as *mut _, byte) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 315 | / hal! { [INFO] [stdout] 316 | | USART1: (usart1, APB2, usart1en, usart1rst, pclk2, tx: (c4s, dma1::C4), rx: (c5s, dma1::C5)), [INFO] [stdout] 317 | | USART2: (usart2, APB1R1, usart2en, usart2rst, pclk1, tx: (c7s, dma1::C7), rx: (c6s, dma1::C6)), [INFO] [stdout] 318 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: even for types with interior mutability, the only legal way to obtain a mutable pointer from a shared reference is through `UnsafeCell::get` [INFO] [stdout] = note: `#[deny(invalid_reference_casting)]` on by default [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: assigning to `&T` is undefined behavior, consider using an `UnsafeCell` [INFO] [stdout] --> src/serial.rs:224:29 [INFO] [stdout] | [INFO] [stdout] 224 | ptr::write_volatile(&(*$USARTX::ptr()).tdr as *const _ as *mut _, byte) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 315 | / hal! { [INFO] [stdout] 316 | | USART1: (usart1, APB2, usart1en, usart1rst, pclk2, tx: (c4s, dma1::C4), rx: (c5s, dma1::C5)), [INFO] [stdout] 317 | | USART2: (usart2, APB1R1, usart2en, usart2rst, pclk1, tx: (c7s, dma1::C7), rx: (c6s, dma1::C6)), [INFO] [stdout] 318 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: even for types with interior mutability, the only legal way to obtain a mutable pointer from a shared reference is through `UnsafeCell::get` [INFO] [stdout] = note: `#[deny(invalid_reference_casting)]` on by default [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: assigning to `&T` is undefined behavior, consider using an `UnsafeCell` [INFO] [stdout] --> src/spi.rs:166:34 [INFO] [stdout] | [INFO] [stdout] 166 | unsafe { ptr::write_volatile(&self.spi.dr as *const _ as *mut u8, byte) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | / hal! { [INFO] [stdout] 182 | | SPI1: (spi1, APB2, spi1en, spi1rst, pclk2), [INFO] [stdout] 183 | | // SPI2: (spi2, APB1R1, spi2en, spi2rst, pclk1), // NOT Avail on 32k(b|c) [INFO] [stdout] 184 | | SPI3: (spi3, APB1R1, spi3en, spi3rst, pclk1), [INFO] [stdout] 185 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: even for types with interior mutability, the only legal way to obtain a mutable pointer from a shared reference is through `UnsafeCell::get` [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: assigning to `&T` is undefined behavior, consider using an `UnsafeCell` [INFO] [stdout] --> src/spi.rs:166:34 [INFO] [stdout] | [INFO] [stdout] 166 | unsafe { ptr::write_volatile(&self.spi.dr as *const _ as *mut u8, byte) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | / hal! { [INFO] [stdout] 182 | | SPI1: (spi1, APB2, spi1en, spi1rst, pclk2), [INFO] [stdout] 183 | | // SPI2: (spi2, APB1R1, spi2en, spi2rst, pclk1), // NOT Avail on 32k(b|c) [INFO] [stdout] 184 | | SPI3: (spi3, APB1R1, spi3en, spi3rst, pclk1), [INFO] [stdout] 185 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: even for types with interior mutability, the only legal way to obtain a mutable pointer from a shared reference is through `UnsafeCell::get` [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stm32l432xx-hal` (lib test) due to 3 previous errors; 24 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `stm32l432xx-hal` (lib) due to 3 previous errors; 24 warnings emitted [INFO] running `Command { std: "docker" "inspect" "463b1ae106220cd70c0f561589632602170189e3ce0fc2bcc9a90b1cab9c73a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "463b1ae106220cd70c0f561589632602170189e3ce0fc2bcc9a90b1cab9c73a7", kill_on_drop: false }` [INFO] [stdout] 463b1ae106220cd70c0f561589632602170189e3ce0fc2bcc9a90b1cab9c73a7