[INFO] fetching crate stm32l151-hal 0.5.0... [INFO] testing stm32l151-hal-0.5.0 against 1.59.0 for beta-1.60-1 [INFO] extracting crate stm32l151-hal 0.5.0 into /workspace/builds/worker-44/source [INFO] validating manifest of crates.io crate stm32l151-hal 0.5.0 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-44/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-44/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 785d564b5e2a431243f82760e7dff52beead4369bf65428433727cc1e562a130 [INFO] running `Command { std: "docker" "start" "-a" "785d564b5e2a431243f82760e7dff52beead4369bf65428433727cc1e562a130", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "785d564b5e2a431243f82760e7dff52beead4369bf65428433727cc1e562a130", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "785d564b5e2a431243f82760e7dff52beead4369bf65428433727cc1e562a130", kill_on_drop: false }` [INFO] [stdout] 785d564b5e2a431243f82760e7dff52beead4369bf65428433727cc1e562a130 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e1e466ea117651eadd8001deaacc38a3af4d520c8782d7cfcd446d83e7a3d5b [INFO] running `Command { std: "docker" "start" "-a" "5e1e466ea117651eadd8001deaacc38a3af4d520c8782d7cfcd446d83e7a3d5b", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling cortex-m v0.7.4 [INFO] [stderr] Compiling nb v1.0.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling cortex-m-rt v0.6.15 [INFO] [stderr] Compiling cortex-m v0.5.11 [INFO] [stderr] Compiling stm32l1 v0.3.2 [INFO] [stderr] Compiling aligned v0.2.0 [INFO] [stderr] Compiling r0 v0.2.2 [INFO] [stderr] Compiling volatile-register v0.2.1 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling generic-array v0.13.3 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling as-slice v0.1.5 [INFO] [stderr] Compiling aligned v0.3.5 [INFO] [stderr] Compiling cortex-m-rt-macros v0.6.15 [INFO] [stderr] Compiling stm32l151-hal v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated trait `hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | use hal::digital::{InputPin, OutputPin}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | / gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] 146 | | PA0: (pa0, 0, Input, afrl), [INFO] [stdout] 147 | | PA1: (pa1, 1, Input, afrl), [INFO] [stdout] 148 | | PA2: (pa2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 161 | | PA15: (pa15, 15, Input, afrh), [INFO] [stdout] 162 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | use hal::digital::{InputPin, OutputPin}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | / gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] 146 | | PA0: (pa0, 0, Input, afrl), [INFO] [stdout] 147 | | PA1: (pa1, 1, Input, afrl), [INFO] [stdout] 148 | | PA2: (pa2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 161 | | PA15: (pa15, 15, Input, afrh), [INFO] [stdout] 162 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:121:22 [INFO] [stdout] | [INFO] [stdout] 121 | impl InputPin for $PXi { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | / gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] 146 | | PA0: (pa0, 0, Input, afrl), [INFO] [stdout] 147 | | PA1: (pa1, 1, Input, afrl), [INFO] [stdout] 148 | | PA2: (pa2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 161 | | PA15: (pa15, 15, Input, afrh), [INFO] [stdout] 162 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:131:22 [INFO] [stdout] | [INFO] [stdout] 131 | impl OutputPin for $PXi { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | / gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] 146 | | PA0: (pa0, 0, Input, afrl), [INFO] [stdout] 147 | | PA1: (pa1, 1, Input, afrl), [INFO] [stdout] 148 | | PA2: (pa2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 161 | | PA15: (pa15, 15, Input, afrh), [INFO] [stdout] 162 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | use hal::digital::{InputPin, OutputPin}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | / gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] 165 | | PB0: (pb0, 0, Input, afrl), [INFO] [stdout] 166 | | PB1: (pb1, 1, Input, afrl), [INFO] [stdout] 167 | | PB2: (pb2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 180 | | PB15: (pb15, 15, Input, afrh), [INFO] [stdout] 181 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | use hal::digital::{InputPin, OutputPin}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | / gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] 165 | | PB0: (pb0, 0, Input, afrl), [INFO] [stdout] 166 | | PB1: (pb1, 1, Input, afrl), [INFO] [stdout] 167 | | PB2: (pb2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 180 | | PB15: (pb15, 15, Input, afrh), [INFO] [stdout] 181 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:121:22 [INFO] [stdout] | [INFO] [stdout] 121 | impl InputPin for $PXi { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | / gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] 165 | | PB0: (pb0, 0, Input, afrl), [INFO] [stdout] 166 | | PB1: (pb1, 1, Input, afrl), [INFO] [stdout] 167 | | PB2: (pb2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 180 | | PB15: (pb15, 15, Input, afrh), [INFO] [stdout] 181 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:131:22 [INFO] [stdout] | [INFO] [stdout] 131 | impl OutputPin for $PXi { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | / gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] 165 | | PB0: (pb0, 0, Input, afrl), [INFO] [stdout] 166 | | PB1: (pb1, 1, Input, afrl), [INFO] [stdout] 167 | | PB2: (pb2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 180 | | PB15: (pb15, 15, Input, afrh), [INFO] [stdout] 181 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | use hal::digital::{InputPin, OutputPin}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | / gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] 184 | | PC13: (pc13, 13, Input, afrh), [INFO] [stdout] 185 | | PC14: (pc14, 14, Input, afrh), [INFO] [stdout] 186 | | PC15: (pc15, 15, Input, afrh), [INFO] [stdout] 187 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | use hal::digital::{InputPin, OutputPin}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | / gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] 184 | | PC13: (pc13, 13, Input, afrh), [INFO] [stdout] 185 | | PC14: (pc14, 14, Input, afrh), [INFO] [stdout] 186 | | PC15: (pc15, 15, Input, afrh), [INFO] [stdout] 187 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:121:22 [INFO] [stdout] | [INFO] [stdout] 121 | impl InputPin for $PXi { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | / gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] 184 | | PC13: (pc13, 13, Input, afrh), [INFO] [stdout] 185 | | PC14: (pc14, 14, Input, afrh), [INFO] [stdout] 186 | | PC15: (pc15, 15, Input, afrh), [INFO] [stdout] 187 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:131:22 [INFO] [stdout] | [INFO] [stdout] 131 | impl OutputPin for $PXi { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | / gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] 184 | | PC13: (pc13, 13, Input, afrh), [INFO] [stdout] 185 | | PC14: (pc14, 14, Input, afrh), [INFO] [stdout] 186 | | PC15: (pc15, 15, Input, afrh), [INFO] [stdout] 187 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated 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 20.64s [INFO] running `Command { std: "docker" "inspect" "5e1e466ea117651eadd8001deaacc38a3af4d520c8782d7cfcd446d83e7a3d5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e1e466ea117651eadd8001deaacc38a3af4d520c8782d7cfcd446d83e7a3d5b", kill_on_drop: false }` [INFO] [stdout] 5e1e466ea117651eadd8001deaacc38a3af4d520c8782d7cfcd446d83e7a3d5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 498ec940ab48661bc82904806ddf0b5d42987fa0e379035a91b95144b6160319 [INFO] running `Command { std: "docker" "start" "-a" "498ec940ab48661bc82904806ddf0b5d42987fa0e379035a91b95144b6160319", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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.33s [INFO] running `Command { std: "docker" "inspect" "498ec940ab48661bc82904806ddf0b5d42987fa0e379035a91b95144b6160319", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "498ec940ab48661bc82904806ddf0b5d42987fa0e379035a91b95144b6160319", kill_on_drop: false }` [INFO] [stdout] 498ec940ab48661bc82904806ddf0b5d42987fa0e379035a91b95144b6160319 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 030ab71b5dd0e87263746524d39c7f358c6449506f27d4f764bfaa925673d0d2 [INFO] running `Command { std: "docker" "start" "-a" "030ab71b5dd0e87263746524d39c7f358c6449506f27d4f764bfaa925673d0d2", 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.07s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/stm32l151_hal-55bd4364c0163192) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests stm32l151-hal [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "030ab71b5dd0e87263746524d39c7f358c6449506f27d4f764bfaa925673d0d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "030ab71b5dd0e87263746524d39c7f358c6449506f27d4f764bfaa925673d0d2", kill_on_drop: false }` [INFO] [stdout] 030ab71b5dd0e87263746524d39c7f358c6449506f27d4f764bfaa925673d0d2