[INFO] fetching crate drogue-mpu-6050 0.1.0... [INFO] checking drogue-mpu-6050-0.1.0 against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] extracting crate drogue-mpu-6050 0.1.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate drogue-mpu-6050 0.1.0 on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate drogue-mpu-6050 0.1.0 [INFO] finished tweaking crates.io crate drogue-mpu-6050 0.1.0 [INFO] tweaked toml for crates.io crate drogue-mpu-6050 0.1.0 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b9c95f3ea77e03eca0dbed660f4dfcca68f2ded987aca11b176c20258951fe54 [INFO] running `Command { std: "docker" "start" "-a" "b9c95f3ea77e03eca0dbed660f4dfcca68f2ded987aca11b176c20258951fe54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b9c95f3ea77e03eca0dbed660f4dfcca68f2ded987aca11b176c20258951fe54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9c95f3ea77e03eca0dbed660f4dfcca68f2ded987aca11b176c20258951fe54", kill_on_drop: false }` [INFO] [stdout] b9c95f3ea77e03eca0dbed660f4dfcca68f2ded987aca11b176c20258951fe54 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d128fdc5402606edbc9259a15e1850f6dedbcec55d9615646e38e3fffda0f427 [INFO] running `Command { std: "docker" "start" "-a" "d128fdc5402606edbc9259a15e1850f6dedbcec55d9615646e38e3fffda0f427", 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] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling cortex-m v0.7.3 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking volatile-register v0.2.1 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking embedded-hal v0.2.6 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Checking generic-array v0.13.3 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking as-slice v0.1.5 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Checking embedded-time v0.10.1 [INFO] [stderr] Checking aligned v0.3.5 [INFO] [stderr] Checking drogue-embedded-timer v0.2.1 [INFO] [stderr] Checking drogue-mpu-6050 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `core::marker::PhantomData` [INFO] [stdout] --> src/sensor.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use core::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/sensor.rs:109:18 [INFO] [stdout] | [INFO] [stdout] 109 | value |= (1 << 7); [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/sensor.rs:118:18 [INFO] [stdout] | [INFO] [stdout] 118 | value |= (1 << 0); [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/sensor.rs:142:18 [INFO] [stdout] | [INFO] [stdout] 142 | value |= ((scale as u8) << 3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::marker::PhantomData` [INFO] [stdout] --> src/sensor.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use core::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/sensor.rs:148:18 [INFO] [stdout] | [INFO] [stdout] 148 | value |= ((scale as u8) << 3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/sensor.rs:158:18 [INFO] [stdout] | [INFO] [stdout] 158 | value |= (filter as u8); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/sensor.rs:109:18 [INFO] [stdout] | [INFO] [stdout] 109 | value |= (1 << 7); [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/sensor.rs:164:18 [INFO] [stdout] | [INFO] [stdout] 164 | value |= (1 << 2); [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/sensor.rs:118:18 [INFO] [stdout] | [INFO] [stdout] 118 | value |= (1 << 0); [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/sensor.rs:170:18 [INFO] [stdout] | [INFO] [stdout] 170 | value |= (1 << 6); [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/sensor.rs:142:18 [INFO] [stdout] | [INFO] [stdout] 142 | value |= ((scale as u8) << 3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/sensor.rs:178:18 [INFO] [stdout] | [INFO] [stdout] 178 | value |= (1 << 7); [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/sensor.rs:192:18 [INFO] [stdout] | [INFO] [stdout] 192 | value |= (1 << 3); [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/fifo.rs:36:33 [INFO] [stdout] | [INFO] [stdout] 36 | if self.temp { byte |= (1 << 7) } [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/fifo.rs:37:33 [INFO] [stdout] | [INFO] [stdout] 37 | if self.xg { byte |= (1 << 6) } [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/fifo.rs:38:33 [INFO] [stdout] | [INFO] [stdout] 38 | if self.yg { byte |= (1 << 5) } [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/fifo.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | if self.zg { byte |= (1 << 4) } [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/fifo.rs:40:33 [INFO] [stdout] | [INFO] [stdout] 40 | if self.accel { byte |= (1 << 3) } [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/fifo.rs:41:33 [INFO] [stdout] | [INFO] [stdout] 41 | if self.slv2 { byte |= (1 << 2) } [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/fifo.rs:42:33 [INFO] [stdout] | [INFO] [stdout] 42 | if self.slv1 { byte |= (1 << 1) } [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/fifo.rs:43:33 [INFO] [stdout] | [INFO] [stdout] 43 | if self.slv0 { byte |= (1 << 0) } [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/sensor.rs:148:18 [INFO] [stdout] | [INFO] [stdout] 148 | value |= ((scale as u8) << 3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/sensor.rs:158:18 [INFO] [stdout] | [INFO] [stdout] 158 | value |= (filter as u8); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/sensor.rs:164:18 [INFO] [stdout] | [INFO] [stdout] 164 | value |= (1 << 2); [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/sensor.rs:170:18 [INFO] [stdout] | [INFO] [stdout] 170 | value |= (1 << 6); [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/sensor.rs:178:18 [INFO] [stdout] | [INFO] [stdout] 178 | value |= (1 << 7); [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/sensor.rs:192:18 [INFO] [stdout] | [INFO] [stdout] 192 | value |= (1 << 3); [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/fifo.rs:36:33 [INFO] [stdout] | [INFO] [stdout] 36 | if self.temp { byte |= (1 << 7) } [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/fifo.rs:37:33 [INFO] [stdout] | [INFO] [stdout] 37 | if self.xg { byte |= (1 << 6) } [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/fifo.rs:38:33 [INFO] [stdout] | [INFO] [stdout] 38 | if self.yg { byte |= (1 << 5) } [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/fifo.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | if self.zg { byte |= (1 << 4) } [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/fifo.rs:40:33 [INFO] [stdout] | [INFO] [stdout] 40 | if self.accel { byte |= (1 << 3) } [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/fifo.rs:41:33 [INFO] [stdout] | [INFO] [stdout] 41 | if self.slv2 { byte |= (1 << 2) } [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/fifo.rs:42:33 [INFO] [stdout] | [INFO] [stdout] 42 | if self.slv1 { byte |= (1 << 1) } [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/fifo.rs:43:33 [INFO] [stdout] | [INFO] [stdout] 43 | if self.slv0 { byte |= (1 << 0) } [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loops` [INFO] [stdout] --> src/sensor.rs:136:39 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn calibrate_accel(&mut self, loops: u8) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_loops` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/sensor.rs:222:17 [INFO] [stdout] | [INFO] [stdout] 222 | let mut value = self.read_registers(Register::FifoCount_H, &mut buf)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sensor.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | let mut value = self.read_registers(Register::FifoCount_H, &mut buf)?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loops` [INFO] [stdout] --> src/sensor.rs:136:39 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn calibrate_accel(&mut self, loops: u8) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_loops` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/sensor.rs:222:17 [INFO] [stdout] | [INFO] [stdout] 222 | let mut value = self.read_registers(Register::FifoCount_H, &mut buf)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `GyroBiases` [INFO] [stdout] --> src/gyro.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | struct GyroBiases { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/sensor.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | self.write_register(Register::PwrMgmt1, value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/firmware_loader.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | self.set_bank(bank); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sensor.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | let mut value = self.read_registers(Register::FifoCount_H, &mut buf)?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `GyroBiases` [INFO] [stdout] --> src/gyro.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | struct GyroBiases { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/sensor.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | self.write_register(Register::PwrMgmt1, value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/firmware_loader.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | self.set_bank(bank); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.32s [INFO] running `Command { std: "docker" "inspect" "d128fdc5402606edbc9259a15e1850f6dedbcec55d9615646e38e3fffda0f427", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d128fdc5402606edbc9259a15e1850f6dedbcec55d9615646e38e3fffda0f427", kill_on_drop: false }` [INFO] [stdout] d128fdc5402606edbc9259a15e1850f6dedbcec55d9615646e38e3fffda0f427