[INFO] fetching crate stm32l151-hal 0.5.0... [INFO] testing stm32l151-hal-0.5.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate stm32l151-hal 0.5.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate stm32l151-hal 0.5.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-9/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-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 540d7459f4c7d8b40245943ba5e6632e03ee0eec59fae05c7483b6bde16cd2ff [INFO] running `Command { std: "docker" "start" "-a" "540d7459f4c7d8b40245943ba5e6632e03ee0eec59fae05c7483b6bde16cd2ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "540d7459f4c7d8b40245943ba5e6632e03ee0eec59fae05c7483b6bde16cd2ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "540d7459f4c7d8b40245943ba5e6632e03ee0eec59fae05c7483b6bde16cd2ff", kill_on_drop: false }` [INFO] [stdout] 540d7459f4c7d8b40245943ba5e6632e03ee0eec59fae05c7483b6bde16cd2ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b9cd7805c868b56580f19b5ad4bf9af7eaa8b91e37b27ca6469a95bba24fbd8c [INFO] running `Command { std: "docker" "start" "-a" "b9cd7805c868b56580f19b5ad4bf9af7eaa8b91e37b27ca6469a95bba24fbd8c", kill_on_drop: false }` [INFO] [stderr] Compiling cortex-m-rt v0.6.15 [INFO] [stderr] Compiling stm32l1 v0.3.2 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling cortex-m-rt-macros v0.6.15 [INFO] [stderr] Compiling cortex-m v0.7.4 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Compiling cortex-m v0.5.11 [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 associated function `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 associated function `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 associated function `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] 55 | let _ = &(*$GPIOX::ptr()).moder.modify(|r, w| [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] 68 | let _ = &(*$GPIOX::ptr()).moder.modify(|r, w| [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] 82 | let _ = &(*$GPIOX::ptr()).moder.modify(|r, w| [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] 86 | let _ = &(*$GPIOX::ptr()).$afr.modify(|r, w| [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] 99 | let _ = &(*$GPIOX::ptr()).pupdr.modify(|r, w| [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] 112 | let _ = &(*$GPIOX::ptr()).pupdr.modify(|r, w| [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] 55 | let _ = &(*$GPIOX::ptr()).moder.modify(|r, w| [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] 68 | let _ = &(*$GPIOX::ptr()).moder.modify(|r, w| [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] 82 | let _ = &(*$GPIOX::ptr()).moder.modify(|r, w| [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] 86 | let _ = &(*$GPIOX::ptr()).$afr.modify(|r, w| [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] 99 | let _ = &(*$GPIOX::ptr()).pupdr.modify(|r, w| [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] 112 | let _ = &(*$GPIOX::ptr()).pupdr.modify(|r, w| [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] 55 | let _ = &(*$GPIOX::ptr()).moder.modify(|r, w| [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] 68 | let _ = &(*$GPIOX::ptr()).moder.modify(|r, w| [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] 82 | let _ = &(*$GPIOX::ptr()).moder.modify(|r, w| [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] 86 | let _ = &(*$GPIOX::ptr()).$afr.modify(|r, w| [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] 99 | let _ = &(*$GPIOX::ptr()).pupdr.modify(|r, w| [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] 112 | let _ = &(*$GPIOX::ptr()).pupdr.modify(|r, w| [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 22.95s [INFO] running `Command { std: "docker" "inspect" "b9cd7805c868b56580f19b5ad4bf9af7eaa8b91e37b27ca6469a95bba24fbd8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9cd7805c868b56580f19b5ad4bf9af7eaa8b91e37b27ca6469a95bba24fbd8c", kill_on_drop: false }` [INFO] [stdout] b9cd7805c868b56580f19b5ad4bf9af7eaa8b91e37b27ca6469a95bba24fbd8c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e8de7f6a980faf1894ad6df58d638014c73a4e2caabcfad4838da3e429542fc5 [INFO] running `Command { std: "docker" "start" "-a" "e8de7f6a980faf1894ad6df58d638014c73a4e2caabcfad4838da3e429542fc5", kill_on_drop: false }` [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 associated function `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 associated function `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 associated function `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] 55 | let _ = &(*$GPIOX::ptr()).moder.modify(|r, w| [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] 68 | let _ = &(*$GPIOX::ptr()).moder.modify(|r, w| [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] 82 | let _ = &(*$GPIOX::ptr()).moder.modify(|r, w| [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] 86 | let _ = &(*$GPIOX::ptr()).$afr.modify(|r, w| [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] 99 | let _ = &(*$GPIOX::ptr()).pupdr.modify(|r, w| [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] 112 | let _ = &(*$GPIOX::ptr()).pupdr.modify(|r, w| [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] 55 | let _ = &(*$GPIOX::ptr()).moder.modify(|r, w| [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] 68 | let _ = &(*$GPIOX::ptr()).moder.modify(|r, w| [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] 82 | let _ = &(*$GPIOX::ptr()).moder.modify(|r, w| [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] 86 | let _ = &(*$GPIOX::ptr()).$afr.modify(|r, w| [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] 99 | let _ = &(*$GPIOX::ptr()).pupdr.modify(|r, w| [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] 112 | let _ = &(*$GPIOX::ptr()).pupdr.modify(|r, w| [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] 55 | let _ = &(*$GPIOX::ptr()).moder.modify(|r, w| [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] 68 | let _ = &(*$GPIOX::ptr()).moder.modify(|r, w| [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling stm32l151-hal v0.5.0 (/opt/rustwide/workdir) [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] 82 | let _ = &(*$GPIOX::ptr()).moder.modify(|r, w| [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] 86 | let _ = &(*$GPIOX::ptr()).$afr.modify(|r, w| [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] 99 | let _ = &(*$GPIOX::ptr()).pupdr.modify(|r, w| [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] 112 | let _ = &(*$GPIOX::ptr()).pupdr.modify(|r, w| [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [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 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 associated function `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 associated function `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 associated function `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] 55 | let _ = &(*$GPIOX::ptr()).moder.modify(|r, w| [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] 68 | let _ = &(*$GPIOX::ptr()).moder.modify(|r, w| [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] 82 | let _ = &(*$GPIOX::ptr()).moder.modify(|r, w| [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] 86 | let _ = &(*$GPIOX::ptr()).$afr.modify(|r, w| [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] 99 | let _ = &(*$GPIOX::ptr()).pupdr.modify(|r, w| [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] 112 | let _ = &(*$GPIOX::ptr()).pupdr.modify(|r, w| [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] 55 | let _ = &(*$GPIOX::ptr()).moder.modify(|r, w| [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] 68 | let _ = &(*$GPIOX::ptr()).moder.modify(|r, w| [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] 82 | let _ = &(*$GPIOX::ptr()).moder.modify(|r, w| [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] 86 | let _ = &(*$GPIOX::ptr()).$afr.modify(|r, w| [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] 99 | let _ = &(*$GPIOX::ptr()).pupdr.modify(|r, w| [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] 112 | let _ = &(*$GPIOX::ptr()).pupdr.modify(|r, w| [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] 55 | let _ = &(*$GPIOX::ptr()).moder.modify(|r, w| [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] 68 | let _ = &(*$GPIOX::ptr()).moder.modify(|r, w| [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] 82 | let _ = &(*$GPIOX::ptr()).moder.modify(|r, w| [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] 86 | let _ = &(*$GPIOX::ptr()).$afr.modify(|r, w| [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] 99 | let _ = &(*$GPIOX::ptr()).pupdr.modify(|r, w| [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] 112 | let _ = &(*$GPIOX::ptr()).pupdr.modify(|r, w| [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.41s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/stm32l151_hal-d10fd12bc7a6dc57) [INFO] running `Command { std: "docker" "inspect" "e8de7f6a980faf1894ad6df58d638014c73a4e2caabcfad4838da3e429542fc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8de7f6a980faf1894ad6df58d638014c73a4e2caabcfad4838da3e429542fc5", kill_on_drop: false }` [INFO] [stdout] e8de7f6a980faf1894ad6df58d638014c73a4e2caabcfad4838da3e429542fc5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 766cbb080a654af88004e52b9a85fbf97238d4cff3604d7c6d7d2bbafd1d00e0 [INFO] running `Command { std: "docker" "start" "-a" "766cbb080a654af88004e52b9a85fbf97238d4cff3604d7c6d7d2bbafd1d00e0", kill_on_drop: false }` [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 associated function `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 associated function `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 associated function `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)]` 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] 55 | let _ = &(*$GPIOX::ptr()).moder.modify(|r, w| [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] 68 | let _ = &(*$GPIOX::ptr()).moder.modify(|r, w| [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] 82 | let _ = &(*$GPIOX::ptr()).moder.modify(|r, w| [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] 86 | let _ = &(*$GPIOX::ptr()).$afr.modify(|r, w| [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] 99 | let _ = &(*$GPIOX::ptr()).pupdr.modify(|r, w| [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] 112 | let _ = &(*$GPIOX::ptr()).pupdr.modify(|r, w| [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] 55 | let _ = &(*$GPIOX::ptr()).moder.modify(|r, w| [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] 68 | let _ = &(*$GPIOX::ptr()).moder.modify(|r, w| [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] 82 | let _ = &(*$GPIOX::ptr()).moder.modify(|r, w| [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] 86 | let _ = &(*$GPIOX::ptr()).$afr.modify(|r, w| [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] 99 | let _ = &(*$GPIOX::ptr()).pupdr.modify(|r, w| [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] 112 | let _ = &(*$GPIOX::ptr()).pupdr.modify(|r, w| [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] 55 | let _ = &(*$GPIOX::ptr()).moder.modify(|r, w| [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] 68 | let _ = &(*$GPIOX::ptr()).moder.modify(|r, w| [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] 82 | let _ = &(*$GPIOX::ptr()).moder.modify(|r, w| [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] 86 | let _ = &(*$GPIOX::ptr()).$afr.modify(|r, w| [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] 99 | let _ = &(*$GPIOX::ptr()).pupdr.modify(|r, w| [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] 112 | let _ = &(*$GPIOX::ptr()).pupdr.modify(|r, w| [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 [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/stm32l151_hal-d10fd12bc7a6dc57) [INFO] [stdout] [INFO] [stderr] Doc-tests stm32l151-hal [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] [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" "766cbb080a654af88004e52b9a85fbf97238d4cff3604d7c6d7d2bbafd1d00e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "766cbb080a654af88004e52b9a85fbf97238d4cff3604d7c6d7d2bbafd1d00e0", kill_on_drop: false }` [INFO] [stdout] 766cbb080a654af88004e52b9a85fbf97238d4cff3604d7c6d7d2bbafd1d00e0