[INFO] fetching crate stm32l432xx-hal 0.2.7... [INFO] testing stm32l432xx-hal-0.2.7 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate stm32l432xx-hal 0.2.7 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate stm32l432xx-hal 0.2.7 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] removed /workspace/builds/worker-10/source/.cargo/config [INFO] started tweaking crates.io crate stm32l432xx-hal 0.2.7 [INFO] finished tweaking crates.io crate stm32l432xx-hal 0.2.7 [INFO] tweaked toml for crates.io crate stm32l432xx-hal 0.2.7 written to /workspace/builds/worker-10/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-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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] [stdout] 72a2f9ed688e3f049d2fc8e2a463b44cf2a898770453fcd50488171e747ee93e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "72a2f9ed688e3f049d2fc8e2a463b44cf2a898770453fcd50488171e747ee93e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "72a2f9ed688e3f049d2fc8e2a463b44cf2a898770453fcd50488171e747ee93e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72a2f9ed688e3f049d2fc8e2a463b44cf2a898770453fcd50488171e747ee93e", kill_on_drop: false }` [INFO] [stdout] 72a2f9ed688e3f049d2fc8e2a463b44cf2a898770453fcd50488171e747ee93e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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] [stdout] f6aee833f3e671650a2e56d9aae84d3dda996f7b5ec2c96224e2e589d150cd0b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f6aee833f3e671650a2e56d9aae84d3dda996f7b5ec2c96224e2e589d150cd0b", kill_on_drop: false }` [INFO] [stderr] Compiling nb v1.0.0 [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling cortex-m v0.5.11 [INFO] [stderr] Compiling aligned v0.2.0 [INFO] [stderr] Compiling stm32l4 v0.3.2 [INFO] [stderr] Compiling r0 v0.2.2 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling volatile-register v0.2.1 [INFO] [stderr] Compiling cortex-m-rt v0.6.15 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling cortex-m v0.7.4 [INFO] [stderr] Compiling generic-array v0.13.3 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling as-slice v0.1.5 [INFO] [stderr] Compiling aligned v0.3.5 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Compiling stm32l432xx-hal v0.2.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/rcc.rs:291:18 [INFO] [stdout] | [INFO] [stdout] 291 | 3...5 => 0b1001, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/rcc.rs:292:18 [INFO] [stdout] | [INFO] [stdout] 292 | 6...11 => 0b1010, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/rcc.rs:293:19 [INFO] [stdout] | [INFO] [stdout] 293 | 12...39 => 0b1011, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/rcc.rs:294:19 [INFO] [stdout] | [INFO] [stdout] 294 | 40...95 => 0b1100, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/rcc.rs:295:19 [INFO] [stdout] | [INFO] [stdout] 295 | 96...191 => 0b1101, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/rcc.rs:296:20 [INFO] [stdout] | [INFO] [stdout] 296 | 192...383 => 0b1110, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/rcc.rs:310:18 [INFO] [stdout] | [INFO] [stdout] 310 | 3...5 => 0b101, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/rcc.rs:311:18 [INFO] [stdout] | [INFO] [stdout] 311 | 6...11 => 0b110, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/rcc.rs:326:18 [INFO] [stdout] | [INFO] [stdout] 326 | 3...5 => 0b101, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/rcc.rs:327:18 [INFO] [stdout] | [INFO] [stdout] 327 | 6...11 => 0b110, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/spi.rs:80:26 [INFO] [stdout] | [INFO] [stdout] 80 | 1...2 => 0b000, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 181 | / hal! { [INFO] [stdout] 182 | | SPI1: (spi1, APB2, spi1en, spi1rst, pclk2), [INFO] [stdout] 183 | | // SPI2: (spi2, APB1R1, spi2en, spi2rst, pclk1), // NOT Avail on 32k(b|c) [INFO] [stdout] 184 | | SPI3: (spi3, APB1R1, spi3en, spi3rst, pclk1), [INFO] [stdout] 185 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/spi.rs:81:26 [INFO] [stdout] | [INFO] [stdout] 81 | 3...5 => 0b001, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 181 | / hal! { [INFO] [stdout] 182 | | SPI1: (spi1, APB2, spi1en, spi1rst, pclk2), [INFO] [stdout] 183 | | // SPI2: (spi2, APB1R1, spi2en, spi2rst, pclk1), // NOT Avail on 32k(b|c) [INFO] [stdout] 184 | | SPI3: (spi3, APB1R1, spi3en, spi3rst, pclk1), [INFO] [stdout] 185 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/spi.rs:82:26 [INFO] [stdout] | [INFO] [stdout] 82 | 6...11 => 0b010, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 181 | / hal! { [INFO] [stdout] 182 | | SPI1: (spi1, APB2, spi1en, spi1rst, pclk2), [INFO] [stdout] 183 | | // SPI2: (spi2, APB1R1, spi2en, spi2rst, pclk1), // NOT Avail on 32k(b|c) [INFO] [stdout] 184 | | SPI3: (spi3, APB1R1, spi3en, spi3rst, pclk1), [INFO] [stdout] 185 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/spi.rs:83:27 [INFO] [stdout] | [INFO] [stdout] 83 | 12...23 => 0b011, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 181 | / hal! { [INFO] [stdout] 182 | | SPI1: (spi1, APB2, spi1en, spi1rst, pclk2), [INFO] [stdout] 183 | | // SPI2: (spi2, APB1R1, spi2en, spi2rst, pclk1), // NOT Avail on 32k(b|c) [INFO] [stdout] 184 | | SPI3: (spi3, APB1R1, spi3en, spi3rst, pclk1), [INFO] [stdout] 185 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/spi.rs:84:27 [INFO] [stdout] | [INFO] [stdout] 84 | 24...39 => 0b100, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 181 | / hal! { [INFO] [stdout] 182 | | SPI1: (spi1, APB2, spi1en, spi1rst, pclk2), [INFO] [stdout] 183 | | // SPI2: (spi2, APB1R1, spi2en, spi2rst, pclk1), // NOT Avail on 32k(b|c) [INFO] [stdout] 184 | | SPI3: (spi3, APB1R1, spi3en, spi3rst, pclk1), [INFO] [stdout] 185 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/spi.rs:85:27 [INFO] [stdout] | [INFO] [stdout] 85 | 40...95 => 0b101, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 181 | / hal! { [INFO] [stdout] 182 | | SPI1: (spi1, APB2, spi1en, spi1rst, pclk2), [INFO] [stdout] 183 | | // SPI2: (spi2, APB1R1, spi2en, spi2rst, pclk1), // NOT Avail on 32k(b|c) [INFO] [stdout] 184 | | SPI3: (spi3, APB1R1, spi3en, spi3rst, pclk1), [INFO] [stdout] 185 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/spi.rs:86:27 [INFO] [stdout] | [INFO] [stdout] 86 | 96...191 => 0b110, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 181 | / hal! { [INFO] [stdout] 182 | | SPI1: (spi1, APB2, spi1en, spi1rst, pclk2), [INFO] [stdout] 183 | | // SPI2: (spi2, APB1R1, spi2en, spi2rst, pclk1), // NOT Avail on 32k(b|c) [INFO] [stdout] 184 | | SPI3: (spi3, APB1R1, spi3en, spi3rst, pclk1), [INFO] [stdout] 185 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/rtc.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 219 | (tmp + (value & 0x0F)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 219 - (tmp + (value & 0x0F)) [INFO] [stdout] 219 + tmp + (value & 0x0F) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:104:38 [INFO] [stdout] | [INFO] [stdout] 104 | use crate::hal::digital::OutputPin; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 551 | / gpio!(GPIOA, gpioa, gpioa, gpioaen, gpioarst, PAx, [ [INFO] [stdout] 552 | | PA0: (pa0, 0, Input, AFRL), [INFO] [stdout] 553 | | PA1: (pa1, 1, Input, AFRL), [INFO] [stdout] 554 | | PA2: (pa2, 2, Input, AFRL), [INFO] [stdout] ... | [INFO] [stdout] 564 | | PA12: (pa12, 12, Input, AFRH), [INFO] [stdout] 565 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:215:24 [INFO] [stdout] | [INFO] [stdout] 215 | impl OutputPin for $PXx> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 551 | / gpio!(GPIOA, gpioa, gpioa, gpioaen, gpioarst, PAx, [ [INFO] [stdout] 552 | | PA0: (pa0, 0, Input, AFRL), [INFO] [stdout] 553 | | PA1: (pa1, 1, Input, AFRL), [INFO] [stdout] 554 | | PA2: (pa2, 2, Input, AFRL), [INFO] [stdout] ... | [INFO] [stdout] 564 | | PA12: (pa12, 12, Input, AFRH), [INFO] [stdout] 565 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:535:28 [INFO] [stdout] | [INFO] [stdout] 535 | impl OutputPin for $PXi> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 551 | / gpio!(GPIOA, gpioa, gpioa, gpioaen, gpioarst, PAx, [ [INFO] [stdout] 552 | | PA0: (pa0, 0, Input, AFRL), [INFO] [stdout] 553 | | PA1: (pa1, 1, Input, AFRL), [INFO] [stdout] 554 | | PA2: (pa2, 2, Input, AFRL), [INFO] [stdout] ... | [INFO] [stdout] 564 | | PA12: (pa12, 12, Input, AFRH), [INFO] [stdout] 565 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:104:38 [INFO] [stdout] | [INFO] [stdout] 104 | use crate::hal::digital::OutputPin; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 567 | / gpio!(GPIOB, gpiob, gpiob, gpioben, gpiobrst, PBx, [ [INFO] [stdout] 568 | | PB0: (pb0, 0, Input, AFRL), [INFO] [stdout] 569 | | PB1: (pb1, 1, Input, AFRL), [INFO] [stdout] 570 | | PB2: (pb2, 2, Input, AFRL), [INFO] [stdout] ... | [INFO] [stdout] 575 | | PB7: (pb7, 7, Input, AFRL), [INFO] [stdout] 576 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:215:24 [INFO] [stdout] | [INFO] [stdout] 215 | impl OutputPin for $PXx> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 567 | / gpio!(GPIOB, gpiob, gpiob, gpioben, gpiobrst, PBx, [ [INFO] [stdout] 568 | | PB0: (pb0, 0, Input, AFRL), [INFO] [stdout] 569 | | PB1: (pb1, 1, Input, AFRL), [INFO] [stdout] 570 | | PB2: (pb2, 2, Input, AFRL), [INFO] [stdout] ... | [INFO] [stdout] 575 | | PB7: (pb7, 7, Input, AFRL), [INFO] [stdout] 576 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:535:28 [INFO] [stdout] | [INFO] [stdout] 535 | impl OutputPin for $PXi> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 567 | / gpio!(GPIOB, gpiob, gpiob, gpioben, gpiobrst, PBx, [ [INFO] [stdout] 568 | | PB0: (pb0, 0, Input, AFRL), [INFO] [stdout] 569 | | PB1: (pb1, 1, Input, AFRL), [INFO] [stdout] 570 | | PB2: (pb2, 2, Input, AFRL), [INFO] [stdout] ... | [INFO] [stdout] 575 | | PB7: (pb7, 7, Input, AFRL), [INFO] [stdout] 576 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(unsize)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stm32l432xx-hal` due to 2 previous errors; 24 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "f6aee833f3e671650a2e56d9aae84d3dda996f7b5ec2c96224e2e589d150cd0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6aee833f3e671650a2e56d9aae84d3dda996f7b5ec2c96224e2e589d150cd0b", kill_on_drop: false }` [INFO] [stdout] f6aee833f3e671650a2e56d9aae84d3dda996f7b5ec2c96224e2e589d150cd0b