[INFO] fetching crate stm32l151-hal 0.5.0... [INFO] checking stm32l151-hal-0.5.0 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate stm32l151-hal 0.5.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate stm32l151-hal 0.5.0 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc1/source/.cargo/config [INFO] started tweaking crates.io crate stm32l151-hal 0.5.0 [INFO] finished tweaking crates.io crate stm32l151-hal 0.5.0 [INFO] tweaked toml for crates.io crate stm32l151-hal 0.5.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 32 packages [INFO] [stderr] Adding aligned v0.2.0 (latest: v0.4.2) [INFO] [stderr] Adding aligned v0.3.5 (latest: v0.4.2) [INFO] [stderr] Adding as-slice v0.1.5 (latest: v0.2.1) [INFO] [stderr] Adding bare-metal v0.2.5 (latest: v1.0.0) [INFO] [stderr] Adding bitfield v0.13.2 (latest: v0.14.0) [INFO] [stderr] Adding cortex-m v0.5.11 (latest: v0.7.7) [INFO] [stderr] Adding cortex-m v0.6.7 (latest: v0.7.7) [INFO] [stderr] Adding cortex-m-rt v0.6.15 (latest: v0.7.3) [INFO] [stderr] Adding cortex-m-rt-macros v0.6.15 (latest: v0.7.0) [INFO] [stderr] Adding embedded-hal v0.2.7 (latest: v1.0.0) [INFO] [stderr] Adding generic-array v0.12.4 (latest: v1.0.0) [INFO] [stderr] Adding generic-array v0.13.3 (latest: v1.0.0) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.0.0) [INFO] [stderr] Adding nb v0.1.3 (latest: v1.1.0) [INFO] [stderr] Adding r0 v0.2.2 (latest: v1.0.0) [INFO] [stderr] Adding rustc_version v0.2.3 (latest: v0.4.0) [INFO] [stderr] Adding semver v0.9.0 (latest: v1.0.22) [INFO] [stderr] Adding semver-parser v0.7.0 (latest: v0.10.2) [INFO] [stderr] Adding stm32l1 v0.3.2 (latest: v0.15.1) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.58) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cortex-m-rt-macros v0.6.15 [INFO] [stderr] Downloaded r0 v0.2.2 [INFO] [stderr] Downloaded as-slice v0.1.5 [INFO] [stderr] Downloaded cortex-m v0.5.11 [INFO] [stderr] Downloaded aligned v0.2.0 [INFO] [stderr] Downloaded generic-array v0.13.3 [INFO] [stderr] Downloaded aligned v0.3.5 [INFO] [stderr] Downloaded cortex-m v0.6.7 [INFO] [stderr] Downloaded cortex-m-rt v0.6.15 [INFO] [stderr] Downloaded stm32l1 v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6e888dc4ac2b3624e35ea63e7744a537ab3aff46d4f5da9872b832b1355d5bf7 [INFO] running `Command { std: "docker" "start" "-a" "6e888dc4ac2b3624e35ea63e7744a537ab3aff46d4f5da9872b832b1355d5bf7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e888dc4ac2b3624e35ea63e7744a537ab3aff46d4f5da9872b832b1355d5bf7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e888dc4ac2b3624e35ea63e7744a537ab3aff46d4f5da9872b832b1355d5bf7", kill_on_drop: false }` [INFO] [stdout] 6e888dc4ac2b3624e35ea63e7744a537ab3aff46d4f5da9872b832b1355d5bf7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b73047d278b4a869970492bc14529cf48076e677bf6cc3adc4e55920660bd89 [INFO] running `Command { std: "docker" "start" "-a" "6b73047d278b4a869970492bc14529cf48076e677bf6cc3adc4e55920660bd89", kill_on_drop: false }` [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Checking generic-array v0.13.3 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Compiling cortex-m-rt v0.6.15 [INFO] [stderr] Compiling cortex-m v0.5.11 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Checking aligned v0.2.0 [INFO] [stderr] Compiling stm32l1 v0.3.2 [INFO] [stderr] Checking volatile-register v0.2.2 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Checking as-slice v0.1.5 [INFO] [stderr] Checking aligned v0.3.5 [INFO] [stderr] Compiling cortex-m-rt-macros v0.6.15 [INFO] [stderr] Checking stm32l151-hal v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated trait `hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | use hal::digital::{InputPin, OutputPin}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | / gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] 146 | | PA0: (pa0, 0, Input, afrl), [INFO] [stdout] 147 | | PA1: (pa1, 1, Input, afrl), [INFO] [stdout] 148 | | PA2: (pa2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 161 | | PA15: (pa15, 15, Input, afrh), [INFO] [stdout] 162 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | use hal::digital::{InputPin, OutputPin}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | / gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] 146 | | PA0: (pa0, 0, Input, afrl), [INFO] [stdout] 147 | | PA1: (pa1, 1, Input, afrl), [INFO] [stdout] 148 | | PA2: (pa2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 161 | | PA15: (pa15, 15, Input, afrh), [INFO] [stdout] 162 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:121:22 [INFO] [stdout] | [INFO] [stdout] 121 | impl InputPin for $PXi { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | / gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] 146 | | PA0: (pa0, 0, Input, afrl), [INFO] [stdout] 147 | | PA1: (pa1, 1, Input, afrl), [INFO] [stdout] 148 | | PA2: (pa2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 161 | | PA15: (pa15, 15, Input, afrh), [INFO] [stdout] 162 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:131:22 [INFO] [stdout] | [INFO] [stdout] 131 | impl OutputPin for $PXi { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | / gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] 146 | | PA0: (pa0, 0, Input, afrl), [INFO] [stdout] 147 | | PA1: (pa1, 1, Input, afrl), [INFO] [stdout] 148 | | PA2: (pa2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 161 | | PA15: (pa15, 15, Input, afrh), [INFO] [stdout] 162 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | use hal::digital::{InputPin, OutputPin}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | / gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] 165 | | PB0: (pb0, 0, Input, afrl), [INFO] [stdout] 166 | | PB1: (pb1, 1, Input, afrl), [INFO] [stdout] 167 | | PB2: (pb2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 180 | | PB15: (pb15, 15, Input, afrh), [INFO] [stdout] 181 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | use hal::digital::{InputPin, OutputPin}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | / gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] 165 | | PB0: (pb0, 0, Input, afrl), [INFO] [stdout] 166 | | PB1: (pb1, 1, Input, afrl), [INFO] [stdout] 167 | | PB2: (pb2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 180 | | PB15: (pb15, 15, Input, afrh), [INFO] [stdout] 181 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:121:22 [INFO] [stdout] | [INFO] [stdout] 121 | impl InputPin for $PXi { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | / gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] 165 | | PB0: (pb0, 0, Input, afrl), [INFO] [stdout] 166 | | PB1: (pb1, 1, Input, afrl), [INFO] [stdout] 167 | | PB2: (pb2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 180 | | PB15: (pb15, 15, Input, afrh), [INFO] [stdout] 181 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:131:22 [INFO] [stdout] | [INFO] [stdout] 131 | impl OutputPin for $PXi { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | / gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] 165 | | PB0: (pb0, 0, Input, afrl), [INFO] [stdout] 166 | | PB1: (pb1, 1, Input, afrl), [INFO] [stdout] 167 | | PB2: (pb2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 180 | | PB15: (pb15, 15, Input, afrh), [INFO] [stdout] 181 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | use hal::digital::{InputPin, OutputPin}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 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: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::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: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::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:121:22 [INFO] [stdout] | [INFO] [stdout] 121 | impl InputPin for $PXi { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | / gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] 184 | | PC13: (pc13, 13, Input, afrh), [INFO] [stdout] 185 | | PC14: (pc14, 14, Input, afrh), [INFO] [stdout] 186 | | PC15: (pc15, 15, Input, afrh), [INFO] [stdout] 187 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:131:22 [INFO] [stdout] | [INFO] [stdout] 131 | impl OutputPin for $PXi { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | / gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] 184 | | PC13: (pc13, 13, Input, afrh), [INFO] [stdout] 185 | | PC14: (pc14, 14, Input, afrh), [INFO] [stdout] 186 | | PC15: (pc15, 15, Input, afrh), [INFO] [stdout] 187 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | use hal::digital::{InputPin, OutputPin}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | / gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] 165 | | PB0: (pb0, 0, Input, afrl), [INFO] [stdout] 166 | | PB1: (pb1, 1, Input, afrl), [INFO] [stdout] 167 | | PB2: (pb2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 180 | | PB15: (pb15, 15, Input, afrh), [INFO] [stdout] 181 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | use hal::digital::{InputPin, OutputPin}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | / gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] 165 | | PB0: (pb0, 0, Input, afrl), [INFO] [stdout] 166 | | PB1: (pb1, 1, Input, afrl), [INFO] [stdout] 167 | | PB2: (pb2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 180 | | PB15: (pb15, 15, Input, afrh), [INFO] [stdout] 181 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:121:22 [INFO] [stdout] | [INFO] [stdout] 121 | impl InputPin for $PXi { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | / gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] 165 | | PB0: (pb0, 0, Input, afrl), [INFO] [stdout] 166 | | PB1: (pb1, 1, Input, afrl), [INFO] [stdout] 167 | | PB2: (pb2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 180 | | PB15: (pb15, 15, Input, afrh), [INFO] [stdout] 181 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:131:22 [INFO] [stdout] | [INFO] [stdout] 131 | impl OutputPin for $PXi { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | / gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] 165 | | PB0: (pb0, 0, Input, afrl), [INFO] [stdout] 166 | | PB1: (pb1, 1, Input, afrl), [INFO] [stdout] 167 | | PB2: (pb2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 180 | | PB15: (pb15, 15, Input, afrh), [INFO] [stdout] 181 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | use hal::digital::{InputPin, OutputPin}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | / gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] 184 | | PC13: (pc13, 13, Input, afrh), [INFO] [stdout] 185 | | PC14: (pc14, 14, Input, afrh), [INFO] [stdout] 186 | | PC15: (pc15, 15, Input, afrh), [INFO] [stdout] 187 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | use hal::digital::{InputPin, OutputPin}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | / gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] 184 | | PC13: (pc13, 13, Input, afrh), [INFO] [stdout] 185 | | PC14: (pc14, 14, Input, afrh), [INFO] [stdout] 186 | | PC15: (pc15, 15, Input, afrh), [INFO] [stdout] 187 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:121:22 [INFO] [stdout] | [INFO] [stdout] 121 | impl InputPin for $PXi { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | / gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] 184 | | PC13: (pc13, 13, Input, afrh), [INFO] [stdout] 185 | | PC14: (pc14, 14, Input, afrh), [INFO] [stdout] 186 | | PC15: (pc15, 15, Input, afrh), [INFO] [stdout] 187 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:131:22 [INFO] [stdout] | [INFO] [stdout] 131 | impl OutputPin for $PXi { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | / gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] 184 | | PC13: (pc13, 13, Input, afrh), [INFO] [stdout] 185 | | PC14: (pc14, 14, Input, afrh), [INFO] [stdout] 186 | | PC15: (pc15, 15, Input, afrh), [INFO] [stdout] 187 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `hal::digital::InputPin::is_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:123:31 [INFO] [stdout] | [INFO] [stdout] 123 | !self.is_low() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | / gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] 146 | | PA0: (pa0, 0, Input, afrl), [INFO] [stdout] 147 | | PA1: (pa1, 1, Input, afrl), [INFO] [stdout] 148 | | PA2: (pa2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 161 | | PA15: (pa15, 15, Input, afrh), [INFO] [stdout] 162 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `hal::digital::InputPin::is_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:123:31 [INFO] [stdout] | [INFO] [stdout] 123 | !self.is_low() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | / gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] 146 | | PA0: (pa0, 0, Input, afrl), [INFO] [stdout] 147 | | PA1: (pa1, 1, Input, afrl), [INFO] [stdout] 148 | | PA2: (pa2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 161 | | PA15: (pa15, 15, Input, afrh), [INFO] [stdout] 162 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `hal::digital::InputPin::is_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:123:31 [INFO] [stdout] | [INFO] [stdout] 123 | !self.is_low() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | / gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] 165 | | PB0: (pb0, 0, Input, afrl), [INFO] [stdout] 166 | | PB1: (pb1, 1, Input, afrl), [INFO] [stdout] 167 | | PB2: (pb2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 180 | | PB15: (pb15, 15, Input, afrh), [INFO] [stdout] 181 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `hal::digital::InputPin::is_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:123:31 [INFO] [stdout] | [INFO] [stdout] 123 | !self.is_low() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | / gpio!(GPIOB, gpiob, gpioa, gpiopben, gpiopbrst, [ [INFO] [stdout] 165 | | PB0: (pb0, 0, Input, afrl), [INFO] [stdout] 166 | | PB1: (pb1, 1, Input, afrl), [INFO] [stdout] 167 | | PB2: (pb2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 180 | | PB15: (pb15, 15, Input, afrh), [INFO] [stdout] 181 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `hal::digital::InputPin::is_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:123:31 [INFO] [stdout] | [INFO] [stdout] 123 | !self.is_low() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | / gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] 184 | | PC13: (pc13, 13, Input, afrh), [INFO] [stdout] 185 | | PC14: (pc14, 14, Input, afrh), [INFO] [stdout] 186 | | PC15: (pc15, 15, Input, afrh), [INFO] [stdout] 187 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `hal::digital::InputPin::is_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:123:31 [INFO] [stdout] | [INFO] [stdout] 123 | !self.is_low() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | / gpio!(GPIOC, gpioc, gpioa, gpiopcen, gpiopcrst, [ [INFO] [stdout] 184 | | PC13: (pc13, 13, Input, afrh), [INFO] [stdout] 185 | | PC14: (pc14, 14, Input, afrh), [INFO] [stdout] 186 | | PC15: (pc15, 15, Input, afrh), [INFO] [stdout] 187 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/gpio.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | / &(*$GPIOX::ptr()).moder.modify(|r, w| [INFO] [stdout] 56 | | w.bits((r.bits() & !(0b11 << offset)) | (input << offset)) [INFO] [stdout] 57 | | ); [INFO] [stdout] | |_____________________________^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 145 | / gpio!(GPIOA, gpioa, gpioa, gpiopaen, gpioparst, [ [INFO] [stdout] 146 | | PA0: (pa0, 0, Input, afrl), [INFO] [stdout] 147 | | PA1: (pa1, 1, Input, afrl), [INFO] [stdout] 148 | | PA2: (pa2, 2, Input, afrl), [INFO] [stdout] ... | [INFO] [stdout] 161 | | PA15: (pa15, 15, Input, afrh), [INFO] [stdout] 162 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 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: 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: 33 warnings emitted [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` profile [unoptimized + debuginfo] target(s) in 12.42s [INFO] running `Command { std: "docker" "inspect" "6b73047d278b4a869970492bc14529cf48076e677bf6cc3adc4e55920660bd89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b73047d278b4a869970492bc14529cf48076e677bf6cc3adc4e55920660bd89", kill_on_drop: false }` [INFO] [stdout] 6b73047d278b4a869970492bc14529cf48076e677bf6cc3adc4e55920660bd89