[INFO] fetching crate icm20948 0.0.1...
[INFO] checking icm20948-0.0.1 against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] extracting crate icm20948 0.0.1 into /workspace/builds/worker-6-tc1/source
[INFO] validating manifest of crates.io crate icm20948 0.0.1 on toolchain 30f74ff0dc4d66debc8b50724c446f817e5f75f4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "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-6-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cortex-m-semihosting v0.3.7
[INFO] [stderr]   Downloaded bit-byte-structs v0.0.3
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d9ab85679c64c080de60fab6476750d542f83e42978650307a85f882f6b77588
[INFO] running `Command { std: "docker" "start" "-a" "d9ab85679c64c080de60fab6476750d542f83e42978650307a85f882f6b77588", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d9ab85679c64c080de60fab6476750d542f83e42978650307a85f882f6b77588", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d9ab85679c64c080de60fab6476750d542f83e42978650307a85f882f6b77588", kill_on_drop: false }`
[INFO] [stdout] d9ab85679c64c080de60fab6476750d542f83e42978650307a85f882f6b77588
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 315b00764e933628c56f5416f5086bab2f65b1aca710f0e83600d5d3cf47f30d
[INFO] running `Command { std: "docker" "start" "-a" "315b00764e933628c56f5416f5086bab2f65b1aca710f0e83600d5d3cf47f30d", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]     Checking nb v1.1.0
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]    Compiling cortex-m v0.7.7
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]     Checking vcell v0.1.3
[INFO] [stderr]    Compiling cortex-m-semihosting v0.3.7
[INFO] [stderr]     Checking volatile-register v0.2.2
[INFO] [stderr]     Checking nb v0.1.3
[INFO] [stderr]     Checking bitfield v0.13.2
[INFO] [stderr]     Checking embedded-hal v0.2.7
[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]     Checking bit-byte-structs v0.0.3
[INFO] [stderr]     Checking 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<u16>,
[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<u16>,
[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<Self, E> {
[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<Self, E> {
[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<Self, E> {
[INFO] [stdout]     |                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_i2c_bus`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ICM20X_B0_PWR_MGMT_2` is never used
[INFO] [stdout]   --> src/lib.rs:66:7
[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 `ICM20X_B3_I2C_MST_CTRL` is never used
[INFO] [stdout]   --> src/lib.rs:79:7
[INFO] [stdout]    |
[INFO] [stdout] 79 | const ICM20X_B3_I2C_MST_CTRL: u8 = 0x01;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ICM20X_B3_I2C_MST_DELAY_CTRL` is never used
[INFO] [stdout]   --> src/lib.rs:80:7
[INFO] [stdout]    |
[INFO] [stdout] 80 | const ICM20X_B3_I2C_MST_DELAY_CTRL: u8 = 0x02;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GRAVECONST` is never used
[INFO] [stdout]   --> src/lib.rs:82:7
[INFO] [stdout]    |
[INFO] [stdout] 82 | const GRAVECONST: f32 = 9.81;
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `setup_mag` is never used
[INFO] [stdout]    --> src/lib.rs:753:8
[INFO] [stdout]     |
[INFO] [stdout] 701 | / impl<I2C, E, const ADDRESS: u8> ICMI2C<I2C, E, ADDRESS>
[INFO] [stdout] 702 | | where
[INFO] [stdout] 703 | |     I2C: Read<Error = E> + Write<Error = E> + WriteRead<Error = E>,
[INFO] [stdout]     | |___________________________________________________________________- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 753 |       fn setup_mag(&self, i2c_bus: &mut I2C) -> Result<(), ICMError<E>> {
[INFO] [stdout]     |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 11 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking nix v0.23.2
[INFO] [stderr]     Checking termios v0.2.2
[INFO] [stderr]     Checking ioctl-rs v0.1.6
[INFO] [stderr]     Checking serial-core v0.4.0
[INFO] [stderr]     Checking serial-unix v0.4.0
[INFO] [stderr]     Checking i2cdev v0.5.1
[INFO] [stderr]     Checking sysfs_gpio v0.6.1
[INFO] [stderr]     Checking spidev v0.5.2
[INFO] [stderr]     Checking gpio-cdev v0.5.1
[INFO] [stderr]     Checking linux-embedded-hal v0.3.2
[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]     |                       ^^^^^^^^^^^         -------------------
[INFO] [stdout]     |                                           | |
[INFO] [stdout]     |                                           | unexpected argument of type `u8`
[INFO] [stdout]     |                                           help: remove the extra 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<Self, E> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `address`
[INFO] [stdout]   --> tests/intergration_test.rs:22:24
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn read(&mut self, address: u8, buffer: &mut [u8]) -> Result<(), Self::Error> {
[INFO] [stdout]    |                        ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]   --> tests/intergration_test.rs:30:25
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn write(&mut self, addr: u8, bytes: &[u8]) -> Result<(), Self::Error> {
[INFO] [stdout]    |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bytes`
[INFO] [stdout]   --> tests/intergration_test.rs:30:35
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn write(&mut self, addr: u8, bytes: &[u8]) -> Result<(), Self::Error> {
[INFO] [stdout]    |                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `address`
[INFO] [stdout]   --> tests/intergration_test.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |         address: u8,
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bytes`
[INFO] [stdout]   --> tests/intergration_test.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |         bytes: &[u8],
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buffer`
[INFO] [stdout]   --> tests/intergration_test.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |         buffer: &mut [u8],
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ms`
[INFO] [stdout]   --> tests/intergration_test.rs:49:28
[INFO] [stdout]    |
[INFO] [stdout] 49 |     fn delay_ms(&mut self, ms: UXX) {}
[INFO] [stdout]    |                            ^^ help: if this is intentional, prefix it with an underscore: `_ms`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 7 warnings emitted
[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` (test "intergration_test") due to 2 previous errors; 7 warnings emitted
[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<u16>,
[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<u16>,
[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<Self, E> {
[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<Self, E> {
[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<Self, E> {
[INFO] [stdout]     |                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_i2c_bus`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ICM20X_B0_PWR_MGMT_2` is never used
[INFO] [stdout]   --> src/lib.rs:66:7
[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 `ICM20X_B3_I2C_MST_CTRL` is never used
[INFO] [stdout]   --> src/lib.rs:79:7
[INFO] [stdout]    |
[INFO] [stdout] 79 | const ICM20X_B3_I2C_MST_CTRL: u8 = 0x01;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ICM20X_B3_I2C_MST_DELAY_CTRL` is never used
[INFO] [stdout]   --> src/lib.rs:80:7
[INFO] [stdout]    |
[INFO] [stdout] 80 | const ICM20X_B3_I2C_MST_DELAY_CTRL: u8 = 0x02;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GRAVECONST` is never used
[INFO] [stdout]   --> src/lib.rs:82:7
[INFO] [stdout]    |
[INFO] [stdout] 82 | const GRAVECONST: f32 = 9.81;
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `setup_mag` is never used
[INFO] [stdout]    --> src/lib.rs:753:8
[INFO] [stdout]     |
[INFO] [stdout] 701 | / impl<I2C, E, const ADDRESS: u8> ICMI2C<I2C, E, ADDRESS>
[INFO] [stdout] 702 | | where
[INFO] [stdout] 703 | |     I2C: Read<Error = E> + Write<Error = E> + WriteRead<Error = E>,
[INFO] [stdout]     | |___________________________________________________________________- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 753 |       fn setup_mag(&self, i2c_bus: &mut I2C) -> Result<(), ICMError<E>> {
[INFO] [stdout]     |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 11 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "315b00764e933628c56f5416f5086bab2f65b1aca710f0e83600d5d3cf47f30d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "315b00764e933628c56f5416f5086bab2f65b1aca710f0e83600d5d3cf47f30d", kill_on_drop: false }`
[INFO] [stdout] 315b00764e933628c56f5416f5086bab2f65b1aca710f0e83600d5d3cf47f30d
[INFO] checking icm20948-0.0.1 against try#72eda894eb3548c7ba774079ce0afab42958d4ee for pr-121848-1
[INFO] extracting crate icm20948 0.0.1 into /workspace/builds/worker-6-tc2/source
[INFO] validating manifest of crates.io crate icm20948 0.0.1 on toolchain 72eda894eb3548c7ba774079ce0afab42958d4ee
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "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-6-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 99478a2f472a849ee4fe77b12749a7919addf393b604be0bea425e8fb082ee16
[INFO] running `Command { std: "docker" "start" "-a" "99478a2f472a849ee4fe77b12749a7919addf393b604be0bea425e8fb082ee16", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "99478a2f472a849ee4fe77b12749a7919addf393b604be0bea425e8fb082ee16", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "99478a2f472a849ee4fe77b12749a7919addf393b604be0bea425e8fb082ee16", kill_on_drop: false }`
[INFO] [stdout] 99478a2f472a849ee4fe77b12749a7919addf393b604be0bea425e8fb082ee16
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dba39bb44cee770ae87947615a0ca08ef1512d1139688e8eeb89c5d34e084524
[INFO] running `Command { std: "docker" "start" "-a" "dba39bb44cee770ae87947615a0ca08ef1512d1139688e8eeb89c5d34e084524", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]     Checking nb v1.1.0
[INFO] [stderr]    Compiling cortex-m v0.7.7
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]     Checking vcell v0.1.3
[INFO] [stderr]     Checking bitfield v0.13.2
[INFO] [stderr]     Checking volatile-register v0.2.2
[INFO] [stderr]     Checking nb v0.1.3
[INFO] [stderr]    Compiling cortex-m-semihosting v0.3.7
[INFO] [stderr]     Checking embedded-hal v0.2.7
[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]     Checking bit-byte-structs v0.0.3
[INFO] [stderr]     Checking 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<u16>,
[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<u16>,
[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<Self, E> {
[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<Self, E> {
[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<Self, E> {
[INFO] [stdout]     |                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_i2c_bus`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ICM20X_B0_PWR_MGMT_2` is never used
[INFO] [stdout]   --> src/lib.rs:66:7
[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 `ICM20X_B3_I2C_MST_CTRL` is never used
[INFO] [stdout]   --> src/lib.rs:79:7
[INFO] [stdout]    |
[INFO] [stdout] 79 | const ICM20X_B3_I2C_MST_CTRL: u8 = 0x01;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ICM20X_B3_I2C_MST_DELAY_CTRL` is never used
[INFO] [stdout]   --> src/lib.rs:80:7
[INFO] [stdout]    |
[INFO] [stdout] 80 | const ICM20X_B3_I2C_MST_DELAY_CTRL: u8 = 0x02;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GRAVECONST` is never used
[INFO] [stdout]   --> src/lib.rs:82:7
[INFO] [stdout]    |
[INFO] [stdout] 82 | const GRAVECONST: f32 = 9.81;
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `setup_mag` is never used
[INFO] [stdout]    --> src/lib.rs:753:8
[INFO] [stdout]     |
[INFO] [stdout] 701 | / impl<I2C, E, const ADDRESS: u8> ICMI2C<I2C, E, ADDRESS>
[INFO] [stdout] 702 | | where
[INFO] [stdout] 703 | |     I2C: Read<Error = E> + Write<Error = E> + WriteRead<Error = E>,
[INFO] [stdout]     | |___________________________________________________________________- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 753 |       fn setup_mag(&self, i2c_bus: &mut I2C) -> Result<(), ICMError<E>> {
[INFO] [stdout]     |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 11 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking nix v0.23.2
[INFO] [stderr]     Checking ioctl-rs v0.1.6
[INFO] [stderr]     Checking termios v0.2.2
[INFO] [stderr]     Checking serial-core v0.4.0
[INFO] [stderr]     Checking serial-unix v0.4.0
[INFO] [stderr]     Checking gpio-cdev v0.5.1
[INFO] [stderr]     Checking i2cdev v0.5.1
[INFO] [stderr]     Checking spidev v0.5.2
[INFO] [stderr]     Checking sysfs_gpio v0.6.1
[INFO] [stderr]     Checking linux-embedded-hal v0.3.2
[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]     |                       ^^^^^^^^^^^         -------------------
[INFO] [stdout]     |                                           | |
[INFO] [stdout]     |                                           | unexpected argument of type `u8`
[INFO] [stdout]     |                                           help: remove the extra 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<Self, E> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `address`
[INFO] [stdout]   --> tests/intergration_test.rs:22:24
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn read(&mut self, address: u8, buffer: &mut [u8]) -> Result<(), Self::Error> {
[INFO] [stdout]    |                        ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]   --> tests/intergration_test.rs:30:25
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn write(&mut self, addr: u8, bytes: &[u8]) -> Result<(), Self::Error> {
[INFO] [stdout]    |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bytes`
[INFO] [stdout]   --> tests/intergration_test.rs:30:35
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn write(&mut self, addr: u8, bytes: &[u8]) -> Result<(), Self::Error> {
[INFO] [stdout]    |                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `address`
[INFO] [stdout]   --> tests/intergration_test.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |         address: u8,
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bytes`
[INFO] [stdout]   --> tests/intergration_test.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |         bytes: &[u8],
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buffer`
[INFO] [stdout]   --> tests/intergration_test.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |         buffer: &mut [u8],
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ms`
[INFO] [stdout]   --> tests/intergration_test.rs:49:28
[INFO] [stdout]    |
[INFO] [stdout] 49 |     fn delay_ms(&mut self, ms: UXX) {}
[INFO] [stdout]    |                            ^^ help: if this is intentional, prefix it with an underscore: `_ms`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 7 warnings emitted
[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` (test "intergration_test") due to 2 previous errors; 7 warnings emitted
[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<u16>,
[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<u16>,
[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<Self, E> {
[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<Self, E> {
[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<Self, E> {
[INFO] [stdout]     |                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_i2c_bus`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ICM20X_B0_PWR_MGMT_2` is never used
[INFO] [stdout]   --> src/lib.rs:66:7
[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 `ICM20X_B3_I2C_MST_CTRL` is never used
[INFO] [stdout]   --> src/lib.rs:79:7
[INFO] [stdout]    |
[INFO] [stdout] 79 | const ICM20X_B3_I2C_MST_CTRL: u8 = 0x01;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ICM20X_B3_I2C_MST_DELAY_CTRL` is never used
[INFO] [stdout]   --> src/lib.rs:80:7
[INFO] [stdout]    |
[INFO] [stdout] 80 | const ICM20X_B3_I2C_MST_DELAY_CTRL: u8 = 0x02;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GRAVECONST` is never used
[INFO] [stdout]   --> src/lib.rs:82:7
[INFO] [stdout]    |
[INFO] [stdout] 82 | const GRAVECONST: f32 = 9.81;
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `setup_mag` is never used
[INFO] [stdout]    --> src/lib.rs:753:8
[INFO] [stdout]     |
[INFO] [stdout] 701 | / impl<I2C, E, const ADDRESS: u8> ICMI2C<I2C, E, ADDRESS>
[INFO] [stdout] 702 | | where
[INFO] [stdout] 703 | |     I2C: Read<Error = E> + Write<Error = E> + WriteRead<Error = E>,
[INFO] [stdout]     | |___________________________________________________________________- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 753 |       fn setup_mag(&self, i2c_bus: &mut I2C) -> Result<(), ICMError<E>> {
[INFO] [stdout]     |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 11 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "dba39bb44cee770ae87947615a0ca08ef1512d1139688e8eeb89c5d34e084524", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dba39bb44cee770ae87947615a0ca08ef1512d1139688e8eeb89c5d34e084524", kill_on_drop: false }`
[INFO] [stdout] dba39bb44cee770ae87947615a0ca08ef1512d1139688e8eeb89c5d34e084524
