[INFO] fetching crate stm32f30x-hal 0.2.0... [INFO] checking stm32f30x-hal-0.2.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate stm32f30x-hal 0.2.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate stm32f30x-hal 0.2.0 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] started tweaking crates.io crate stm32f30x-hal 0.2.0 [INFO] finished tweaking crates.io crate stm32f30x-hal 0.2.0 [INFO] tweaked toml for crates.io crate stm32f30x-hal 0.2.0 written to /workspace/builds/worker-6-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 34 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 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 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 stm32f30x v0.7.1 (available: v0.8.0) [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] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded as-slice v0.1.5 [INFO] [stderr] Downloaded r0 v0.2.2 [INFO] [stderr] Downloaded cortex-m-rt v0.6.15 [INFO] [stderr] Downloaded cortex-m-rt-macros v0.6.15 [INFO] [stderr] Downloaded aligned v0.3.5 [INFO] [stderr] Downloaded cortex-m v0.5.11 [INFO] [stderr] Downloaded cast v0.2.7 [INFO] [stderr] Downloaded cortex-m v0.6.7 [INFO] [stderr] Downloaded aligned v0.2.0 [INFO] [stderr] Downloaded generic-array v0.13.3 [INFO] [stderr] Downloaded stm32f30x v0.7.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 6426737800a5d418677bb0fcf9c42b5b52c79f5a80b7918667c6e41a84992300 [INFO] running `Command { std: "docker" "start" "-a" "6426737800a5d418677bb0fcf9c42b5b52c79f5a80b7918667c6e41a84992300", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6426737800a5d418677bb0fcf9c42b5b52c79f5a80b7918667c6e41a84992300", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6426737800a5d418677bb0fcf9c42b5b52c79f5a80b7918667c6e41a84992300", kill_on_drop: false }` [INFO] [stdout] 6426737800a5d418677bb0fcf9c42b5b52c79f5a80b7918667c6e41a84992300 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] fefeecbbe62c78abdd56b0592285d52b69f44e3b896d3dd226e669751a7eb9fa [INFO] running `Command { std: "docker" "start" "-a" "fefeecbbe62c78abdd56b0592285d52b69f44e3b896d3dd226e669751a7eb9fa", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling cortex-m v0.5.11 [INFO] [stderr] Checking aligned v0.2.0 [INFO] [stderr] Compiling stm32f30x v0.7.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking generic-array v0.13.3 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Checking volatile-register v0.2.2 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Checking as-slice v0.1.5 [INFO] [stderr] Checking aligned v0.3.5 [INFO] [stderr] Checking stm32f30x-hal v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `...` range patterns are deprecated [INFO] [stdout] --> src/rcc.rs:162:18 [INFO] [stdout] | [INFO] [stdout] 162 | 3...5 => 0b1001, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(ellipsis_inclusive_range_patterns)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `...` range patterns are deprecated [INFO] [stdout] --> src/rcc.rs:163:18 [INFO] [stdout] | [INFO] [stdout] 163 | 6...11 => 0b1010, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `...` range patterns are deprecated [INFO] [stdout] --> src/rcc.rs:164:19 [INFO] [stdout] | [INFO] [stdout] 164 | 12...39 => 0b1011, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `...` range patterns are deprecated [INFO] [stdout] --> src/rcc.rs:165:19 [INFO] [stdout] | [INFO] [stdout] 165 | 40...95 => 0b1100, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `...` range patterns are deprecated [INFO] [stdout] --> src/rcc.rs:166:19 [INFO] [stdout] | [INFO] [stdout] 166 | 96...191 => 0b1101, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `...` range patterns are deprecated [INFO] [stdout] --> src/rcc.rs:167:20 [INFO] [stdout] | [INFO] [stdout] 167 | 192...383 => 0b1110, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `...` range patterns are deprecated [INFO] [stdout] --> src/rcc.rs:181:18 [INFO] [stdout] | [INFO] [stdout] 181 | 3...5 => 0b101, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `...` range patterns are deprecated [INFO] [stdout] --> src/rcc.rs:182:18 [INFO] [stdout] | [INFO] [stdout] 182 | 6...11 => 0b110, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `...` range patterns are deprecated [INFO] [stdout] --> src/rcc.rs:197:18 [INFO] [stdout] | [INFO] [stdout] 197 | 3...5 => 0b101, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `...` range patterns are deprecated [INFO] [stdout] --> src/rcc.rs:198:18 [INFO] [stdout] | [INFO] [stdout] 198 | 6...11 => 0b110, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `...` range patterns are deprecated [INFO] [stdout] --> src/spi.rs:104:26 [INFO] [stdout] | [INFO] [stdout] 104 | 1...2 => 0b000, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 205 | / hal! { [INFO] [stdout] 206 | | SPI1: (spi1, APB2, spi1en, spi1rst, pclk2), [INFO] [stdout] 207 | | SPI2: (spi2, APB1, spi2en, spi2rst, pclk1), [INFO] [stdout] 208 | | SPI3: (spi3, APB1, spi3en, spi3rst, pclk1), [INFO] [stdout] 209 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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: `...` range patterns are deprecated [INFO] [stdout] --> src/spi.rs:105:26 [INFO] [stdout] | [INFO] [stdout] 105 | 3...5 => 0b001, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 205 | / hal! { [INFO] [stdout] 206 | | SPI1: (spi1, APB2, spi1en, spi1rst, pclk2), [INFO] [stdout] 207 | | SPI2: (spi2, APB1, spi2en, spi2rst, pclk1), [INFO] [stdout] 208 | | SPI3: (spi3, APB1, spi3en, spi3rst, pclk1), [INFO] [stdout] 209 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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: `...` range patterns are deprecated [INFO] [stdout] --> src/spi.rs:106:26 [INFO] [stdout] | [INFO] [stdout] 106 | 6...11 => 0b010, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 205 | / hal! { [INFO] [stdout] 206 | | SPI1: (spi1, APB2, spi1en, spi1rst, pclk2), [INFO] [stdout] 207 | | SPI2: (spi2, APB1, spi2en, spi2rst, pclk1), [INFO] [stdout] 208 | | SPI3: (spi3, APB1, spi3en, spi3rst, pclk1), [INFO] [stdout] 209 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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: `...` range patterns are deprecated [INFO] [stdout] --> src/spi.rs:107:27 [INFO] [stdout] | [INFO] [stdout] 107 | 12...23 => 0b011, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 205 | / hal! { [INFO] [stdout] 206 | | SPI1: (spi1, APB2, spi1en, spi1rst, pclk2), [INFO] [stdout] 207 | | SPI2: (spi2, APB1, spi2en, spi2rst, pclk1), [INFO] [stdout] 208 | | SPI3: (spi3, APB1, spi3en, spi3rst, pclk1), [INFO] [stdout] 209 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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: `...` range patterns are deprecated [INFO] [stdout] --> src/spi.rs:108:27 [INFO] [stdout] | [INFO] [stdout] 108 | 24...39 => 0b100, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 205 | / hal! { [INFO] [stdout] 206 | | SPI1: (spi1, APB2, spi1en, spi1rst, pclk2), [INFO] [stdout] 207 | | SPI2: (spi2, APB1, spi2en, spi2rst, pclk1), [INFO] [stdout] 208 | | SPI3: (spi3, APB1, spi3en, spi3rst, pclk1), [INFO] [stdout] 209 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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: `...` range patterns are deprecated [INFO] [stdout] --> src/spi.rs:109:27 [INFO] [stdout] | [INFO] [stdout] 109 | 40...95 => 0b101, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 205 | / hal! { [INFO] [stdout] 206 | | SPI1: (spi1, APB2, spi1en, spi1rst, pclk2), [INFO] [stdout] 207 | | SPI2: (spi2, APB1, spi2en, spi2rst, pclk1), [INFO] [stdout] 208 | | SPI3: (spi3, APB1, spi3en, spi3rst, pclk1), [INFO] [stdout] 209 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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: `...` range patterns are deprecated [INFO] [stdout] --> src/spi.rs:110:27 [INFO] [stdout] | [INFO] [stdout] 110 | 96...191 => 0b110, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 205 | / hal! { [INFO] [stdout] 206 | | SPI1: (spi1, APB2, spi1en, spi1rst, pclk2), [INFO] [stdout] 207 | | SPI2: (spi2, APB1, spi2en, spi2rst, pclk1), [INFO] [stdout] 208 | | SPI3: (spi3, APB1, spi3en, spi3rst, pclk1), [INFO] [stdout] 209 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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: `...` range patterns are deprecated [INFO] [stdout] --> src/rcc.rs:162:18 [INFO] [stdout] | [INFO] [stdout] 162 | 3...5 => 0b1001, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(ellipsis_inclusive_range_patterns)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `...` range patterns are deprecated [INFO] [stdout] --> src/rcc.rs:163:18 [INFO] [stdout] | [INFO] [stdout] 163 | 6...11 => 0b1010, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `...` range patterns are deprecated [INFO] [stdout] --> src/rcc.rs:164:19 [INFO] [stdout] | [INFO] [stdout] 164 | 12...39 => 0b1011, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `...` range patterns are deprecated [INFO] [stdout] --> src/rcc.rs:165:19 [INFO] [stdout] | [INFO] [stdout] 165 | 40...95 => 0b1100, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `...` range patterns are deprecated [INFO] [stdout] --> src/rcc.rs:166:19 [INFO] [stdout] | [INFO] [stdout] 166 | 96...191 => 0b1101, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `...` range patterns are deprecated [INFO] [stdout] --> src/rcc.rs:167:20 [INFO] [stdout] | [INFO] [stdout] 167 | 192...383 => 0b1110, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `...` range patterns are deprecated [INFO] [stdout] --> src/rcc.rs:181:18 [INFO] [stdout] | [INFO] [stdout] 181 | 3...5 => 0b101, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `...` range patterns are deprecated [INFO] [stdout] --> src/rcc.rs:182:18 [INFO] [stdout] | [INFO] [stdout] 182 | 6...11 => 0b110, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `...` range patterns are deprecated [INFO] [stdout] --> src/rcc.rs:197:18 [INFO] [stdout] | [INFO] [stdout] 197 | 3...5 => 0b101, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `...` range patterns are deprecated [INFO] [stdout] --> src/rcc.rs:198:18 [INFO] [stdout] | [INFO] [stdout] 198 | 6...11 => 0b110, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `...` range patterns are deprecated [INFO] [stdout] --> src/spi.rs:104:26 [INFO] [stdout] | [INFO] [stdout] 104 | 1...2 => 0b000, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 205 | / hal! { [INFO] [stdout] 206 | | SPI1: (spi1, APB2, spi1en, spi1rst, pclk2), [INFO] [stdout] 207 | | SPI2: (spi2, APB1, spi2en, spi2rst, pclk1), [INFO] [stdout] 208 | | SPI3: (spi3, APB1, spi3en, spi3rst, pclk1), [INFO] [stdout] 209 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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: `...` range patterns are deprecated [INFO] [stdout] --> src/spi.rs:105:26 [INFO] [stdout] | [INFO] [stdout] 105 | 3...5 => 0b001, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 205 | / hal! { [INFO] [stdout] 206 | | SPI1: (spi1, APB2, spi1en, spi1rst, pclk2), [INFO] [stdout] 207 | | SPI2: (spi2, APB1, spi2en, spi2rst, pclk1), [INFO] [stdout] 208 | | SPI3: (spi3, APB1, spi3en, spi3rst, pclk1), [INFO] [stdout] 209 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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: `...` range patterns are deprecated [INFO] [stdout] --> src/spi.rs:106:26 [INFO] [stdout] | [INFO] [stdout] 106 | 6...11 => 0b010, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 205 | / hal! { [INFO] [stdout] 206 | | SPI1: (spi1, APB2, spi1en, spi1rst, pclk2), [INFO] [stdout] 207 | | SPI2: (spi2, APB1, spi2en, spi2rst, pclk1), [INFO] [stdout] 208 | | SPI3: (spi3, APB1, spi3en, spi3rst, pclk1), [INFO] [stdout] 209 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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: `...` range patterns are deprecated [INFO] [stdout] --> src/spi.rs:107:27 [INFO] [stdout] | [INFO] [stdout] 107 | 12...23 => 0b011, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 205 | / hal! { [INFO] [stdout] 206 | | SPI1: (spi1, APB2, spi1en, spi1rst, pclk2), [INFO] [stdout] 207 | | SPI2: (spi2, APB1, spi2en, spi2rst, pclk1), [INFO] [stdout] 208 | | SPI3: (spi3, APB1, spi3en, spi3rst, pclk1), [INFO] [stdout] 209 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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: `...` range patterns are deprecated [INFO] [stdout] --> src/spi.rs:108:27 [INFO] [stdout] | [INFO] [stdout] 108 | 24...39 => 0b100, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 205 | / hal! { [INFO] [stdout] 206 | | SPI1: (spi1, APB2, spi1en, spi1rst, pclk2), [INFO] [stdout] 207 | | SPI2: (spi2, APB1, spi2en, spi2rst, pclk1), [INFO] [stdout] 208 | | SPI3: (spi3, APB1, spi3en, spi3rst, pclk1), [INFO] [stdout] 209 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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: `...` range patterns are deprecated [INFO] [stdout] --> src/spi.rs:109:27 [INFO] [stdout] | [INFO] [stdout] 109 | 40...95 => 0b101, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 205 | / hal! { [INFO] [stdout] 206 | | SPI1: (spi1, APB2, spi1en, spi1rst, pclk2), [INFO] [stdout] 207 | | SPI2: (spi2, APB1, spi2en, spi2rst, pclk1), [INFO] [stdout] 208 | | SPI3: (spi3, APB1, spi3en, spi3rst, pclk1), [INFO] [stdout] 209 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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: `...` range patterns are deprecated [INFO] [stdout] --> src/spi.rs:110:27 [INFO] [stdout] | [INFO] [stdout] 110 | 96...191 => 0b110, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 205 | / hal! { [INFO] [stdout] 206 | | SPI1: (spi1, APB2, spi1en, spi1rst, pclk2), [INFO] [stdout] 207 | | SPI2: (spi2, APB1, spi2en, spi2rst, pclk1), [INFO] [stdout] 208 | | SPI3: (spi3, APB1, spi3en, spi3rst, pclk1), [INFO] [stdout] 209 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:97:31 [INFO] [stdout] | [INFO] [stdout] 97 | use hal::digital::OutputPin; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 472 | / gpio!(GPIOA, gpioa, gpioa, iopaen, ioparst, PAx, [ [INFO] [stdout] 473 | | PA0: (pa0, 0, Input, AFRL), [INFO] [stdout] 474 | | PA1: (pa1, 1, Input, AFRL), [INFO] [stdout] 475 | | PA2: (pa2, 2, Input, AFRL), [INFO] [stdout] ... | [INFO] [stdout] 489 | | // PA15: (15, Input), [INFO] [stdout] 490 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:206:24 [INFO] [stdout] | [INFO] [stdout] 206 | impl OutputPin for $PXx> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 472 | / gpio!(GPIOA, gpioa, gpioa, iopaen, ioparst, PAx, [ [INFO] [stdout] 473 | | PA0: (pa0, 0, Input, AFRL), [INFO] [stdout] 474 | | PA1: (pa1, 1, Input, AFRL), [INFO] [stdout] 475 | | PA2: (pa2, 2, Input, AFRL), [INFO] [stdout] ... | [INFO] [stdout] 489 | | // PA15: (15, Input), [INFO] [stdout] 490 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:456:28 [INFO] [stdout] | [INFO] [stdout] 456 | impl OutputPin for $PXi> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 472 | / gpio!(GPIOA, gpioa, gpioa, iopaen, ioparst, PAx, [ [INFO] [stdout] 473 | | PA0: (pa0, 0, Input, AFRL), [INFO] [stdout] 474 | | PA1: (pa1, 1, Input, AFRL), [INFO] [stdout] 475 | | PA2: (pa2, 2, Input, AFRL), [INFO] [stdout] ... | [INFO] [stdout] 489 | | // PA15: (15, Input), [INFO] [stdout] 490 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:97:31 [INFO] [stdout] | [INFO] [stdout] 97 | use hal::digital::OutputPin; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 492 | / gpio!(GPIOB, gpiob, gpiob, iopben, iopbrst, PBx, [ [INFO] [stdout] 493 | | PB0: (pb0, 0, Input, AFRL), [INFO] [stdout] 494 | | PB1: (pb1, 1, Input, AFRL), [INFO] [stdout] 495 | | PB2: (pb2, 2, Input, AFRL), [INFO] [stdout] ... | [INFO] [stdout] 509 | | PB15: (pb15, 15, Input, AFRH), [INFO] [stdout] 510 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:206:24 [INFO] [stdout] | [INFO] [stdout] 206 | impl OutputPin for $PXx> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 492 | / gpio!(GPIOB, gpiob, gpiob, iopben, iopbrst, PBx, [ [INFO] [stdout] 493 | | PB0: (pb0, 0, Input, AFRL), [INFO] [stdout] 494 | | PB1: (pb1, 1, Input, AFRL), [INFO] [stdout] 495 | | PB2: (pb2, 2, Input, AFRL), [INFO] [stdout] ... | [INFO] [stdout] 509 | | PB15: (pb15, 15, Input, AFRH), [INFO] [stdout] 510 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:456:28 [INFO] [stdout] | [INFO] [stdout] 456 | impl OutputPin for $PXi> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 492 | / gpio!(GPIOB, gpiob, gpiob, iopben, iopbrst, PBx, [ [INFO] [stdout] 493 | | PB0: (pb0, 0, Input, AFRL), [INFO] [stdout] 494 | | PB1: (pb1, 1, Input, AFRL), [INFO] [stdout] 495 | | PB2: (pb2, 2, Input, AFRL), [INFO] [stdout] ... | [INFO] [stdout] 509 | | PB15: (pb15, 15, Input, AFRH), [INFO] [stdout] 510 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:97:31 [INFO] [stdout] | [INFO] [stdout] 97 | use hal::digital::OutputPin; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 512 | / gpio!(GPIOC, gpioc, gpioc, iopcen, iopcrst, PCx, [ [INFO] [stdout] 513 | | PC0: (pc0, 0, Input, AFRL), [INFO] [stdout] 514 | | PC1: (pc1, 1, Input, AFRL), [INFO] [stdout] 515 | | PC2: (pc2, 2, Input, AFRL), [INFO] [stdout] ... | [INFO] [stdout] 528 | | PC15: (pc15, 15, Input, AFRH), [INFO] [stdout] 529 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:206:24 [INFO] [stdout] | [INFO] [stdout] 206 | impl OutputPin for $PXx> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 512 | / gpio!(GPIOC, gpioc, gpioc, iopcen, iopcrst, PCx, [ [INFO] [stdout] 513 | | PC0: (pc0, 0, Input, AFRL), [INFO] [stdout] 514 | | PC1: (pc1, 1, Input, AFRL), [INFO] [stdout] 515 | | PC2: (pc2, 2, Input, AFRL), [INFO] [stdout] ... | [INFO] [stdout] 528 | | PC15: (pc15, 15, Input, AFRH), [INFO] [stdout] 529 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:456:28 [INFO] [stdout] | [INFO] [stdout] 456 | impl OutputPin for $PXi> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 512 | / gpio!(GPIOC, gpioc, gpioc, iopcen, iopcrst, PCx, [ [INFO] [stdout] 513 | | PC0: (pc0, 0, Input, AFRL), [INFO] [stdout] 514 | | PC1: (pc1, 1, Input, AFRL), [INFO] [stdout] 515 | | PC2: (pc2, 2, Input, AFRL), [INFO] [stdout] ... | [INFO] [stdout] 528 | | PC15: (pc15, 15, Input, AFRH), [INFO] [stdout] 529 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:97:31 [INFO] [stdout] | [INFO] [stdout] 97 | use hal::digital::OutputPin; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 531 | / gpio!(GPIOD, gpiod, gpioc, iopden, iopdrst, PDx, [ [INFO] [stdout] 532 | | PD0: (pd0, 0, Input, AFRL), [INFO] [stdout] 533 | | PD1: (pd1, 1, Input, AFRL), [INFO] [stdout] 534 | | PD2: (pd2, 2, Input, AFRL), [INFO] [stdout] ... | [INFO] [stdout] 547 | | PD15: (pd15, 15, Input, AFRH), [INFO] [stdout] 548 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:206:24 [INFO] [stdout] | [INFO] [stdout] 206 | impl OutputPin for $PXx> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 531 | / gpio!(GPIOD, gpiod, gpioc, iopden, iopdrst, PDx, [ [INFO] [stdout] 532 | | PD0: (pd0, 0, Input, AFRL), [INFO] [stdout] 533 | | PD1: (pd1, 1, Input, AFRL), [INFO] [stdout] 534 | | PD2: (pd2, 2, Input, AFRL), [INFO] [stdout] ... | [INFO] [stdout] 547 | | PD15: (pd15, 15, Input, AFRH), [INFO] [stdout] 548 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:456:28 [INFO] [stdout] | [INFO] [stdout] 456 | impl OutputPin for $PXi> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 531 | / gpio!(GPIOD, gpiod, gpioc, iopden, iopdrst, PDx, [ [INFO] [stdout] 532 | | PD0: (pd0, 0, Input, AFRL), [INFO] [stdout] 533 | | PD1: (pd1, 1, Input, AFRL), [INFO] [stdout] 534 | | PD2: (pd2, 2, Input, AFRL), [INFO] [stdout] ... | [INFO] [stdout] 547 | | PD15: (pd15, 15, Input, AFRH), [INFO] [stdout] 548 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:97:31 [INFO] [stdout] | [INFO] [stdout] 97 | use hal::digital::OutputPin; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 550 | / gpio!(GPIOE, gpioe, gpioc, iopeen, ioperst, PEx, [ [INFO] [stdout] 551 | | PE0: (pe0, 0, Input, AFRL), [INFO] [stdout] 552 | | PE1: (pe1, 1, Input, AFRL), [INFO] [stdout] 553 | | PE2: (pe2, 2, Input, AFRL), [INFO] [stdout] ... | [INFO] [stdout] 566 | | PE15: (pe15, 15, Input, AFRH), [INFO] [stdout] 567 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:206:24 [INFO] [stdout] | [INFO] [stdout] 206 | impl OutputPin for $PXx> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 550 | / gpio!(GPIOE, gpioe, gpioc, iopeen, ioperst, PEx, [ [INFO] [stdout] 551 | | PE0: (pe0, 0, Input, AFRL), [INFO] [stdout] 552 | | PE1: (pe1, 1, Input, AFRL), [INFO] [stdout] 553 | | PE2: (pe2, 2, Input, AFRL), [INFO] [stdout] ... | [INFO] [stdout] 566 | | PE15: (pe15, 15, Input, AFRH), [INFO] [stdout] 567 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:456:28 [INFO] [stdout] | [INFO] [stdout] 456 | impl OutputPin for $PXi> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 550 | / gpio!(GPIOE, gpioe, gpioc, iopeen, ioperst, PEx, [ [INFO] [stdout] 551 | | PE0: (pe0, 0, Input, AFRL), [INFO] [stdout] 552 | | PE1: (pe1, 1, Input, AFRL), [INFO] [stdout] 553 | | PE2: (pe2, 2, Input, AFRL), [INFO] [stdout] ... | [INFO] [stdout] 566 | | PE15: (pe15, 15, Input, AFRH), [INFO] [stdout] 567 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:97:31 [INFO] [stdout] | [INFO] [stdout] 97 | use hal::digital::OutputPin; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 569 | / gpio!(GPIOF, gpiof, gpioc, iopfen, iopfrst, PFx, [ [INFO] [stdout] 570 | | PF0: (pf0, 0, Input, AFRL), [INFO] [stdout] 571 | | PF1: (pf1, 1, Input, AFRL), [INFO] [stdout] 572 | | PF2: (pf2, 2, Input, AFRL), [INFO] [stdout] ... | [INFO] [stdout] 576 | | PF10: (pf10, 10, Input, AFRH), [INFO] [stdout] 577 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:206:24 [INFO] [stdout] | [INFO] [stdout] 206 | impl OutputPin for $PXx> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 569 | / gpio!(GPIOF, gpiof, gpioc, iopfen, iopfrst, PFx, [ [INFO] [stdout] 570 | | PF0: (pf0, 0, Input, AFRL), [INFO] [stdout] 571 | | PF1: (pf1, 1, Input, AFRL), [INFO] [stdout] 572 | | PF2: (pf2, 2, Input, AFRL), [INFO] [stdout] ... | [INFO] [stdout] 576 | | PF10: (pf10, 10, Input, AFRH), [INFO] [stdout] 577 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:456:28 [INFO] [stdout] | [INFO] [stdout] 456 | impl OutputPin for $PXi> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 569 | / gpio!(GPIOF, gpiof, gpioc, iopfen, iopfrst, PFx, [ [INFO] [stdout] 570 | | PF0: (pf0, 0, Input, AFRL), [INFO] [stdout] 571 | | PF1: (pf1, 1, Input, AFRL), [INFO] [stdout] 572 | | PF2: (pf2, 2, Input, AFRL), [INFO] [stdout] ... | [INFO] [stdout] 576 | | PF10: (pf10, 10, Input, AFRH), [INFO] [stdout] 577 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:97:31 [INFO] [stdout] | [INFO] [stdout] 97 | use hal::digital::OutputPin; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 472 | / gpio!(GPIOA, gpioa, gpioa, iopaen, ioparst, PAx, [ [INFO] [stdout] 473 | | PA0: (pa0, 0, Input, AFRL), [INFO] [stdout] 474 | | PA1: (pa1, 1, Input, AFRL), [INFO] [stdout] 475 | | PA2: (pa2, 2, Input, AFRL), [INFO] [stdout] ... | [INFO] [stdout] 489 | | // PA15: (15, Input), [INFO] [stdout] 490 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:206:24 [INFO] [stdout] | [INFO] [stdout] 206 | impl OutputPin for $PXx> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 472 | / gpio!(GPIOA, gpioa, gpioa, iopaen, ioparst, PAx, [ [INFO] [stdout] 473 | | PA0: (pa0, 0, Input, AFRL), [INFO] [stdout] 474 | | PA1: (pa1, 1, Input, AFRL), [INFO] [stdout] 475 | | PA2: (pa2, 2, Input, AFRL), [INFO] [stdout] ... | [INFO] [stdout] 489 | | // PA15: (15, Input), [INFO] [stdout] 490 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:456:28 [INFO] [stdout] | [INFO] [stdout] 456 | impl OutputPin for $PXi> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 472 | / gpio!(GPIOA, gpioa, gpioa, iopaen, ioparst, PAx, [ [INFO] [stdout] 473 | | PA0: (pa0, 0, Input, AFRL), [INFO] [stdout] 474 | | PA1: (pa1, 1, Input, AFRL), [INFO] [stdout] 475 | | PA2: (pa2, 2, Input, AFRL), [INFO] [stdout] ... | [INFO] [stdout] 489 | | // PA15: (15, Input), [INFO] [stdout] 490 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:97:31 [INFO] [stdout] | [INFO] [stdout] 97 | use hal::digital::OutputPin; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 492 | / gpio!(GPIOB, gpiob, gpiob, iopben, iopbrst, PBx, [ [INFO] [stdout] 493 | | PB0: (pb0, 0, Input, AFRL), [INFO] [stdout] 494 | | PB1: (pb1, 1, Input, AFRL), [INFO] [stdout] 495 | | PB2: (pb2, 2, Input, AFRL), [INFO] [stdout] ... | [INFO] [stdout] 509 | | PB15: (pb15, 15, Input, AFRH), [INFO] [stdout] 510 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:206:24 [INFO] [stdout] | [INFO] [stdout] 206 | impl OutputPin for $PXx> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 492 | / gpio!(GPIOB, gpiob, gpiob, iopben, iopbrst, PBx, [ [INFO] [stdout] 493 | | PB0: (pb0, 0, Input, AFRL), [INFO] [stdout] 494 | | PB1: (pb1, 1, Input, AFRL), [INFO] [stdout] 495 | | PB2: (pb2, 2, Input, AFRL), [INFO] [stdout] ... | [INFO] [stdout] 509 | | PB15: (pb15, 15, Input, AFRH), [INFO] [stdout] 510 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:456:28 [INFO] [stdout] | [INFO] [stdout] 456 | impl OutputPin for $PXi> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 492 | / gpio!(GPIOB, gpiob, gpiob, iopben, iopbrst, PBx, [ [INFO] [stdout] 493 | | PB0: (pb0, 0, Input, AFRL), [INFO] [stdout] 494 | | PB1: (pb1, 1, Input, AFRL), [INFO] [stdout] 495 | | PB2: (pb2, 2, Input, AFRL), [INFO] [stdout] ... | [INFO] [stdout] 509 | | PB15: (pb15, 15, Input, AFRH), [INFO] [stdout] 510 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:97:31 [INFO] [stdout] | [INFO] [stdout] 97 | use hal::digital::OutputPin; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 512 | / gpio!(GPIOC, gpioc, gpioc, iopcen, iopcrst, PCx, [ [INFO] [stdout] 513 | | PC0: (pc0, 0, Input, AFRL), [INFO] [stdout] 514 | | PC1: (pc1, 1, Input, AFRL), [INFO] [stdout] 515 | | PC2: (pc2, 2, Input, AFRL), [INFO] [stdout] ... | [INFO] [stdout] 528 | | PC15: (pc15, 15, Input, AFRH), [INFO] [stdout] 529 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:206:24 [INFO] [stdout] | [INFO] [stdout] 206 | impl OutputPin for $PXx> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 512 | / gpio!(GPIOC, gpioc, gpioc, iopcen, iopcrst, PCx, [ [INFO] [stdout] 513 | | PC0: (pc0, 0, Input, AFRL), [INFO] [stdout] 514 | | PC1: (pc1, 1, Input, AFRL), [INFO] [stdout] 515 | | PC2: (pc2, 2, Input, AFRL), [INFO] [stdout] ... | [INFO] [stdout] 528 | | PC15: (pc15, 15, Input, AFRH), [INFO] [stdout] 529 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:456:28 [INFO] [stdout] | [INFO] [stdout] 456 | impl OutputPin for $PXi> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 512 | / gpio!(GPIOC, gpioc, gpioc, iopcen, iopcrst, PCx, [ [INFO] [stdout] 513 | | PC0: (pc0, 0, Input, AFRL), [INFO] [stdout] 514 | | PC1: (pc1, 1, Input, AFRL), [INFO] [stdout] 515 | | PC2: (pc2, 2, Input, AFRL), [INFO] [stdout] ... | [INFO] [stdout] 528 | | PC15: (pc15, 15, Input, AFRH), [INFO] [stdout] 529 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:97:31 [INFO] [stdout] | [INFO] [stdout] 97 | use hal::digital::OutputPin; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 531 | / gpio!(GPIOD, gpiod, gpioc, iopden, iopdrst, PDx, [ [INFO] [stdout] 532 | | PD0: (pd0, 0, Input, AFRL), [INFO] [stdout] 533 | | PD1: (pd1, 1, Input, AFRL), [INFO] [stdout] 534 | | PD2: (pd2, 2, Input, AFRL), [INFO] [stdout] ... | [INFO] [stdout] 547 | | PD15: (pd15, 15, Input, AFRH), [INFO] [stdout] 548 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:206:24 [INFO] [stdout] | [INFO] [stdout] 206 | impl OutputPin for $PXx> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 531 | / gpio!(GPIOD, gpiod, gpioc, iopden, iopdrst, PDx, [ [INFO] [stdout] 532 | | PD0: (pd0, 0, Input, AFRL), [INFO] [stdout] 533 | | PD1: (pd1, 1, Input, AFRL), [INFO] [stdout] 534 | | PD2: (pd2, 2, Input, AFRL), [INFO] [stdout] ... | [INFO] [stdout] 547 | | PD15: (pd15, 15, Input, AFRH), [INFO] [stdout] 548 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:456:28 [INFO] [stdout] | [INFO] [stdout] 456 | impl OutputPin for $PXi> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 531 | / gpio!(GPIOD, gpiod, gpioc, iopden, iopdrst, PDx, [ [INFO] [stdout] 532 | | PD0: (pd0, 0, Input, AFRL), [INFO] [stdout] 533 | | PD1: (pd1, 1, Input, AFRL), [INFO] [stdout] 534 | | PD2: (pd2, 2, Input, AFRL), [INFO] [stdout] ... | [INFO] [stdout] 547 | | PD15: (pd15, 15, Input, AFRH), [INFO] [stdout] 548 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:97:31 [INFO] [stdout] | [INFO] [stdout] 97 | use hal::digital::OutputPin; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 550 | / gpio!(GPIOE, gpioe, gpioc, iopeen, ioperst, PEx, [ [INFO] [stdout] 551 | | PE0: (pe0, 0, Input, AFRL), [INFO] [stdout] 552 | | PE1: (pe1, 1, Input, AFRL), [INFO] [stdout] 553 | | PE2: (pe2, 2, Input, AFRL), [INFO] [stdout] ... | [INFO] [stdout] 566 | | PE15: (pe15, 15, Input, AFRH), [INFO] [stdout] 567 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:206:24 [INFO] [stdout] | [INFO] [stdout] 206 | impl OutputPin for $PXx> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 550 | / gpio!(GPIOE, gpioe, gpioc, iopeen, ioperst, PEx, [ [INFO] [stdout] 551 | | PE0: (pe0, 0, Input, AFRL), [INFO] [stdout] 552 | | PE1: (pe1, 1, Input, AFRL), [INFO] [stdout] 553 | | PE2: (pe2, 2, Input, AFRL), [INFO] [stdout] ... | [INFO] [stdout] 566 | | PE15: (pe15, 15, Input, AFRH), [INFO] [stdout] 567 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:456:28 [INFO] [stdout] | [INFO] [stdout] 456 | impl OutputPin for $PXi> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 550 | / gpio!(GPIOE, gpioe, gpioc, iopeen, ioperst, PEx, [ [INFO] [stdout] 551 | | PE0: (pe0, 0, Input, AFRL), [INFO] [stdout] 552 | | PE1: (pe1, 1, Input, AFRL), [INFO] [stdout] 553 | | PE2: (pe2, 2, Input, AFRL), [INFO] [stdout] ... | [INFO] [stdout] 566 | | PE15: (pe15, 15, Input, AFRH), [INFO] [stdout] 567 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:97:31 [INFO] [stdout] | [INFO] [stdout] 97 | use hal::digital::OutputPin; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 569 | / gpio!(GPIOF, gpiof, gpioc, iopfen, iopfrst, PFx, [ [INFO] [stdout] 570 | | PF0: (pf0, 0, Input, AFRL), [INFO] [stdout] 571 | | PF1: (pf1, 1, Input, AFRL), [INFO] [stdout] 572 | | PF2: (pf2, 2, Input, AFRL), [INFO] [stdout] ... | [INFO] [stdout] 576 | | PF10: (pf10, 10, Input, AFRH), [INFO] [stdout] 577 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:206:24 [INFO] [stdout] | [INFO] [stdout] 206 | impl OutputPin for $PXx> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 569 | / gpio!(GPIOF, gpiof, gpioc, iopfen, iopfrst, PFx, [ [INFO] [stdout] 570 | | PF0: (pf0, 0, Input, AFRL), [INFO] [stdout] 571 | | PF1: (pf1, 1, Input, AFRL), [INFO] [stdout] 572 | | PF2: (pf2, 2, Input, AFRL), [INFO] [stdout] ... | [INFO] [stdout] 576 | | PF10: (pf10, 10, Input, AFRH), [INFO] [stdout] 577 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:456:28 [INFO] [stdout] | [INFO] [stdout] 456 | impl OutputPin for $PXi> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 569 | / gpio!(GPIOF, gpiof, gpioc, iopfen, iopfrst, PFx, [ [INFO] [stdout] 570 | | PF0: (pf0, 0, Input, AFRL), [INFO] [stdout] 571 | | PF1: (pf1, 1, Input, AFRL), [INFO] [stdout] 572 | | PF2: (pf2, 2, Input, AFRL), [INFO] [stdout] ... | [INFO] [stdout] 576 | | PF10: (pf10, 10, Input, AFRH), [INFO] [stdout] 577 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error 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:230:29 [INFO] [stdout] | [INFO] [stdout] 230 | ptr::write_volatile(&(*$USARTX::ptr()).tdr as *const _ as *mut _, byte) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | / hal! { [INFO] [stdout] 243 | | USART1: (usart1, APB2, usart1en, usart1rst, pclk2), [INFO] [stdout] 244 | | USART2: (usart2, APB1, usart2en, usart2rst, pclk1), [INFO] [stdout] 245 | | USART3: (usart3, APB1, usart3en, usart3rst, pclk1), [INFO] [stdout] 246 | | } [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:190:34 [INFO] [stdout] | [INFO] [stdout] 190 | unsafe { ptr::write_volatile(&self.spi.dr as *const _ as *mut u8, byte) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | / hal! { [INFO] [stdout] 206 | | SPI1: (spi1, APB2, spi1en, spi1rst, pclk2), [INFO] [stdout] 207 | | SPI2: (spi2, APB1, spi2en, spi2rst, pclk1), [INFO] [stdout] 208 | | SPI3: (spi3, APB1, spi3en, spi3rst, pclk1), [INFO] [stdout] 209 | | } [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 37 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stm32f30x-hal` (lib test) due to 38 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: assigning to `&T` is undefined behavior, consider using an `UnsafeCell` [INFO] [stdout] --> src/serial.rs:230:29 [INFO] [stdout] | [INFO] [stdout] 230 | ptr::write_volatile(&(*$USARTX::ptr()).tdr as *const _ as *mut _, byte) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | / hal! { [INFO] [stdout] 243 | | USART1: (usart1, APB2, usart1en, usart1rst, pclk2), [INFO] [stdout] 244 | | USART2: (usart2, APB1, usart2en, usart2rst, pclk1), [INFO] [stdout] 245 | | USART3: (usart3, APB1, usart3en, usart3rst, pclk1), [INFO] [stdout] 246 | | } [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:190:34 [INFO] [stdout] | [INFO] [stdout] 190 | unsafe { ptr::write_volatile(&self.spi.dr as *const _ as *mut u8, byte) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | / hal! { [INFO] [stdout] 206 | | SPI1: (spi1, APB2, spi1en, spi1rst, pclk2), [INFO] [stdout] 207 | | SPI2: (spi2, APB1, spi2en, spi2rst, pclk1), [INFO] [stdout] 208 | | SPI3: (spi3, APB1, spi3en, spi3rst, pclk1), [INFO] [stdout] 209 | | } [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 37 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stm32f30x-hal` (lib) due to 38 previous errors [INFO] running `Command { std: "docker" "inspect" "fefeecbbe62c78abdd56b0592285d52b69f44e3b896d3dd226e669751a7eb9fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fefeecbbe62c78abdd56b0592285d52b69f44e3b896d3dd226e669751a7eb9fa", kill_on_drop: false }` [INFO] [stdout] fefeecbbe62c78abdd56b0592285d52b69f44e3b896d3dd226e669751a7eb9fa