[INFO] fetching crate da14531-hal 0.2.2... [INFO] checking da14531-hal-0.2.2 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate da14531-hal 0.2.2 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate da14531-hal 0.2.2 [INFO] finished tweaking crates.io crate da14531-hal 0.2.2 [INFO] tweaked toml for crates.io crate da14531-hal 0.2.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate da14531-hal 0.2.2 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 14 packages to latest compatible versions [INFO] [stderr] Adding embedded-hal v0.2.7 (available: v1.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 17cccdb81105e4646096ac2b0ed75f567753e5156f5ef81dc463c6238de01ea8 [INFO] running `Command { std: "docker" "start" "-a" "17cccdb81105e4646096ac2b0ed75f567753e5156f5ef81dc463c6238de01ea8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17cccdb81105e4646096ac2b0ed75f567753e5156f5ef81dc463c6238de01ea8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17cccdb81105e4646096ac2b0ed75f567753e5156f5ef81dc463c6238de01ea8", kill_on_drop: false }` [INFO] [stdout] 17cccdb81105e4646096ac2b0ed75f567753e5156f5ef81dc463c6238de01ea8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 81965843dae70f2c02cbf827523a3d8fd7a0366260d04ac5ec888f3277446833 [INFO] running `Command { std: "docker" "start" "-a" "81965843dae70f2c02cbf827523a3d8fd7a0366260d04ac5ec888f3277446833", kill_on_drop: false }` [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Checking da14531 v0.2.1 [INFO] [stderr] Checking da14531-hal v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait `Sealed` is never used [INFO] [stdout] --> src/lib.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait Sealed {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:207:52 [INFO] [stdout] | [INFO] [stdout] 207 | fn is_high(&self) -> Result { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 208 | | self.is_low().map(|v| !v) [INFO] [stdout] 209 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | self.is_low().map(|v| !v) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | self.is_low().map(|v| !v) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:211:51 [INFO] [stdout] | [INFO] [stdout] 211 | fn is_low(&self) -> Result { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 212 | | Ok(self.block().p0_data_reg.read().bits() & (1 << self.pin()) == 0) [INFO] [stdout] 213 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | Ok(self.block().p0_data_reg.read().bits() & (1 << self.pin()) == 0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:242:56 [INFO] [stdout] | [INFO] [stdout] 242 | fn is_set_high(&self) -> Result { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 243 | | self.is_set_low().map(|v| !v) [INFO] [stdout] 244 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | self.is_set_low().map(|v| !v) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | self.is_set_low().map(|v| !v) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:247:55 [INFO] [stdout] | [INFO] [stdout] 247 | fn is_set_low(&self) -> Result { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 248 | | // NOTE(unsafe) atomic read with no side effects - TODO(AJM) verify? [INFO] [stdout] 249 | | // TODO - I wish I could do something like `.pins$i()`... [INFO] [stdout] 250 | | Ok(self.block().p0_data_reg.read().bits() & (1 << self.pin()) == 0) [INFO] [stdout] 251 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | Ok(self.block().p0_data_reg.read().bits() & (1 << self.pin()) == 0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:421:68 [INFO] [stdout] | [INFO] [stdout] 421 | fn is_high(&self) -> Result { [INFO] [stdout] | ____________________________________________________________________^ [INFO] [stdout] 422 | | self.is_low().map(|v| !v) [INFO] [stdout] 423 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 473 | / gpio!(P0, p0, p0, [ [INFO] [stdout] 474 | | P0_00: (p0_00, 0, Disconnected), [INFO] [stdout] 475 | | P0_01: (p0_01, 1, Disconnected), [INFO] [stdout] 476 | | P0_02: (p0_02, 2, Disconnected), [INFO] [stdout] ... | [INFO] [stdout] 485 | | P0_11: (p0_11, 11, Disconnected), [INFO] [stdout] 486 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:422:25 [INFO] [stdout] | [INFO] [stdout] 422 | self.is_low().map(|v| !v) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 473 | / gpio!(P0, p0, p0, [ [INFO] [stdout] 474 | | P0_00: (p0_00, 0, Disconnected), [INFO] [stdout] 475 | | P0_01: (p0_01, 1, Disconnected), [INFO] [stdout] 476 | | P0_02: (p0_02, 2, Disconnected), [INFO] [stdout] ... | [INFO] [stdout] 485 | | P0_11: (p0_11, 11, Disconnected), [INFO] [stdout] 486 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:422:25 [INFO] [stdout] | [INFO] [stdout] 422 | self.is_low().map(|v| !v) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 473 | / gpio!(P0, p0, p0, [ [INFO] [stdout] 474 | | P0_00: (p0_00, 0, Disconnected), [INFO] [stdout] 475 | | P0_01: (p0_01, 1, Disconnected), [INFO] [stdout] 476 | | P0_02: (p0_02, 2, Disconnected), [INFO] [stdout] ... | [INFO] [stdout] 485 | | P0_11: (p0_11, 11, Disconnected), [INFO] [stdout] 486 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:425:67 [INFO] [stdout] | [INFO] [stdout] 425 | fn is_low(&self) -> Result { [INFO] [stdout] | ___________________________________________________________________^ [INFO] [stdout] 426 | | Ok(unsafe { ((*$PX::ptr()).p0_data_reg.read().bits() & (1 << $i)) == 0 }) [INFO] [stdout] 427 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 473 | / gpio!(P0, p0, p0, [ [INFO] [stdout] 474 | | P0_00: (p0_00, 0, Disconnected), [INFO] [stdout] 475 | | P0_01: (p0_01, 1, Disconnected), [INFO] [stdout] 476 | | P0_02: (p0_02, 2, Disconnected), [INFO] [stdout] ... | [INFO] [stdout] 485 | | P0_11: (p0_11, 11, Disconnected), [INFO] [stdout] 486 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:426:25 [INFO] [stdout] | [INFO] [stdout] 426 | Ok(unsafe { ((*$PX::ptr()).p0_data_reg.read().bits() & (1 << $i)) == 0 }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 473 | / gpio!(P0, p0, p0, [ [INFO] [stdout] 474 | | P0_00: (p0_00, 0, Disconnected), [INFO] [stdout] 475 | | P0_01: (p0_01, 1, Disconnected), [INFO] [stdout] 476 | | P0_02: (p0_02, 2, Disconnected), [INFO] [stdout] ... | [INFO] [stdout] 485 | | P0_11: (p0_11, 11, Disconnected), [INFO] [stdout] 486 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:454:72 [INFO] [stdout] | [INFO] [stdout] 454 | fn is_set_high(&self) -> Result { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 455 | | self.is_set_low().map(|v| !v) [INFO] [stdout] 456 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 473 | / gpio!(P0, p0, p0, [ [INFO] [stdout] 474 | | P0_00: (p0_00, 0, Disconnected), [INFO] [stdout] 475 | | P0_01: (p0_01, 1, Disconnected), [INFO] [stdout] 476 | | P0_02: (p0_02, 2, Disconnected), [INFO] [stdout] ... | [INFO] [stdout] 485 | | P0_11: (p0_11, 11, Disconnected), [INFO] [stdout] 486 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:455:25 [INFO] [stdout] | [INFO] [stdout] 455 | self.is_set_low().map(|v| !v) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 473 | / gpio!(P0, p0, p0, [ [INFO] [stdout] 474 | | P0_00: (p0_00, 0, Disconnected), [INFO] [stdout] 475 | | P0_01: (p0_01, 1, Disconnected), [INFO] [stdout] 476 | | P0_02: (p0_02, 2, Disconnected), [INFO] [stdout] ... | [INFO] [stdout] 485 | | P0_11: (p0_11, 11, Disconnected), [INFO] [stdout] 486 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:455:25 [INFO] [stdout] | [INFO] [stdout] 455 | self.is_set_low().map(|v| !v) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 473 | / gpio!(P0, p0, p0, [ [INFO] [stdout] 474 | | P0_00: (p0_00, 0, Disconnected), [INFO] [stdout] 475 | | P0_01: (p0_01, 1, Disconnected), [INFO] [stdout] 476 | | P0_02: (p0_02, 2, Disconnected), [INFO] [stdout] ... | [INFO] [stdout] 485 | | P0_11: (p0_11, 11, Disconnected), [INFO] [stdout] 486 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:459:71 [INFO] [stdout] | [INFO] [stdout] 459 | fn is_set_low(&self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 460 | | // NOTE(unsafe) atomic read with no side effects - TODO(AJM) verify? [INFO] [stdout] 461 | | // TODO - I wish I could do something like `.pins$i()`... [INFO] [stdout] 462 | | Ok(unsafe { ((*$PX::ptr()).p0_data_reg.read().bits() & (1 << $i)) == 0 }) [INFO] [stdout] 463 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 473 | / gpio!(P0, p0, p0, [ [INFO] [stdout] 474 | | P0_00: (p0_00, 0, Disconnected), [INFO] [stdout] 475 | | P0_01: (p0_01, 1, Disconnected), [INFO] [stdout] 476 | | P0_02: (p0_02, 2, Disconnected), [INFO] [stdout] ... | [INFO] [stdout] 485 | | P0_11: (p0_11, 11, Disconnected), [INFO] [stdout] 486 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:462:25 [INFO] [stdout] | [INFO] [stdout] 462 | Ok(unsafe { ((*$PX::ptr()).p0_data_reg.read().bits() & (1 << $i)) == 0 }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 473 | / gpio!(P0, p0, p0, [ [INFO] [stdout] 474 | | P0_00: (p0_00, 0, Disconnected), [INFO] [stdout] 475 | | P0_01: (p0_01, 1, Disconnected), [INFO] [stdout] 476 | | P0_02: (p0_02, 2, Disconnected), [INFO] [stdout] ... | [INFO] [stdout] 485 | | P0_11: (p0_11, 11, Disconnected), [INFO] [stdout] 486 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `da14531-hal` (lib test) due to 20 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: trait `Sealed` is never used [INFO] [stdout] --> src/lib.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait Sealed {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:207:52 [INFO] [stdout] | [INFO] [stdout] 207 | fn is_high(&self) -> Result { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 208 | | self.is_low().map(|v| !v) [INFO] [stdout] 209 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | self.is_low().map(|v| !v) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | self.is_low().map(|v| !v) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:211:51 [INFO] [stdout] | [INFO] [stdout] 211 | fn is_low(&self) -> Result { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 212 | | Ok(self.block().p0_data_reg.read().bits() & (1 << self.pin()) == 0) [INFO] [stdout] 213 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | Ok(self.block().p0_data_reg.read().bits() & (1 << self.pin()) == 0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:242:56 [INFO] [stdout] | [INFO] [stdout] 242 | fn is_set_high(&self) -> Result { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 243 | | self.is_set_low().map(|v| !v) [INFO] [stdout] 244 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | self.is_set_low().map(|v| !v) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | self.is_set_low().map(|v| !v) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:247:55 [INFO] [stdout] | [INFO] [stdout] 247 | fn is_set_low(&self) -> Result { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 248 | | // NOTE(unsafe) atomic read with no side effects - TODO(AJM) verify? [INFO] [stdout] 249 | | // TODO - I wish I could do something like `.pins$i()`... [INFO] [stdout] 250 | | Ok(self.block().p0_data_reg.read().bits() & (1 << self.pin()) == 0) [INFO] [stdout] 251 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | Ok(self.block().p0_data_reg.read().bits() & (1 << self.pin()) == 0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:421:68 [INFO] [stdout] | [INFO] [stdout] 421 | fn is_high(&self) -> Result { [INFO] [stdout] | ____________________________________________________________________^ [INFO] [stdout] 422 | | self.is_low().map(|v| !v) [INFO] [stdout] 423 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 473 | / gpio!(P0, p0, p0, [ [INFO] [stdout] 474 | | P0_00: (p0_00, 0, Disconnected), [INFO] [stdout] 475 | | P0_01: (p0_01, 1, Disconnected), [INFO] [stdout] 476 | | P0_02: (p0_02, 2, Disconnected), [INFO] [stdout] ... | [INFO] [stdout] 485 | | P0_11: (p0_11, 11, Disconnected), [INFO] [stdout] 486 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:422:25 [INFO] [stdout] | [INFO] [stdout] 422 | self.is_low().map(|v| !v) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 473 | / gpio!(P0, p0, p0, [ [INFO] [stdout] 474 | | P0_00: (p0_00, 0, Disconnected), [INFO] [stdout] 475 | | P0_01: (p0_01, 1, Disconnected), [INFO] [stdout] 476 | | P0_02: (p0_02, 2, Disconnected), [INFO] [stdout] ... | [INFO] [stdout] 485 | | P0_11: (p0_11, 11, Disconnected), [INFO] [stdout] 486 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:422:25 [INFO] [stdout] | [INFO] [stdout] 422 | self.is_low().map(|v| !v) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 473 | / gpio!(P0, p0, p0, [ [INFO] [stdout] 474 | | P0_00: (p0_00, 0, Disconnected), [INFO] [stdout] 475 | | P0_01: (p0_01, 1, Disconnected), [INFO] [stdout] 476 | | P0_02: (p0_02, 2, Disconnected), [INFO] [stdout] ... | [INFO] [stdout] 485 | | P0_11: (p0_11, 11, Disconnected), [INFO] [stdout] 486 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:425:67 [INFO] [stdout] | [INFO] [stdout] 425 | fn is_low(&self) -> Result { [INFO] [stdout] | ___________________________________________________________________^ [INFO] [stdout] 426 | | Ok(unsafe { ((*$PX::ptr()).p0_data_reg.read().bits() & (1 << $i)) == 0 }) [INFO] [stdout] 427 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 473 | / gpio!(P0, p0, p0, [ [INFO] [stdout] 474 | | P0_00: (p0_00, 0, Disconnected), [INFO] [stdout] 475 | | P0_01: (p0_01, 1, Disconnected), [INFO] [stdout] 476 | | P0_02: (p0_02, 2, Disconnected), [INFO] [stdout] ... | [INFO] [stdout] 485 | | P0_11: (p0_11, 11, Disconnected), [INFO] [stdout] 486 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:426:25 [INFO] [stdout] | [INFO] [stdout] 426 | Ok(unsafe { ((*$PX::ptr()).p0_data_reg.read().bits() & (1 << $i)) == 0 }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 473 | / gpio!(P0, p0, p0, [ [INFO] [stdout] 474 | | P0_00: (p0_00, 0, Disconnected), [INFO] [stdout] 475 | | P0_01: (p0_01, 1, Disconnected), [INFO] [stdout] 476 | | P0_02: (p0_02, 2, Disconnected), [INFO] [stdout] ... | [INFO] [stdout] 485 | | P0_11: (p0_11, 11, Disconnected), [INFO] [stdout] 486 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:454:72 [INFO] [stdout] | [INFO] [stdout] 454 | fn is_set_high(&self) -> Result { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 455 | | self.is_set_low().map(|v| !v) [INFO] [stdout] 456 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 473 | / gpio!(P0, p0, p0, [ [INFO] [stdout] 474 | | P0_00: (p0_00, 0, Disconnected), [INFO] [stdout] 475 | | P0_01: (p0_01, 1, Disconnected), [INFO] [stdout] 476 | | P0_02: (p0_02, 2, Disconnected), [INFO] [stdout] ... | [INFO] [stdout] 485 | | P0_11: (p0_11, 11, Disconnected), [INFO] [stdout] 486 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:455:25 [INFO] [stdout] | [INFO] [stdout] 455 | self.is_set_low().map(|v| !v) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 473 | / gpio!(P0, p0, p0, [ [INFO] [stdout] 474 | | P0_00: (p0_00, 0, Disconnected), [INFO] [stdout] 475 | | P0_01: (p0_01, 1, Disconnected), [INFO] [stdout] 476 | | P0_02: (p0_02, 2, Disconnected), [INFO] [stdout] ... | [INFO] [stdout] 485 | | P0_11: (p0_11, 11, Disconnected), [INFO] [stdout] 486 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:455:25 [INFO] [stdout] | [INFO] [stdout] 455 | self.is_set_low().map(|v| !v) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 473 | / gpio!(P0, p0, p0, [ [INFO] [stdout] 474 | | P0_00: (p0_00, 0, Disconnected), [INFO] [stdout] 475 | | P0_01: (p0_01, 1, Disconnected), [INFO] [stdout] 476 | | P0_02: (p0_02, 2, Disconnected), [INFO] [stdout] ... | [INFO] [stdout] 485 | | P0_11: (p0_11, 11, Disconnected), [INFO] [stdout] 486 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:459:71 [INFO] [stdout] | [INFO] [stdout] 459 | fn is_set_low(&self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 460 | | // NOTE(unsafe) atomic read with no side effects - TODO(AJM) verify? [INFO] [stdout] 461 | | // TODO - I wish I could do something like `.pins$i()`... [INFO] [stdout] 462 | | Ok(unsafe { ((*$PX::ptr()).p0_data_reg.read().bits() & (1 << $i)) == 0 }) [INFO] [stdout] 463 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 473 | / gpio!(P0, p0, p0, [ [INFO] [stdout] 474 | | P0_00: (p0_00, 0, Disconnected), [INFO] [stdout] 475 | | P0_01: (p0_01, 1, Disconnected), [INFO] [stdout] 476 | | P0_02: (p0_02, 2, Disconnected), [INFO] [stdout] ... | [INFO] [stdout] 485 | | P0_11: (p0_11, 11, Disconnected), [INFO] [stdout] 486 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:462:25 [INFO] [stdout] | [INFO] [stdout] 462 | Ok(unsafe { ((*$PX::ptr()).p0_data_reg.read().bits() & (1 << $i)) == 0 }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 473 | / gpio!(P0, p0, p0, [ [INFO] [stdout] 474 | | P0_00: (p0_00, 0, Disconnected), [INFO] [stdout] 475 | | P0_01: (p0_01, 1, Disconnected), [INFO] [stdout] 476 | | P0_02: (p0_02, 2, Disconnected), [INFO] [stdout] ... | [INFO] [stdout] 485 | | P0_11: (p0_11, 11, Disconnected), [INFO] [stdout] 486 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `da14531-hal` (lib) due to 20 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "81965843dae70f2c02cbf827523a3d8fd7a0366260d04ac5ec888f3277446833", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81965843dae70f2c02cbf827523a3d8fd7a0366260d04ac5ec888f3277446833", kill_on_drop: false }` [INFO] [stdout] 81965843dae70f2c02cbf827523a3d8fd7a0366260d04ac5ec888f3277446833