[INFO] fetching crate icm20948 0.0.1... [INFO] testing icm20948-0.0.1 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate icm20948 0.0.1 into /workspace/builds/worker-64/source [INFO] validating manifest of crates.io crate icm20948 0.0.1 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate icm20948 0.0.1 [INFO] finished tweaking crates.io crate icm20948 0.0.1 [INFO] tweaked toml for crates.io crate icm20948 0.0.1 written to /workspace/builds/worker-64/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cast v0.3.0 [INFO] [stderr] Downloaded sysfs_gpio v0.6.0 [INFO] [stderr] Downloaded spidev v0.5.0 [INFO] [stderr] Downloaded i2cdev v0.5.0 [INFO] [stderr] Downloaded linux-embedded-hal v0.3.2 [INFO] [stderr] Downloaded gpio-cdev v0.5.0 [INFO] [stderr] Downloaded bit-byte-structs v0.0.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 133cd170b29a041fc4d4746649543fab6fb21a47b3bdfb8933d132e0d0a5139c [INFO] running `Command { std: "docker" "start" "-a" "133cd170b29a041fc4d4746649543fab6fb21a47b3bdfb8933d132e0d0a5139c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "133cd170b29a041fc4d4746649543fab6fb21a47b3bdfb8933d132e0d0a5139c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "133cd170b29a041fc4d4746649543fab6fb21a47b3bdfb8933d132e0d0a5139c", kill_on_drop: false }` [INFO] [stdout] 133cd170b29a041fc4d4746649543fab6fb21a47b3bdfb8933d132e0d0a5139c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 742ac6ed6043a14b84ba1f8dc5df5e3e4a1190e3f2134466b5dc6094bbf40e22 [INFO] running `Command { std: "docker" "start" "-a" "742ac6ed6043a14b84ba1f8dc5df5e3e4a1190e3f2134466b5dc6094bbf40e22", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cortex-m v0.7.3 [INFO] [stderr] Compiling nb v1.0.0 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.7 [INFO] [stderr] Compiling volatile-register v0.2.1 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling embedded-hal v0.2.6 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling bit-byte-structs v0.0.3 [INFO] [stderr] Compiling icm20948 v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/lib.rs:431:13 [INFO] [stdout] | [INFO] [stdout] 431 | let result = self.duty_cycle.read(interface)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delay` [INFO] [stdout] --> src/lib.rs:441:9 [INFO] [stdout] | [INFO] [stdout] 441 | delay: &mut dyn DelayMs, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delay` [INFO] [stdout] --> src/lib.rs:585:9 [INFO] [stdout] | [INFO] [stdout] 585 | delay: &mut dyn DelayMs, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spi_bus` [INFO] [stdout] --> src/lib.rs:649:16 [INFO] [stdout] | [INFO] [stdout] 649 | pub fn new(spi_bus: &mut SPI, cs: &mut CS) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_spi_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cs` [INFO] [stdout] --> src/lib.rs:649:35 [INFO] [stdout] | [INFO] [stdout] 649 | pub fn new(spi_bus: &mut SPI, cs: &mut CS) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i2c_bus` [INFO] [stdout] --> src/lib.rs:705:16 [INFO] [stdout] | [INFO] [stdout] 705 | pub fn new(i2c_bus: &mut I2C) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_i2c_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ICM20X_B0_PWR_MGMT_2` [INFO] [stdout] --> src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | const ICM20X_B0_PWR_MGMT_2: u8 = 0x07; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ICM20X_B3_I2C_MST_CTRL` [INFO] [stdout] --> src/lib.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | const ICM20X_B3_I2C_MST_CTRL: u8 = 0x01; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ICM20X_B3_I2C_MST_DELAY_CTRL` [INFO] [stdout] --> src/lib.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | const ICM20X_B3_I2C_MST_DELAY_CTRL: u8 = 0x02; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `GRAVECONST` [INFO] [stdout] --> src/lib.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | const GRAVECONST: f32 = 9.81; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `setup_mag` [INFO] [stdout] --> src/lib.rs:753:8 [INFO] [stdout] | [INFO] [stdout] 753 | fn setup_mag(&self, i2c_bus: &mut I2C) -> Result<(), ICMError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.61s [INFO] running `Command { std: "docker" "inspect" "742ac6ed6043a14b84ba1f8dc5df5e3e4a1190e3f2134466b5dc6094bbf40e22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "742ac6ed6043a14b84ba1f8dc5df5e3e4a1190e3f2134466b5dc6094bbf40e22", kill_on_drop: false }` [INFO] [stdout] 742ac6ed6043a14b84ba1f8dc5df5e3e4a1190e3f2134466b5dc6094bbf40e22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4fc4ef62394c842caa0ab5b9da4f366b149944939226f86827a444f82a4f5634 [INFO] running `Command { std: "docker" "start" "-a" "4fc4ef62394c842caa0ab5b9da4f366b149944939226f86827a444f82a4f5634", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/lib.rs:431:13 [INFO] [stdout] | [INFO] [stdout] 431 | let result = self.duty_cycle.read(interface)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delay` [INFO] [stdout] --> src/lib.rs:441:9 [INFO] [stdout] | [INFO] [stdout] 441 | delay: &mut dyn DelayMs, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delay` [INFO] [stdout] --> src/lib.rs:585:9 [INFO] [stdout] | [INFO] [stdout] 585 | delay: &mut dyn DelayMs, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spi_bus` [INFO] [stdout] --> src/lib.rs:649:16 [INFO] [stdout] | [INFO] [stdout] 649 | pub fn new(spi_bus: &mut SPI, cs: &mut CS) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_spi_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cs` [INFO] [stdout] --> src/lib.rs:649:35 [INFO] [stdout] | [INFO] [stdout] 649 | pub fn new(spi_bus: &mut SPI, cs: &mut CS) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i2c_bus` [INFO] [stdout] --> src/lib.rs:705:16 [INFO] [stdout] | [INFO] [stdout] 705 | pub fn new(i2c_bus: &mut I2C) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_i2c_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ICM20X_B0_PWR_MGMT_2` [INFO] [stdout] --> src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | const ICM20X_B0_PWR_MGMT_2: u8 = 0x07; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ICM20X_B3_I2C_MST_CTRL` [INFO] [stdout] --> src/lib.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | const ICM20X_B3_I2C_MST_CTRL: u8 = 0x01; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ICM20X_B3_I2C_MST_DELAY_CTRL` [INFO] [stdout] --> src/lib.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | const ICM20X_B3_I2C_MST_DELAY_CTRL: u8 = 0x02; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `GRAVECONST` [INFO] [stdout] --> src/lib.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | const GRAVECONST: f32 = 9.81; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `setup_mag` [INFO] [stdout] --> src/lib.rs:753:8 [INFO] [stdout] | [INFO] [stdout] 753 | fn setup_mag(&self, i2c_bus: &mut I2C) -> Result<(), ICMError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling nix v0.22.0 [INFO] [stderr] Compiling serial-core v0.4.0 [INFO] [stderr] Compiling termios v0.2.2 [INFO] [stderr] Compiling ioctl-rs v0.1.6 [INFO] [stderr] Compiling serial-unix v0.4.0 [INFO] [stderr] Compiling gpio-cdev v0.5.0 [INFO] [stderr] Compiling sysfs_gpio v0.6.0 [INFO] [stderr] Compiling i2cdev v0.5.0 [INFO] [stderr] Compiling spidev v0.5.0 [INFO] [stderr] Compiling linux-embedded-hal v0.3.2 [INFO] [stderr] Compiling icm20948 v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> tests/intergration_test.rs:56:23 [INFO] [stdout] | [INFO] [stdout] 56 | let mut icm_obj = ICMI2C::new(&mut i2c, ICM20948_CHIP_ADR).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ -------- ----------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:705:12 [INFO] [stdout] | [INFO] [stdout] 705 | pub fn new(i2c_bus: &mut I2C) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `icm20948` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/lib.rs:431:13 [INFO] [stdout] | [INFO] [stdout] 431 | let result = self.duty_cycle.read(interface)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delay` [INFO] [stdout] --> src/lib.rs:441:9 [INFO] [stdout] | [INFO] [stdout] 441 | delay: &mut dyn DelayMs, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delay` [INFO] [stdout] --> src/lib.rs:585:9 [INFO] [stdout] | [INFO] [stdout] 585 | delay: &mut dyn DelayMs, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spi_bus` [INFO] [stdout] --> src/lib.rs:649:16 [INFO] [stdout] | [INFO] [stdout] 649 | pub fn new(spi_bus: &mut SPI, cs: &mut CS) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_spi_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cs` [INFO] [stdout] --> src/lib.rs:649:35 [INFO] [stdout] | [INFO] [stdout] 649 | pub fn new(spi_bus: &mut SPI, cs: &mut CS) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i2c_bus` [INFO] [stdout] --> src/lib.rs:705:16 [INFO] [stdout] | [INFO] [stdout] 705 | pub fn new(i2c_bus: &mut I2C) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_i2c_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ICM20X_B0_PWR_MGMT_2` [INFO] [stdout] --> src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | const ICM20X_B0_PWR_MGMT_2: u8 = 0x07; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ICM20X_B3_I2C_MST_CTRL` [INFO] [stdout] --> src/lib.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | const ICM20X_B3_I2C_MST_CTRL: u8 = 0x01; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ICM20X_B3_I2C_MST_DELAY_CTRL` [INFO] [stdout] --> src/lib.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | const ICM20X_B3_I2C_MST_DELAY_CTRL: u8 = 0x02; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `GRAVECONST` [INFO] [stdout] --> src/lib.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | const GRAVECONST: f32 = 9.81; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `setup_mag` [INFO] [stdout] --> src/lib.rs:753:8 [INFO] [stdout] | [INFO] [stdout] 753 | fn setup_mag(&self, i2c_bus: &mut I2C) -> Result<(), ICMError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "4fc4ef62394c842caa0ab5b9da4f366b149944939226f86827a444f82a4f5634", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fc4ef62394c842caa0ab5b9da4f366b149944939226f86827a444f82a4f5634", kill_on_drop: false }` [INFO] [stdout] 4fc4ef62394c842caa0ab5b9da4f366b149944939226f86827a444f82a4f5634