[INFO] fetching crate stm32f30x-hal 0.2.0... [INFO] testing stm32f30x-hal-0.2.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate stm32f30x-hal 0.2.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate stm32f30x-hal 0.2.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0b087a0b04795cfbd6d0cce5adc02f536ea5d1c90fa9501ef3c992592c955ad8 [INFO] running `Command { std: "docker" "start" "-a" "0b087a0b04795cfbd6d0cce5adc02f536ea5d1c90fa9501ef3c992592c955ad8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b087a0b04795cfbd6d0cce5adc02f536ea5d1c90fa9501ef3c992592c955ad8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b087a0b04795cfbd6d0cce5adc02f536ea5d1c90fa9501ef3c992592c955ad8", kill_on_drop: false }` [INFO] [stdout] 0b087a0b04795cfbd6d0cce5adc02f536ea5d1c90fa9501ef3c992592c955ad8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6e410eb2bf4c65234281f864b36d7524bc5f488f12794c4911d1c3882dadcb43 [INFO] running `Command { std: "docker" "start" "-a" "6e410eb2bf4c65234281f864b36d7524bc5f488f12794c4911d1c3882dadcb43", kill_on_drop: false }` [INFO] [stderr] Compiling cortex-m v0.5.11 [INFO] [stderr] Compiling aligned v0.2.0 [INFO] [stderr] Compiling stm32f30x v0.7.1 [INFO] [stderr] Compiling stm32f30x-hal v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` 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] 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: `#[warn(ellipsis_inclusive_range_patterns)]` implied by `#[warn(warnings)]` [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] warning: `...` 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] warning: `...` 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] warning: `...` 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] warning: `...` 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] warning: `...` 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] warning: `...` 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] warning: `...` 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] warning: `...` 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] warning: `...` 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] warning: `...` 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 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: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 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: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 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: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 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: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 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: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 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: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 warning originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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: `#[warn(deprecated)]` implied by `#[warn(warnings)]` [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 `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 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 `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 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 `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 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 `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 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 `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 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 `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 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 `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 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 `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 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 `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 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 `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 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 `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 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 `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 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 `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 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 `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 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 `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 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 `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 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 `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 warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 35.87s [INFO] running `Command { std: "docker" "inspect" "6e410eb2bf4c65234281f864b36d7524bc5f488f12794c4911d1c3882dadcb43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e410eb2bf4c65234281f864b36d7524bc5f488f12794c4911d1c3882dadcb43", kill_on_drop: false }` [INFO] [stdout] 6e410eb2bf4c65234281f864b36d7524bc5f488f12794c4911d1c3882dadcb43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5d17f905fb69ede148df8cf8669bc88a21835eea2d4933a90e78b711fb7135e5 [INFO] running `Command { std: "docker" "start" "-a" "5d17f905fb69ede148df8cf8669bc88a21835eea2d4933a90e78b711fb7135e5", kill_on_drop: false }` [INFO] [stdout] warning: `...` 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] 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: `#[warn(ellipsis_inclusive_range_patterns)]` implied by `#[warn(warnings)]` [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] warning: `...` 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] warning: `...` 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] warning: `...` 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] warning: `...` 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] warning: `...` 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] warning: `...` 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] warning: `...` 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] warning: `...` 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] warning: `...` 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] warning: `...` 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 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: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 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: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 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: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 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: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 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: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 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: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 warning originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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: `#[warn(deprecated)]` implied by `#[warn(warnings)]` [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 `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 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 `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 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 `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 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 `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 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 `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 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 `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 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 `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 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 `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 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 `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 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 `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 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 `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 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 `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 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 `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 warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling stm32f30x-hal v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: 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 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 `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 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 `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 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 `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 warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` 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] 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: `#[warn(ellipsis_inclusive_range_patterns)]` implied by `#[warn(warnings)]` [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] warning: `...` 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] warning: `...` 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] warning: `...` 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] warning: `...` 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] warning: `...` 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] warning: `...` 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] warning: `...` 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] warning: `...` 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] warning: `...` 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] warning: `...` 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 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: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 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: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 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: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 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: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 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: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 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: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 warning originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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: `#[warn(deprecated)]` implied by `#[warn(warnings)]` [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 `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 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 `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 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 `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 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 `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 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 `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 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 `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 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 `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 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 `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 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 `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 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 `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 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 `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 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 `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 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 `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 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 `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 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 `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 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 `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 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 `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 warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.84s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/stm32f30x_hal-3863fddbbbbbd345) [INFO] running `Command { std: "docker" "inspect" "5d17f905fb69ede148df8cf8669bc88a21835eea2d4933a90e78b711fb7135e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d17f905fb69ede148df8cf8669bc88a21835eea2d4933a90e78b711fb7135e5", kill_on_drop: false }` [INFO] [stdout] 5d17f905fb69ede148df8cf8669bc88a21835eea2d4933a90e78b711fb7135e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1a3530f07562830e7ebc6ec618062da218df4499abfdd4b61d8632449b797890 [INFO] running `Command { std: "docker" "start" "-a" "1a3530f07562830e7ebc6ec618062da218df4499abfdd4b61d8632449b797890", kill_on_drop: false }` [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/rcc.rs:162:18 [INFO] [stderr] | [INFO] [stderr] 162 | 3...5 => 0b1001, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:27:9 [INFO] [stderr] | [INFO] [stderr] 27 | #![deny(warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` implied by `#[warn(warnings)]` [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/rcc.rs:163:18 [INFO] [stderr] | [INFO] [stderr] 163 | 6...11 => 0b1010, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/rcc.rs:164:19 [INFO] [stderr] | [INFO] [stderr] 164 | 12...39 => 0b1011, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/rcc.rs:165:19 [INFO] [stderr] | [INFO] [stderr] 165 | 40...95 => 0b1100, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/rcc.rs:166:19 [INFO] [stderr] | [INFO] [stderr] 166 | 96...191 => 0b1101, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/rcc.rs:167:20 [INFO] [stderr] | [INFO] [stderr] 167 | 192...383 => 0b1110, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/rcc.rs:181:18 [INFO] [stderr] | [INFO] [stderr] 181 | 3...5 => 0b101, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/rcc.rs:182:18 [INFO] [stderr] | [INFO] [stderr] 182 | 6...11 => 0b110, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/rcc.rs:197:18 [INFO] [stderr] | [INFO] [stderr] 197 | 3...5 => 0b101, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/rcc.rs:198:18 [INFO] [stderr] | [INFO] [stderr] 198 | 6...11 => 0b110, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/spi.rs:104:26 [INFO] [stderr] | [INFO] [stderr] 104 | 1...2 => 0b000, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] ... [INFO] [stderr] 205 | / hal! { [INFO] [stderr] 206 | | SPI1: (spi1, APB2, spi1en, spi1rst, pclk2), [INFO] [stderr] 207 | | SPI2: (spi2, APB1, spi2en, spi2rst, pclk1), [INFO] [stderr] 208 | | SPI3: (spi3, APB1, spi3en, spi3rst, pclk1), [INFO] [stderr] 209 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/spi.rs:105:26 [INFO] [stderr] | [INFO] [stderr] 105 | 3...5 => 0b001, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] ... [INFO] [stderr] 205 | / hal! { [INFO] [stderr] 206 | | SPI1: (spi1, APB2, spi1en, spi1rst, pclk2), [INFO] [stderr] 207 | | SPI2: (spi2, APB1, spi2en, spi2rst, pclk1), [INFO] [stderr] 208 | | SPI3: (spi3, APB1, spi3en, spi3rst, pclk1), [INFO] [stderr] 209 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/spi.rs:106:26 [INFO] [stderr] | [INFO] [stderr] 106 | 6...11 => 0b010, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] ... [INFO] [stderr] 205 | / hal! { [INFO] [stderr] 206 | | SPI1: (spi1, APB2, spi1en, spi1rst, pclk2), [INFO] [stderr] 207 | | SPI2: (spi2, APB1, spi2en, spi2rst, pclk1), [INFO] [stderr] 208 | | SPI3: (spi3, APB1, spi3en, spi3rst, pclk1), [INFO] [stderr] 209 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/spi.rs:107:27 [INFO] [stderr] | [INFO] [stderr] 107 | 12...23 => 0b011, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] ... [INFO] [stderr] 205 | / hal! { [INFO] [stderr] 206 | | SPI1: (spi1, APB2, spi1en, spi1rst, pclk2), [INFO] [stderr] 207 | | SPI2: (spi2, APB1, spi2en, spi2rst, pclk1), [INFO] [stderr] 208 | | SPI3: (spi3, APB1, spi3en, spi3rst, pclk1), [INFO] [stderr] 209 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/spi.rs:108:27 [INFO] [stderr] | [INFO] [stderr] 108 | 24...39 => 0b100, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] ... [INFO] [stderr] 205 | / hal! { [INFO] [stderr] 206 | | SPI1: (spi1, APB2, spi1en, spi1rst, pclk2), [INFO] [stderr] 207 | | SPI2: (spi2, APB1, spi2en, spi2rst, pclk1), [INFO] [stderr] 208 | | SPI3: (spi3, APB1, spi3en, spi3rst, pclk1), [INFO] [stderr] 209 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/spi.rs:109:27 [INFO] [stderr] | [INFO] [stderr] 109 | 40...95 => 0b101, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] ... [INFO] [stderr] 205 | / hal! { [INFO] [stderr] 206 | | SPI1: (spi1, APB2, spi1en, spi1rst, pclk2), [INFO] [stderr] 207 | | SPI2: (spi2, APB1, spi2en, spi2rst, pclk1), [INFO] [stderr] 208 | | SPI3: (spi3, APB1, spi3en, spi3rst, pclk1), [INFO] [stderr] 209 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/spi.rs:110:27 [INFO] [stderr] | [INFO] [stderr] 110 | 96...191 => 0b110, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] ... [INFO] [stderr] 205 | / hal! { [INFO] [stderr] 206 | | SPI1: (spi1, APB2, spi1en, spi1rst, pclk2), [INFO] [stderr] 207 | | SPI2: (spi2, APB1, spi2en, spi2rst, pclk1), [INFO] [stderr] 208 | | SPI3: (spi3, APB1, spi3en, spi3rst, pclk1), [INFO] [stderr] 209 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/gpio.rs:97:31 [INFO] [stderr] | [INFO] [stderr] 97 | use hal::digital::OutputPin; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 472 | / gpio!(GPIOA, gpioa, gpioa, iopaen, ioparst, PAx, [ [INFO] [stderr] 473 | | PA0: (pa0, 0, Input, AFRL), [INFO] [stderr] 474 | | PA1: (pa1, 1, Input, AFRL), [INFO] [stderr] 475 | | PA2: (pa2, 2, Input, AFRL), [INFO] [stderr] ... | [INFO] [stderr] 489 | | // PA15: (15, Input), [INFO] [stderr] 490 | | ]); [INFO] [stderr] | |__- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` implied by `#[warn(warnings)]` [INFO] [stderr] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/gpio.rs:206:24 [INFO] [stderr] | [INFO] [stderr] 206 | impl OutputPin for $PXx> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 472 | / gpio!(GPIOA, gpioa, gpioa, iopaen, ioparst, PAx, [ [INFO] [stderr] 473 | | PA0: (pa0, 0, Input, AFRL), [INFO] [stderr] 474 | | PA1: (pa1, 1, Input, AFRL), [INFO] [stderr] 475 | | PA2: (pa2, 2, Input, AFRL), [INFO] [stderr] ... | [INFO] [stderr] 489 | | // PA15: (15, Input), [INFO] [stderr] 490 | | ]); [INFO] [stderr] | |__- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/gpio.rs:456:28 [INFO] [stderr] | [INFO] [stderr] 456 | impl OutputPin for $PXi> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 472 | / gpio!(GPIOA, gpioa, gpioa, iopaen, ioparst, PAx, [ [INFO] [stderr] 473 | | PA0: (pa0, 0, Input, AFRL), [INFO] [stderr] 474 | | PA1: (pa1, 1, Input, AFRL), [INFO] [stderr] 475 | | PA2: (pa2, 2, Input, AFRL), [INFO] [stderr] ... | [INFO] [stderr] 489 | | // PA15: (15, Input), [INFO] [stderr] 490 | | ]); [INFO] [stderr] | |__- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/gpio.rs:97:31 [INFO] [stderr] | [INFO] [stderr] 97 | use hal::digital::OutputPin; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 492 | / gpio!(GPIOB, gpiob, gpiob, iopben, iopbrst, PBx, [ [INFO] [stderr] 493 | | PB0: (pb0, 0, Input, AFRL), [INFO] [stderr] 494 | | PB1: (pb1, 1, Input, AFRL), [INFO] [stderr] 495 | | PB2: (pb2, 2, Input, AFRL), [INFO] [stderr] ... | [INFO] [stderr] 509 | | PB15: (pb15, 15, Input, AFRH), [INFO] [stderr] 510 | | ]); [INFO] [stderr] | |__- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/gpio.rs:206:24 [INFO] [stderr] | [INFO] [stderr] 206 | impl OutputPin for $PXx> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 492 | / gpio!(GPIOB, gpiob, gpiob, iopben, iopbrst, PBx, [ [INFO] [stderr] 493 | | PB0: (pb0, 0, Input, AFRL), [INFO] [stderr] 494 | | PB1: (pb1, 1, Input, AFRL), [INFO] [stderr] 495 | | PB2: (pb2, 2, Input, AFRL), [INFO] [stderr] ... | [INFO] [stderr] 509 | | PB15: (pb15, 15, Input, AFRH), [INFO] [stderr] 510 | | ]); [INFO] [stderr] | |__- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/gpio.rs:456:28 [INFO] [stderr] | [INFO] [stderr] 456 | impl OutputPin for $PXi> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 492 | / gpio!(GPIOB, gpiob, gpiob, iopben, iopbrst, PBx, [ [INFO] [stderr] 493 | | PB0: (pb0, 0, Input, AFRL), [INFO] [stderr] 494 | | PB1: (pb1, 1, Input, AFRL), [INFO] [stderr] 495 | | PB2: (pb2, 2, Input, AFRL), [INFO] [stderr] ... | [INFO] [stderr] 509 | | PB15: (pb15, 15, Input, AFRH), [INFO] [stderr] 510 | | ]); [INFO] [stderr] | |__- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/gpio.rs:97:31 [INFO] [stderr] | [INFO] [stderr] 97 | use hal::digital::OutputPin; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 512 | / gpio!(GPIOC, gpioc, gpioc, iopcen, iopcrst, PCx, [ [INFO] [stderr] 513 | | PC0: (pc0, 0, Input, AFRL), [INFO] [stderr] 514 | | PC1: (pc1, 1, Input, AFRL), [INFO] [stderr] 515 | | PC2: (pc2, 2, Input, AFRL), [INFO] [stderr] ... | [INFO] [stderr] 528 | | PC15: (pc15, 15, Input, AFRH), [INFO] [stderr] 529 | | ]); [INFO] [stderr] | |__- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/gpio.rs:206:24 [INFO] [stderr] | [INFO] [stderr] 206 | impl OutputPin for $PXx> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 512 | / gpio!(GPIOC, gpioc, gpioc, iopcen, iopcrst, PCx, [ [INFO] [stderr] 513 | | PC0: (pc0, 0, Input, AFRL), [INFO] [stderr] 514 | | PC1: (pc1, 1, Input, AFRL), [INFO] [stderr] 515 | | PC2: (pc2, 2, Input, AFRL), [INFO] [stderr] ... | [INFO] [stderr] 528 | | PC15: (pc15, 15, Input, AFRH), [INFO] [stderr] 529 | | ]); [INFO] [stderr] | |__- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/gpio.rs:456:28 [INFO] [stderr] | [INFO] [stderr] 456 | impl OutputPin for $PXi> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 512 | / gpio!(GPIOC, gpioc, gpioc, iopcen, iopcrst, PCx, [ [INFO] [stderr] 513 | | PC0: (pc0, 0, Input, AFRL), [INFO] [stderr] 514 | | PC1: (pc1, 1, Input, AFRL), [INFO] [stderr] 515 | | PC2: (pc2, 2, Input, AFRL), [INFO] [stderr] ... | [INFO] [stderr] 528 | | PC15: (pc15, 15, Input, AFRH), [INFO] [stderr] 529 | | ]); [INFO] [stderr] | |__- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/gpio.rs:97:31 [INFO] [stderr] | [INFO] [stderr] 97 | use hal::digital::OutputPin; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 531 | / gpio!(GPIOD, gpiod, gpioc, iopden, iopdrst, PDx, [ [INFO] [stderr] 532 | | PD0: (pd0, 0, Input, AFRL), [INFO] [stderr] 533 | | PD1: (pd1, 1, Input, AFRL), [INFO] [stderr] 534 | | PD2: (pd2, 2, Input, AFRL), [INFO] [stderr] ... | [INFO] [stderr] 547 | | PD15: (pd15, 15, Input, AFRH), [INFO] [stderr] 548 | | ]); [INFO] [stderr] | |__- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/gpio.rs:206:24 [INFO] [stderr] | [INFO] [stderr] 206 | impl OutputPin for $PXx> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 531 | / gpio!(GPIOD, gpiod, gpioc, iopden, iopdrst, PDx, [ [INFO] [stderr] 532 | | PD0: (pd0, 0, Input, AFRL), [INFO] [stderr] 533 | | PD1: (pd1, 1, Input, AFRL), [INFO] [stderr] 534 | | PD2: (pd2, 2, Input, AFRL), [INFO] [stderr] ... | [INFO] [stderr] 547 | | PD15: (pd15, 15, Input, AFRH), [INFO] [stderr] 548 | | ]); [INFO] [stderr] | |__- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/gpio.rs:456:28 [INFO] [stderr] | [INFO] [stderr] 456 | impl OutputPin for $PXi> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 531 | / gpio!(GPIOD, gpiod, gpioc, iopden, iopdrst, PDx, [ [INFO] [stderr] 532 | | PD0: (pd0, 0, Input, AFRL), [INFO] [stderr] 533 | | PD1: (pd1, 1, Input, AFRL), [INFO] [stderr] 534 | | PD2: (pd2, 2, Input, AFRL), [INFO] [stderr] ... | [INFO] [stderr] 547 | | PD15: (pd15, 15, Input, AFRH), [INFO] [stderr] 548 | | ]); [INFO] [stderr] | |__- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/gpio.rs:97:31 [INFO] [stderr] | [INFO] [stderr] 97 | use hal::digital::OutputPin; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 550 | / gpio!(GPIOE, gpioe, gpioc, iopeen, ioperst, PEx, [ [INFO] [stderr] 551 | | PE0: (pe0, 0, Input, AFRL), [INFO] [stderr] 552 | | PE1: (pe1, 1, Input, AFRL), [INFO] [stderr] 553 | | PE2: (pe2, 2, Input, AFRL), [INFO] [stderr] ... | [INFO] [stderr] 566 | | PE15: (pe15, 15, Input, AFRH), [INFO] [stderr] 567 | | ]); [INFO] [stderr] | |__- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/gpio.rs:206:24 [INFO] [stderr] | [INFO] [stderr] 206 | impl OutputPin for $PXx> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 550 | / gpio!(GPIOE, gpioe, gpioc, iopeen, ioperst, PEx, [ [INFO] [stderr] 551 | | PE0: (pe0, 0, Input, AFRL), [INFO] [stderr] 552 | | PE1: (pe1, 1, Input, AFRL), [INFO] [stderr] 553 | | PE2: (pe2, 2, Input, AFRL), [INFO] [stderr] ... | [INFO] [stderr] 566 | | PE15: (pe15, 15, Input, AFRH), [INFO] [stderr] 567 | | ]); [INFO] [stderr] | |__- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/gpio.rs:456:28 [INFO] [stderr] | [INFO] [stderr] 456 | impl OutputPin for $PXi> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 550 | / gpio!(GPIOE, gpioe, gpioc, iopeen, ioperst, PEx, [ [INFO] [stderr] 551 | | PE0: (pe0, 0, Input, AFRL), [INFO] [stderr] 552 | | PE1: (pe1, 1, Input, AFRL), [INFO] [stderr] 553 | | PE2: (pe2, 2, Input, AFRL), [INFO] [stderr] ... | [INFO] [stderr] 566 | | PE15: (pe15, 15, Input, AFRH), [INFO] [stderr] 567 | | ]); [INFO] [stderr] | |__- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/gpio.rs:97:31 [INFO] [stderr] | [INFO] [stderr] 97 | use hal::digital::OutputPin; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 569 | / gpio!(GPIOF, gpiof, gpioc, iopfen, iopfrst, PFx, [ [INFO] [stderr] 570 | | PF0: (pf0, 0, Input, AFRL), [INFO] [stderr] 571 | | PF1: (pf1, 1, Input, AFRL), [INFO] [stderr] 572 | | PF2: (pf2, 2, Input, AFRL), [INFO] [stderr] ... | [INFO] [stderr] 576 | | PF10: (pf10, 10, Input, AFRH), [INFO] [stderr] 577 | | ]); [INFO] [stderr] | |__- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/gpio.rs:206:24 [INFO] [stderr] | [INFO] [stderr] 206 | impl OutputPin for $PXx> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 569 | / gpio!(GPIOF, gpiof, gpioc, iopfen, iopfrst, PFx, [ [INFO] [stderr] 570 | | PF0: (pf0, 0, Input, AFRL), [INFO] [stderr] 571 | | PF1: (pf1, 1, Input, AFRL), [INFO] [stderr] 572 | | PF2: (pf2, 2, Input, AFRL), [INFO] [stderr] ... | [INFO] [stderr] 576 | | PF10: (pf10, 10, Input, AFRH), [INFO] [stderr] 577 | | ]); [INFO] [stderr] | |__- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/gpio.rs:456:28 [INFO] [stderr] | [INFO] [stderr] 456 | impl OutputPin for $PXi> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 569 | / gpio!(GPIOF, gpiof, gpioc, iopfen, iopfrst, PFx, [ [INFO] [stderr] 570 | | PF0: (pf0, 0, Input, AFRL), [INFO] [stderr] 571 | | PF1: (pf1, 1, Input, AFRL), [INFO] [stderr] 572 | | PF2: (pf2, 2, Input, AFRL), [INFO] [stderr] ... | [INFO] [stderr] 576 | | PF10: (pf10, 10, Input, AFRH), [INFO] [stderr] 577 | | ]); [INFO] [stderr] | |__- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `stm32f30x-hal` (lib) generated 35 warnings [INFO] [stderr] warning: `stm32f30x-hal` (lib test) generated 35 warnings (35 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/stm32f30x_hal-3863fddbbbbbd345) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests stm32f30x-hal [INFO] [stderr] error: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/rcc.rs:162:18 [INFO] [stderr] | [INFO] [stderr] 162 | 3...5 => 0b1001, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> /opt/rustwide/workdir/src/lib.rs:27:9 [INFO] [stderr] | [INFO] [stderr] 27 | #![deny(warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: `#[deny(ellipsis_inclusive_range_patterns)]` implied by `#[deny(warnings)]` [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] error: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/rcc.rs:163:18 [INFO] [stderr] | [INFO] [stderr] 163 | 6...11 => 0b1010, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] error: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/rcc.rs:164:19 [INFO] [stderr] | [INFO] [stderr] 164 | 12...39 => 0b1011, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] error: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/rcc.rs:165:19 [INFO] [stderr] | [INFO] [stderr] 165 | 40...95 => 0b1100, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] error: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/rcc.rs:166:19 [INFO] [stderr] | [INFO] [stderr] 166 | 96...191 => 0b1101, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] error: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/rcc.rs:167:20 [INFO] [stderr] | [INFO] [stderr] 167 | 192...383 => 0b1110, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] error: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/rcc.rs:181:18 [INFO] [stderr] | [INFO] [stderr] 181 | 3...5 => 0b101, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] error: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/rcc.rs:182:18 [INFO] [stderr] | [INFO] [stderr] 182 | 6...11 => 0b110, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] error: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/rcc.rs:197:18 [INFO] [stderr] | [INFO] [stderr] 197 | 3...5 => 0b101, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] error: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/rcc.rs:198:18 [INFO] [stderr] | [INFO] [stderr] 198 | 6...11 => 0b110, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] error: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/spi.rs:104:26 [INFO] [stderr] | [INFO] [stderr] 104 | 1...2 => 0b000, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] ... [INFO] [stderr] 205 | / hal! { [INFO] [stderr] 206 | | SPI1: (spi1, APB2, spi1en, spi1rst, pclk2), [INFO] [stderr] 207 | | SPI2: (spi2, APB1, spi2en, spi2rst, pclk1), [INFO] [stderr] 208 | | SPI3: (spi3, APB1, spi3en, spi3rst, pclk1), [INFO] [stderr] 209 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/spi.rs:105:26 [INFO] [stderr] | [INFO] [stderr] 105 | 3...5 => 0b001, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] ... [INFO] [stderr] 205 | / hal! { [INFO] [stderr] 206 | | SPI1: (spi1, APB2, spi1en, spi1rst, pclk2), [INFO] [stderr] 207 | | SPI2: (spi2, APB1, spi2en, spi2rst, pclk1), [INFO] [stderr] 208 | | SPI3: (spi3, APB1, spi3en, spi3rst, pclk1), [INFO] [stderr] 209 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/spi.rs:106:26 [INFO] [stderr] | [INFO] [stderr] 106 | 6...11 => 0b010, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] ... [INFO] [stderr] 205 | / hal! { [INFO] [stderr] 206 | | SPI1: (spi1, APB2, spi1en, spi1rst, pclk2), [INFO] [stderr] 207 | | SPI2: (spi2, APB1, spi2en, spi2rst, pclk1), [INFO] [stderr] 208 | | SPI3: (spi3, APB1, spi3en, spi3rst, pclk1), [INFO] [stderr] 209 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/spi.rs:107:27 [INFO] [stderr] | [INFO] [stderr] 107 | 12...23 => 0b011, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] ... [INFO] [stderr] 205 | / hal! { [INFO] [stderr] 206 | | SPI1: (spi1, APB2, spi1en, spi1rst, pclk2), [INFO] [stderr] 207 | | SPI2: (spi2, APB1, spi2en, spi2rst, pclk1), [INFO] [stderr] 208 | | SPI3: (spi3, APB1, spi3en, spi3rst, pclk1), [INFO] [stderr] 209 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/spi.rs:108:27 [INFO] [stderr] | [INFO] [stderr] 108 | 24...39 => 0b100, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] ... [INFO] [stderr] 205 | / hal! { [INFO] [stderr] 206 | | SPI1: (spi1, APB2, spi1en, spi1rst, pclk2), [INFO] [stderr] 207 | | SPI2: (spi2, APB1, spi2en, spi2rst, pclk1), [INFO] [stderr] 208 | | SPI3: (spi3, APB1, spi3en, spi3rst, pclk1), [INFO] [stderr] 209 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/spi.rs:109:27 [INFO] [stderr] | [INFO] [stderr] 109 | 40...95 => 0b101, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] ... [INFO] [stderr] 205 | / hal! { [INFO] [stderr] 206 | | SPI1: (spi1, APB2, spi1en, spi1rst, pclk2), [INFO] [stderr] 207 | | SPI2: (spi2, APB1, spi2en, spi2rst, pclk1), [INFO] [stderr] 208 | | SPI3: (spi3, APB1, spi3en, spi3rst, pclk1), [INFO] [stderr] 209 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/spi.rs:110:27 [INFO] [stderr] | [INFO] [stderr] 110 | 96...191 => 0b110, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] ... [INFO] [stderr] 205 | / hal! { [INFO] [stderr] 206 | | SPI1: (spi1, APB2, spi1en, spi1rst, pclk2), [INFO] [stderr] 207 | | SPI2: (spi2, APB1, spi2en, spi2rst, pclk1), [INFO] [stderr] 208 | | SPI3: (spi3, APB1, spi3en, spi3rst, pclk1), [INFO] [stderr] 209 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 17 previous errors [INFO] [stderr] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "1a3530f07562830e7ebc6ec618062da218df4499abfdd4b61d8632449b797890", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a3530f07562830e7ebc6ec618062da218df4499abfdd4b61d8632449b797890", kill_on_drop: false }` [INFO] [stdout] 1a3530f07562830e7ebc6ec618062da218df4499abfdd4b61d8632449b797890