[INFO] fetching crate stm32l151-hal 0.5.0... [INFO] testing stm32l151-hal-0.5.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate stm32l151-hal 0.5.0 into /workspace/builds/worker-1-tc1/source [INFO] removed /workspace/builds/worker-1-tc1/source/.cargo/config [INFO] started tweaking crates.io crate stm32l151-hal 0.5.0 [INFO] finished tweaking crates.io crate stm32l151-hal 0.5.0 [INFO] tweaked toml for crates.io crate stm32l151-hal 0.5.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate stm32l151-hal 0.5.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 31 packages to latest compatible versions [INFO] [stderr] Adding cortex-m v0.5.11 (available: v0.7.7) [INFO] [stderr] Adding cortex-m-rt v0.6.15 (available: v0.7.5) [INFO] [stderr] Adding embedded-hal v0.2.7 (available: v1.0.0) [INFO] [stderr] Adding nb v0.1.3 (available: v1.1.0) [INFO] [stderr] Adding stm32l1 v0.3.2 (available: v0.16.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded volatile-register v0.2.2 [INFO] [stderr] Downloaded generic-array v0.13.3 [INFO] [stderr] Downloaded bare-metal v0.2.5 [INFO] [stderr] Downloaded aligned v0.2.0 [INFO] [stderr] Downloaded cortex-m v0.5.11 [INFO] [stderr] Downloaded aligned v0.3.5 [INFO] [stderr] Downloaded cortex-m v0.6.7 [INFO] [stderr] Downloaded bitfield v0.13.2 [INFO] [stderr] Downloaded r0 v0.2.2 [INFO] [stderr] Downloaded cortex-m-rt v0.6.15 [INFO] [stderr] Downloaded vcell v0.1.3 [INFO] [stderr] Downloaded stm32l1 v0.3.2 [INFO] [stderr] Downloaded as-slice v0.1.5 [INFO] [stderr] Downloaded cortex-m v0.7.7 [INFO] [stderr] Downloaded cortex-m-rt-macros v0.6.15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eefd29ee0d6d2e2793b9070de47b20997e6179ab2947f55896ae30a54eb480ce [INFO] running `Command { std: "docker" "start" "-a" "eefd29ee0d6d2e2793b9070de47b20997e6179ab2947f55896ae30a54eb480ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eefd29ee0d6d2e2793b9070de47b20997e6179ab2947f55896ae30a54eb480ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eefd29ee0d6d2e2793b9070de47b20997e6179ab2947f55896ae30a54eb480ce", kill_on_drop: false }` [INFO] [stdout] eefd29ee0d6d2e2793b9070de47b20997e6179ab2947f55896ae30a54eb480ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd0b48e75d2bd2e0f7b68b75002e3cabf7c01e450b0780f343b385df64de050c [INFO] running `Command { std: "docker" "start" "-a" "bd0b48e75d2bd2e0f7b68b75002e3cabf7c01e450b0780f343b385df64de050c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling generic-array v0.13.3 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling cortex-m-rt v0.6.15 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling volatile-register v0.2.2 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cortex-m v0.5.11 [INFO] [stderr] Compiling aligned v0.2.0 [INFO] [stderr] Compiling stm32l1 v0.3.2 [INFO] [stderr] Compiling r0 v0.2.2 [INFO] [stderr] Compiling as-slice v0.1.5 [INFO] [stderr] Compiling aligned v0.3.5 [INFO] [stderr] Compiling cortex-m-rt-macros v0.6.15 [INFO] [stderr] Compiling stm32l151-hal v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated trait `hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | use hal::digital::{InputPin, OutputPin}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | / gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] 146 | | PA0: (pa0, 0, Input, afrl), [INFO] [stdout] 147 | | PA1: (pa1, 1, Input, afrl), [INFO] [stdout] 148 | | PA2: (pa2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 161 | | PA15: (pa15, 15, Input, afrh), [INFO] [stdout] 162 | | ]); [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 `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | use hal::digital::{InputPin, OutputPin}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | / gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] 146 | | PA0: (pa0, 0, Input, afrl), [INFO] [stdout] 147 | | PA1: (pa1, 1, Input, afrl), [INFO] [stdout] 148 | | PA2: (pa2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 161 | | PA15: (pa15, 15, Input, afrh), [INFO] [stdout] 162 | | ]); [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::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:121:22 [INFO] [stdout] | [INFO] [stdout] 121 | impl InputPin for $PXi { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | / gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] 146 | | PA0: (pa0, 0, Input, afrl), [INFO] [stdout] 147 | | PA1: (pa1, 1, Input, afrl), [INFO] [stdout] 148 | | PA2: (pa2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 161 | | PA15: (pa15, 15, Input, afrh), [INFO] [stdout] 162 | | ]); [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:131:22 [INFO] [stdout] | [INFO] [stdout] 131 | impl OutputPin for $PXi { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | / gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] 146 | | PA0: (pa0, 0, Input, afrl), [INFO] [stdout] 147 | | PA1: (pa1, 1, Input, afrl), [INFO] [stdout] 148 | | PA2: (pa2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 161 | | PA15: (pa15, 15, Input, afrh), [INFO] [stdout] 162 | | ]); [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::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | use hal::digital::{InputPin, OutputPin}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | / gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] 165 | | PB0: (pb0, 0, Input, afrl), [INFO] [stdout] 166 | | PB1: (pb1, 1, Input, afrl), [INFO] [stdout] 167 | | PB2: (pb2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 180 | | PB15: (pb15, 15, Input, afrh), [INFO] [stdout] 181 | | ]); [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:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | use hal::digital::{InputPin, OutputPin}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | / gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] 165 | | PB0: (pb0, 0, Input, afrl), [INFO] [stdout] 166 | | PB1: (pb1, 1, Input, afrl), [INFO] [stdout] 167 | | PB2: (pb2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 180 | | PB15: (pb15, 15, Input, afrh), [INFO] [stdout] 181 | | ]); [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::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:121:22 [INFO] [stdout] | [INFO] [stdout] 121 | impl InputPin for $PXi { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | / gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] 165 | | PB0: (pb0, 0, Input, afrl), [INFO] [stdout] 166 | | PB1: (pb1, 1, Input, afrl), [INFO] [stdout] 167 | | PB2: (pb2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 180 | | PB15: (pb15, 15, Input, afrh), [INFO] [stdout] 181 | | ]); [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:131:22 [INFO] [stdout] | [INFO] [stdout] 131 | impl OutputPin for $PXi { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | / gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] 165 | | PB0: (pb0, 0, Input, afrl), [INFO] [stdout] 166 | | PB1: (pb1, 1, Input, afrl), [INFO] [stdout] 167 | | PB2: (pb2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 180 | | PB15: (pb15, 15, Input, afrh), [INFO] [stdout] 181 | | ]); [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::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | use hal::digital::{InputPin, OutputPin}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | / gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] 184 | | PC13: (pc13, 13, Input, afrh), [INFO] [stdout] 185 | | PC14: (pc14, 14, Input, afrh), [INFO] [stdout] 186 | | PC15: (pc15, 15, Input, afrh), [INFO] [stdout] 187 | | ]); [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:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | use hal::digital::{InputPin, OutputPin}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | / gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] 184 | | PC13: (pc13, 13, Input, afrh), [INFO] [stdout] 185 | | PC14: (pc14, 14, Input, afrh), [INFO] [stdout] 186 | | PC15: (pc15, 15, Input, afrh), [INFO] [stdout] 187 | | ]); [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::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:121:22 [INFO] [stdout] | [INFO] [stdout] 121 | impl InputPin for $PXi { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | / gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] 184 | | PC13: (pc13, 13, Input, afrh), [INFO] [stdout] 185 | | PC14: (pc14, 14, Input, afrh), [INFO] [stdout] 186 | | PC15: (pc15, 15, Input, afrh), [INFO] [stdout] 187 | | ]); [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:131:22 [INFO] [stdout] | [INFO] [stdout] 131 | impl OutputPin for $PXi { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | / gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] 184 | | PC13: (pc13, 13, Input, afrh), [INFO] [stdout] 185 | | PC14: (pc14, 14, Input, afrh), [INFO] [stdout] 186 | | PC15: (pc15, 15, Input, afrh), [INFO] [stdout] 187 | | ]); [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 method `hal::digital::InputPin::is_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:123:31 [INFO] [stdout] | [INFO] [stdout] 123 | !self.is_low() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | / gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] 146 | | PA0: (pa0, 0, Input, afrl), [INFO] [stdout] 147 | | PA1: (pa1, 1, Input, afrl), [INFO] [stdout] 148 | | PA2: (pa2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 161 | | PA15: (pa15, 15, Input, afrh), [INFO] [stdout] 162 | | ]); [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 method `hal::digital::InputPin::is_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:123:31 [INFO] [stdout] | [INFO] [stdout] 123 | !self.is_low() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | / gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] 165 | | PB0: (pb0, 0, Input, afrl), [INFO] [stdout] 166 | | PB1: (pb1, 1, Input, afrl), [INFO] [stdout] 167 | | PB2: (pb2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 180 | | PB15: (pb15, 15, Input, afrh), [INFO] [stdout] 181 | | ]); [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 method `hal::digital::InputPin::is_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:123:31 [INFO] [stdout] | [INFO] [stdout] 123 | !self.is_low() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | / gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] 184 | | PC13: (pc13, 13, Input, afrh), [INFO] [stdout] 185 | | PC14: (pc14, 14, Input, afrh), [INFO] [stdout] 186 | | PC15: (pc15, 15, Input, afrh), [INFO] [stdout] 187 | | ]); [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: unused borrow that must be used [INFO] [stdout] --> src/gpio.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | / &(*$GPIOX::ptr()).moder.modify(|r, w| [INFO] [stdout] 56 | | w.bits((r.bits() & !(0b11 << offset)) | (input << offset)) [INFO] [stdout] 57 | | ); [INFO] [stdout] | |_____________________________^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 145 | / gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] 146 | | PA0: (pa0, 0, Input, afrl), [INFO] [stdout] 147 | | PA1: (pa1, 1, Input, afrl), [INFO] [stdout] 148 | | PA2: (pa2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 161 | | PA15: (pa15, 15, Input, afrh), [INFO] [stdout] 162 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) 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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 145 | let _ = gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/gpio.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | / &(*$GPIOX::ptr()).moder.modify(|r, w| [INFO] [stdout] 69 | | w.bits((r.bits() & !(0b11 << offset)) | (output << offset)) [INFO] [stdout] 70 | | ); [INFO] [stdout] | |_____________________________^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 145 | / gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] 146 | | PA0: (pa0, 0, Input, afrl), [INFO] [stdout] 147 | | PA1: (pa1, 1, Input, afrl), [INFO] [stdout] 148 | | PA2: (pa2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 161 | | PA15: (pa15, 15, Input, afrh), [INFO] [stdout] 162 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 145 | let _ = gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/gpio.rs:82:29 [INFO] [stdout] | [INFO] [stdout] 82 | / &(*$GPIOX::ptr()).moder.modify(|r, w| [INFO] [stdout] 83 | | w.bits((r.bits() & !(0b11 << offset)) | (alternate << offset)) [INFO] [stdout] 84 | | ); [INFO] [stdout] | |_____________________________^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 145 | / gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] 146 | | PA0: (pa0, 0, Input, afrl), [INFO] [stdout] 147 | | PA1: (pa1, 1, Input, afrl), [INFO] [stdout] 148 | | PA2: (pa2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 161 | | PA15: (pa15, 15, Input, afrh), [INFO] [stdout] 162 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 145 | let _ = gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/gpio.rs:86:29 [INFO] [stdout] | [INFO] [stdout] 86 | / &(*$GPIOX::ptr()).$afr.modify(|r, w| [INFO] [stdout] 87 | | w.bits((r.bits() & !(0b1111 << afr_offset)) | (u32::from(function & 0b1111) << afr_offset)) [INFO] [stdout] 88 | | ); [INFO] [stdout] | |_____________________________^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 145 | / gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] 146 | | PA0: (pa0, 0, Input, afrl), [INFO] [stdout] 147 | | PA1: (pa1, 1, Input, afrl), [INFO] [stdout] 148 | | PA2: (pa2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 161 | | PA15: (pa15, 15, Input, afrh), [INFO] [stdout] 162 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 145 | let _ = gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/gpio.rs:99:29 [INFO] [stdout] | [INFO] [stdout] 99 | / &(*$GPIOX::ptr()).pupdr.modify(|r, w| [INFO] [stdout] 100 | | w.bits((r.bits() & !(0b11 << offset)) | (pullup << offset)) [INFO] [stdout] 101 | | ); [INFO] [stdout] | |_____________________________^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 145 | / gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] 146 | | PA0: (pa0, 0, Input, afrl), [INFO] [stdout] 147 | | PA1: (pa1, 1, Input, afrl), [INFO] [stdout] 148 | | PA2: (pa2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 161 | | PA15: (pa15, 15, Input, afrh), [INFO] [stdout] 162 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 145 | let _ = gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/gpio.rs:112:29 [INFO] [stdout] | [INFO] [stdout] 112 | / &(*$GPIOX::ptr()).pupdr.modify(|r, w| [INFO] [stdout] 113 | | w.bits((r.bits() & !(0b11 << offset)) | (pulldown << offset)) [INFO] [stdout] 114 | | ); [INFO] [stdout] | |_____________________________^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 145 | / gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] 146 | | PA0: (pa0, 0, Input, afrl), [INFO] [stdout] 147 | | PA1: (pa1, 1, Input, afrl), [INFO] [stdout] 148 | | PA2: (pa2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 161 | | PA15: (pa15, 15, Input, afrh), [INFO] [stdout] 162 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 145 | let _ = gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/gpio.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | / &(*$GPIOX::ptr()).moder.modify(|r, w| [INFO] [stdout] 56 | | w.bits((r.bits() & !(0b11 << offset)) | (input << offset)) [INFO] [stdout] 57 | | ); [INFO] [stdout] | |_____________________________^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 164 | / gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] 165 | | PB0: (pb0, 0, Input, afrl), [INFO] [stdout] 166 | | PB1: (pb1, 1, Input, afrl), [INFO] [stdout] 167 | | PB2: (pb2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 180 | | PB15: (pb15, 15, Input, afrh), [INFO] [stdout] 181 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 164 | let _ = gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/gpio.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | / &(*$GPIOX::ptr()).moder.modify(|r, w| [INFO] [stdout] 69 | | w.bits((r.bits() & !(0b11 << offset)) | (output << offset)) [INFO] [stdout] 70 | | ); [INFO] [stdout] | |_____________________________^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 164 | / gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] 165 | | PB0: (pb0, 0, Input, afrl), [INFO] [stdout] 166 | | PB1: (pb1, 1, Input, afrl), [INFO] [stdout] 167 | | PB2: (pb2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 180 | | PB15: (pb15, 15, Input, afrh), [INFO] [stdout] 181 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 164 | let _ = gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/gpio.rs:82:29 [INFO] [stdout] | [INFO] [stdout] 82 | / &(*$GPIOX::ptr()).moder.modify(|r, w| [INFO] [stdout] 83 | | w.bits((r.bits() & !(0b11 << offset)) | (alternate << offset)) [INFO] [stdout] 84 | | ); [INFO] [stdout] | |_____________________________^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 164 | / gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] 165 | | PB0: (pb0, 0, Input, afrl), [INFO] [stdout] 166 | | PB1: (pb1, 1, Input, afrl), [INFO] [stdout] 167 | | PB2: (pb2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 180 | | PB15: (pb15, 15, Input, afrh), [INFO] [stdout] 181 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 164 | let _ = gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/gpio.rs:86:29 [INFO] [stdout] | [INFO] [stdout] 86 | / &(*$GPIOX::ptr()).$afr.modify(|r, w| [INFO] [stdout] 87 | | w.bits((r.bits() & !(0b1111 << afr_offset)) | (u32::from(function & 0b1111) << afr_offset)) [INFO] [stdout] 88 | | ); [INFO] [stdout] | |_____________________________^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 164 | / gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] 165 | | PB0: (pb0, 0, Input, afrl), [INFO] [stdout] 166 | | PB1: (pb1, 1, Input, afrl), [INFO] [stdout] 167 | | PB2: (pb2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 180 | | PB15: (pb15, 15, Input, afrh), [INFO] [stdout] 181 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 164 | let _ = gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/gpio.rs:99:29 [INFO] [stdout] | [INFO] [stdout] 99 | / &(*$GPIOX::ptr()).pupdr.modify(|r, w| [INFO] [stdout] 100 | | w.bits((r.bits() & !(0b11 << offset)) | (pullup << offset)) [INFO] [stdout] 101 | | ); [INFO] [stdout] | |_____________________________^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 164 | / gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] 165 | | PB0: (pb0, 0, Input, afrl), [INFO] [stdout] 166 | | PB1: (pb1, 1, Input, afrl), [INFO] [stdout] 167 | | PB2: (pb2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 180 | | PB15: (pb15, 15, Input, afrh), [INFO] [stdout] 181 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 164 | let _ = gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/gpio.rs:112:29 [INFO] [stdout] | [INFO] [stdout] 112 | / &(*$GPIOX::ptr()).pupdr.modify(|r, w| [INFO] [stdout] 113 | | w.bits((r.bits() & !(0b11 << offset)) | (pulldown << offset)) [INFO] [stdout] 114 | | ); [INFO] [stdout] | |_____________________________^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 164 | / gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] 165 | | PB0: (pb0, 0, Input, afrl), [INFO] [stdout] 166 | | PB1: (pb1, 1, Input, afrl), [INFO] [stdout] 167 | | PB2: (pb2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 180 | | PB15: (pb15, 15, Input, afrh), [INFO] [stdout] 181 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 164 | let _ = gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/gpio.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | / &(*$GPIOX::ptr()).moder.modify(|r, w| [INFO] [stdout] 56 | | w.bits((r.bits() & !(0b11 << offset)) | (input << offset)) [INFO] [stdout] 57 | | ); [INFO] [stdout] | |_____________________________^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 183 | / gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] 184 | | PC13: (pc13, 13, Input, afrh), [INFO] [stdout] 185 | | PC14: (pc14, 14, Input, afrh), [INFO] [stdout] 186 | | PC15: (pc15, 15, Input, afrh), [INFO] [stdout] 187 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 183 | let _ = gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/gpio.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | / &(*$GPIOX::ptr()).moder.modify(|r, w| [INFO] [stdout] 69 | | w.bits((r.bits() & !(0b11 << offset)) | (output << offset)) [INFO] [stdout] 70 | | ); [INFO] [stdout] | |_____________________________^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 183 | / gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] 184 | | PC13: (pc13, 13, Input, afrh), [INFO] [stdout] 185 | | PC14: (pc14, 14, Input, afrh), [INFO] [stdout] 186 | | PC15: (pc15, 15, Input, afrh), [INFO] [stdout] 187 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 183 | let _ = gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/gpio.rs:82:29 [INFO] [stdout] | [INFO] [stdout] 82 | / &(*$GPIOX::ptr()).moder.modify(|r, w| [INFO] [stdout] 83 | | w.bits((r.bits() & !(0b11 << offset)) | (alternate << offset)) [INFO] [stdout] 84 | | ); [INFO] [stdout] | |_____________________________^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 183 | / gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] 184 | | PC13: (pc13, 13, Input, afrh), [INFO] [stdout] 185 | | PC14: (pc14, 14, Input, afrh), [INFO] [stdout] 186 | | PC15: (pc15, 15, Input, afrh), [INFO] [stdout] 187 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 183 | let _ = gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/gpio.rs:86:29 [INFO] [stdout] | [INFO] [stdout] 86 | / &(*$GPIOX::ptr()).$afr.modify(|r, w| [INFO] [stdout] 87 | | w.bits((r.bits() & !(0b1111 << afr_offset)) | (u32::from(function & 0b1111) << afr_offset)) [INFO] [stdout] 88 | | ); [INFO] [stdout] | |_____________________________^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 183 | / gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] 184 | | PC13: (pc13, 13, Input, afrh), [INFO] [stdout] 185 | | PC14: (pc14, 14, Input, afrh), [INFO] [stdout] 186 | | PC15: (pc15, 15, Input, afrh), [INFO] [stdout] 187 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 183 | let _ = gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/gpio.rs:99:29 [INFO] [stdout] | [INFO] [stdout] 99 | / &(*$GPIOX::ptr()).pupdr.modify(|r, w| [INFO] [stdout] 100 | | w.bits((r.bits() & !(0b11 << offset)) | (pullup << offset)) [INFO] [stdout] 101 | | ); [INFO] [stdout] | |_____________________________^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 183 | / gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] 184 | | PC13: (pc13, 13, Input, afrh), [INFO] [stdout] 185 | | PC14: (pc14, 14, Input, afrh), [INFO] [stdout] 186 | | PC15: (pc15, 15, Input, afrh), [INFO] [stdout] 187 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 183 | let _ = gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/gpio.rs:112:29 [INFO] [stdout] | [INFO] [stdout] 112 | / &(*$GPIOX::ptr()).pupdr.modify(|r, w| [INFO] [stdout] 113 | | w.bits((r.bits() & !(0b11 << offset)) | (pulldown << offset)) [INFO] [stdout] 114 | | ); [INFO] [stdout] | |_____________________________^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 183 | / gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] 184 | | PC13: (pc13, 13, Input, afrh), [INFO] [stdout] 185 | | PC14: (pc14, 14, Input, afrh), [INFO] [stdout] 186 | | PC15: (pc15, 15, Input, afrh), [INFO] [stdout] 187 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 183 | let _ = gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.37s [INFO] running `Command { std: "docker" "inspect" "bd0b48e75d2bd2e0f7b68b75002e3cabf7c01e450b0780f343b385df64de050c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd0b48e75d2bd2e0f7b68b75002e3cabf7c01e450b0780f343b385df64de050c", kill_on_drop: false }` [INFO] [stdout] bd0b48e75d2bd2e0f7b68b75002e3cabf7c01e450b0780f343b385df64de050c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 79e23bb2093bcfcf72e3ad3022e5ebad8bef3f9574e826b946e2d5b286a450d2 [INFO] running `Command { std: "docker" "start" "-a" "79e23bb2093bcfcf72e3ad3022e5ebad8bef3f9574e826b946e2d5b286a450d2", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: use of deprecated trait `hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | use hal::digital::{InputPin, OutputPin}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | / gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] 146 | | PA0: (pa0, 0, Input, afrl), [INFO] [stdout] 147 | | PA1: (pa1, 1, Input, afrl), [INFO] [stdout] 148 | | PA2: (pa2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 161 | | PA15: (pa15, 15, Input, afrh), [INFO] [stdout] 162 | | ]); [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 `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | use hal::digital::{InputPin, OutputPin}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | / gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] 146 | | PA0: (pa0, 0, Input, afrl), [INFO] [stdout] 147 | | PA1: (pa1, 1, Input, afrl), [INFO] [stdout] 148 | | PA2: (pa2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 161 | | PA15: (pa15, 15, Input, afrh), [INFO] [stdout] 162 | | ]); [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::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:121:22 [INFO] [stdout] | [INFO] [stdout] 121 | impl InputPin for $PXi { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | / gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] 146 | | PA0: (pa0, 0, Input, afrl), [INFO] [stdout] 147 | | PA1: (pa1, 1, Input, afrl), [INFO] [stdout] 148 | | PA2: (pa2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 161 | | PA15: (pa15, 15, Input, afrh), [INFO] [stdout] 162 | | ]); [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:131:22 [INFO] [stdout] | [INFO] [stdout] 131 | impl OutputPin for $PXi { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | / gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] 146 | | PA0: (pa0, 0, Input, afrl), [INFO] [stdout] 147 | | PA1: (pa1, 1, Input, afrl), [INFO] [stdout] 148 | | PA2: (pa2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 161 | | PA15: (pa15, 15, Input, afrh), [INFO] [stdout] 162 | | ]); [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::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | use hal::digital::{InputPin, OutputPin}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | / gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] 165 | | PB0: (pb0, 0, Input, afrl), [INFO] [stdout] 166 | | PB1: (pb1, 1, Input, afrl), [INFO] [stdout] 167 | | PB2: (pb2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 180 | | PB15: (pb15, 15, Input, afrh), [INFO] [stdout] 181 | | ]); [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:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | use hal::digital::{InputPin, OutputPin}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | / gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] 165 | | PB0: (pb0, 0, Input, afrl), [INFO] [stdout] 166 | | PB1: (pb1, 1, Input, afrl), [INFO] [stdout] 167 | | PB2: (pb2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 180 | | PB15: (pb15, 15, Input, afrh), [INFO] [stdout] 181 | | ]); [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::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:121:22 [INFO] [stdout] | [INFO] [stdout] 121 | impl InputPin for $PXi { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | / gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] 165 | | PB0: (pb0, 0, Input, afrl), [INFO] [stdout] 166 | | PB1: (pb1, 1, Input, afrl), [INFO] [stdout] 167 | | PB2: (pb2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 180 | | PB15: (pb15, 15, Input, afrh), [INFO] [stdout] 181 | | ]); [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:131:22 [INFO] [stdout] | [INFO] [stdout] 131 | impl OutputPin for $PXi { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | / gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] 165 | | PB0: (pb0, 0, Input, afrl), [INFO] [stdout] 166 | | PB1: (pb1, 1, Input, afrl), [INFO] [stdout] 167 | | PB2: (pb2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 180 | | PB15: (pb15, 15, Input, afrh), [INFO] [stdout] 181 | | ]); [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::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | use hal::digital::{InputPin, OutputPin}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | / gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] 184 | | PC13: (pc13, 13, Input, afrh), [INFO] [stdout] 185 | | PC14: (pc14, 14, Input, afrh), [INFO] [stdout] 186 | | PC15: (pc15, 15, Input, afrh), [INFO] [stdout] 187 | | ]); [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:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | use hal::digital::{InputPin, OutputPin}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | / gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] 184 | | PC13: (pc13, 13, Input, afrh), [INFO] [stdout] 185 | | PC14: (pc14, 14, Input, afrh), [INFO] [stdout] 186 | | PC15: (pc15, 15, Input, afrh), [INFO] [stdout] 187 | | ]); [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::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:121:22 [INFO] [stdout] | [INFO] [stdout] 121 | impl InputPin for $PXi { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | / gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] 184 | | PC13: (pc13, 13, Input, afrh), [INFO] [stdout] 185 | | PC14: (pc14, 14, Input, afrh), [INFO] [stdout] 186 | | PC15: (pc15, 15, Input, afrh), [INFO] [stdout] 187 | | ]); [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:131:22 [INFO] [stdout] | [INFO] [stdout] 131 | impl OutputPin for $PXi { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | / gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] 184 | | PC13: (pc13, 13, Input, afrh), [INFO] [stdout] 185 | | PC14: (pc14, 14, Input, afrh), [INFO] [stdout] 186 | | PC15: (pc15, 15, Input, afrh), [INFO] [stdout] 187 | | ]); [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 method `hal::digital::InputPin::is_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:123:31 [INFO] [stdout] | [INFO] [stdout] 123 | !self.is_low() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | / gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] 146 | | PA0: (pa0, 0, Input, afrl), [INFO] [stdout] 147 | | PA1: (pa1, 1, Input, afrl), [INFO] [stdout] 148 | | PA2: (pa2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 161 | | PA15: (pa15, 15, Input, afrh), [INFO] [stdout] 162 | | ]); [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 method `hal::digital::InputPin::is_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:123:31 [INFO] [stdout] | [INFO] [stdout] 123 | !self.is_low() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | / gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] 165 | | PB0: (pb0, 0, Input, afrl), [INFO] [stdout] 166 | | PB1: (pb1, 1, Input, afrl), [INFO] [stdout] 167 | | PB2: (pb2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 180 | | PB15: (pb15, 15, Input, afrh), [INFO] [stdout] 181 | | ]); [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 method `hal::digital::InputPin::is_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:123:31 [INFO] [stdout] | [INFO] [stdout] 123 | !self.is_low() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | / gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] 184 | | PC13: (pc13, 13, Input, afrh), [INFO] [stdout] 185 | | PC14: (pc14, 14, Input, afrh), [INFO] [stdout] 186 | | PC15: (pc15, 15, Input, afrh), [INFO] [stdout] 187 | | ]); [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: unused borrow that must be used [INFO] [stdout] --> src/gpio.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | / &(*$GPIOX::ptr()).moder.modify(|r, w| [INFO] [stdout] 56 | | w.bits((r.bits() & !(0b11 << offset)) | (input << offset)) [INFO] [stdout] 57 | | ); [INFO] [stdout] | |_____________________________^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 145 | / gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] 146 | | PA0: (pa0, 0, Input, afrl), [INFO] [stdout] 147 | | PA1: (pa1, 1, Input, afrl), [INFO] [stdout] 148 | | PA2: (pa2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 161 | | PA15: (pa15, 15, Input, afrh), [INFO] [stdout] 162 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) 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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 145 | let _ = gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/gpio.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | / &(*$GPIOX::ptr()).moder.modify(|r, w| [INFO] [stdout] 69 | | w.bits((r.bits() & !(0b11 << offset)) | (output << offset)) [INFO] [stdout] 70 | | ); [INFO] [stdout] | |_____________________________^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 145 | / gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] 146 | | PA0: (pa0, 0, Input, afrl), [INFO] [stdout] 147 | | PA1: (pa1, 1, Input, afrl), [INFO] [stdout] 148 | | PA2: (pa2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 161 | | PA15: (pa15, 15, Input, afrh), [INFO] [stdout] 162 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 145 | let _ = gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/gpio.rs:82:29 [INFO] [stdout] | [INFO] [stdout] 82 | / &(*$GPIOX::ptr()).moder.modify(|r, w| [INFO] [stdout] 83 | | w.bits((r.bits() & !(0b11 << offset)) | (alternate << offset)) [INFO] [stdout] 84 | | ); [INFO] [stdout] | |_____________________________^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 145 | / gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] 146 | | PA0: (pa0, 0, Input, afrl), [INFO] [stdout] 147 | | PA1: (pa1, 1, Input, afrl), [INFO] [stdout] 148 | | PA2: (pa2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 161 | | PA15: (pa15, 15, Input, afrh), [INFO] [stdout] 162 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 145 | let _ = gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/gpio.rs:86:29 [INFO] [stdout] | [INFO] [stdout] 86 | / &(*$GPIOX::ptr()).$afr.modify(|r, w| [INFO] [stdout] 87 | | w.bits((r.bits() & !(0b1111 << afr_offset)) | (u32::from(function & 0b1111) << afr_offset)) [INFO] [stdout] 88 | | ); [INFO] [stdout] | |_____________________________^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 145 | / gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] 146 | | PA0: (pa0, 0, Input, afrl), [INFO] [stdout] 147 | | PA1: (pa1, 1, Input, afrl), [INFO] [stdout] 148 | | PA2: (pa2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 161 | | PA15: (pa15, 15, Input, afrh), [INFO] [stdout] 162 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 145 | let _ = gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/gpio.rs:99:29 [INFO] [stdout] | [INFO] [stdout] 99 | / &(*$GPIOX::ptr()).pupdr.modify(|r, w| [INFO] [stdout] 100 | | w.bits((r.bits() & !(0b11 << offset)) | (pullup << offset)) [INFO] [stdout] 101 | | ); [INFO] [stdout] | |_____________________________^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 145 | / gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] 146 | | PA0: (pa0, 0, Input, afrl), [INFO] [stdout] 147 | | PA1: (pa1, 1, Input, afrl), [INFO] [stdout] 148 | | PA2: (pa2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 161 | | PA15: (pa15, 15, Input, afrh), [INFO] [stdout] 162 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 145 | let _ = gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/gpio.rs:112:29 [INFO] [stdout] | [INFO] [stdout] 112 | / &(*$GPIOX::ptr()).pupdr.modify(|r, w| [INFO] [stdout] 113 | | w.bits((r.bits() & !(0b11 << offset)) | (pulldown << offset)) [INFO] [stdout] 114 | | ); [INFO] [stdout] | |_____________________________^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 145 | / gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] 146 | | PA0: (pa0, 0, Input, afrl), [INFO] [stdout] 147 | | PA1: (pa1, 1, Input, afrl), [INFO] [stdout] 148 | | PA2: (pa2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 161 | | PA15: (pa15, 15, Input, afrh), [INFO] [stdout] 162 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 145 | let _ = gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/gpio.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | / &(*$GPIOX::ptr()).moder.modify(|r, w| [INFO] [stdout] 56 | | w.bits((r.bits() & !(0b11 << offset)) | (input << offset)) [INFO] [stdout] 57 | | ); [INFO] [stdout] | |_____________________________^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 164 | / gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] 165 | | PB0: (pb0, 0, Input, afrl), [INFO] [stdout] 166 | | PB1: (pb1, 1, Input, afrl), [INFO] [stdout] 167 | | PB2: (pb2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 180 | | PB15: (pb15, 15, Input, afrh), [INFO] [stdout] 181 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 164 | let _ = gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/gpio.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | / &(*$GPIOX::ptr()).moder.modify(|r, w| [INFO] [stdout] 69 | | w.bits((r.bits() & !(0b11 << offset)) | (output << offset)) [INFO] [stdout] 70 | | ); [INFO] [stdout] | |_____________________________^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 164 | / gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] 165 | | PB0: (pb0, 0, Input, afrl), [INFO] [stdout] 166 | | PB1: (pb1, 1, Input, afrl), [INFO] [stdout] 167 | | PB2: (pb2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 180 | | PB15: (pb15, 15, Input, afrh), [INFO] [stdout] 181 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 164 | let _ = gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/gpio.rs:82:29 [INFO] [stdout] | [INFO] [stdout] 82 | / &(*$GPIOX::ptr()).moder.modify(|r, w| [INFO] [stdout] 83 | | w.bits((r.bits() & !(0b11 << offset)) | (alternate << offset)) [INFO] [stdout] 84 | | ); [INFO] [stdout] | |_____________________________^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 164 | / gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] 165 | | PB0: (pb0, 0, Input, afrl), [INFO] [stdout] 166 | | PB1: (pb1, 1, Input, afrl), [INFO] [stdout] 167 | | PB2: (pb2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 180 | | PB15: (pb15, 15, Input, afrh), [INFO] [stdout] 181 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 164 | let _ = gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/gpio.rs:86:29 [INFO] [stdout] | [INFO] [stdout] 86 | / &(*$GPIOX::ptr()).$afr.modify(|r, w| [INFO] [stdout] 87 | | w.bits((r.bits() & !(0b1111 << afr_offset)) | (u32::from(function & 0b1111) << afr_offset)) [INFO] [stdout] 88 | | ); [INFO] [stdout] | |_____________________________^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 164 | / gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] 165 | | PB0: (pb0, 0, Input, afrl), [INFO] [stdout] 166 | | PB1: (pb1, 1, Input, afrl), [INFO] [stdout] 167 | | PB2: (pb2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 180 | | PB15: (pb15, 15, Input, afrh), [INFO] [stdout] 181 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 164 | let _ = gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/gpio.rs:99:29 [INFO] [stdout] | [INFO] [stdout] 99 | / &(*$GPIOX::ptr()).pupdr.modify(|r, w| [INFO] [stdout] 100 | | w.bits((r.bits() & !(0b11 << offset)) | (pullup << offset)) [INFO] [stdout] 101 | | ); [INFO] [stdout] | |_____________________________^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 164 | / gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] 165 | | PB0: (pb0, 0, Input, afrl), [INFO] [stdout] 166 | | PB1: (pb1, 1, Input, afrl), [INFO] [stdout] 167 | | PB2: (pb2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 180 | | PB15: (pb15, 15, Input, afrh), [INFO] [stdout] 181 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 164 | let _ = gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/gpio.rs:112:29 [INFO] [stdout] | [INFO] [stdout] 112 | / &(*$GPIOX::ptr()).pupdr.modify(|r, w| [INFO] [stdout] 113 | | w.bits((r.bits() & !(0b11 << offset)) | (pulldown << offset)) [INFO] [stdout] 114 | | ); [INFO] [stdout] | |_____________________________^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 164 | / gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] 165 | | PB0: (pb0, 0, Input, afrl), [INFO] [stdout] 166 | | PB1: (pb1, 1, Input, afrl), [INFO] [stdout] 167 | | PB2: (pb2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 180 | | PB15: (pb15, 15, Input, afrh), [INFO] [stdout] 181 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 164 | let _ = gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/gpio.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | / &(*$GPIOX::ptr()).moder.modify(|r, w| [INFO] [stdout] 56 | | w.bits((r.bits() & !(0b11 << offset)) | (input << offset)) [INFO] [stdout] 57 | | ); [INFO] [stdout] | |_____________________________^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 183 | / gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] 184 | | PC13: (pc13, 13, Input, afrh), [INFO] [stdout] 185 | | PC14: (pc14, 14, Input, afrh), [INFO] [stdout] 186 | | PC15: (pc15, 15, Input, afrh), [INFO] [stdout] 187 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 183 | let _ = gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/gpio.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | / &(*$GPIOX::ptr()).moder.modify(|r, w| [INFO] [stdout] 69 | | w.bits((r.bits() & !(0b11 << offset)) | (output << offset)) [INFO] [stdout] 70 | | ); [INFO] [stdout] | |_____________________________^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 183 | / gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] 184 | | PC13: (pc13, 13, Input, afrh), [INFO] [stdout] 185 | | PC14: (pc14, 14, Input, afrh), [INFO] [stdout] 186 | | PC15: (pc15, 15, Input, afrh), [INFO] [stdout] 187 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 183 | let _ = gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/gpio.rs:82:29 [INFO] [stdout] | [INFO] [stdout] 82 | / &(*$GPIOX::ptr()).moder.modify(|r, w| [INFO] [stdout] 83 | | w.bits((r.bits() & !(0b11 << offset)) | (alternate << offset)) [INFO] [stdout] 84 | | ); [INFO] [stdout] | |_____________________________^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 183 | / gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] 184 | | PC13: (pc13, 13, Input, afrh), [INFO] [stdout] 185 | | PC14: (pc14, 14, Input, afrh), [INFO] [stdout] 186 | | PC15: (pc15, 15, Input, afrh), [INFO] [stdout] 187 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 183 | let _ = gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/gpio.rs:86:29 [INFO] [stdout] | [INFO] [stdout] 86 | / &(*$GPIOX::ptr()).$afr.modify(|r, w| [INFO] [stdout] 87 | | w.bits((r.bits() & !(0b1111 << afr_offset)) | (u32::from(function & 0b1111) << afr_offset)) [INFO] [stdout] 88 | | ); [INFO] [stdout] | |_____________________________^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 183 | / gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] 184 | | PC13: (pc13, 13, Input, afrh), [INFO] [stdout] 185 | | PC14: (pc14, 14, Input, afrh), [INFO] [stdout] 186 | | PC15: (pc15, 15, Input, afrh), [INFO] [stdout] 187 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 183 | let _ = gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/gpio.rs:99:29 [INFO] [stdout] | [INFO] [stdout] 99 | / &(*$GPIOX::ptr()).pupdr.modify(|r, w| [INFO] [stdout] 100 | | w.bits((r.bits() & !(0b11 << offset)) | (pullup << offset)) [INFO] [stdout] 101 | | ); [INFO] [stdout] | |_____________________________^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 183 | / gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] 184 | | PC13: (pc13, 13, Input, afrh), [INFO] [stdout] 185 | | PC14: (pc14, 14, Input, afrh), [INFO] [stdout] 186 | | PC15: (pc15, 15, Input, afrh), [INFO] [stdout] 187 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 183 | let _ = gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/gpio.rs:112:29 [INFO] [stdout] | [INFO] [stdout] 112 | / &(*$GPIOX::ptr()).pupdr.modify(|r, w| [INFO] [stdout] 113 | | w.bits((r.bits() & !(0b11 << offset)) | (pulldown << offset)) [INFO] [stdout] 114 | | ); [INFO] [stdout] | |_____________________________^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 183 | / gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] 184 | | PC13: (pc13, 13, Input, afrh), [INFO] [stdout] 185 | | PC14: (pc14, 14, Input, afrh), [INFO] [stdout] 186 | | PC15: (pc15, 15, Input, afrh), [INFO] [stdout] 187 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 183 | let _ = gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling stm32l151-hal v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated trait `hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | use hal::digital::{InputPin, OutputPin}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | / gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] 146 | | PA0: (pa0, 0, Input, afrl), [INFO] [stdout] 147 | | PA1: (pa1, 1, Input, afrl), [INFO] [stdout] 148 | | PA2: (pa2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 161 | | PA15: (pa15, 15, Input, afrh), [INFO] [stdout] 162 | | ]); [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 `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | use hal::digital::{InputPin, OutputPin}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | / gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] 146 | | PA0: (pa0, 0, Input, afrl), [INFO] [stdout] 147 | | PA1: (pa1, 1, Input, afrl), [INFO] [stdout] 148 | | PA2: (pa2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 161 | | PA15: (pa15, 15, Input, afrh), [INFO] [stdout] 162 | | ]); [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::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:121:22 [INFO] [stdout] | [INFO] [stdout] 121 | impl InputPin for $PXi { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | / gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] 146 | | PA0: (pa0, 0, Input, afrl), [INFO] [stdout] 147 | | PA1: (pa1, 1, Input, afrl), [INFO] [stdout] 148 | | PA2: (pa2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 161 | | PA15: (pa15, 15, Input, afrh), [INFO] [stdout] 162 | | ]); [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:131:22 [INFO] [stdout] | [INFO] [stdout] 131 | impl OutputPin for $PXi { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | / gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] 146 | | PA0: (pa0, 0, Input, afrl), [INFO] [stdout] 147 | | PA1: (pa1, 1, Input, afrl), [INFO] [stdout] 148 | | PA2: (pa2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 161 | | PA15: (pa15, 15, Input, afrh), [INFO] [stdout] 162 | | ]); [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::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | use hal::digital::{InputPin, OutputPin}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | / gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] 165 | | PB0: (pb0, 0, Input, afrl), [INFO] [stdout] 166 | | PB1: (pb1, 1, Input, afrl), [INFO] [stdout] 167 | | PB2: (pb2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 180 | | PB15: (pb15, 15, Input, afrh), [INFO] [stdout] 181 | | ]); [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:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | use hal::digital::{InputPin, OutputPin}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | / gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] 165 | | PB0: (pb0, 0, Input, afrl), [INFO] [stdout] 166 | | PB1: (pb1, 1, Input, afrl), [INFO] [stdout] 167 | | PB2: (pb2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 180 | | PB15: (pb15, 15, Input, afrh), [INFO] [stdout] 181 | | ]); [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::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:121:22 [INFO] [stdout] | [INFO] [stdout] 121 | impl InputPin for $PXi { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | / gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] 165 | | PB0: (pb0, 0, Input, afrl), [INFO] [stdout] 166 | | PB1: (pb1, 1, Input, afrl), [INFO] [stdout] 167 | | PB2: (pb2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 180 | | PB15: (pb15, 15, Input, afrh), [INFO] [stdout] 181 | | ]); [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:131:22 [INFO] [stdout] | [INFO] [stdout] 131 | impl OutputPin for $PXi { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | / gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] 165 | | PB0: (pb0, 0, Input, afrl), [INFO] [stdout] 166 | | PB1: (pb1, 1, Input, afrl), [INFO] [stdout] 167 | | PB2: (pb2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 180 | | PB15: (pb15, 15, Input, afrh), [INFO] [stdout] 181 | | ]); [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::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | use hal::digital::{InputPin, OutputPin}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | / gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] 184 | | PC13: (pc13, 13, Input, afrh), [INFO] [stdout] 185 | | PC14: (pc14, 14, Input, afrh), [INFO] [stdout] 186 | | PC15: (pc15, 15, Input, afrh), [INFO] [stdout] 187 | | ]); [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:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | use hal::digital::{InputPin, OutputPin}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | / gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] 184 | | PC13: (pc13, 13, Input, afrh), [INFO] [stdout] 185 | | PC14: (pc14, 14, Input, afrh), [INFO] [stdout] 186 | | PC15: (pc15, 15, Input, afrh), [INFO] [stdout] 187 | | ]); [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::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:121:22 [INFO] [stdout] | [INFO] [stdout] 121 | impl InputPin for $PXi { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | / gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] 184 | | PC13: (pc13, 13, Input, afrh), [INFO] [stdout] 185 | | PC14: (pc14, 14, Input, afrh), [INFO] [stdout] 186 | | PC15: (pc15, 15, Input, afrh), [INFO] [stdout] 187 | | ]); [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:131:22 [INFO] [stdout] | [INFO] [stdout] 131 | impl OutputPin for $PXi { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | / gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] 184 | | PC13: (pc13, 13, Input, afrh), [INFO] [stdout] 185 | | PC14: (pc14, 14, Input, afrh), [INFO] [stdout] 186 | | PC15: (pc15, 15, Input, afrh), [INFO] [stdout] 187 | | ]); [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 method `hal::digital::InputPin::is_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:123:31 [INFO] [stdout] | [INFO] [stdout] 123 | !self.is_low() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | / gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] 146 | | PA0: (pa0, 0, Input, afrl), [INFO] [stdout] 147 | | PA1: (pa1, 1, Input, afrl), [INFO] [stdout] 148 | | PA2: (pa2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 161 | | PA15: (pa15, 15, Input, afrh), [INFO] [stdout] 162 | | ]); [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 method `hal::digital::InputPin::is_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:123:31 [INFO] [stdout] | [INFO] [stdout] 123 | !self.is_low() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | / gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] 165 | | PB0: (pb0, 0, Input, afrl), [INFO] [stdout] 166 | | PB1: (pb1, 1, Input, afrl), [INFO] [stdout] 167 | | PB2: (pb2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 180 | | PB15: (pb15, 15, Input, afrh), [INFO] [stdout] 181 | | ]); [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 method `hal::digital::InputPin::is_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:123:31 [INFO] [stdout] | [INFO] [stdout] 123 | !self.is_low() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | / gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] 184 | | PC13: (pc13, 13, Input, afrh), [INFO] [stdout] 185 | | PC14: (pc14, 14, Input, afrh), [INFO] [stdout] 186 | | PC15: (pc15, 15, Input, afrh), [INFO] [stdout] 187 | | ]); [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: unused borrow that must be used [INFO] [stdout] --> src/gpio.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | / &(*$GPIOX::ptr()).moder.modify(|r, w| [INFO] [stdout] 56 | | w.bits((r.bits() & !(0b11 << offset)) | (input << offset)) [INFO] [stdout] 57 | | ); [INFO] [stdout] | |_____________________________^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 145 | / gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] 146 | | PA0: (pa0, 0, Input, afrl), [INFO] [stdout] 147 | | PA1: (pa1, 1, Input, afrl), [INFO] [stdout] 148 | | PA2: (pa2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 161 | | PA15: (pa15, 15, Input, afrh), [INFO] [stdout] 162 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) 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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 145 | let _ = gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/gpio.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | / &(*$GPIOX::ptr()).moder.modify(|r, w| [INFO] [stdout] 69 | | w.bits((r.bits() & !(0b11 << offset)) | (output << offset)) [INFO] [stdout] 70 | | ); [INFO] [stdout] | |_____________________________^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 145 | / gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] 146 | | PA0: (pa0, 0, Input, afrl), [INFO] [stdout] 147 | | PA1: (pa1, 1, Input, afrl), [INFO] [stdout] 148 | | PA2: (pa2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 161 | | PA15: (pa15, 15, Input, afrh), [INFO] [stdout] 162 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 145 | let _ = gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/gpio.rs:82:29 [INFO] [stdout] | [INFO] [stdout] 82 | / &(*$GPIOX::ptr()).moder.modify(|r, w| [INFO] [stdout] 83 | | w.bits((r.bits() & !(0b11 << offset)) | (alternate << offset)) [INFO] [stdout] 84 | | ); [INFO] [stdout] | |_____________________________^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 145 | / gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] 146 | | PA0: (pa0, 0, Input, afrl), [INFO] [stdout] 147 | | PA1: (pa1, 1, Input, afrl), [INFO] [stdout] 148 | | PA2: (pa2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 161 | | PA15: (pa15, 15, Input, afrh), [INFO] [stdout] 162 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 145 | let _ = gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/gpio.rs:86:29 [INFO] [stdout] | [INFO] [stdout] 86 | / &(*$GPIOX::ptr()).$afr.modify(|r, w| [INFO] [stdout] 87 | | w.bits((r.bits() & !(0b1111 << afr_offset)) | (u32::from(function & 0b1111) << afr_offset)) [INFO] [stdout] 88 | | ); [INFO] [stdout] | |_____________________________^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 145 | / gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] 146 | | PA0: (pa0, 0, Input, afrl), [INFO] [stdout] 147 | | PA1: (pa1, 1, Input, afrl), [INFO] [stdout] 148 | | PA2: (pa2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 161 | | PA15: (pa15, 15, Input, afrh), [INFO] [stdout] 162 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 145 | let _ = gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/gpio.rs:99:29 [INFO] [stdout] | [INFO] [stdout] 99 | / &(*$GPIOX::ptr()).pupdr.modify(|r, w| [INFO] [stdout] 100 | | w.bits((r.bits() & !(0b11 << offset)) | (pullup << offset)) [INFO] [stdout] 101 | | ); [INFO] [stdout] | |_____________________________^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 145 | / gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] 146 | | PA0: (pa0, 0, Input, afrl), [INFO] [stdout] 147 | | PA1: (pa1, 1, Input, afrl), [INFO] [stdout] 148 | | PA2: (pa2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 161 | | PA15: (pa15, 15, Input, afrh), [INFO] [stdout] 162 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 145 | let _ = gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/gpio.rs:112:29 [INFO] [stdout] | [INFO] [stdout] 112 | / &(*$GPIOX::ptr()).pupdr.modify(|r, w| [INFO] [stdout] 113 | | w.bits((r.bits() & !(0b11 << offset)) | (pulldown << offset)) [INFO] [stdout] 114 | | ); [INFO] [stdout] | |_____________________________^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 145 | / gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] 146 | | PA0: (pa0, 0, Input, afrl), [INFO] [stdout] 147 | | PA1: (pa1, 1, Input, afrl), [INFO] [stdout] 148 | | PA2: (pa2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 161 | | PA15: (pa15, 15, Input, afrh), [INFO] [stdout] 162 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 145 | let _ = gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/gpio.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | / &(*$GPIOX::ptr()).moder.modify(|r, w| [INFO] [stdout] 56 | | w.bits((r.bits() & !(0b11 << offset)) | (input << offset)) [INFO] [stdout] 57 | | ); [INFO] [stdout] | |_____________________________^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 164 | / gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] 165 | | PB0: (pb0, 0, Input, afrl), [INFO] [stdout] 166 | | PB1: (pb1, 1, Input, afrl), [INFO] [stdout] 167 | | PB2: (pb2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 180 | | PB15: (pb15, 15, Input, afrh), [INFO] [stdout] 181 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 164 | let _ = gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/gpio.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | / &(*$GPIOX::ptr()).moder.modify(|r, w| [INFO] [stdout] 69 | | w.bits((r.bits() & !(0b11 << offset)) | (output << offset)) [INFO] [stdout] 70 | | ); [INFO] [stdout] | |_____________________________^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 164 | / gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] 165 | | PB0: (pb0, 0, Input, afrl), [INFO] [stdout] 166 | | PB1: (pb1, 1, Input, afrl), [INFO] [stdout] 167 | | PB2: (pb2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 180 | | PB15: (pb15, 15, Input, afrh), [INFO] [stdout] 181 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 164 | let _ = gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/gpio.rs:82:29 [INFO] [stdout] | [INFO] [stdout] 82 | / &(*$GPIOX::ptr()).moder.modify(|r, w| [INFO] [stdout] 83 | | w.bits((r.bits() & !(0b11 << offset)) | (alternate << offset)) [INFO] [stdout] 84 | | ); [INFO] [stdout] | |_____________________________^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 164 | / gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] 165 | | PB0: (pb0, 0, Input, afrl), [INFO] [stdout] 166 | | PB1: (pb1, 1, Input, afrl), [INFO] [stdout] 167 | | PB2: (pb2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 180 | | PB15: (pb15, 15, Input, afrh), [INFO] [stdout] 181 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 164 | let _ = gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/gpio.rs:86:29 [INFO] [stdout] | [INFO] [stdout] 86 | / &(*$GPIOX::ptr()).$afr.modify(|r, w| [INFO] [stdout] 87 | | w.bits((r.bits() & !(0b1111 << afr_offset)) | (u32::from(function & 0b1111) << afr_offset)) [INFO] [stdout] 88 | | ); [INFO] [stdout] | |_____________________________^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 164 | / gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] 165 | | PB0: (pb0, 0, Input, afrl), [INFO] [stdout] 166 | | PB1: (pb1, 1, Input, afrl), [INFO] [stdout] 167 | | PB2: (pb2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 180 | | PB15: (pb15, 15, Input, afrh), [INFO] [stdout] 181 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 164 | let _ = gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/gpio.rs:99:29 [INFO] [stdout] | [INFO] [stdout] 99 | / &(*$GPIOX::ptr()).pupdr.modify(|r, w| [INFO] [stdout] 100 | | w.bits((r.bits() & !(0b11 << offset)) | (pullup << offset)) [INFO] [stdout] 101 | | ); [INFO] [stdout] | |_____________________________^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 164 | / gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] 165 | | PB0: (pb0, 0, Input, afrl), [INFO] [stdout] 166 | | PB1: (pb1, 1, Input, afrl), [INFO] [stdout] 167 | | PB2: (pb2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 180 | | PB15: (pb15, 15, Input, afrh), [INFO] [stdout] 181 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 164 | let _ = gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/gpio.rs:112:29 [INFO] [stdout] | [INFO] [stdout] 112 | / &(*$GPIOX::ptr()).pupdr.modify(|r, w| [INFO] [stdout] 113 | | w.bits((r.bits() & !(0b11 << offset)) | (pulldown << offset)) [INFO] [stdout] 114 | | ); [INFO] [stdout] | |_____________________________^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 164 | / gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] 165 | | PB0: (pb0, 0, Input, afrl), [INFO] [stdout] 166 | | PB1: (pb1, 1, Input, afrl), [INFO] [stdout] 167 | | PB2: (pb2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 180 | | PB15: (pb15, 15, Input, afrh), [INFO] [stdout] 181 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 164 | let _ = gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/gpio.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | / &(*$GPIOX::ptr()).moder.modify(|r, w| [INFO] [stdout] 56 | | w.bits((r.bits() & !(0b11 << offset)) | (input << offset)) [INFO] [stdout] 57 | | ); [INFO] [stdout] | |_____________________________^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 183 | / gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] 184 | | PC13: (pc13, 13, Input, afrh), [INFO] [stdout] 185 | | PC14: (pc14, 14, Input, afrh), [INFO] [stdout] 186 | | PC15: (pc15, 15, Input, afrh), [INFO] [stdout] 187 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 183 | let _ = gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/gpio.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | / &(*$GPIOX::ptr()).moder.modify(|r, w| [INFO] [stdout] 69 | | w.bits((r.bits() & !(0b11 << offset)) | (output << offset)) [INFO] [stdout] 70 | | ); [INFO] [stdout] | |_____________________________^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 183 | / gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] 184 | | PC13: (pc13, 13, Input, afrh), [INFO] [stdout] 185 | | PC14: (pc14, 14, Input, afrh), [INFO] [stdout] 186 | | PC15: (pc15, 15, Input, afrh), [INFO] [stdout] 187 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 183 | let _ = gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/gpio.rs:82:29 [INFO] [stdout] | [INFO] [stdout] 82 | / &(*$GPIOX::ptr()).moder.modify(|r, w| [INFO] [stdout] 83 | | w.bits((r.bits() & !(0b11 << offset)) | (alternate << offset)) [INFO] [stdout] 84 | | ); [INFO] [stdout] | |_____________________________^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 183 | / gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] 184 | | PC13: (pc13, 13, Input, afrh), [INFO] [stdout] 185 | | PC14: (pc14, 14, Input, afrh), [INFO] [stdout] 186 | | PC15: (pc15, 15, Input, afrh), [INFO] [stdout] 187 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 183 | let _ = gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/gpio.rs:86:29 [INFO] [stdout] | [INFO] [stdout] 86 | / &(*$GPIOX::ptr()).$afr.modify(|r, w| [INFO] [stdout] 87 | | w.bits((r.bits() & !(0b1111 << afr_offset)) | (u32::from(function & 0b1111) << afr_offset)) [INFO] [stdout] 88 | | ); [INFO] [stdout] | |_____________________________^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 183 | / gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] 184 | | PC13: (pc13, 13, Input, afrh), [INFO] [stdout] 185 | | PC14: (pc14, 14, Input, afrh), [INFO] [stdout] 186 | | PC15: (pc15, 15, Input, afrh), [INFO] [stdout] 187 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 183 | let _ = gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/gpio.rs:99:29 [INFO] [stdout] | [INFO] [stdout] 99 | / &(*$GPIOX::ptr()).pupdr.modify(|r, w| [INFO] [stdout] 100 | | w.bits((r.bits() & !(0b11 << offset)) | (pullup << offset)) [INFO] [stdout] 101 | | ); [INFO] [stdout] | |_____________________________^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 183 | / gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] 184 | | PC13: (pc13, 13, Input, afrh), [INFO] [stdout] 185 | | PC14: (pc14, 14, Input, afrh), [INFO] [stdout] 186 | | PC15: (pc15, 15, Input, afrh), [INFO] [stdout] 187 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 183 | let _ = gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/gpio.rs:112:29 [INFO] [stdout] | [INFO] [stdout] 112 | / &(*$GPIOX::ptr()).pupdr.modify(|r, w| [INFO] [stdout] 113 | | w.bits((r.bits() & !(0b11 << offset)) | (pulldown << offset)) [INFO] [stdout] 114 | | ); [INFO] [stdout] | |_____________________________^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 183 | / gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] 184 | | PC13: (pc13, 13, Input, afrh), [INFO] [stdout] 185 | | PC14: (pc14, 14, Input, afrh), [INFO] [stdout] 186 | | PC15: (pc15, 15, Input, afrh), [INFO] [stdout] 187 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 183 | let _ = gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.69s [INFO] running `Command { std: "docker" "inspect" "79e23bb2093bcfcf72e3ad3022e5ebad8bef3f9574e826b946e2d5b286a450d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79e23bb2093bcfcf72e3ad3022e5ebad8bef3f9574e826b946e2d5b286a450d2", kill_on_drop: false }` [INFO] [stdout] 79e23bb2093bcfcf72e3ad3022e5ebad8bef3f9574e826b946e2d5b286a450d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 420846367a057ebd49c1b7554c9af8cd82d6dc7b7f7e0b27b5ac9c3116351eed [INFO] running `Command { std: "docker" "start" "-a" "420846367a057ebd49c1b7554c9af8cd82d6dc7b7f7e0b27b5ac9c3116351eed", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: use of deprecated trait `hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/gpio.rs:18:32 [INFO] [stderr] | [INFO] [stderr] 18 | use hal::digital::{InputPin, OutputPin}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 145 | / gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stderr] 146 | | PA0: (pa0, 0, Input, afrl), [INFO] [stderr] 147 | | PA1: (pa1, 1, Input, afrl), [INFO] [stderr] 148 | | PA2: (pa2, 2, Input, afrl), [INFO] [stderr] ... | [INFO] [stderr] 161 | | PA15: (pa15, 15, Input, afrh), [INFO] [stderr] 162 | | ]); [INFO] [stderr] | |__- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [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:18:42 [INFO] [stderr] | [INFO] [stderr] 18 | use hal::digital::{InputPin, OutputPin}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 145 | / gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stderr] 146 | | PA0: (pa0, 0, Input, afrl), [INFO] [stderr] 147 | | PA1: (pa1, 1, Input, afrl), [INFO] [stderr] 148 | | PA2: (pa2, 2, Input, afrl), [INFO] [stderr] ... | [INFO] [stderr] 161 | | PA15: (pa15, 15, Input, afrh), [INFO] [stderr] 162 | | ]); [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::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/gpio.rs:121:22 [INFO] [stderr] | [INFO] [stderr] 121 | impl InputPin for $PXi { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 145 | / gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stderr] 146 | | PA0: (pa0, 0, Input, afrl), [INFO] [stderr] 147 | | PA1: (pa1, 1, Input, afrl), [INFO] [stderr] 148 | | PA2: (pa2, 2, Input, afrl), [INFO] [stderr] ... | [INFO] [stderr] 161 | | PA15: (pa15, 15, Input, afrh), [INFO] [stderr] 162 | | ]); [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:131:22 [INFO] [stderr] | [INFO] [stderr] 131 | impl OutputPin for $PXi { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 145 | / gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stderr] 146 | | PA0: (pa0, 0, Input, afrl), [INFO] [stderr] 147 | | PA1: (pa1, 1, Input, afrl), [INFO] [stderr] 148 | | PA2: (pa2, 2, Input, afrl), [INFO] [stderr] ... | [INFO] [stderr] 161 | | PA15: (pa15, 15, Input, afrh), [INFO] [stderr] 162 | | ]); [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::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/gpio.rs:18:32 [INFO] [stderr] | [INFO] [stderr] 18 | use hal::digital::{InputPin, OutputPin}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 164 | / gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stderr] 165 | | PB0: (pb0, 0, Input, afrl), [INFO] [stderr] 166 | | PB1: (pb1, 1, Input, afrl), [INFO] [stderr] 167 | | PB2: (pb2, 2, Input, afrl), [INFO] [stderr] ... | [INFO] [stderr] 180 | | PB15: (pb15, 15, Input, afrh), [INFO] [stderr] 181 | | ]); [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:18:42 [INFO] [stderr] | [INFO] [stderr] 18 | use hal::digital::{InputPin, OutputPin}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 164 | / gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stderr] 165 | | PB0: (pb0, 0, Input, afrl), [INFO] [stderr] 166 | | PB1: (pb1, 1, Input, afrl), [INFO] [stderr] 167 | | PB2: (pb2, 2, Input, afrl), [INFO] [stderr] ... | [INFO] [stderr] 180 | | PB15: (pb15, 15, Input, afrh), [INFO] [stderr] 181 | | ]); [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::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/gpio.rs:121:22 [INFO] [stderr] | [INFO] [stderr] 121 | impl InputPin for $PXi { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 164 | / gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stderr] 165 | | PB0: (pb0, 0, Input, afrl), [INFO] [stderr] 166 | | PB1: (pb1, 1, Input, afrl), [INFO] [stderr] 167 | | PB2: (pb2, 2, Input, afrl), [INFO] [stderr] ... | [INFO] [stderr] 180 | | PB15: (pb15, 15, Input, afrh), [INFO] [stderr] 181 | | ]); [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:131:22 [INFO] [stderr] | [INFO] [stderr] 131 | impl OutputPin for $PXi { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 164 | / gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stderr] 165 | | PB0: (pb0, 0, Input, afrl), [INFO] [stderr] 166 | | PB1: (pb1, 1, Input, afrl), [INFO] [stderr] 167 | | PB2: (pb2, 2, Input, afrl), [INFO] [stderr] ... | [INFO] [stderr] 180 | | PB15: (pb15, 15, Input, afrh), [INFO] [stderr] 181 | | ]); [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::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/gpio.rs:18:32 [INFO] [stderr] | [INFO] [stderr] 18 | use hal::digital::{InputPin, OutputPin}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 183 | / gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stderr] 184 | | PC13: (pc13, 13, Input, afrh), [INFO] [stderr] 185 | | PC14: (pc14, 14, Input, afrh), [INFO] [stderr] 186 | | PC15: (pc15, 15, Input, afrh), [INFO] [stderr] 187 | | ]); [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:18:42 [INFO] [stderr] | [INFO] [stderr] 18 | use hal::digital::{InputPin, OutputPin}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 183 | / gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stderr] 184 | | PC13: (pc13, 13, Input, afrh), [INFO] [stderr] 185 | | PC14: (pc14, 14, Input, afrh), [INFO] [stderr] 186 | | PC15: (pc15, 15, Input, afrh), [INFO] [stderr] 187 | | ]); [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::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/gpio.rs:121:22 [INFO] [stderr] | [INFO] [stderr] 121 | impl InputPin for $PXi { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 183 | / gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stderr] 184 | | PC13: (pc13, 13, Input, afrh), [INFO] [stderr] 185 | | PC14: (pc14, 14, Input, afrh), [INFO] [stderr] 186 | | PC15: (pc15, 15, Input, afrh), [INFO] [stderr] 187 | | ]); [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:131:22 [INFO] [stderr] | [INFO] [stderr] 131 | impl OutputPin for $PXi { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 183 | / gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stderr] 184 | | PC13: (pc13, 13, Input, afrh), [INFO] [stderr] 185 | | PC14: (pc14, 14, Input, afrh), [INFO] [stderr] 186 | | PC15: (pc15, 15, Input, afrh), [INFO] [stderr] 187 | | ]); [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 method `hal::digital::InputPin::is_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/gpio.rs:123:31 [INFO] [stderr] | [INFO] [stderr] 123 | !self.is_low() [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 145 | / gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stderr] 146 | | PA0: (pa0, 0, Input, afrl), [INFO] [stderr] 147 | | PA1: (pa1, 1, Input, afrl), [INFO] [stderr] 148 | | PA2: (pa2, 2, Input, afrl), [INFO] [stderr] ... | [INFO] [stderr] 161 | | PA15: (pa15, 15, Input, afrh), [INFO] [stderr] 162 | | ]); [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 method `hal::digital::InputPin::is_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/gpio.rs:123:31 [INFO] [stderr] | [INFO] [stderr] 123 | !self.is_low() [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 164 | / gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stderr] 165 | | PB0: (pb0, 0, Input, afrl), [INFO] [stderr] 166 | | PB1: (pb1, 1, Input, afrl), [INFO] [stderr] 167 | | PB2: (pb2, 2, Input, afrl), [INFO] [stderr] ... | [INFO] [stderr] 180 | | PB15: (pb15, 15, Input, afrh), [INFO] [stderr] 181 | | ]); [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 method `hal::digital::InputPin::is_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/gpio.rs:123:31 [INFO] [stderr] | [INFO] [stderr] 123 | !self.is_low() [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 183 | / gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stderr] 184 | | PC13: (pc13, 13, Input, afrh), [INFO] [stderr] 185 | | PC14: (pc14, 14, Input, afrh), [INFO] [stderr] 186 | | PC15: (pc15, 15, Input, afrh), [INFO] [stderr] 187 | | ]); [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: unused borrow that must be used [INFO] [stderr] --> src/gpio.rs:55:29 [INFO] [stderr] | [INFO] [stderr] 55 | / &(*$GPIOX::ptr()).moder.modify(|r, w| [INFO] [stderr] 56 | | w.bits((r.bits() & !(0b11 << offset)) | (input << offset)) [INFO] [stderr] 57 | | ); [INFO] [stderr] | |_____________________________^ the borrow produces a value [INFO] [stderr] ... [INFO] [stderr] 145 | / gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stderr] 146 | | PA0: (pa0, 0, Input, afrl), [INFO] [stderr] 147 | | PA1: (pa1, 1, Input, afrl), [INFO] [stderr] 148 | | PA2: (pa2, 2, Input, afrl), [INFO] [stderr] ... | [INFO] [stderr] 161 | | PA15: (pa15, 15, Input, afrh), [INFO] [stderr] 162 | | ]); [INFO] [stderr] | |__- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 145 | let _ = gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/gpio.rs:68:29 [INFO] [stderr] | [INFO] [stderr] 68 | / &(*$GPIOX::ptr()).moder.modify(|r, w| [INFO] [stderr] 69 | | w.bits((r.bits() & !(0b11 << offset)) | (output << offset)) [INFO] [stderr] 70 | | ); [INFO] [stderr] | |_____________________________^ the borrow produces a value [INFO] [stderr] ... [INFO] [stderr] 145 | / gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stderr] 146 | | PA0: (pa0, 0, Input, afrl), [INFO] [stderr] 147 | | PA1: (pa1, 1, Input, afrl), [INFO] [stderr] 148 | | PA2: (pa2, 2, Input, afrl), [INFO] [stderr] ... | [INFO] [stderr] 161 | | PA15: (pa15, 15, Input, afrh), [INFO] [stderr] 162 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 145 | let _ = gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/gpio.rs:82:29 [INFO] [stderr] | [INFO] [stderr] 82 | / &(*$GPIOX::ptr()).moder.modify(|r, w| [INFO] [stderr] 83 | | w.bits((r.bits() & !(0b11 << offset)) | (alternate << offset)) [INFO] [stderr] 84 | | ); [INFO] [stderr] | |_____________________________^ the borrow produces a value [INFO] [stderr] ... [INFO] [stderr] 145 | / gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stderr] 146 | | PA0: (pa0, 0, Input, afrl), [INFO] [stderr] 147 | | PA1: (pa1, 1, Input, afrl), [INFO] [stderr] 148 | | PA2: (pa2, 2, Input, afrl), [INFO] [stderr] ... | [INFO] [stderr] 161 | | PA15: (pa15, 15, Input, afrh), [INFO] [stderr] 162 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 145 | let _ = gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/gpio.rs:86:29 [INFO] [stderr] | [INFO] [stderr] 86 | / &(*$GPIOX::ptr()).$afr.modify(|r, w| [INFO] [stderr] 87 | | w.bits((r.bits() & !(0b1111 << afr_offset)) | (u32::from(function & 0b1111) << afr_offset)) [INFO] [stderr] 88 | | ); [INFO] [stderr] | |_____________________________^ the borrow produces a value [INFO] [stderr] ... [INFO] [stderr] 145 | / gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stderr] 146 | | PA0: (pa0, 0, Input, afrl), [INFO] [stderr] 147 | | PA1: (pa1, 1, Input, afrl), [INFO] [stderr] 148 | | PA2: (pa2, 2, Input, afrl), [INFO] [stderr] ... | [INFO] [stderr] 161 | | PA15: (pa15, 15, Input, afrh), [INFO] [stderr] 162 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 145 | let _ = gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/gpio.rs:99:29 [INFO] [stderr] | [INFO] [stderr] 99 | / &(*$GPIOX::ptr()).pupdr.modify(|r, w| [INFO] [stderr] 100 | | w.bits((r.bits() & !(0b11 << offset)) | (pullup << offset)) [INFO] [stderr] 101 | | ); [INFO] [stderr] | |_____________________________^ the borrow produces a value [INFO] [stderr] ... [INFO] [stderr] 145 | / gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stderr] 146 | | PA0: (pa0, 0, Input, afrl), [INFO] [stderr] 147 | | PA1: (pa1, 1, Input, afrl), [INFO] [stderr] 148 | | PA2: (pa2, 2, Input, afrl), [INFO] [stderr] ... | [INFO] [stderr] 161 | | PA15: (pa15, 15, Input, afrh), [INFO] [stderr] 162 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 145 | let _ = gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/gpio.rs:112:29 [INFO] [stderr] | [INFO] [stderr] 112 | / &(*$GPIOX::ptr()).pupdr.modify(|r, w| [INFO] [stderr] 113 | | w.bits((r.bits() & !(0b11 << offset)) | (pulldown << offset)) [INFO] [stderr] 114 | | ); [INFO] [stderr] | |_____________________________^ the borrow produces a value [INFO] [stderr] ... [INFO] [stderr] 145 | / gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stderr] 146 | | PA0: (pa0, 0, Input, afrl), [INFO] [stderr] 147 | | PA1: (pa1, 1, Input, afrl), [INFO] [stderr] 148 | | PA2: (pa2, 2, Input, afrl), [INFO] [stderr] ... | [INFO] [stderr] 161 | | PA15: (pa15, 15, Input, afrh), [INFO] [stderr] 162 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 145 | let _ = gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/gpio.rs:55:29 [INFO] [stderr] | [INFO] [stderr] 55 | / &(*$GPIOX::ptr()).moder.modify(|r, w| [INFO] [stderr] 56 | | w.bits((r.bits() & !(0b11 << offset)) | (input << offset)) [INFO] [stderr] 57 | | ); [INFO] [stderr] | |_____________________________^ the borrow produces a value [INFO] [stderr] ... [INFO] [stderr] 164 | / gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stderr] 165 | | PB0: (pb0, 0, Input, afrl), [INFO] [stderr] 166 | | PB1: (pb1, 1, Input, afrl), [INFO] [stderr] 167 | | PB2: (pb2, 2, Input, afrl), [INFO] [stderr] ... | [INFO] [stderr] 180 | | PB15: (pb15, 15, Input, afrh), [INFO] [stderr] 181 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 164 | let _ = gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/gpio.rs:68:29 [INFO] [stderr] | [INFO] [stderr] 68 | / &(*$GPIOX::ptr()).moder.modify(|r, w| [INFO] [stderr] 69 | | w.bits((r.bits() & !(0b11 << offset)) | (output << offset)) [INFO] [stderr] 70 | | ); [INFO] [stderr] | |_____________________________^ the borrow produces a value [INFO] [stderr] ... [INFO] [stderr] 164 | / gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stderr] 165 | | PB0: (pb0, 0, Input, afrl), [INFO] [stderr] 166 | | PB1: (pb1, 1, Input, afrl), [INFO] [stderr] 167 | | PB2: (pb2, 2, Input, afrl), [INFO] [stderr] ... | [INFO] [stderr] 180 | | PB15: (pb15, 15, Input, afrh), [INFO] [stderr] 181 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 164 | let _ = gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/gpio.rs:82:29 [INFO] [stderr] | [INFO] [stderr] 82 | / &(*$GPIOX::ptr()).moder.modify(|r, w| [INFO] [stderr] 83 | | w.bits((r.bits() & !(0b11 << offset)) | (alternate << offset)) [INFO] [stderr] 84 | | ); [INFO] [stderr] | |_____________________________^ the borrow produces a value [INFO] [stderr] ... [INFO] [stderr] 164 | / gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stderr] 165 | | PB0: (pb0, 0, Input, afrl), [INFO] [stderr] 166 | | PB1: (pb1, 1, Input, afrl), [INFO] [stderr] 167 | | PB2: (pb2, 2, Input, afrl), [INFO] [stderr] ... | [INFO] [stderr] 180 | | PB15: (pb15, 15, Input, afrh), [INFO] [stderr] 181 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 164 | let _ = gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/gpio.rs:86:29 [INFO] [stderr] | [INFO] [stderr] 86 | / &(*$GPIOX::ptr()).$afr.modify(|r, w| [INFO] [stderr] 87 | | w.bits((r.bits() & !(0b1111 << afr_offset)) | (u32::from(function & 0b1111) << afr_offset)) [INFO] [stderr] 88 | | ); [INFO] [stderr] | |_____________________________^ the borrow produces a value [INFO] [stderr] ... [INFO] [stderr] 164 | / gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stderr] 165 | | PB0: (pb0, 0, Input, afrl), [INFO] [stderr] 166 | | PB1: (pb1, 1, Input, afrl), [INFO] [stderr] 167 | | PB2: (pb2, 2, Input, afrl), [INFO] [stderr] ... | [INFO] [stderr] 180 | | PB15: (pb15, 15, Input, afrh), [INFO] [stderr] 181 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 164 | let _ = gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/gpio.rs:99:29 [INFO] [stderr] | [INFO] [stderr] 99 | / &(*$GPIOX::ptr()).pupdr.modify(|r, w| [INFO] [stderr] 100 | | w.bits((r.bits() & !(0b11 << offset)) | (pullup << offset)) [INFO] [stderr] 101 | | ); [INFO] [stderr] | |_____________________________^ the borrow produces a value [INFO] [stderr] ... [INFO] [stderr] 164 | / gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stderr] 165 | | PB0: (pb0, 0, Input, afrl), [INFO] [stderr] 166 | | PB1: (pb1, 1, Input, afrl), [INFO] [stderr] 167 | | PB2: (pb2, 2, Input, afrl), [INFO] [stderr] ... | [INFO] [stderr] 180 | | PB15: (pb15, 15, Input, afrh), [INFO] [stderr] 181 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 164 | let _ = gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/gpio.rs:112:29 [INFO] [stderr] | [INFO] [stderr] 112 | / &(*$GPIOX::ptr()).pupdr.modify(|r, w| [INFO] [stderr] 113 | | w.bits((r.bits() & !(0b11 << offset)) | (pulldown << offset)) [INFO] [stderr] 114 | | ); [INFO] [stderr] | |_____________________________^ the borrow produces a value [INFO] [stderr] ... [INFO] [stderr] 164 | / gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stderr] 165 | | PB0: (pb0, 0, Input, afrl), [INFO] [stderr] 166 | | PB1: (pb1, 1, Input, afrl), [INFO] [stderr] 167 | | PB2: (pb2, 2, Input, afrl), [INFO] [stderr] ... | [INFO] [stderr] 180 | | PB15: (pb15, 15, Input, afrh), [INFO] [stderr] 181 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 164 | let _ = gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/gpio.rs:55:29 [INFO] [stderr] | [INFO] [stderr] 55 | / &(*$GPIOX::ptr()).moder.modify(|r, w| [INFO] [stderr] 56 | | w.bits((r.bits() & !(0b11 << offset)) | (input << offset)) [INFO] [stderr] 57 | | ); [INFO] [stderr] | |_____________________________^ the borrow produces a value [INFO] [stderr] ... [INFO] [stderr] 183 | / gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stderr] 184 | | PC13: (pc13, 13, Input, afrh), [INFO] [stderr] 185 | | PC14: (pc14, 14, Input, afrh), [INFO] [stderr] 186 | | PC15: (pc15, 15, Input, afrh), [INFO] [stderr] 187 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 183 | let _ = gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/gpio.rs:68:29 [INFO] [stderr] | [INFO] [stderr] 68 | / &(*$GPIOX::ptr()).moder.modify(|r, w| [INFO] [stderr] 69 | | w.bits((r.bits() & !(0b11 << offset)) | (output << offset)) [INFO] [stderr] 70 | | ); [INFO] [stderr] | |_____________________________^ the borrow produces a value [INFO] [stderr] ... [INFO] [stderr] 183 | / gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stderr] 184 | | PC13: (pc13, 13, Input, afrh), [INFO] [stderr] 185 | | PC14: (pc14, 14, Input, afrh), [INFO] [stderr] 186 | | PC15: (pc15, 15, Input, afrh), [INFO] [stderr] 187 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 183 | let _ = gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/gpio.rs:82:29 [INFO] [stderr] | [INFO] [stderr] 82 | / &(*$GPIOX::ptr()).moder.modify(|r, w| [INFO] [stderr] 83 | | w.bits((r.bits() & !(0b11 << offset)) | (alternate << offset)) [INFO] [stderr] 84 | | ); [INFO] [stderr] | |_____________________________^ the borrow produces a value [INFO] [stderr] ... [INFO] [stderr] 183 | / gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stderr] 184 | | PC13: (pc13, 13, Input, afrh), [INFO] [stderr] 185 | | PC14: (pc14, 14, Input, afrh), [INFO] [stderr] 186 | | PC15: (pc15, 15, Input, afrh), [INFO] [stderr] 187 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 183 | let _ = gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/gpio.rs:86:29 [INFO] [stderr] | [INFO] [stderr] 86 | / &(*$GPIOX::ptr()).$afr.modify(|r, w| [INFO] [stderr] 87 | | w.bits((r.bits() & !(0b1111 << afr_offset)) | (u32::from(function & 0b1111) << afr_offset)) [INFO] [stderr] 88 | | ); [INFO] [stderr] | |_____________________________^ the borrow produces a value [INFO] [stderr] ... [INFO] [stderr] 183 | / gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stderr] 184 | | PC13: (pc13, 13, Input, afrh), [INFO] [stderr] 185 | | PC14: (pc14, 14, Input, afrh), [INFO] [stderr] 186 | | PC15: (pc15, 15, Input, afrh), [INFO] [stderr] 187 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 183 | let _ = gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/gpio.rs:99:29 [INFO] [stderr] | [INFO] [stderr] 99 | / &(*$GPIOX::ptr()).pupdr.modify(|r, w| [INFO] [stderr] 100 | | w.bits((r.bits() & !(0b11 << offset)) | (pullup << offset)) [INFO] [stderr] 101 | | ); [INFO] [stderr] | |_____________________________^ the borrow produces a value [INFO] [stderr] ... [INFO] [stderr] 183 | / gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stderr] 184 | | PC13: (pc13, 13, Input, afrh), [INFO] [stderr] 185 | | PC14: (pc14, 14, Input, afrh), [INFO] [stderr] 186 | | PC15: (pc15, 15, Input, afrh), [INFO] [stderr] 187 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 183 | let _ = gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/gpio.rs:112:29 [INFO] [stderr] | [INFO] [stderr] 112 | / &(*$GPIOX::ptr()).pupdr.modify(|r, w| [INFO] [stderr] 113 | | w.bits((r.bits() & !(0b11 << offset)) | (pulldown << offset)) [INFO] [stderr] 114 | | ); [INFO] [stderr] | |_____________________________^ the borrow produces a value [INFO] [stderr] ... [INFO] [stderr] 183 | / gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stderr] 184 | | PC13: (pc13, 13, Input, afrh), [INFO] [stderr] 185 | | PC14: (pc14, 14, Input, afrh), [INFO] [stderr] 186 | | PC15: (pc15, 15, Input, afrh), [INFO] [stderr] 187 | | ]); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 183 | let _ = gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `stm32l151-hal` (lib) generated 33 warnings [INFO] [stderr] warning: `stm32l151-hal` (lib test) generated 33 warnings (33 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/stm32l151_hal-46c9cd66151fd17d) [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 stm32l151_hal [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] running `Command { std: "docker" "inspect" "420846367a057ebd49c1b7554c9af8cd82d6dc7b7f7e0b27b5ac9c3116351eed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "420846367a057ebd49c1b7554c9af8cd82d6dc7b7f7e0b27b5ac9c3116351eed", kill_on_drop: false }` [INFO] [stdout] 420846367a057ebd49c1b7554c9af8cd82d6dc7b7f7e0b27b5ac9c3116351eed