[INFO] fetching crate nrf52-hal-common 0.8.1... [INFO] checking nrf52-hal-common-0.8.1 against try#7b3565da729099dbe807466fcd118fb2815986e0 for pr-81789 [INFO] extracting crate nrf52-hal-common 0.8.1 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate nrf52-hal-common 0.8.1 on toolchain 7b3565da729099dbe807466fcd118fb2815986e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate nrf52-hal-common 0.8.1 [INFO] finished tweaking crates.io crate nrf52-hal-common 0.8.1 [INFO] tweaked toml for crates.io crate nrf52-hal-common 0.8.1 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nrf52832-pac v0.8.0 [INFO] [stderr] Downloaded nrf52810-pac v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fcaeebd636a9a9d5e3edd2431d8d43d3711d5e38a5b90232ed6882635d895456 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fcaeebd636a9a9d5e3edd2431d8d43d3711d5e38a5b90232ed6882635d895456", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fcaeebd636a9a9d5e3edd2431d8d43d3711d5e38a5b90232ed6882635d895456", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcaeebd636a9a9d5e3edd2431d8d43d3711d5e38a5b90232ed6882635d895456", kill_on_drop: false }` [INFO] [stdout] fcaeebd636a9a9d5e3edd2431d8d43d3711d5e38a5b90232ed6882635d895456 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25bd0f1b8dab7e790ae245f14a49be99442d8edb1c92f65f4d25d5e18eca5479 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "25bd0f1b8dab7e790ae245f14a49be99442d8edb1c92f65f4d25d5e18eca5479", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Compiling cortex-m v0.7.2 [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 nrf52832-pac v0.8.0 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling cast v0.2.5 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking embedded-hal v0.2.4 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking generic-array v0.13.3 [INFO] [stderr] Checking fpa v0.1.0 [INFO] [stderr] Checking as-slice v0.1.5 [INFO] [stderr] Checking aligned v0.3.4 [INFO] [stderr] Checking nrf52-hal-common v0.8.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:72:27 [INFO] [stdout] | [INFO] [stdout] 72 | use crate::hal::digital::{OutputPin, StatefulOutputPin, InputPin}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::StatefulOutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:72:38 [INFO] [stdout] | [INFO] [stdout] 72 | use crate::hal::digital::{OutputPin, StatefulOutputPin, InputPin}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:72:57 [INFO] [stdout] | [INFO] [stdout] 72 | use crate::hal::digital::{OutputPin, StatefulOutputPin, InputPin}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:229:12 [INFO] [stdout] | [INFO] [stdout] 229 | impl InputPin for Pin> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:246:12 [INFO] [stdout] | [INFO] [stdout] 246 | impl OutputPin for Pin> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::StatefulOutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:276:12 [INFO] [stdout] | [INFO] [stdout] 276 | impl StatefulOutputPin for Pin> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:351:39 [INFO] [stdout] | [INFO] [stdout] 351 | use crate::hal::digital::{OutputPin, StatefulOutputPin, InputPin}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 554 | / gpio!(P0, p0, p0, false, [ [INFO] [stdout] 555 | | P0_00: (p0_00, 0, Input), [INFO] [stdout] 556 | | P0_01: (p0_01, 1, Input), [INFO] [stdout] 557 | | P0_02: (p0_02, 2, Input), [INFO] [stdout] ... | [INFO] [stdout] 586 | | P0_31: (p0_31, 31, Input), [INFO] [stdout] 587 | | ]); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::StatefulOutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:351:50 [INFO] [stdout] | [INFO] [stdout] 351 | use crate::hal::digital::{OutputPin, StatefulOutputPin, InputPin}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 554 | / gpio!(P0, p0, p0, false, [ [INFO] [stdout] 555 | | P0_00: (p0_00, 0, Input), [INFO] [stdout] 556 | | P0_01: (p0_01, 1, Input), [INFO] [stdout] 557 | | P0_02: (p0_02, 2, Input), [INFO] [stdout] ... | [INFO] [stdout] 586 | | P0_31: (p0_31, 31, Input), [INFO] [stdout] 587 | | ]); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:351:69 [INFO] [stdout] | [INFO] [stdout] 351 | use crate::hal::digital::{OutputPin, StatefulOutputPin, InputPin}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 554 | / gpio!(P0, p0, p0, false, [ [INFO] [stdout] 555 | | P0_00: (p0_00, 0, Input), [INFO] [stdout] 556 | | P0_01: (p0_01, 1, Input), [INFO] [stdout] 557 | | P0_02: (p0_02, 2, Input), [INFO] [stdout] ... | [INFO] [stdout] 586 | | P0_31: (p0_31, 31, Input), [INFO] [stdout] 587 | | ]); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:504:28 [INFO] [stdout] | [INFO] [stdout] 504 | impl InputPin for $PXi> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 554 | / gpio!(P0, p0, p0, false, [ [INFO] [stdout] 555 | | P0_00: (p0_00, 0, Input), [INFO] [stdout] 556 | | P0_01: (p0_01, 1, Input), [INFO] [stdout] 557 | | P0_02: (p0_02, 2, Input), [INFO] [stdout] ... | [INFO] [stdout] 586 | | P0_31: (p0_31, 31, Input), [INFO] [stdout] 587 | | ]); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:514:28 [INFO] [stdout] | [INFO] [stdout] 514 | impl OutputPin for $PXi> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 554 | / gpio!(P0, p0, p0, false, [ [INFO] [stdout] 555 | | P0_00: (p0_00, 0, Input), [INFO] [stdout] 556 | | P0_01: (p0_01, 1, Input), [INFO] [stdout] 557 | | P0_02: (p0_02, 2, Input), [INFO] [stdout] ... | [INFO] [stdout] 586 | | P0_31: (p0_31, 31, Input), [INFO] [stdout] 587 | | ]); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::StatefulOutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:530:28 [INFO] [stdout] | [INFO] [stdout] 530 | impl StatefulOutputPin for $PXi> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 554 | / gpio!(P0, p0, p0, false, [ [INFO] [stdout] 555 | | P0_00: (p0_00, 0, Input), [INFO] [stdout] 556 | | P0_01: (p0_01, 1, Input), [INFO] [stdout] 557 | | P0_02: (p0_02, 2, Input), [INFO] [stdout] ... | [INFO] [stdout] 586 | | P0_31: (p0_31, 31, Input), [INFO] [stdout] 587 | | ]); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:72:27 [INFO] [stdout] | [INFO] [stdout] 72 | use crate::hal::digital::{OutputPin, StatefulOutputPin, InputPin}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::StatefulOutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:72:38 [INFO] [stdout] | [INFO] [stdout] 72 | use crate::hal::digital::{OutputPin, StatefulOutputPin, InputPin}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:72:57 [INFO] [stdout] | [INFO] [stdout] 72 | use crate::hal::digital::{OutputPin, StatefulOutputPin, InputPin}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:229:12 [INFO] [stdout] | [INFO] [stdout] 229 | impl InputPin for Pin> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:246:12 [INFO] [stdout] | [INFO] [stdout] 246 | impl OutputPin for Pin> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::StatefulOutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:276:12 [INFO] [stdout] | [INFO] [stdout] 276 | impl StatefulOutputPin for Pin> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:351:39 [INFO] [stdout] | [INFO] [stdout] 351 | use crate::hal::digital::{OutputPin, StatefulOutputPin, InputPin}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 554 | / gpio!(P0, p0, p0, false, [ [INFO] [stdout] 555 | | P0_00: (p0_00, 0, Input), [INFO] [stdout] 556 | | P0_01: (p0_01, 1, Input), [INFO] [stdout] 557 | | P0_02: (p0_02, 2, Input), [INFO] [stdout] ... | [INFO] [stdout] 586 | | P0_31: (p0_31, 31, Input), [INFO] [stdout] 587 | | ]); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::StatefulOutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:351:50 [INFO] [stdout] | [INFO] [stdout] 351 | use crate::hal::digital::{OutputPin, StatefulOutputPin, InputPin}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 554 | / gpio!(P0, p0, p0, false, [ [INFO] [stdout] 555 | | P0_00: (p0_00, 0, Input), [INFO] [stdout] 556 | | P0_01: (p0_01, 1, Input), [INFO] [stdout] 557 | | P0_02: (p0_02, 2, Input), [INFO] [stdout] ... | [INFO] [stdout] 586 | | P0_31: (p0_31, 31, Input), [INFO] [stdout] 587 | | ]); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:351:69 [INFO] [stdout] | [INFO] [stdout] 351 | use crate::hal::digital::{OutputPin, StatefulOutputPin, InputPin}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 554 | / gpio!(P0, p0, p0, false, [ [INFO] [stdout] 555 | | P0_00: (p0_00, 0, Input), [INFO] [stdout] 556 | | P0_01: (p0_01, 1, Input), [INFO] [stdout] 557 | | P0_02: (p0_02, 2, Input), [INFO] [stdout] ... | [INFO] [stdout] 586 | | P0_31: (p0_31, 31, Input), [INFO] [stdout] 587 | | ]); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:504:28 [INFO] [stdout] | [INFO] [stdout] 504 | impl InputPin for $PXi> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 554 | / gpio!(P0, p0, p0, false, [ [INFO] [stdout] 555 | | P0_00: (p0_00, 0, Input), [INFO] [stdout] 556 | | P0_01: (p0_01, 1, Input), [INFO] [stdout] 557 | | P0_02: (p0_02, 2, Input), [INFO] [stdout] ... | [INFO] [stdout] 586 | | P0_31: (p0_31, 31, Input), [INFO] [stdout] 587 | | ]); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::OutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:514:28 [INFO] [stdout] | [INFO] [stdout] 514 | impl OutputPin for $PXi> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 554 | / gpio!(P0, p0, p0, false, [ [INFO] [stdout] 555 | | P0_00: (p0_00, 0, Input), [INFO] [stdout] 556 | | P0_01: (p0_01, 1, Input), [INFO] [stdout] 557 | | P0_02: (p0_02, 2, Input), [INFO] [stdout] ... | [INFO] [stdout] 586 | | P0_31: (p0_31, 31, Input), [INFO] [stdout] 587 | | ]); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `embedded_hal::digital::StatefulOutputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:530:28 [INFO] [stdout] | [INFO] [stdout] 530 | impl StatefulOutputPin for $PXi> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 554 | / gpio!(P0, p0, p0, false, [ [INFO] [stdout] 555 | | P0_00: (p0_00, 0, Input), [INFO] [stdout] 556 | | P0_01: (p0_01, 1, Input), [INFO] [stdout] 557 | | P0_02: (p0_02, 2, Input), [INFO] [stdout] ... | [INFO] [stdout] 586 | | P0_31: (p0_31, 31, Input), [INFO] [stdout] 587 | | ]); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/lib.rs:87:18 [INFO] [stdout] | [INFO] [stdout] 87 | ptr: slice.as_ptr() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `slice.as_ptr() as usize as u32` [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(invalid_ptr_to_int_cast)]` on by default [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `embedded_hal::digital::OutputPin::set_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:161:32 [INFO] [stdout] | [INFO] [stdout] 161 | Level::Low => pin.set_low(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `embedded_hal::digital::OutputPin::set_high`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:162:32 [INFO] [stdout] | [INFO] [stdout] 162 | Level::High => pin.set_high(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `embedded_hal::digital::OutputPin::set_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:202:32 [INFO] [stdout] | [INFO] [stdout] 202 | Level::Low => pin.set_low(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `embedded_hal::digital::OutputPin::set_high`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:203:32 [INFO] [stdout] | [INFO] [stdout] 203 | Level::High => pin.set_high(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `embedded_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:231:15 [INFO] [stdout] | [INFO] [stdout] 231 | !self.is_low() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `embedded_hal::digital::StatefulOutputPin::is_set_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:279:15 [INFO] [stdout] | [INFO] [stdout] 279 | !self.is_set_low() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/lib.rs:87:18 [INFO] [stdout] | [INFO] [stdout] 87 | ptr: slice.as_ptr() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `slice.as_ptr() as usize as u32` [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(invalid_ptr_to_int_cast)]` on by default [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `embedded_hal::digital::OutputPin::set_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:161:32 [INFO] [stdout] | [INFO] [stdout] 161 | Level::Low => pin.set_low(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `embedded_hal::digital::OutputPin::set_high`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:162:32 [INFO] [stdout] | [INFO] [stdout] 162 | Level::High => pin.set_high(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `embedded_hal::digital::OutputPin::set_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:202:32 [INFO] [stdout] | [INFO] [stdout] 202 | Level::Low => pin.set_low(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `embedded_hal::digital::OutputPin::set_high`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:203:32 [INFO] [stdout] | [INFO] [stdout] 203 | Level::High => pin.set_high(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `embedded_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:231:15 [INFO] [stdout] | [INFO] [stdout] 231 | !self.is_low() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `embedded_hal::digital::StatefulOutputPin::is_set_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:279:15 [INFO] [stdout] | [INFO] [stdout] 279 | !self.is_set_low() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `embedded_hal::digital::OutputPin::set_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:442:48 [INFO] [stdout] | [INFO] [stdout] 442 | Level::Low => pin.set_low(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 554 | / gpio!(P0, p0, p0, false, [ [INFO] [stdout] 555 | | P0_00: (p0_00, 0, Input), [INFO] [stdout] 556 | | P0_01: (p0_01, 1, Input), [INFO] [stdout] 557 | | P0_02: (p0_02, 2, Input), [INFO] [stdout] ... | [INFO] [stdout] 586 | | P0_31: (p0_31, 31, Input), [INFO] [stdout] 587 | | ]); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `embedded_hal::digital::OutputPin::set_high`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:443:48 [INFO] [stdout] | [INFO] [stdout] 443 | Level::High => pin.set_high(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 554 | / gpio!(P0, p0, p0, false, [ [INFO] [stdout] 555 | | P0_00: (p0_00, 0, Input), [INFO] [stdout] 556 | | P0_01: (p0_01, 1, Input), [INFO] [stdout] 557 | | P0_02: (p0_02, 2, Input), [INFO] [stdout] ... | [INFO] [stdout] 586 | | P0_31: (p0_31, 31, Input), [INFO] [stdout] 587 | | ]); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `embedded_hal::digital::OutputPin::set_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:472:48 [INFO] [stdout] | [INFO] [stdout] 472 | Level::Low => pin.set_low(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 554 | / gpio!(P0, p0, p0, false, [ [INFO] [stdout] 555 | | P0_00: (p0_00, 0, Input), [INFO] [stdout] 556 | | P0_01: (p0_01, 1, Input), [INFO] [stdout] 557 | | P0_02: (p0_02, 2, Input), [INFO] [stdout] ... | [INFO] [stdout] 586 | | P0_31: (p0_31, 31, Input), [INFO] [stdout] 587 | | ]); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `embedded_hal::digital::OutputPin::set_high`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:473:48 [INFO] [stdout] | [INFO] [stdout] 473 | Level::High => pin.set_high(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 554 | / gpio!(P0, p0, p0, false, [ [INFO] [stdout] 555 | | P0_00: (p0_00, 0, Input), [INFO] [stdout] 556 | | P0_01: (p0_01, 1, Input), [INFO] [stdout] 557 | | P0_02: (p0_02, 2, Input), [INFO] [stdout] ... | [INFO] [stdout] 586 | | P0_31: (p0_31, 31, Input), [INFO] [stdout] 587 | | ]); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `embedded_hal::digital::OutputPin::set_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:442:48 [INFO] [stdout] | [INFO] [stdout] 442 | Level::Low => pin.set_low(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 554 | / gpio!(P0, p0, p0, false, [ [INFO] [stdout] 555 | | P0_00: (p0_00, 0, Input), [INFO] [stdout] 556 | | P0_01: (p0_01, 1, Input), [INFO] [stdout] 557 | | P0_02: (p0_02, 2, Input), [INFO] [stdout] ... | [INFO] [stdout] 586 | | P0_31: (p0_31, 31, Input), [INFO] [stdout] 587 | | ]); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `embedded_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:506:31 [INFO] [stdout] | [INFO] [stdout] 506 | !self.is_low() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 554 | / gpio!(P0, p0, p0, false, [ [INFO] [stdout] 555 | | P0_00: (p0_00, 0, Input), [INFO] [stdout] 556 | | P0_01: (p0_01, 1, Input), [INFO] [stdout] 557 | | P0_02: (p0_02, 2, Input), [INFO] [stdout] ... | [INFO] [stdout] 586 | | P0_31: (p0_31, 31, Input), [INFO] [stdout] 587 | | ]); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `embedded_hal::digital::OutputPin::set_high`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:443:48 [INFO] [stdout] | [INFO] [stdout] 443 | Level::High => pin.set_high(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 554 | / gpio!(P0, p0, p0, false, [ [INFO] [stdout] 555 | | P0_00: (p0_00, 0, Input), [INFO] [stdout] 556 | | P0_01: (p0_01, 1, Input), [INFO] [stdout] 557 | | P0_02: (p0_02, 2, Input), [INFO] [stdout] ... | [INFO] [stdout] 586 | | P0_31: (p0_31, 31, Input), [INFO] [stdout] 587 | | ]); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `embedded_hal::digital::StatefulOutputPin::is_set_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:533:31 [INFO] [stdout] | [INFO] [stdout] 533 | !self.is_set_low() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 554 | / gpio!(P0, p0, p0, false, [ [INFO] [stdout] 555 | | P0_00: (p0_00, 0, Input), [INFO] [stdout] 556 | | P0_01: (p0_01, 1, Input), [INFO] [stdout] 557 | | P0_02: (p0_02, 2, Input), [INFO] [stdout] ... | [INFO] [stdout] 586 | | P0_31: (p0_31, 31, Input), [INFO] [stdout] 587 | | ]); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `embedded_hal::digital::OutputPin::set_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:472:48 [INFO] [stdout] | [INFO] [stdout] 472 | Level::Low => pin.set_low(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 554 | / gpio!(P0, p0, p0, false, [ [INFO] [stdout] 555 | | P0_00: (p0_00, 0, Input), [INFO] [stdout] 556 | | P0_01: (p0_01, 1, Input), [INFO] [stdout] 557 | | P0_02: (p0_02, 2, Input), [INFO] [stdout] ... | [INFO] [stdout] 586 | | P0_31: (p0_31, 31, Input), [INFO] [stdout] 587 | | ]); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `embedded_hal::digital::OutputPin::set_high`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:473:48 [INFO] [stdout] | [INFO] [stdout] 473 | Level::High => pin.set_high(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 554 | / gpio!(P0, p0, p0, false, [ [INFO] [stdout] 555 | | P0_00: (p0_00, 0, Input), [INFO] [stdout] 556 | | P0_01: (p0_01, 1, Input), [INFO] [stdout] 557 | | P0_02: (p0_02, 2, Input), [INFO] [stdout] ... | [INFO] [stdout] 586 | | P0_31: (p0_31, 31, Input), [INFO] [stdout] 587 | | ]); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `cortex_m::peripheral::nvic::::enable`: Use `NVIC::unmask` [INFO] [stdout] --> src/rtc.rs:107:14 [INFO] [stdout] | [INFO] [stdout] 107 | nvic.enable(T::INTERRUPT); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `cortex_m::peripheral::nvic::::disable`: Use `NVIC::mask` [INFO] [stdout] --> src/rtc.rs:120:14 [INFO] [stdout] | [INFO] [stdout] 120 | nvic.disable(T::INTERRUPT); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `embedded_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:506:31 [INFO] [stdout] | [INFO] [stdout] 506 | !self.is_low() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 554 | / gpio!(P0, p0, p0, false, [ [INFO] [stdout] 555 | | P0_00: (p0_00, 0, Input), [INFO] [stdout] 556 | | P0_01: (p0_01, 1, Input), [INFO] [stdout] 557 | | P0_02: (p0_02, 2, Input), [INFO] [stdout] ... | [INFO] [stdout] 586 | | P0_31: (p0_31, 31, Input), [INFO] [stdout] 587 | | ]); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/saadc.rs:129:46 [INFO] [stdout] | [INFO] [stdout] 129 | .write(|w| unsafe { w.ptr().bits(((&mut val) as *mut _) as u32) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `((&mut val) as *mut _) as usize as u32` [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `embedded_hal::digital::OutputPin::set_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/spim.rs:268:21 [INFO] [stdout] | [INFO] [stdout] 268 | chip_select.set_low(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `embedded_hal::digital::OutputPin::set_high`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/spim.rs:278:21 [INFO] [stdout] | [INFO] [stdout] 278 | chip_select.set_high(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `embedded_hal::digital::OutputPin::set_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/spim.rs:306:21 [INFO] [stdout] | [INFO] [stdout] 306 | chip_select.set_low(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `embedded_hal::digital::OutputPin::set_high`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/spim.rs:313:21 [INFO] [stdout] | [INFO] [stdout] 313 | chip_select.set_high(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `embedded_hal::digital::OutputPin::set_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/spim.rs:353:21 [INFO] [stdout] | [INFO] [stdout] 353 | chip_select.set_low(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `embedded_hal::digital::OutputPin::set_high`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/spim.rs:375:21 [INFO] [stdout] | [INFO] [stdout] 375 | chip_select.set_high(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `cortex_m::peripheral::nvic::::enable`: Use `NVIC::unmask` [INFO] [stdout] --> src/timer.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | nvic.enable(T::INTERRUPT); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `cortex_m::peripheral::nvic::::disable`: Use `NVIC::mask` [INFO] [stdout] --> src/timer.rs:91:14 [INFO] [stdout] | [INFO] [stdout] 91 | nvic.disable(T::INTERRUPT); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/twim.rs:141:35 [INFO] [stdout] | [INFO] [stdout] 141 | unsafe { w.ptr().bits(buffer.as_ptr() as u32) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `buffer.as_ptr() as usize as u32` [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/twim.rs:214:35 [INFO] [stdout] | [INFO] [stdout] 214 | unsafe { w.ptr().bits(buffer.as_mut_ptr() as u32) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `buffer.as_mut_ptr() as usize as u32` [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/twim.rs:295:35 [INFO] [stdout] | [INFO] [stdout] 295 | unsafe { w.ptr().bits(wr_buffer.as_ptr() as u32) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `wr_buffer.as_ptr() as usize as u32` [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/twim.rs:315:35 [INFO] [stdout] | [INFO] [stdout] 315 | unsafe { w.ptr().bits(rd_buffer.as_mut_ptr() as u32) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `rd_buffer.as_mut_ptr() as usize as u32` [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `embedded_hal::digital::OutputPin::set_high`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/uarte.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 62 | pins.txd.set_high(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/uarte.rs:141:35 [INFO] [stdout] | [INFO] [stdout] 141 | unsafe { w.ptr().bits(tx_buffer.as_ptr() as u32) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `tx_buffer.as_ptr() as usize as u32` [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `embedded_hal::digital::StatefulOutputPin::is_set_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:533:31 [INFO] [stdout] | [INFO] [stdout] 533 | !self.is_set_low() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 554 | / gpio!(P0, p0, p0, false, [ [INFO] [stdout] 555 | | P0_00: (p0_00, 0, Input), [INFO] [stdout] 556 | | P0_01: (p0_01, 1, Input), [INFO] [stdout] 557 | | P0_02: (p0_02, 2, Input), [INFO] [stdout] ... | [INFO] [stdout] 586 | | P0_31: (p0_31, 31, Input), [INFO] [stdout] 587 | | ]); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/uarte.rs:282:35 [INFO] [stdout] | [INFO] [stdout] 282 | unsafe { w.ptr().bits(rx_buffer.as_ptr() as u32) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `rx_buffer.as_ptr() as usize as u32` [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nrf52-hal-common` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: use of deprecated associated function `cortex_m::peripheral::nvic::::enable`: Use `NVIC::unmask` [INFO] [stdout] --> src/rtc.rs:107:14 [INFO] [stdout] | [INFO] [stdout] 107 | nvic.enable(T::INTERRUPT); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `cortex_m::peripheral::nvic::::disable`: Use `NVIC::mask` [INFO] [stdout] --> src/rtc.rs:120:14 [INFO] [stdout] | [INFO] [stdout] 120 | nvic.disable(T::INTERRUPT); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/saadc.rs:129:46 [INFO] [stdout] | [INFO] [stdout] 129 | .write(|w| unsafe { w.ptr().bits(((&mut val) as *mut _) as u32) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `((&mut val) as *mut _) as usize as u32` [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `embedded_hal::digital::OutputPin::set_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/spim.rs:268:21 [INFO] [stdout] | [INFO] [stdout] 268 | chip_select.set_low(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `embedded_hal::digital::OutputPin::set_high`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/spim.rs:278:21 [INFO] [stdout] | [INFO] [stdout] 278 | chip_select.set_high(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `embedded_hal::digital::OutputPin::set_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/spim.rs:306:21 [INFO] [stdout] | [INFO] [stdout] 306 | chip_select.set_low(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `embedded_hal::digital::OutputPin::set_high`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/spim.rs:313:21 [INFO] [stdout] | [INFO] [stdout] 313 | chip_select.set_high(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `embedded_hal::digital::OutputPin::set_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/spim.rs:353:21 [INFO] [stdout] | [INFO] [stdout] 353 | chip_select.set_low(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `embedded_hal::digital::OutputPin::set_high`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/spim.rs:375:21 [INFO] [stdout] | [INFO] [stdout] 375 | chip_select.set_high(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `cortex_m::peripheral::nvic::::enable`: Use `NVIC::unmask` [INFO] [stdout] --> src/timer.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | nvic.enable(T::INTERRUPT); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `cortex_m::peripheral::nvic::::disable`: Use `NVIC::mask` [INFO] [stdout] --> src/timer.rs:91:14 [INFO] [stdout] | [INFO] [stdout] 91 | nvic.disable(T::INTERRUPT); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/twim.rs:141:35 [INFO] [stdout] | [INFO] [stdout] 141 | unsafe { w.ptr().bits(buffer.as_ptr() as u32) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `buffer.as_ptr() as usize as u32` [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/twim.rs:214:35 [INFO] [stdout] | [INFO] [stdout] 214 | unsafe { w.ptr().bits(buffer.as_mut_ptr() as u32) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `buffer.as_mut_ptr() as usize as u32` [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/twim.rs:295:35 [INFO] [stdout] | [INFO] [stdout] 295 | unsafe { w.ptr().bits(wr_buffer.as_ptr() as u32) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `wr_buffer.as_ptr() as usize as u32` [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/twim.rs:315:35 [INFO] [stdout] | [INFO] [stdout] 315 | unsafe { w.ptr().bits(rd_buffer.as_mut_ptr() as u32) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `rd_buffer.as_mut_ptr() as usize as u32` [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `embedded_hal::digital::OutputPin::set_high`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/uarte.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 62 | pins.txd.set_high(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/uarte.rs:141:35 [INFO] [stdout] | [INFO] [stdout] 141 | unsafe { w.ptr().bits(tx_buffer.as_ptr() as u32) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `tx_buffer.as_ptr() as usize as u32` [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/uarte.rs:282:35 [INFO] [stdout] | [INFO] [stdout] 282 | unsafe { w.ptr().bits(rx_buffer.as_ptr() as u32) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `rx_buffer.as_ptr() as usize as u32` [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "25bd0f1b8dab7e790ae245f14a49be99442d8edb1c92f65f4d25d5e18eca5479", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25bd0f1b8dab7e790ae245f14a49be99442d8edb1c92f65f4d25d5e18eca5479", kill_on_drop: false }` [INFO] [stdout] 25bd0f1b8dab7e790ae245f14a49be99442d8edb1c92f65f4d25d5e18eca5479