[INFO] fetching crate navigator-rs 0.6.0... [INFO] checking navigator-rs-0.6.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate navigator-rs 0.6.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate navigator-rs 0.6.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate navigator-rs 0.6.0 [INFO] tweaked toml for crates.io crate navigator-rs 0.6.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate navigator-rs 0.6.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate navigator-rs 0.6.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serial-unix v0.4.0 [INFO] [stderr] Downloaded sysfs_gpio v0.6.2 [INFO] [stderr] Downloaded palette_derive v0.6.1 [INFO] [stderr] Downloaded sk6812_rpi v0.1.2 [INFO] [stderr] Downloaded ioctl-rs v0.1.6 [INFO] [stderr] Downloaded bmp280 v0.4.0 [INFO] [stderr] Downloaded icm20689 v0.1.1 [INFO] [stderr] Downloaded ak09915_rs v0.2.0 [INFO] [stderr] Downloaded ads1x1x v0.2.2 [INFO] [stderr] Downloaded dummy-pin v0.1.1 [INFO] [stderr] Downloaded gpio-cdev v0.5.1 [INFO] [stderr] Downloaded palette v0.6.1 [INFO] [stderr] Downloaded rppal v0.13.1 [INFO] [stderr] Downloaded i2cdev v0.5.1 [INFO] [stderr] Downloaded termios v0.2.2 [INFO] [stderr] Downloaded spidev v0.5.2 [INFO] [stderr] Downloaded linux-embedded-hal v0.3.2 [INFO] [stderr] Downloaded pwm-pca9685 v0.3.1 [INFO] [stderr] Downloaded serial-core v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 906e08319a1a4ec49c34897912d041941ba46a5060d40780ac94313168759cbe [INFO] running `Command { std: "docker" "start" "-a" "906e08319a1a4ec49c34897912d041941ba46a5060d40780ac94313168759cbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "906e08319a1a4ec49c34897912d041941ba46a5060d40780ac94313168759cbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "906e08319a1a4ec49c34897912d041941ba46a5060d40780ac94313168759cbe", kill_on_drop: false }` [INFO] [stdout] 906e08319a1a4ec49c34897912d041941ba46a5060d40780ac94313168759cbe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9edc388da35998c0a7e35bce50a6a03030fbc20cf6c3a8e747a9e9736c4966c7 [INFO] running `Command { std: "docker" "start" "-a" "9edc388da35998c0a7e35bce50a6a03030fbc20cf6c3a8e747a9e9736c4966c7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Checking generic-array v0.13.3 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking volatile-register v0.2.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking as-slice v0.1.5 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling palette v0.6.1 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling serde_json v1.0.135 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking aligned v0.3.5 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking nix v0.23.2 [INFO] [stderr] Checking serial-core v0.4.0 [INFO] [stderr] Checking termios v0.2.2 [INFO] [stderr] Checking ioctl-rs v0.1.6 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking rppal v0.13.1 [INFO] [stderr] Checking clap_builder v4.5.26 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Checking i2cdev v0.4.4 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking serial-unix v0.4.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking icm20689 v0.1.1 [INFO] [stderr] Checking gpio-cdev v0.5.1 [INFO] [stderr] Checking spidev v0.5.2 [INFO] [stderr] Checking i2cdev v0.5.1 [INFO] [stderr] Checking sysfs_gpio v0.6.2 [INFO] [stderr] Checking bmp280 v0.4.0 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking clap v4.5.26 [INFO] [stderr] Compiling find-crate v0.6.3 [INFO] [stderr] Checking linux-embedded-hal v0.3.2 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking pwm-pca9685 v0.3.1 [INFO] [stderr] Checking ak09915_rs v0.2.0 [INFO] [stderr] Checking ads1x1x v0.2.2 [INFO] [stderr] Checking dummy-pin v0.1.1 [INFO] [stderr] Compiling palette_derive v0.6.1 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking log v0.4.25 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking sk6812_rpi v0.1.2 [INFO] [stderr] Checking navigator-rs v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `info` is never read [INFO] [stdout] --> src/ads1115.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Ads1115Device { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 13 | adc: Ads1x1x, Ads1115, Resolution16Bit, ads1x1x::mode::OneShot>, [INFO] [stdout] 14 | info: PeripheralInfo, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_peripheral_info` is never used [INFO] [stdout] --> src/ads1115.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Ads1115Device { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn get_peripheral_info(&self) -> &PeripheralInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_i2c_bus`, `with_address`, and `with_peripheral_info` are never used [INFO] [stdout] --> src/ads1115.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Ads1115DeviceBuilder { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn with_i2c_bus(mut self, bus: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn with_address(mut self, address: SlaveAddr) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn with_peripheral_info(mut self, info: PeripheralInfo) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `info` is never read [INFO] [stdout] --> src/ak09915.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Ak09915Device { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 11 | mag: Ak, [INFO] [stdout] 12 | info: PeripheralInfo, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_peripheral_info` is never used [INFO] [stdout] --> src/ak09915.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Ak09915Device { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn get_peripheral_info(&self) -> &PeripheralInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_i2c_bus` and `with_peripheral_info` are never used [INFO] [stdout] --> src/ak09915.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl Ak09915Builder { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn with_i2c_bus(mut self, bus: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn with_peripheral_info(mut self, info: PeripheralInfo) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `info` is never read [INFO] [stdout] --> src/bmp280.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Bmp280Device { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 10 | bmp280: Bmp280, [INFO] [stdout] 11 | info: PeripheralInfo, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_peripheral_info` is never used [INFO] [stdout] --> src/bmp280.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Bmp280Device { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn get_peripheral_info(&self) -> &PeripheralInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_i2c_bus`, `with_address`, and `with_peripheral_info` are never used [INFO] [stdout] --> src/bmp280.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl BarometerBuilder { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn with_i2c_bus(mut self, bus: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn with_address(mut self, address: u8) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn with_peripheral_info(mut self, info: PeripheralInfo) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ErrReg`, `Event`, and `Data3` are never constructed [INFO] [stdout] --> src/bmp390.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 18 | enum Register { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 19 | ChipId = 0x00, [INFO] [stdout] 20 | ErrReg = 0x02, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | Event = 0x10, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | Data3 = 0x07, // temperature XLSB [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `info` is never read [INFO] [stdout] --> src/bmp390.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Bmp390Device { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 65 | bmp390: Bmp390, [INFO] [stdout] 66 | info: PeripheralInfo, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_peripheral_info` is never used [INFO] [stdout] --> src/bmp390.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 69 | impl Bmp390Device { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn get_peripheral_info(&self) -> &PeripheralInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `address`, `path`, and `ground_pressure` are never used [INFO] [stdout] --> src/bmp390.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 95 | impl Bmp390Builder { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn address(&mut self, address: u16) -> &mut Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn path(&mut self, path: impl Into) -> &mut Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn ground_pressure(&mut self, pressure: f32) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `info` is never read [INFO] [stdout] --> src/icm20689.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Icm20689Device { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 13 | imu: ICM20689>, [INFO] [stdout] 14 | info: PeripheralInfo, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_peripheral_info` is never used [INFO] [stdout] --> src/icm20689.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Icm20689Device { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn get_peripheral_info(&self) -> &PeripheralInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_spi_device` and `with_peripheral_info` are never used [INFO] [stdout] --> src/icm20689.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl Icm20689Builder { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn with_spi_device(mut self, device: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn with_peripheral_info(mut self, info: PeripheralInfo) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `info` is never read [INFO] [stdout] --> src/leak.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct LeakDetector { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 8 | pin: LineHandle, [INFO] [stdout] 9 | info: PeripheralInfo, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_peripheral_info` is never used [INFO] [stdout] --> src/leak.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl LeakDetector { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn get_peripheral_info(&self) -> &PeripheralInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_pin` and `with_peripheral_info` are never used [INFO] [stdout] --> src/leak.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl LeakBuilder { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn with_pin(mut self, pin_number: u32) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn with_peripheral_info(mut self, info: PeripheralInfo) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `info` is never read [INFO] [stdout] --> src/led.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct LedController { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 8 | pub leds: Vec, [INFO] [stdout] 9 | pub info: PeripheralInfo, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_peripheral_info` is never used [INFO] [stdout] --> src/led.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl LedController { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn get_peripheral_info(&self) -> &PeripheralInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_peripheral_info` is never used [INFO] [stdout] --> src/led.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl LedControllerBuilder { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn with_peripheral_info(mut self, info: PeripheralInfo) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `info` is never read [INFO] [stdout] --> src/pca9685.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Pca9685Device { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | info: PeripheralInfo, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_peripheral_info` is never used [INFO] [stdout] --> src/pca9685.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Pca9685Device { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn get_peripheral_info(&self) -> &PeripheralInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_address`, `with_oe_pin`, and `with_peripheral_info` are never used [INFO] [stdout] --> src/pca9685.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl Pca9685DeviceBuilder { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn with_address(mut self, address: u8) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn with_oe_pin(mut self, pin_number: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn with_peripheral_info(mut self, info: PeripheralInfo) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DigitalOutput` is never constructed [INFO] [stdout] --> src/peripherals.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum PeripheralClass { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | DigitalOutput, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `peripheral` and `class` are never read [INFO] [stdout] --> src/peripherals.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct PeripheralInfo { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 30 | pub peripheral: Peripherals, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 31 | pub class: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_any` and `as_any_mut` are never used [INFO] [stdout] --> src/peripherals.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub trait AnyHardwareExt { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] 35 | fn as_any(&self) -> &dyn std::any::Any; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 36 | fn as_any_mut(&mut self) -> &mut dyn std::any::Any; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `channels` is never used [INFO] [stdout] --> src/peripherals.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub trait AdcSensor: AnyHardware { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 90 | fn channels(self) -> u32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `toggle_led` and `number_of_leds` are never used [INFO] [stdout] --> src/peripherals.rs:158:8 [INFO] [stdout] | [INFO] [stdout] 150 | pub trait LedBehaviour: AnyHardware { [INFO] [stdout] | ------------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 158 | fn toggle_led(&mut self, index: usize); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | fn number_of_leds(&self) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/peripherals.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 165 | pub trait RgbBehaviour: AnyHardware { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 173 | fn clear(&mut self) -> Result<(), Box>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_duty_cycle_multiple` is never used [INFO] [stdout] --> src/peripherals.rs:191:8 [INFO] [stdout] | [INFO] [stdout] 177 | pub trait PwmBehaviour: AnyHardware { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 191 | fn set_duty_cycle_multiple( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `info` is never read [INFO] [stdout] --> src/rgb.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct RgbController { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 11 | strip: Strip, [INFO] [stdout] 12 | info: PeripheralInfo, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_peripheral_info` is never used [INFO] [stdout] --> src/rgb.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl RgbController { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn get_peripheral_info(&self) -> &PeripheralInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_bus` and `with_peripheral_info` are never used [INFO] [stdout] --> src/rgb.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl RgbBuilder { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn with_bus(mut self, bus: Bus) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn with_peripheral_info(mut self, info: PeripheralInfo) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> benches/bench.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | / macro_rules! bench { [INFO] [stdout] 7 | | ($bench_fn:ident($($arg:tt)*)) => { [INFO] [stdout] 8 | | let mut nav = Navigator::new(); [INFO] [stdout] 9 | | c.bench_function(stringify!($bench_fn), |b| b.iter(|| nav.$bench_fn($($arg)*))); [INFO] [stdout] 10 | | }} [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `navigator_benchmark` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `info` is never read [INFO] [stdout] --> src/ads1115.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Ads1115Device { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 13 | adc: Ads1x1x, Ads1115, Resolution16Bit, ads1x1x::mode::OneShot>, [INFO] [stdout] 14 | info: PeripheralInfo, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_peripheral_info` is never used [INFO] [stdout] --> src/ads1115.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Ads1115Device { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn get_peripheral_info(&self) -> &PeripheralInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_i2c_bus`, `with_address`, and `with_peripheral_info` are never used [INFO] [stdout] --> src/ads1115.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Ads1115DeviceBuilder { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn with_i2c_bus(mut self, bus: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn with_address(mut self, address: SlaveAddr) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn with_peripheral_info(mut self, info: PeripheralInfo) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `info` is never read [INFO] [stdout] --> src/ak09915.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Ak09915Device { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 11 | mag: Ak, [INFO] [stdout] 12 | info: PeripheralInfo, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_peripheral_info` is never used [INFO] [stdout] --> src/ak09915.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Ak09915Device { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn get_peripheral_info(&self) -> &PeripheralInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_i2c_bus` and `with_peripheral_info` are never used [INFO] [stdout] --> src/ak09915.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl Ak09915Builder { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn with_i2c_bus(mut self, bus: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn with_peripheral_info(mut self, info: PeripheralInfo) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `info` is never read [INFO] [stdout] --> src/bmp280.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Bmp280Device { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 10 | bmp280: Bmp280, [INFO] [stdout] 11 | info: PeripheralInfo, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_peripheral_info` is never used [INFO] [stdout] --> src/bmp280.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Bmp280Device { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn get_peripheral_info(&self) -> &PeripheralInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_i2c_bus`, `with_address`, and `with_peripheral_info` are never used [INFO] [stdout] --> src/bmp280.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl BarometerBuilder { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn with_i2c_bus(mut self, bus: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn with_address(mut self, address: u8) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn with_peripheral_info(mut self, info: PeripheralInfo) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ErrReg`, `Event`, and `Data3` are never constructed [INFO] [stdout] --> src/bmp390.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 18 | enum Register { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 19 | ChipId = 0x00, [INFO] [stdout] 20 | ErrReg = 0x02, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | Event = 0x10, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | Data3 = 0x07, // temperature XLSB [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `info` is never read [INFO] [stdout] --> src/bmp390.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Bmp390Device { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 65 | bmp390: Bmp390, [INFO] [stdout] 66 | info: PeripheralInfo, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_peripheral_info` is never used [INFO] [stdout] --> src/bmp390.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 69 | impl Bmp390Device { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn get_peripheral_info(&self) -> &PeripheralInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `address`, `path`, and `ground_pressure` are never used [INFO] [stdout] --> src/bmp390.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 95 | impl Bmp390Builder { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn address(&mut self, address: u16) -> &mut Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn path(&mut self, path: impl Into) -> &mut Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn ground_pressure(&mut self, pressure: f32) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `info` is never read [INFO] [stdout] --> src/icm20689.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Icm20689Device { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 13 | imu: ICM20689>, [INFO] [stdout] 14 | info: PeripheralInfo, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_peripheral_info` is never used [INFO] [stdout] --> src/icm20689.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Icm20689Device { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn get_peripheral_info(&self) -> &PeripheralInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_spi_device` and `with_peripheral_info` are never used [INFO] [stdout] --> src/icm20689.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl Icm20689Builder { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn with_spi_device(mut self, device: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn with_peripheral_info(mut self, info: PeripheralInfo) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `info` is never read [INFO] [stdout] --> src/leak.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct LeakDetector { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 8 | pin: LineHandle, [INFO] [stdout] 9 | info: PeripheralInfo, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_peripheral_info` is never used [INFO] [stdout] --> src/leak.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl LeakDetector { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn get_peripheral_info(&self) -> &PeripheralInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_pin` and `with_peripheral_info` are never used [INFO] [stdout] --> src/leak.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl LeakBuilder { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn with_pin(mut self, pin_number: u32) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn with_peripheral_info(mut self, info: PeripheralInfo) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `info` is never read [INFO] [stdout] --> src/led.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct LedController { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 8 | pub leds: Vec, [INFO] [stdout] 9 | pub info: PeripheralInfo, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_peripheral_info` is never used [INFO] [stdout] --> src/led.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl LedController { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn get_peripheral_info(&self) -> &PeripheralInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_peripheral_info` is never used [INFO] [stdout] --> src/led.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl LedControllerBuilder { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn with_peripheral_info(mut self, info: PeripheralInfo) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `info` is never read [INFO] [stdout] --> src/pca9685.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Pca9685Device { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | info: PeripheralInfo, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_peripheral_info` is never used [INFO] [stdout] --> src/pca9685.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Pca9685Device { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn get_peripheral_info(&self) -> &PeripheralInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_address`, `with_oe_pin`, and `with_peripheral_info` are never used [INFO] [stdout] --> src/pca9685.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl Pca9685DeviceBuilder { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn with_address(mut self, address: u8) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn with_oe_pin(mut self, pin_number: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn with_peripheral_info(mut self, info: PeripheralInfo) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DigitalOutput` is never constructed [INFO] [stdout] --> src/peripherals.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum PeripheralClass { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | DigitalOutput, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `peripheral` and `class` are never read [INFO] [stdout] --> src/peripherals.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct PeripheralInfo { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 30 | pub peripheral: Peripherals, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 31 | pub class: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_any` and `as_any_mut` are never used [INFO] [stdout] --> src/peripherals.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub trait AnyHardwareExt { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] 35 | fn as_any(&self) -> &dyn std::any::Any; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 36 | fn as_any_mut(&mut self) -> &mut dyn std::any::Any; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `channels` is never used [INFO] [stdout] --> src/peripherals.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub trait AdcSensor: AnyHardware { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 90 | fn channels(self) -> u32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/peripherals.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 165 | pub trait RgbBehaviour: AnyHardware { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 173 | fn clear(&mut self) -> Result<(), Box>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_duty_cycle_multiple` is never used [INFO] [stdout] --> src/peripherals.rs:191:8 [INFO] [stdout] | [INFO] [stdout] 177 | pub trait PwmBehaviour: AnyHardware { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 191 | fn set_duty_cycle_multiple( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `info` is never read [INFO] [stdout] --> src/rgb.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct RgbController { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 11 | strip: Strip, [INFO] [stdout] 12 | info: PeripheralInfo, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_peripheral_info` is never used [INFO] [stdout] --> src/rgb.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl RgbController { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn get_peripheral_info(&self) -> &PeripheralInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_bus` and `with_peripheral_info` are never used [INFO] [stdout] --> src/rgb.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl RgbBuilder { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn with_bus(mut self, bus: Bus) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn with_peripheral_info(mut self, info: PeripheralInfo) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 03s [INFO] running `Command { std: "docker" "inspect" "9edc388da35998c0a7e35bce50a6a03030fbc20cf6c3a8e747a9e9736c4966c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9edc388da35998c0a7e35bce50a6a03030fbc20cf6c3a8e747a9e9736c4966c7", kill_on_drop: false }` [INFO] [stdout] 9edc388da35998c0a7e35bce50a6a03030fbc20cf6c3a8e747a9e9736c4966c7