[INFO] fetching crate rppal_w_frontend 0.0.2... [INFO] testing rppal_w_frontend-0.0.2 against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] extracting crate rppal_w_frontend 0.0.2 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate rppal_w_frontend 0.0.2 on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate rppal_w_frontend 0.0.2 [INFO] finished tweaking crates.io crate rppal_w_frontend 0.0.2 [INFO] tweaked toml for crates.io crate rppal_w_frontend 0.0.2 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate crates.io crate rppal_w_frontend 0.0.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 00ab2f988ab47358f3446faa5db03efc52b9822a2a0f740f3219b57a04e4a005 [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" "00ab2f988ab47358f3446faa5db03efc52b9822a2a0f740f3219b57a04e4a005", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "00ab2f988ab47358f3446faa5db03efc52b9822a2a0f740f3219b57a04e4a005", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00ab2f988ab47358f3446faa5db03efc52b9822a2a0f740f3219b57a04e4a005", kill_on_drop: false }` [INFO] [stdout] 00ab2f988ab47358f3446faa5db03efc52b9822a2a0f740f3219b57a04e4a005 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d73ba96c779b4834c54a2814f28e0bf648ef5ce60475f2002bb8c83ffda5b85c [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" "d73ba96c779b4834c54a2814f28e0bf648ef5ce60475f2002bb8c83ffda5b85c", kill_on_drop: false }` [INFO] [stderr] Compiling rppal_w_frontend v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/gpio/ioctl.rs:49:23 [INFO] [stdout] | [INFO] [stdout] 49 | const TYPESHIFT: u8 = (NRSHIFT + NRBITS); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/gpio/ioctl.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | const SIZESHIFT: u8 = (TYPESHIFT + TYPEBITS); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/gpio/ioctl.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | const DIRSHIFT: u8 = (SIZESHIFT + SIZEBITS); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/spi/ioctl.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | const TYPESHIFT: u8 = (NRSHIFT + NRBITS); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/spi/ioctl.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 44 | const SIZESHIFT: u8 = (TYPESHIFT + TYPEBITS); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/spi/ioctl.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | const DIRSHIFT: u8 = (SIZESHIFT + SIZEBITS); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/spi/ioctl.rs:63:32 [INFO] [stdout] | [INFO] [stdout] 63 | const REQ_RD_MODE: IoctlLong = (DIR_READ | TYPE_SPI | NR_MODE | SIZE_U8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/spi/ioctl.rs:64:37 [INFO] [stdout] | [INFO] [stdout] 64 | const REQ_RD_LSB_FIRST: IoctlLong = (DIR_READ | TYPE_SPI | NR_LSB_FIRST | SIZE_U8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/spi/ioctl.rs:65:41 [INFO] [stdout] | [INFO] [stdout] 65 | const REQ_RD_BITS_PER_WORD: IoctlLong = (DIR_READ | TYPE_SPI | NR_BITS_PER_WORD | SIZE_U8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/spi/ioctl.rs:66:40 [INFO] [stdout] | [INFO] [stdout] 66 | const REQ_RD_MAX_SPEED_HZ: IoctlLong = (DIR_READ | TYPE_SPI | NR_MAX_SPEED_HZ | SIZE_U32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/spi/ioctl.rs:67:35 [INFO] [stdout] | [INFO] [stdout] 67 | const REQ_RD_MODE_32: IoctlLong = (DIR_READ | TYPE_SPI | NR_MODE32 | SIZE_U32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/spi/ioctl.rs:69:35 [INFO] [stdout] | [INFO] [stdout] 69 | const REQ_WR_MESSAGE: IoctlLong = (DIR_WRITE | TYPE_SPI | NR_MESSAGE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/spi/ioctl.rs:70:32 [INFO] [stdout] | [INFO] [stdout] 70 | const REQ_WR_MODE: IoctlLong = (DIR_WRITE | TYPE_SPI | NR_MODE | SIZE_U8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/spi/ioctl.rs:71:37 [INFO] [stdout] | [INFO] [stdout] 71 | const REQ_WR_LSB_FIRST: IoctlLong = (DIR_WRITE | TYPE_SPI | NR_LSB_FIRST | SIZE_U8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/spi/ioctl.rs:72:41 [INFO] [stdout] | [INFO] [stdout] 72 | const REQ_WR_BITS_PER_WORD: IoctlLong = (DIR_WRITE | TYPE_SPI | NR_BITS_PER_WORD | SIZE_U8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/spi/ioctl.rs:73:40 [INFO] [stdout] | [INFO] [stdout] 73 | const REQ_WR_MAX_SPEED_HZ: IoctlLong = (DIR_WRITE | TYPE_SPI | NR_MAX_SPEED_HZ | SIZE_U32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/spi/ioctl.rs:74:35 [INFO] [stdout] | [INFO] [stdout] 74 | const REQ_WR_MODE_32: IoctlLong = (DIR_WRITE | TYPE_SPI | NR_MODE32 | SIZE_U32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.70s [INFO] running `Command { std: "docker" "inspect" "d73ba96c779b4834c54a2814f28e0bf648ef5ce60475f2002bb8c83ffda5b85c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d73ba96c779b4834c54a2814f28e0bf648ef5ce60475f2002bb8c83ffda5b85c", kill_on_drop: false }` [INFO] [stdout] d73ba96c779b4834c54a2814f28e0bf648ef5ce60475f2002bb8c83ffda5b85c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ad48330cb2e5ba9c36fcc01966d4d438166369affe4c3c52a237eb34be5f3971 [INFO] running `Command { std: "docker" "start" "-a" "ad48330cb2e5ba9c36fcc01966d4d438166369affe4c3c52a237eb34be5f3971", kill_on_drop: false }` [INFO] [stderr] Compiling simple-signal v1.1.1 [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/gpio/ioctl.rs:49:23 [INFO] [stdout] | [INFO] [stdout] 49 | const TYPESHIFT: u8 = (NRSHIFT + NRBITS); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/gpio/ioctl.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | const SIZESHIFT: u8 = (TYPESHIFT + TYPEBITS); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/gpio/ioctl.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | const DIRSHIFT: u8 = (SIZESHIFT + SIZEBITS); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/spi/ioctl.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | const TYPESHIFT: u8 = (NRSHIFT + NRBITS); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/spi/ioctl.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 44 | const SIZESHIFT: u8 = (TYPESHIFT + TYPEBITS); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/spi/ioctl.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | const DIRSHIFT: u8 = (SIZESHIFT + SIZEBITS); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/spi/ioctl.rs:63:32 [INFO] [stdout] | [INFO] [stdout] 63 | const REQ_RD_MODE: IoctlLong = (DIR_READ | TYPE_SPI | NR_MODE | SIZE_U8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/spi/ioctl.rs:64:37 [INFO] [stdout] | [INFO] [stdout] 64 | const REQ_RD_LSB_FIRST: IoctlLong = (DIR_READ | TYPE_SPI | NR_LSB_FIRST | SIZE_U8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/spi/ioctl.rs:65:41 [INFO] [stdout] | [INFO] [stdout] 65 | const REQ_RD_BITS_PER_WORD: IoctlLong = (DIR_READ | TYPE_SPI | NR_BITS_PER_WORD | SIZE_U8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/spi/ioctl.rs:66:40 [INFO] [stdout] | [INFO] [stdout] 66 | const REQ_RD_MAX_SPEED_HZ: IoctlLong = (DIR_READ | TYPE_SPI | NR_MAX_SPEED_HZ | SIZE_U32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/spi/ioctl.rs:67:35 [INFO] [stdout] | [INFO] [stdout] 67 | const REQ_RD_MODE_32: IoctlLong = (DIR_READ | TYPE_SPI | NR_MODE32 | SIZE_U32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/spi/ioctl.rs:69:35 [INFO] [stdout] | [INFO] [stdout] 69 | const REQ_WR_MESSAGE: IoctlLong = (DIR_WRITE | TYPE_SPI | NR_MESSAGE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/spi/ioctl.rs:70:32 [INFO] [stdout] | [INFO] [stdout] 70 | const REQ_WR_MODE: IoctlLong = (DIR_WRITE | TYPE_SPI | NR_MODE | SIZE_U8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/spi/ioctl.rs:71:37 [INFO] [stdout] | [INFO] [stdout] 71 | const REQ_WR_LSB_FIRST: IoctlLong = (DIR_WRITE | TYPE_SPI | NR_LSB_FIRST | SIZE_U8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/spi/ioctl.rs:72:41 [INFO] [stdout] | [INFO] [stdout] 72 | const REQ_WR_BITS_PER_WORD: IoctlLong = (DIR_WRITE | TYPE_SPI | NR_BITS_PER_WORD | SIZE_U8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/spi/ioctl.rs:73:40 [INFO] [stdout] | [INFO] [stdout] 73 | const REQ_WR_MAX_SPEED_HZ: IoctlLong = (DIR_WRITE | TYPE_SPI | NR_MAX_SPEED_HZ | SIZE_U32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/spi/ioctl.rs:74:35 [INFO] [stdout] | [INFO] [stdout] 74 | const REQ_WR_MODE_32: IoctlLong = (DIR_WRITE | TYPE_SPI | NR_MODE32 | SIZE_U32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rppal_w_frontend v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `rppal` [INFO] [stdout] --> examples/pwm_blinkled.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use rppal::pwm::{Channel, Polarity, Pwm}; [INFO] [stdout] | ^^^^^ use of undeclared type or module `rppal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Channel` [INFO] [stdout] --> examples/pwm_blinkled.rs:39:35 [INFO] [stdout] | [INFO] [stdout] 39 | let pwm = Pwm::with_frequency(Channel::Pwm0, 2.0, 0.25, Polarity::Normal, true)?; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `Channel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Polarity` [INFO] [stdout] --> examples/pwm_blinkled.rs:39:61 [INFO] [stdout] | [INFO] [stdout] 39 | let pwm = Pwm::with_frequency(Channel::Pwm0, 2.0, 0.25, Polarity::Normal, true)?; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `Polarity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Pwm` [INFO] [stdout] --> examples/pwm_blinkled.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | let pwm = Pwm::with_frequency(Channel::Pwm0, 2.0, 0.25, Polarity::Normal, true)?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 31 | use rppal_w_frontend::pwm::Pwm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rppal_w_frontend`. [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] error[E0433]: failed to resolve: use of undeclared type or module `rppal` [INFO] [stdout] --> examples/spi_25aa1024.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use rppal::spi::{Bus, Mode, Segment, SlaveSelect, Spi}; [INFO] [stdout] | ^^^^^ use of undeclared type or module `rppal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `rppal` [INFO] [stdout] --> examples/gpio_status.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use rppal::gpio::Gpio; [INFO] [stdout] | ^^^^^ use of undeclared type or module `rppal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `rppal` [INFO] [stdout] --> examples/gpio_status.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use rppal::system::{DeviceInfo, Model}; [INFO] [stdout] | ^^^^^ use of undeclared type or module `rppal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Bus` [INFO] [stdout] --> examples/spi_25aa1024.rs:39:28 [INFO] [stdout] | [INFO] [stdout] 39 | let mut spi = Spi::new(Bus::Spi0, SlaveSelect::Ss0, 8_000_000, Mode::Mode0)?; [INFO] [stdout] | ^^^ use of undeclared type or module `Bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `SlaveSelect` [INFO] [stdout] --> examples/spi_25aa1024.rs:39:39 [INFO] [stdout] | [INFO] [stdout] 39 | let mut spi = Spi::new(Bus::Spi0, SlaveSelect::Ss0, 8_000_000, Mode::Mode0)?; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `SlaveSelect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Mode` [INFO] [stdout] --> examples/spi_25aa1024.rs:39:68 [INFO] [stdout] | [INFO] [stdout] 39 | let mut spi = Spi::new(Bus::Spi0, SlaveSelect::Ss0, 8_000_000, Mode::Mode0)?; [INFO] [stdout] | ^^^^ use of undeclared type or module `Mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Spi` [INFO] [stdout] --> examples/spi_25aa1024.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | let mut spi = Spi::new(Bus::Spi0, SlaveSelect::Ss0, 8_000_000, Mode::Mode0)?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 23 | use rppal_w_frontend::spi::Spi; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Segment` [INFO] [stdout] --> examples/spi_25aa1024.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | Segment::with_write(&[RDSR]), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 23 | use rppal_w_frontend::spi::Segment; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Segment` [INFO] [stdout] --> examples/spi_25aa1024.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | Segment::with_read(&mut buffer), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 23 | use rppal_w_frontend::spi::Segment; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Segment` [INFO] [stdout] --> examples/spi_25aa1024.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | Segment::with_write(&[READ, 0, 0, 0]), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 23 | use rppal_w_frontend::spi::Segment; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Segment` [INFO] [stdout] --> examples/spi_25aa1024.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | Segment::with_read(&mut buffer), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 23 | use rppal_w_frontend::spi::Segment; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `rppal` [INFO] [stdout] --> examples/i2c_ds3231.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use rppal::i2c::I2c; [INFO] [stdout] | ^^^^^ use of undeclared type or module `rppal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `rppal` [INFO] [stdout] --> examples/uart_blocking_read.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use rppal::uart::{Parity, Uart}; [INFO] [stdout] | ^^^^^ use of undeclared type or module `rppal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `rppal` [INFO] [stdout] --> examples/pwm_servo.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use rppal::pwm::{Channel, Polarity, Pwm}; [INFO] [stdout] | ^^^^^ use of undeclared type or module `rppal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `rppal` [INFO] [stdout] --> examples/gpio_servo_softpwm.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | use rppal::gpio::Gpio; [INFO] [stdout] | ^^^^^ use of undeclared type or module `rppal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `rppal` [INFO] [stdout] --> examples/gpio_blinkled.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use rppal::gpio::Gpio; [INFO] [stdout] | ^^^^^ use of undeclared type or module `rppal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `rppal` [INFO] [stdout] --> examples/gpio_blinkled_signals.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | use rppal::gpio::Gpio; [INFO] [stdout] | ^^^^^ use of undeclared type or module `rppal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Gpio` [INFO] [stdout] --> examples/gpio_blinkled_signals.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | let mut pin = Gpio::new()?.get(GPIO_LED)?.into_output(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 28 | use rppal_w_frontend::gpio::Gpio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `I2c` [INFO] [stdout] --> examples/i2c_ds3231.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | let mut i2c = I2c::new()?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 24 | use rppal_w_frontend::i2c::I2c; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Parity` [INFO] [stdout] --> examples/uart_blocking_read.rs:31:39 [INFO] [stdout] | [INFO] [stdout] 31 | let mut uart = Uart::new(115_200, Parity::None, 8, 1)?; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Parity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Model` [INFO] [stdout] --> examples/gpio_status.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | Model::RaspberryPiBRev1 => { [INFO] [stdout] | ^^^^^ use of undeclared type or module `Model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Model` [INFO] [stdout] --> examples/gpio_status.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | Model::RaspberryPiA | Model::RaspberryPiBRev2 => print_header(&HEADER[..MAX_PINS_SHORT]), [INFO] [stdout] | ^^^^^ use of undeclared type or module `Model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Model` [INFO] [stdout] --> examples/gpio_status.rs:164:31 [INFO] [stdout] | [INFO] [stdout] 164 | Model::RaspberryPiA | Model::RaspberryPiBRev2 => print_header(&HEADER[..MAX_PINS_SHORT]), [INFO] [stdout] | ^^^^^ use of undeclared type or module `Model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Model` [INFO] [stdout] --> examples/gpio_status.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | Model::RaspberryPiAPlus [INFO] [stdout] | ^^^^^ use of undeclared type or module `Model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Model` [INFO] [stdout] --> examples/gpio_status.rs:166:11 [INFO] [stdout] | [INFO] [stdout] 166 | | Model::RaspberryPiBPlus [INFO] [stdout] | ^^^^^ use of undeclared type or module `Model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Model` [INFO] [stdout] --> examples/gpio_status.rs:167:11 [INFO] [stdout] | [INFO] [stdout] 167 | | Model::RaspberryPi2B [INFO] [stdout] | ^^^^^ use of undeclared type or module `Model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Model` [INFO] [stdout] --> examples/gpio_status.rs:168:11 [INFO] [stdout] | [INFO] [stdout] 168 | | Model::RaspberryPi3APlus [INFO] [stdout] | ^^^^^ use of undeclared type or module `Model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Model` [INFO] [stdout] --> examples/gpio_status.rs:169:11 [INFO] [stdout] | [INFO] [stdout] 169 | | Model::RaspberryPi3B [INFO] [stdout] | ^^^^^ use of undeclared type or module `Model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Model` [INFO] [stdout] --> examples/gpio_status.rs:170:11 [INFO] [stdout] | [INFO] [stdout] 170 | | Model::RaspberryPi3BPlus [INFO] [stdout] | ^^^^^ use of undeclared type or module `Model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Model` [INFO] [stdout] --> examples/gpio_status.rs:171:11 [INFO] [stdout] | [INFO] [stdout] 171 | | Model::RaspberryPi4B [INFO] [stdout] | ^^^^^ use of undeclared type or module `Model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Model` [INFO] [stdout] --> examples/gpio_status.rs:172:11 [INFO] [stdout] | [INFO] [stdout] 172 | | Model::RaspberryPiZero [INFO] [stdout] | ^^^^^ use of undeclared type or module `Model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Model` [INFO] [stdout] --> examples/gpio_status.rs:173:11 [INFO] [stdout] | [INFO] [stdout] 173 | | Model::RaspberryPiZeroW => print_header(&HEADER[..MAX_PINS_LONG]), [INFO] [stdout] | ^^^^^ use of undeclared type or module `Model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Uart` [INFO] [stdout] --> examples/uart_blocking_read.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | let mut uart = Uart::new(115_200, Parity::None, 8, 1)?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 23 | use rppal_w_frontend::uart::Uart; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Channel` [INFO] [stdout] --> examples/pwm_servo.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | Channel::Pwm0, [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `Channel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Gpio` [INFO] [stdout] --> examples/gpio_servo_softpwm.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | let mut pin = Gpio::new()?.get(GPIO_PWM)?.into_output(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 37 | use rppal_w_frontend::gpio::Gpio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Gpio` [INFO] [stdout] --> examples/gpio_status.rs:116:16 [INFO] [stdout] | [INFO] [stdout] 116 | let gpio = Gpio::new()?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 24 | use rppal_w_frontend::gpio::Gpio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `DeviceInfo` [INFO] [stdout] --> examples/gpio_status.rs:153:11 [INFO] [stdout] | [INFO] [stdout] 153 | match DeviceInfo::new()?.model() { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 24 | use rppal_w_frontend::system::DeviceInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Gpio` [INFO] [stdout] --> examples/gpio_blinkled.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | let mut pin = Gpio::new()?.get(GPIO_LED)?.into_output(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 31 | use rppal_w_frontend::gpio::Gpio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Polarity` [INFO] [stdout] --> examples/pwm_servo.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | Polarity::Normal, [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `Polarity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Pwm` [INFO] [stdout] --> examples/pwm_servo.rs:54:15 [INFO] [stdout] | [INFO] [stdout] 54 | let pwm = Pwm::with_period( [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 36 | use rppal_w_frontend::pwm::Pwm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/gpio/ioctl.rs:49:23 [INFO] [stdout] | [INFO] [stdout] 49 | const TYPESHIFT: u8 = (NRSHIFT + NRBITS); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/gpio/ioctl.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | const SIZESHIFT: u8 = (TYPESHIFT + TYPEBITS); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/gpio/ioctl.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | const DIRSHIFT: u8 = (SIZESHIFT + SIZEBITS); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/spi/ioctl.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | const TYPESHIFT: u8 = (NRSHIFT + NRBITS); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/spi/ioctl.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 44 | const SIZESHIFT: u8 = (TYPESHIFT + TYPEBITS); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/spi/ioctl.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | const DIRSHIFT: u8 = (SIZESHIFT + SIZEBITS); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/spi/ioctl.rs:63:32 [INFO] [stdout] | [INFO] [stdout] 63 | const REQ_RD_MODE: IoctlLong = (DIR_READ | TYPE_SPI | NR_MODE | SIZE_U8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/spi/ioctl.rs:64:37 [INFO] [stdout] | [INFO] [stdout] 64 | const REQ_RD_LSB_FIRST: IoctlLong = (DIR_READ | TYPE_SPI | NR_LSB_FIRST | SIZE_U8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/spi/ioctl.rs:65:41 [INFO] [stdout] | [INFO] [stdout] 65 | const REQ_RD_BITS_PER_WORD: IoctlLong = (DIR_READ | TYPE_SPI | NR_BITS_PER_WORD | SIZE_U8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/spi/ioctl.rs:66:40 [INFO] [stdout] | [INFO] [stdout] 66 | const REQ_RD_MAX_SPEED_HZ: IoctlLong = (DIR_READ | TYPE_SPI | NR_MAX_SPEED_HZ | SIZE_U32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/spi/ioctl.rs:67:35 [INFO] [stdout] | [INFO] [stdout] 67 | const REQ_RD_MODE_32: IoctlLong = (DIR_READ | TYPE_SPI | NR_MODE32 | SIZE_U32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/spi/ioctl.rs:69:35 [INFO] [stdout] | [INFO] [stdout] 69 | const REQ_WR_MESSAGE: IoctlLong = (DIR_WRITE | TYPE_SPI | NR_MESSAGE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/spi/ioctl.rs:70:32 [INFO] [stdout] | [INFO] [stdout] 70 | const REQ_WR_MODE: IoctlLong = (DIR_WRITE | TYPE_SPI | NR_MODE | SIZE_U8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/spi/ioctl.rs:71:37 [INFO] [stdout] | [INFO] [stdout] 71 | const REQ_WR_LSB_FIRST: IoctlLong = (DIR_WRITE | TYPE_SPI | NR_LSB_FIRST | SIZE_U8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/spi/ioctl.rs:72:41 [INFO] [stdout] | [INFO] [stdout] 72 | const REQ_WR_BITS_PER_WORD: IoctlLong = (DIR_WRITE | TYPE_SPI | NR_BITS_PER_WORD | SIZE_U8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/spi/ioctl.rs:73:40 [INFO] [stdout] | [INFO] [stdout] 73 | const REQ_WR_MAX_SPEED_HZ: IoctlLong = (DIR_WRITE | TYPE_SPI | NR_MAX_SPEED_HZ | SIZE_U32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/spi/ioctl.rs:74:35 [INFO] [stdout] | [INFO] [stdout] 74 | const REQ_WR_MODE_32: IoctlLong = (DIR_WRITE | TYPE_SPI | NR_MODE32 | SIZE_U32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ad48330cb2e5ba9c36fcc01966d4d438166369affe4c3c52a237eb34be5f3971", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad48330cb2e5ba9c36fcc01966d4d438166369affe4c3c52a237eb34be5f3971", kill_on_drop: false }` [INFO] [stdout] ad48330cb2e5ba9c36fcc01966d4d438166369affe4c3c52a237eb34be5f3971