[INFO] fetching crate libbeaglebone 0.5.0...
[INFO] checking libbeaglebone-0.5.0 against master#c2f2db79ca3024f68d22b45aa22b570775c2c4ad for pr-124157
[INFO] extracting crate libbeaglebone 0.5.0 into /workspace/builds/worker-4-tc1/source
[INFO] validating manifest of crates.io crate libbeaglebone 0.5.0 on toolchain c2f2db79ca3024f68d22b45aa22b570775c2c4ad
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate libbeaglebone 0.5.0
[INFO] finished tweaking crates.io crate libbeaglebone 0.5.0
[INFO] tweaked toml for crates.io crate libbeaglebone 0.5.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 31 packages to latest compatible versions
[INFO] [stderr]       Adding addr2line v0.21.0 (latest: v0.22.0)
[INFO] [stderr]       Adding bitflags v0.7.0 (latest: v2.5.0)
[INFO] [stderr]       Adding bitflags v0.9.1 (latest: v2.5.0)
[INFO] [stderr]       Adding cfg-if v0.1.10 (latest: v1.0.0)
[INFO] [stderr]       Adding error-chain v0.10.0 (latest: v0.12.4)
[INFO] [stderr]       Adding gimli v0.28.1 (latest: v0.29.0)
[INFO] [stderr]       Adding ioctl-rs v0.1.6 (latest: v0.2.0)
[INFO] [stderr]       Adding libudev v0.2.0 (latest: v0.3.0)
[INFO] [stderr]       Adding nix v0.8.1 (latest: v0.28.0)
[INFO] [stderr]       Adding object v0.32.2 (latest: v0.35.0)
[INFO] [stderr]       Adding serialport v1.0.1 (latest: v4.3.0)
[INFO] [stderr]       Adding termios v0.2.2 (latest: v0.3.3)
[INFO] [stderr]       Adding winapi v0.2.8 (latest: v0.3.9)
[INFO] [stderr]       Adding winreg v0.4.0 (latest: v0.52.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ktmw32-sys v0.1.1
[INFO] [stderr]   Downloaded advapi32-sys v0.2.0
[INFO] [stderr]   Downloaded libudev v0.2.0
[INFO] [stderr]   Downloaded winreg v0.4.0
[INFO] [stderr]   Downloaded nix v0.8.1
[INFO] [stderr]   Downloaded serialport v1.0.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cf5539ee343838bd9ec566a96ba2e7c504c40f15ddb1a65c96468c525770dddf
[INFO] running `Command { std: "docker" "start" "-a" "cf5539ee343838bd9ec566a96ba2e7c504c40f15ddb1a65c96468c525770dddf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cf5539ee343838bd9ec566a96ba2e7c504c40f15ddb1a65c96468c525770dddf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cf5539ee343838bd9ec566a96ba2e7c504c40f15ddb1a65c96468c525770dddf", kill_on_drop: false }`
[INFO] [stdout] cf5539ee343838bd9ec566a96ba2e7c504c40f15ddb1a65c96468c525770dddf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5cb43fc405e283f065e2de2ddc0e958df1b202f317a233780c3d5fea1287907b
[INFO] running `Command { std: "docker" "start" "-a" "5cb43fc405e283f065e2de2ddc0e958df1b202f317a233780c3d5fea1287907b", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.154
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]    Compiling cc v1.0.96
[INFO] [stderr]     Checking adler v1.0.2
[INFO] [stderr]     Checking memchr v2.7.2
[INFO] [stderr]     Checking gimli v0.28.1
[INFO] [stderr]     Checking rustc-demangle v0.1.23
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking miniz_oxide v0.7.2
[INFO] [stderr]     Checking bitflags v0.7.0
[INFO] [stderr]     Checking bitflags v0.9.1
[INFO] [stderr]    Compiling libudev-sys v0.1.4
[INFO] [stderr]     Checking object v0.32.2
[INFO] [stderr]    Compiling backtrace v0.3.71
[INFO] [stderr]     Checking termios v0.2.2
[INFO] [stderr]     Checking ioctl-rs v0.1.6
[INFO] [stderr]     Checking nix v0.8.1
[INFO] [stderr]     Checking libudev v0.2.0
[INFO] [stderr]     Checking serialport v1.0.1
[INFO] [stderr]     Checking addr2line v0.21.0
[INFO] [stderr]     Checking error-chain v0.10.0
[INFO] [stderr]     Checking libbeaglebone v0.5.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: lint `const_err` has been removed: converted into hard error, see issue #71800 <https://github.com/rust-lang/rust/issues/71800> for more information
[INFO] [stdout]  --> src/lib.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |         const_err,
[INFO] [stdout]   |         ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `extra_requirement_in_impl` has been removed: converted into hard error, see issue #37166 <https://github.com/rust-lang/rust/issues/37166> for more information
[INFO] [stdout]  --> src/lib.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |         extra_requirement_in_impl,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `legacy_directory_ownership` has been removed: converted into hard error, see issue #37872 <https://github.com/rust-lang/rust/issues/37872> for more information
[INFO] [stdout]   --> src/lib.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |         legacy_directory_ownership,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `plugin_as_library` has been removed: plugins have been deprecated and retired
[INFO] [stdout]   --> src/lib.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |         plugin_as_library,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC <https://rust-lang.github.io/rfcs/2145-type-privacy.html> for more information
[INFO] [stdout]   --> src/lib.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |         private_in_public,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `private_no_mangle_fns` has been removed: no longer a warning, `#[no_mangle]` functions always exported
[INFO] [stdout]   --> src/lib.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |         private_no_mangle_fns,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `private_no_mangle_statics` has been removed: no longer a warning, `#[no_mangle]` statics always exported
[INFO] [stdout]   --> src/lib.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |         private_no_mangle_statics,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `safe_extern_statics` has been removed: converted into hard error, see issue #36247 <https://github.com/rust-lang/rust/issues/36247> for more information
[INFO] [stdout]   --> src/lib.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |         safe_extern_statics,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `const_err` has been removed: converted into hard error, see issue #71800 <https://github.com/rust-lang/rust/issues/71800> for more information
[INFO] [stdout]  --> src/lib.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |         const_err,
[INFO] [stdout]   |         ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `extra_requirement_in_impl` has been removed: converted into hard error, see issue #37166 <https://github.com/rust-lang/rust/issues/37166> for more information
[INFO] [stdout]  --> src/lib.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |         extra_requirement_in_impl,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `legacy_directory_ownership` has been removed: converted into hard error, see issue #37872 <https://github.com/rust-lang/rust/issues/37872> for more information
[INFO] [stdout]   --> src/lib.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |         legacy_directory_ownership,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `plugin_as_library` has been removed: plugins have been deprecated and retired
[INFO] [stdout]   --> src/lib.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |         plugin_as_library,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unknown lint: `unions_with_drop_fields`
[INFO] [stdout]   --> src/lib.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |         unions_with_drop_fields,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unknown_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC <https://rust-lang.github.io/rfcs/2145-type-privacy.html> for more information
[INFO] [stdout]   --> src/lib.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |         private_in_public,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `private_no_mangle_fns` has been removed: no longer a warning, `#[no_mangle]` functions always exported
[INFO] [stdout]   --> src/lib.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |         private_no_mangle_fns,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unnecessary parentheses around type
[INFO] [stdout]    --> src/gpio.rs:230:32
[INFO] [stdout]     |
[INFO] [stdout] 230 |   pub fn read(&self) -> Result<(PinState)> {
[INFO] [stdout]     |                                ^        ^
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/lib.rs:25:9
[INFO] [stdout]     |
[INFO] [stdout] 25  |         unused_parens,
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 230 -   pub fn read(&self) -> Result<(PinState)> {
[INFO] [stdout] 230 +   pub fn read(&self) -> Result<PinState> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `private_no_mangle_statics` has been removed: no longer a warning, `#[no_mangle]` statics always exported
[INFO] [stdout]   --> src/lib.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |         private_no_mangle_statics,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unnecessary parentheses around type
[INFO] [stdout]   --> src/uart.rs:46:39
[INFO] [stdout]    |
[INFO] [stdout] 46 |   pub fn new(uart_num: u32) -> Result<(UART)> {
[INFO] [stdout]    |                                       ^    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 46 -   pub fn new(uart_num: u32) -> Result<(UART)> {
[INFO] [stdout] 46 +   pub fn new(uart_num: u32) -> Result<UART> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `safe_extern_statics` has been removed: converted into hard error, see issue #36247 <https://github.com/rust-lang/rust/issues/36247> for more information
[INFO] [stdout]   --> src/lib.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |         safe_extern_statics,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unnecessary parentheses around type
[INFO] [stdout]   --> src/uart.rs:95:60
[INFO] [stdout]    |
[INFO] [stdout] 95 |   pub fn read_chars(&mut self, num_bytes: usize) -> Result<(Vec<u8>)> {
[INFO] [stdout]    |                                                            ^       ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 95 -   pub fn read_chars(&mut self, num_bytes: usize) -> Result<(Vec<u8>)> {
[INFO] [stdout] 95 +   pub fn read_chars(&mut self, num_bytes: usize) -> Result<Vec<u8>> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unnecessary parentheses around type
[INFO] [stdout]    --> src/uart.rs:122:64
[INFO] [stdout]     |
[INFO] [stdout] 122 |   pub fn read_to_string(&mut self, num_bytes: usize) -> Result<(String)> {
[INFO] [stdout]     |                                                                ^      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 122 -   pub fn read_to_string(&mut self, num_bytes: usize) -> Result<(String)> {
[INFO] [stdout] 122 +   pub fn read_to_string(&mut self, num_bytes: usize) -> Result<String> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unnecessary parentheses around type
[INFO] [stdout]   --> src/i2c.rs:69:37
[INFO] [stdout]    |
[INFO] [stdout] 69 |   pub fn new(i2c_num: u8) -> Result<(I2C)> {
[INFO] [stdout]    |                                     ^   ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 69 -   pub fn new(i2c_num: u8) -> Result<(I2C)> {
[INFO] [stdout] 69 +   pub fn new(i2c_num: u8) -> Result<I2C> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unnecessary parentheses around type
[INFO] [stdout]    --> src/i2c.rs:156:36
[INFO] [stdout]     |
[INFO] [stdout] 156 |   pub fn read(&mut self) -> Result<(u8)> {
[INFO] [stdout]     |                                    ^  ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 156 -   pub fn read(&mut self) -> Result<(u8)> {
[INFO] [stdout] 156 +   pub fn read(&mut self) -> Result<u8> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unknown lint: `unions_with_drop_fields`
[INFO] [stdout]   --> src/lib.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |         unions_with_drop_fields,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unknown_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/spi.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout] 7  | / bitflags! {
[INFO] [stdout] 8  | |     pub struct SPIModeFlags: u32 {
[INFO] [stdout] 9  | |         /// Clock Phase
[INFO] [stdout] 10 | |         const SPI_CPHA = 0x01;
[INFO] [stdout] ...  |
[INFO] [stdout] 40 | |     }
[INFO] [stdout] 41 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unnecessary parentheses around type
[INFO] [stdout]    --> src/gpio.rs:230:32
[INFO] [stdout]     |
[INFO] [stdout] 230 |   pub fn read(&self) -> Result<(PinState)> {
[INFO] [stdout]     |                                ^        ^
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/lib.rs:25:9
[INFO] [stdout]     |
[INFO] [stdout] 25  |         unused_parens,
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 230 -   pub fn read(&self) -> Result<(PinState)> {
[INFO] [stdout] 230 +   pub fn read(&self) -> Result<PinState> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unnecessary parentheses around type
[INFO] [stdout]   --> src/uart.rs:46:39
[INFO] [stdout]    |
[INFO] [stdout] 46 |   pub fn new(uart_num: u32) -> Result<(UART)> {
[INFO] [stdout]    |                                       ^    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 46 -   pub fn new(uart_num: u32) -> Result<(UART)> {
[INFO] [stdout] 46 +   pub fn new(uart_num: u32) -> Result<UART> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unnecessary parentheses around type
[INFO] [stdout]   --> src/uart.rs:95:60
[INFO] [stdout]    |
[INFO] [stdout] 95 |   pub fn read_chars(&mut self, num_bytes: usize) -> Result<(Vec<u8>)> {
[INFO] [stdout]    |                                                            ^       ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 95 -   pub fn read_chars(&mut self, num_bytes: usize) -> Result<(Vec<u8>)> {
[INFO] [stdout] 95 +   pub fn read_chars(&mut self, num_bytes: usize) -> Result<Vec<u8>> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/spi.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout] 7  | / bitflags! {
[INFO] [stdout] 8  | |     pub struct SPIModeFlags: u32 {
[INFO] [stdout] 9  | |         /// Clock Phase
[INFO] [stdout] 10 | |         const SPI_CPHA = 0x01;
[INFO] [stdout] ...  |
[INFO] [stdout] 40 | |     }
[INFO] [stdout] 41 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unnecessary parentheses around type
[INFO] [stdout]    --> src/uart.rs:122:64
[INFO] [stdout]     |
[INFO] [stdout] 122 |   pub fn read_to_string(&mut self, num_bytes: usize) -> Result<(String)> {
[INFO] [stdout]     |                                                                ^      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 122 -   pub fn read_to_string(&mut self, num_bytes: usize) -> Result<(String)> {
[INFO] [stdout] 122 +   pub fn read_to_string(&mut self, num_bytes: usize) -> Result<String> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unnecessary parentheses around type
[INFO] [stdout]   --> src/i2c.rs:69:37
[INFO] [stdout]    |
[INFO] [stdout] 69 |   pub fn new(i2c_num: u8) -> Result<(I2C)> {
[INFO] [stdout]    |                                     ^   ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 69 -   pub fn new(i2c_num: u8) -> Result<(I2C)> {
[INFO] [stdout] 69 +   pub fn new(i2c_num: u8) -> Result<I2C> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/spi.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout] 7  | / bitflags! {
[INFO] [stdout] 8  | |     pub struct SPIModeFlags: u32 {
[INFO] [stdout] 9  | |         /// Clock Phase
[INFO] [stdout] 10 | |         const SPI_CPHA = 0x01;
[INFO] [stdout] ...  |
[INFO] [stdout] 40 | |     }
[INFO] [stdout] 41 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unnecessary parentheses around type
[INFO] [stdout]    --> src/i2c.rs:156:36
[INFO] [stdout]     |
[INFO] [stdout] 156 |   pub fn read(&mut self) -> Result<(u8)> {
[INFO] [stdout]     |                                    ^  ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 156 -   pub fn read(&mut self) -> Result<(u8)> {
[INFO] [stdout] 156 +   pub fn read(&mut self) -> Result<u8> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/spi.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout] 7  | / bitflags! {
[INFO] [stdout] 8  | |     pub struct SPIModeFlags: u32 {
[INFO] [stdout] 9  | |         /// Clock Phase
[INFO] [stdout] 10 | |         const SPI_CPHA = 0x01;
[INFO] [stdout] ...  |
[INFO] [stdout] 40 | |     }
[INFO] [stdout] 41 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/spi.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout] 7  | / bitflags! {
[INFO] [stdout] 8  | |     pub struct SPIModeFlags: u32 {
[INFO] [stdout] 9  | |         /// Clock Phase
[INFO] [stdout] 10 | |         const SPI_CPHA = 0x01;
[INFO] [stdout] ...  |
[INFO] [stdout] 40 | |     }
[INFO] [stdout] 41 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/spi.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout] 7  | / bitflags! {
[INFO] [stdout] 8  | |     pub struct SPIModeFlags: u32 {
[INFO] [stdout] 9  | |         /// Clock Phase
[INFO] [stdout] 10 | |         const SPI_CPHA = 0x01;
[INFO] [stdout] ...  |
[INFO] [stdout] 40 | |     }
[INFO] [stdout] 41 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/uart.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |   port: Box<SerialPort>,
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 25 |   port: Box<dyn SerialPort>,
[INFO] [stdout]    |             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/uart.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |   port: Box<SerialPort>,
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 25 |   port: Box<dyn SerialPort>,
[INFO] [stdout]    |             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: field `i2c_num` is never read
[INFO] [stdout]   --> src/i2c.rs:47:3
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub struct I2C {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] 47 |   i2c_num: u8,
[INFO] [stdout]    |   ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `I2C` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/lib.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |         unused,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    = note: `#[deny(dead_code)]` implied by `#[deny(unused)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: fields `bits_per_word`, `max_speed_hz`, `lsb_first`, and `spi_mode` are never read
[INFO] [stdout]    --> src/spi.rs:111:3
[INFO] [stdout]     |
[INFO] [stdout] 110 | pub struct SPI {
[INFO] [stdout]     |            --- fields in this struct
[INFO] [stdout] 111 |   bits_per_word: u8,
[INFO] [stdout]     |   ^^^^^^^^^^^^^
[INFO] [stdout] 112 |   max_speed_hz: u32,
[INFO] [stdout]     |   ^^^^^^^^^^^^
[INFO] [stdout] 113 |   lsb_first: bool,
[INFO] [stdout]     |   ^^^^^^^^^
[INFO] [stdout] 114 |   spi_mode: SPIModeFlags,
[INFO] [stdout]     |   ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `SPI` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: field `i2c_num` is never read
[INFO] [stdout]   --> src/i2c.rs:47:3
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub struct I2C {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] 47 |   i2c_num: u8,
[INFO] [stdout]    |   ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `I2C` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/lib.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |         unused,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    = note: `#[deny(dead_code)]` implied by `#[deny(unused)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: fields `bits_per_word`, `max_speed_hz`, `lsb_first`, and `spi_mode` are never read
[INFO] [stdout]    --> src/spi.rs:111:3
[INFO] [stdout]     |
[INFO] [stdout] 110 | pub struct SPI {
[INFO] [stdout]     |            --- fields in this struct
[INFO] [stdout] 111 |   bits_per_word: u8,
[INFO] [stdout]     |   ^^^^^^^^^^^^^
[INFO] [stdout] 112 |   max_speed_hz: u32,
[INFO] [stdout]     |   ^^^^^^^^^^^^
[INFO] [stdout] 113 |   lsb_first: bool,
[INFO] [stdout]     |   ^^^^^^^^^
[INFO] [stdout] 114 |   spi_mode: SPIModeFlags,
[INFO] [stdout]     |   ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `SPI` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors; 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors; 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libbeaglebone` (lib) due to 9 previous errors; 13 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `libbeaglebone` (lib test) due to 9 previous errors; 13 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "5cb43fc405e283f065e2de2ddc0e958df1b202f317a233780c3d5fea1287907b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5cb43fc405e283f065e2de2ddc0e958df1b202f317a233780c3d5fea1287907b", kill_on_drop: false }`
[INFO] [stdout] 5cb43fc405e283f065e2de2ddc0e958df1b202f317a233780c3d5fea1287907b
[INFO] checking libbeaglebone-0.5.0 against try#9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88 for pr-124157
[INFO] extracting crate libbeaglebone 0.5.0 into /workspace/builds/worker-4-tc2/source
[INFO] validating manifest of crates.io crate libbeaglebone 0.5.0 on toolchain 9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate libbeaglebone 0.5.0
[INFO] finished tweaking crates.io crate libbeaglebone 0.5.0
[INFO] tweaked toml for crates.io crate libbeaglebone 0.5.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 31 packages to latest compatible versions
[INFO] [stderr]       Adding addr2line v0.21.0 (latest: v0.22.0)
[INFO] [stderr]       Adding bitflags v0.7.0 (latest: v2.5.0)
[INFO] [stderr]       Adding bitflags v0.9.1 (latest: v2.5.0)
[INFO] [stderr]       Adding cfg-if v0.1.10 (latest: v1.0.0)
[INFO] [stderr]       Adding error-chain v0.10.0 (latest: v0.12.4)
[INFO] [stderr]       Adding gimli v0.28.1 (latest: v0.29.0)
[INFO] [stderr]       Adding ioctl-rs v0.1.6 (latest: v0.2.0)
[INFO] [stderr]       Adding libudev v0.2.0 (latest: v0.3.0)
[INFO] [stderr]       Adding nix v0.8.1 (latest: v0.28.0)
[INFO] [stderr]       Adding object v0.32.2 (latest: v0.35.0)
[INFO] [stderr]       Adding serialport v1.0.1 (latest: v4.3.0)
[INFO] [stderr]       Adding termios v0.2.2 (latest: v0.3.3)
[INFO] [stderr]       Adding winapi v0.2.8 (latest: v0.3.9)
[INFO] [stderr]       Adding winreg v0.4.0 (latest: v0.52.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ee402db0f3e750d16ff57253c575bc2ccd26ad443904bcf6876af16a672d21b2
[INFO] running `Command { std: "docker" "start" "-a" "ee402db0f3e750d16ff57253c575bc2ccd26ad443904bcf6876af16a672d21b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ee402db0f3e750d16ff57253c575bc2ccd26ad443904bcf6876af16a672d21b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ee402db0f3e750d16ff57253c575bc2ccd26ad443904bcf6876af16a672d21b2", kill_on_drop: false }`
[INFO] [stdout] ee402db0f3e750d16ff57253c575bc2ccd26ad443904bcf6876af16a672d21b2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8cc7aa786b6d148c58e7fdf42e92822ff6b9b607d379b7f73c3db1dc26997913
[INFO] running `Command { std: "docker" "start" "-a" "8cc7aa786b6d148c58e7fdf42e92822ff6b9b607d379b7f73c3db1dc26997913", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.154
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]    Compiling cc v1.0.96
[INFO] [stderr]     Checking gimli v0.28.1
[INFO] [stderr]     Checking memchr v2.7.2
[INFO] [stderr]     Checking adler v1.0.2
[INFO] [stderr]     Checking rustc-demangle v0.1.23
[INFO] [stderr]     Checking bitflags v0.7.0
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking miniz_oxide v0.7.2
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]     Checking bitflags v0.9.1
[INFO] [stderr]     Checking object v0.32.2
[INFO] [stderr]    Compiling libudev-sys v0.1.4
[INFO] [stderr]    Compiling backtrace v0.3.71
[INFO] [stderr]     Checking termios v0.2.2
[INFO] [stderr]     Checking ioctl-rs v0.1.6
[INFO] [stderr]     Checking nix v0.8.1
[INFO] [stderr]     Checking libudev v0.2.0
[INFO] [stderr]     Checking serialport v1.0.1
[INFO] [stderr]     Checking addr2line v0.21.0
[INFO] [stderr]     Checking error-chain v0.10.0
[INFO] [stderr]     Checking libbeaglebone v0.5.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: lint `const_err` has been removed: converted into hard error, see issue #71800 <https://github.com/rust-lang/rust/issues/71800> for more information
[INFO] [stdout]  --> src/lib.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |         const_err,
[INFO] [stdout]   |         ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `extra_requirement_in_impl` has been removed: converted into hard error, see issue #37166 <https://github.com/rust-lang/rust/issues/37166> for more information
[INFO] [stdout]  --> src/lib.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |         extra_requirement_in_impl,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `legacy_directory_ownership` has been removed: converted into hard error, see issue #37872 <https://github.com/rust-lang/rust/issues/37872> for more information
[INFO] [stdout]   --> src/lib.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |         legacy_directory_ownership,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `plugin_as_library` has been removed: plugins have been deprecated and retired
[INFO] [stdout]   --> src/lib.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |         plugin_as_library,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC <https://rust-lang.github.io/rfcs/2145-type-privacy.html> for more information
[INFO] [stdout]   --> src/lib.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |         private_in_public,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `private_no_mangle_fns` has been removed: no longer a warning, `#[no_mangle]` functions always exported
[INFO] [stdout]   --> src/lib.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |         private_no_mangle_fns,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `const_err` has been removed: converted into hard error, see issue #71800 <https://github.com/rust-lang/rust/issues/71800> for more information
[INFO] [stdout]  --> src/lib.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |         const_err,
[INFO] [stdout]   |         ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `private_no_mangle_statics` has been removed: no longer a warning, `#[no_mangle]` statics always exported
[INFO] [stdout]   --> src/lib.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |         private_no_mangle_statics,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `safe_extern_statics` has been removed: converted into hard error, see issue #36247 <https://github.com/rust-lang/rust/issues/36247> for more information
[INFO] [stdout]   --> src/lib.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |         safe_extern_statics,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `extra_requirement_in_impl` has been removed: converted into hard error, see issue #37166 <https://github.com/rust-lang/rust/issues/37166> for more information
[INFO] [stdout]  --> src/lib.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |         extra_requirement_in_impl,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `legacy_directory_ownership` has been removed: converted into hard error, see issue #37872 <https://github.com/rust-lang/rust/issues/37872> for more information
[INFO] [stdout]   --> src/lib.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |         legacy_directory_ownership,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `plugin_as_library` has been removed: plugins have been deprecated and retired
[INFO] [stdout]   --> src/lib.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |         plugin_as_library,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC <https://rust-lang.github.io/rfcs/2145-type-privacy.html> for more information
[INFO] [stdout]   --> src/lib.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |         private_in_public,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `private_no_mangle_fns` has been removed: no longer a warning, `#[no_mangle]` functions always exported
[INFO] [stdout]   --> src/lib.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |         private_no_mangle_fns,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `private_no_mangle_statics` has been removed: no longer a warning, `#[no_mangle]` statics always exported
[INFO] [stdout]   --> src/lib.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |         private_no_mangle_statics,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `safe_extern_statics` has been removed: converted into hard error, see issue #36247 <https://github.com/rust-lang/rust/issues/36247> for more information
[INFO] [stdout]   --> src/lib.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |         safe_extern_statics,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unknown lint: `unions_with_drop_fields`
[INFO] [stdout]   --> src/lib.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |         unions_with_drop_fields,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unknown_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unknown lint: `unions_with_drop_fields`
[INFO] [stdout]   --> src/lib.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |         unions_with_drop_fields,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unknown_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unnecessary parentheses around type
[INFO] [stdout]    --> src/gpio.rs:230:32
[INFO] [stdout]     |
[INFO] [stdout] 230 |   pub fn read(&self) -> Result<(PinState)> {
[INFO] [stdout]     |                                ^        ^
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/lib.rs:25:9
[INFO] [stdout]     |
[INFO] [stdout] 25  |         unused_parens,
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 230 -   pub fn read(&self) -> Result<(PinState)> {
[INFO] [stdout] 230 +   pub fn read(&self) -> Result<PinState> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unnecessary parentheses around type
[INFO] [stdout]   --> src/uart.rs:46:39
[INFO] [stdout]    |
[INFO] [stdout] 46 |   pub fn new(uart_num: u32) -> Result<(UART)> {
[INFO] [stdout]    |                                       ^    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 46 -   pub fn new(uart_num: u32) -> Result<(UART)> {
[INFO] [stdout] 46 +   pub fn new(uart_num: u32) -> Result<UART> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unnecessary parentheses around type
[INFO] [stdout]   --> src/uart.rs:95:60
[INFO] [stdout]    |
[INFO] [stdout] 95 |   pub fn read_chars(&mut self, num_bytes: usize) -> Result<(Vec<u8>)> {
[INFO] [stdout]    |                                                            ^       ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 95 -   pub fn read_chars(&mut self, num_bytes: usize) -> Result<(Vec<u8>)> {
[INFO] [stdout] 95 +   pub fn read_chars(&mut self, num_bytes: usize) -> Result<Vec<u8>> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unnecessary parentheses around type
[INFO] [stdout]    --> src/gpio.rs:230:32
[INFO] [stdout]     |
[INFO] [stdout] 230 |   pub fn read(&self) -> Result<(PinState)> {
[INFO] [stdout]     |                                ^        ^
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/lib.rs:25:9
[INFO] [stdout]     |
[INFO] [stdout] 25  |         unused_parens,
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 230 -   pub fn read(&self) -> Result<(PinState)> {
[INFO] [stdout] 230 +   pub fn read(&self) -> Result<PinState> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unnecessary parentheses around type
[INFO] [stdout]    --> src/uart.rs:122:64
[INFO] [stdout]     |
[INFO] [stdout] 122 |   pub fn read_to_string(&mut self, num_bytes: usize) -> Result<(String)> {
[INFO] [stdout]     |                                                                ^      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 122 -   pub fn read_to_string(&mut self, num_bytes: usize) -> Result<(String)> {
[INFO] [stdout] 122 +   pub fn read_to_string(&mut self, num_bytes: usize) -> Result<String> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unnecessary parentheses around type
[INFO] [stdout]   --> src/uart.rs:46:39
[INFO] [stdout]    |
[INFO] [stdout] 46 |   pub fn new(uart_num: u32) -> Result<(UART)> {
[INFO] [stdout]    |                                       ^    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 46 -   pub fn new(uart_num: u32) -> Result<(UART)> {
[INFO] [stdout] 46 +   pub fn new(uart_num: u32) -> Result<UART> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unnecessary parentheses around type
[INFO] [stdout]   --> src/i2c.rs:69:37
[INFO] [stdout]    |
[INFO] [stdout] 69 |   pub fn new(i2c_num: u8) -> Result<(I2C)> {
[INFO] [stdout]    |                                     ^   ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 69 -   pub fn new(i2c_num: u8) -> Result<(I2C)> {
[INFO] [stdout] 69 +   pub fn new(i2c_num: u8) -> Result<I2C> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unnecessary parentheses around type
[INFO] [stdout]   --> src/uart.rs:95:60
[INFO] [stdout]    |
[INFO] [stdout] 95 |   pub fn read_chars(&mut self, num_bytes: usize) -> Result<(Vec<u8>)> {
[INFO] [stdout]    |                                                            ^       ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 95 -   pub fn read_chars(&mut self, num_bytes: usize) -> Result<(Vec<u8>)> {
[INFO] [stdout] 95 +   pub fn read_chars(&mut self, num_bytes: usize) -> Result<Vec<u8>> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unnecessary parentheses around type
[INFO] [stdout]    --> src/i2c.rs:156:36
[INFO] [stdout]     |
[INFO] [stdout] 156 |   pub fn read(&mut self) -> Result<(u8)> {
[INFO] [stdout]     |                                    ^  ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 156 -   pub fn read(&mut self) -> Result<(u8)> {
[INFO] [stdout] 156 +   pub fn read(&mut self) -> Result<u8> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unnecessary parentheses around type
[INFO] [stdout]    --> src/uart.rs:122:64
[INFO] [stdout]     |
[INFO] [stdout] 122 |   pub fn read_to_string(&mut self, num_bytes: usize) -> Result<(String)> {
[INFO] [stdout]     |                                                                ^      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 122 -   pub fn read_to_string(&mut self, num_bytes: usize) -> Result<(String)> {
[INFO] [stdout] 122 +   pub fn read_to_string(&mut self, num_bytes: usize) -> Result<String> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unnecessary parentheses around type
[INFO] [stdout]   --> src/i2c.rs:69:37
[INFO] [stdout]    |
[INFO] [stdout] 69 |   pub fn new(i2c_num: u8) -> Result<(I2C)> {
[INFO] [stdout]    |                                     ^   ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 69 -   pub fn new(i2c_num: u8) -> Result<(I2C)> {
[INFO] [stdout] 69 +   pub fn new(i2c_num: u8) -> Result<I2C> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/spi.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout] 7  | / bitflags! {
[INFO] [stdout] 8  | |     pub struct SPIModeFlags: u32 {
[INFO] [stdout] 9  | |         /// Clock Phase
[INFO] [stdout] 10 | |         const SPI_CPHA = 0x01;
[INFO] [stdout] ...  |
[INFO] [stdout] 40 | |     }
[INFO] [stdout] 41 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unnecessary parentheses around type
[INFO] [stdout]    --> src/i2c.rs:156:36
[INFO] [stdout]     |
[INFO] [stdout] 156 |   pub fn read(&mut self) -> Result<(u8)> {
[INFO] [stdout]     |                                    ^  ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 156 -   pub fn read(&mut self) -> Result<(u8)> {
[INFO] [stdout] 156 +   pub fn read(&mut self) -> Result<u8> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/spi.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout] 7  | / bitflags! {
[INFO] [stdout] 8  | |     pub struct SPIModeFlags: u32 {
[INFO] [stdout] 9  | |         /// Clock Phase
[INFO] [stdout] 10 | |         const SPI_CPHA = 0x01;
[INFO] [stdout] ...  |
[INFO] [stdout] 40 | |     }
[INFO] [stdout] 41 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/spi.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout] 7  | / bitflags! {
[INFO] [stdout] 8  | |     pub struct SPIModeFlags: u32 {
[INFO] [stdout] 9  | |         /// Clock Phase
[INFO] [stdout] 10 | |         const SPI_CPHA = 0x01;
[INFO] [stdout] ...  |
[INFO] [stdout] 40 | |     }
[INFO] [stdout] 41 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/spi.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout] 7  | / bitflags! {
[INFO] [stdout] 8  | |     pub struct SPIModeFlags: u32 {
[INFO] [stdout] 9  | |         /// Clock Phase
[INFO] [stdout] 10 | |         const SPI_CPHA = 0x01;
[INFO] [stdout] ...  |
[INFO] [stdout] 40 | |     }
[INFO] [stdout] 41 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/spi.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout] 7  | / bitflags! {
[INFO] [stdout] 8  | |     pub struct SPIModeFlags: u32 {
[INFO] [stdout] 9  | |         /// Clock Phase
[INFO] [stdout] 10 | |         const SPI_CPHA = 0x01;
[INFO] [stdout] ...  |
[INFO] [stdout] 40 | |     }
[INFO] [stdout] 41 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/spi.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout] 7  | / bitflags! {
[INFO] [stdout] 8  | |     pub struct SPIModeFlags: u32 {
[INFO] [stdout] 9  | |         /// Clock Phase
[INFO] [stdout] 10 | |         const SPI_CPHA = 0x01;
[INFO] [stdout] ...  |
[INFO] [stdout] 40 | |     }
[INFO] [stdout] 41 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/uart.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |   port: Box<SerialPort>,
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 25 |   port: Box<dyn SerialPort>,
[INFO] [stdout]    |             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/uart.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |   port: Box<SerialPort>,
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 25 |   port: Box<dyn SerialPort>,
[INFO] [stdout]    |             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: field `i2c_num` is never read
[INFO] [stdout]   --> src/i2c.rs:47:3
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub struct I2C {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] 47 |   i2c_num: u8,
[INFO] [stdout]    |   ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `I2C` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/lib.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |         unused,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    = note: `#[deny(dead_code)]` implied by `#[deny(unused)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: field `i2c_num` is never read
[INFO] [stdout]   --> src/i2c.rs:47:3
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub struct I2C {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] 47 |   i2c_num: u8,
[INFO] [stdout]    |   ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `I2C` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/lib.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |         unused,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    = note: `#[deny(dead_code)]` implied by `#[deny(unused)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: fields `bits_per_word`, `max_speed_hz`, `lsb_first`, and `spi_mode` are never read
[INFO] [stdout]    --> src/spi.rs:111:3
[INFO] [stdout]     |
[INFO] [stdout] 110 | pub struct SPI {
[INFO] [stdout]     |            --- fields in this struct
[INFO] [stdout] 111 |   bits_per_word: u8,
[INFO] [stdout]     |   ^^^^^^^^^^^^^
[INFO] [stdout] 112 |   max_speed_hz: u32,
[INFO] [stdout]     |   ^^^^^^^^^^^^
[INFO] [stdout] 113 |   lsb_first: bool,
[INFO] [stdout]     |   ^^^^^^^^^
[INFO] [stdout] 114 |   spi_mode: SPIModeFlags,
[INFO] [stdout]     |   ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `SPI` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: fields `bits_per_word`, `max_speed_hz`, `lsb_first`, and `spi_mode` are never read
[INFO] [stdout]    --> src/spi.rs:111:3
[INFO] [stdout]     |
[INFO] [stdout] 110 | pub struct SPI {
[INFO] [stdout]     |            --- fields in this struct
[INFO] [stdout] 111 |   bits_per_word: u8,
[INFO] [stdout]     |   ^^^^^^^^^^^^^
[INFO] [stdout] 112 |   max_speed_hz: u32,
[INFO] [stdout]     |   ^^^^^^^^^^^^
[INFO] [stdout] 113 |   lsb_first: bool,
[INFO] [stdout]     |   ^^^^^^^^^
[INFO] [stdout] 114 |   spi_mode: SPIModeFlags,
[INFO] [stdout]     |   ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `SPI` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors; 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors; 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libbeaglebone` (lib test) due to 9 previous errors; 13 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `libbeaglebone` (lib) due to 9 previous errors; 13 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "8cc7aa786b6d148c58e7fdf42e92822ff6b9b607d379b7f73c3db1dc26997913", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8cc7aa786b6d148c58e7fdf42e92822ff6b9b607d379b7f73c3db1dc26997913", kill_on_drop: false }`
[INFO] [stdout] 8cc7aa786b6d148c58e7fdf42e92822ff6b9b607d379b7f73c3db1dc26997913
