[INFO] fetching crate stm32l151-hal 0.5.0... [INFO] checking stm32l151-hal-0.5.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate stm32l151-hal 0.5.0 into /workspace/builds/worker-0-tc2/source [INFO] removed /workspace/builds/worker-0-tc2/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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate stm32l151-hal 0.5.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a659c6e5200d843cb879d44a16305c2e7317d9251f21ea4ab5c31a56feaf516 [INFO] running `Command { std: "docker" "start" "-a" "8a659c6e5200d843cb879d44a16305c2e7317d9251f21ea4ab5c31a56feaf516", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a659c6e5200d843cb879d44a16305c2e7317d9251f21ea4ab5c31a56feaf516", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a659c6e5200d843cb879d44a16305c2e7317d9251f21ea4ab5c31a56feaf516", kill_on_drop: false }` [INFO] [stdout] 8a659c6e5200d843cb879d44a16305c2e7317d9251f21ea4ab5c31a56feaf516 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5940e39223d5e3e4d785600c2d132211dbb81b0a4e1ecccd12f29c63fd8c4c34 [INFO] running `Command { std: "docker" "start" "-a" "5940e39223d5e3e4d785600c2d132211dbb81b0a4e1ecccd12f29c63fd8c4c34", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking generic-array v0.13.3 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Compiling cortex-m-rt v0.6.15 [INFO] [stderr] Compiling cortex-m v0.5.11 [INFO] [stderr] Checking aligned v0.2.0 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Compiling stm32l1 v0.3.2 [INFO] [stderr] Checking as-slice v0.1.5 [INFO] [stderr] Checking cortex-m v0.7.7 [INFO] [stderr] Checking aligned v0.3.5 [INFO] [stderr] Compiling cortex-m-rt-macros v0.6.15 [INFO] [stderr] Checking 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 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 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 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] 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] 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] 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] 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)]` 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] [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)]` 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 15.53s [INFO] running `Command { std: "docker" "inspect" "5940e39223d5e3e4d785600c2d132211dbb81b0a4e1ecccd12f29c63fd8c4c34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5940e39223d5e3e4d785600c2d132211dbb81b0a4e1ecccd12f29c63fd8c4c34", kill_on_drop: false }` [INFO] [stdout] 5940e39223d5e3e4d785600c2d132211dbb81b0a4e1ecccd12f29c63fd8c4c34