[INFO] fetching crate mpu9250 0.25.0... [INFO] checking mpu9250-0.25.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate mpu9250 0.25.0 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate mpu9250 0.25.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mpu9250 0.25.0 [INFO] finished tweaking crates.io crate mpu9250 0.25.0 [INFO] tweaked toml for crates.io crate mpu9250 0.25.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate crates.io crate mpu9250 0.25.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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded termios v0.2.2 [INFO] [stderr] Downloaded linux-embedded-hal v0.3.0 [INFO] [stderr] Downloaded serial-core v0.4.0 [INFO] [stderr] Downloaded serial-unix v0.4.0 [INFO] [stderr] Downloaded ioctl-rs v0.1.6 [INFO] [stderr] Downloaded sysfs_gpio v0.5.4 [INFO] [stderr] Downloaded cast v0.2.3 [INFO] [stderr] Downloaded embedded-hal v0.2.4 [INFO] [stderr] Downloaded byteorder v1.4.2 [INFO] [stderr] Downloaded i2cdev v0.4.4 [INFO] [stderr] Downloaded nix v0.14.1 [INFO] [stderr] Downloaded libm v0.2.1 [INFO] [stderr] Downloaded nb v1.0.0 [INFO] [stderr] Downloaded nb v0.1.3 [INFO] [stderr] Downloaded spidev v0.4.1 [INFO] [stderr] Downloaded libc v0.2.88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a6b680127055497897b4ffaa57fa117dbc38b821d2fc54936db991bcc0ac9d4 [INFO] running `Command { std: "docker" "start" "-a" "1a6b680127055497897b4ffaa57fa117dbc38b821d2fc54936db991bcc0ac9d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a6b680127055497897b4ffaa57fa117dbc38b821d2fc54936db991bcc0ac9d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a6b680127055497897b4ffaa57fa117dbc38b821d2fc54936db991bcc0ac9d4", kill_on_drop: false }` [INFO] [stdout] 1a6b680127055497897b4ffaa57fa117dbc38b821d2fc54936db991bcc0ac9d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 326098d9ffb673c5eace96f1879c1282e80200a2f09a5f429c9f36a4cde01bd2 [INFO] running `Command { std: "docker" "start" "-a" "326098d9ffb673c5eace96f1879c1282e80200a2f09a5f429c9f36a4cde01bd2", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking embedded-hal v0.2.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking mpu9250 v0.25.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `spi_defs::*` [INFO] [stdout] --> src/lib.rs:366:9 [INFO] [stdout] | [INFO] [stdout] 366 | pub use spi_defs::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stdout] warning: fields `orientation`, `features`, and `rate` are never read [INFO] [stdout] --> src/conf.rs:359:16 [INFO] [stdout] | [INFO] [stdout] 358 | pub struct DmpConfiguration { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 359 | pub(crate) orientation: Orientation, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 360 | pub(crate) features: DmpFeatures, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 361 | pub(crate) rate: DmpRate, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DmpConfiguration` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MpuMode` is never used [INFO] [stdout] --> src/types.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) trait MpuMode {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ioctl-rs v0.1.6 [INFO] [stderr] Checking serial-core v0.4.0 [INFO] [stderr] Checking termios v0.2.2 [INFO] [stderr] Checking serial-unix v0.4.0 [INFO] [stderr] Checking spidev v0.4.1 [INFO] [stderr] Checking sysfs_gpio v0.5.4 [INFO] [stderr] Checking i2cdev v0.4.4 [INFO] [stderr] Checking linux-embedded-hal v0.3.0 [INFO] [stdout] error[E0425]: cannot find value `SPI_MODE_3` in crate `spidev` [INFO] [stdout] --> examples/rpi.rs:28:53 [INFO] [stdout] | [INFO] [stdout] 28 | ... .mode(spidev::SPI_MODE_3) [INFO] [stdout] | ^^^^^^^^^^ not found in `spidev` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `spi_defs::*` [INFO] [stdout] --> src/lib.rs:366:9 [INFO] [stdout] | [INFO] [stdout] 366 | pub use spi_defs::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mpu9250` (example "rpi") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `mpu9250::DMP_FIRMWARE` [INFO] [stdout] --> examples/bbblue_dmp.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use mpu9250::DMP_FIRMWARE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no `DMP_FIRMWARE` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:68:23 [INFO] [stdout] | [INFO] [stdout] 68 | pub use dmp_firmware::DMP_FIRMWARE; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `dmp` feature [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:67:7 [INFO] [stdout] | [INFO] [stdout] 67 | #[cfg(feature = "dmp")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `I2cdev: embedded_hal::blocking::spi::write::Default` is not satisfied [INFO] [stdout] --> examples/bbblue.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | Mpu9250::marg_default(i2c, &mut Delay).expect("unable to make MPU9250"); [INFO] [stdout] | --------------------- ^^^ the trait `embedded_hal::blocking::spi::write::Default` is not implemented for `I2cdev`, which is required by `I2cdev: embedded_hal::blocking::spi::Write` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `embedded_hal::blocking::spi::Write` is implemented for `hal::Spidev` [INFO] [stdout] = note: required for `I2cdev` to implement `embedded_hal::blocking::spi::Write` [INFO] [stdout] note: required by a bound in `mpu9250::spi_defs::, Marg>>::marg_default` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:241:35 [INFO] [stdout] | [INFO] [stdout] 241 | where SPI: spi::Write + spi::Transfer, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `mpu9250::spi_defs::, Marg>>::marg_default` [INFO] [stdout] ... [INFO] [stdout] 248 | pub fn marg_default( [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `I2cdev: embedded_hal::blocking::spi::transfer::Default` is not satisfied [INFO] [stdout] --> examples/bbblue.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | Mpu9250::marg_default(i2c, &mut Delay).expect("unable to make MPU9250"); [INFO] [stdout] | --------------------- ^^^ the trait `embedded_hal::blocking::spi::transfer::Default` is not implemented for `I2cdev`, which is required by `I2cdev: embedded_hal::blocking::spi::Transfer` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `embedded_hal::blocking::spi::Transfer` is implemented for `hal::Spidev` [INFO] [stdout] = note: required for `I2cdev` to implement `embedded_hal::blocking::spi::Transfer` [INFO] [stdout] note: required by a bound in `mpu9250::spi_defs::, Marg>>::marg_default` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:241:66 [INFO] [stdout] | [INFO] [stdout] 241 | where SPI: spi::Write + spi::Transfer, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `mpu9250::spi_defs::, Marg>>::marg_default` [INFO] [stdout] ... [INFO] [stdout] 248 | pub fn marg_default( [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&mut Delay: embedded_hal::digital::v2::OutputPin` is not satisfied [INFO] [stdout] --> examples/bbblue.rs:21:36 [INFO] [stdout] | [INFO] [stdout] 21 | Mpu9250::marg_default(i2c, &mut Delay).expect("unable to make MPU9250"); [INFO] [stdout] | --------------------- ^^^^^^^^^^ the trait `embedded_hal::digital::v1::OutputPin` is not implemented for `&mut Delay`, which is required by `&mut Delay: embedded_hal::digital::v2::OutputPin` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `embedded_hal::digital::v1::OutputPin` is implemented for `embedded_hal::digital::v1_compat::OldOutputPin` [INFO] [stdout] = note: required for `&mut Delay` to implement `embedded_hal::digital::v2::OutputPin` [INFO] [stdout] note: required by a bound in `mpu9250::spi_defs::, Marg>>::marg_default` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:242:20 [INFO] [stdout] | [INFO] [stdout] 242 | NCS: OutputPin [INFO] [stdout] | ^^^^^^^^^ required by this bound in `mpu9250::spi_defs::, Marg>>::marg_default` [INFO] [stdout] ... [INFO] [stdout] 248 | pub fn marg_default( [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> examples/bbblue.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | Mpu9250::marg_default(i2c, &mut Delay).expect("unable to make MPU9250"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^----------------- argument #3 of type `&mut _` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:248:16 [INFO] [stdout] | [INFO] [stdout] 248 | pub fn marg_default( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 21 | Mpu9250::marg_default(i2c, &mut Delay, /* delay */).expect("unable to make MPU9250"); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `dmp_default` found for struct `Mpu9250` in the current scope [INFO] [stdout] --> examples/bbblue_dmp.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | Mpu9250::dmp_default(i2c, &mut Delay, &DMP_FIRMWARE).expect("unable to load firmware"); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `Mpu9250<_, _>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Mpu9250<_, _>` consider using one of the following associated functions: [INFO] [stdout] mpu9250::spi_defs::, Imu>>::imu_default [INFO] [stdout] mpu9250::spi_defs::, Imu>>::imu [INFO] [stdout] mpu9250::spi_defs::, Imu>>::imu_with_reinit [INFO] [stdout] mpu9250::spi_defs::, Marg>>::marg_default [INFO] [stdout] and 2 others [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | / pub fn imu_default( [INFO] [stdout] 185 | | spi: SPI, [INFO] [stdout] 186 | | ncs: NCS, [INFO] [stdout] 187 | | delay: &mut D) [INFO] [stdout] 188 | | -> Result as device::Device>::Error>> [INFO] [stdout] 190 | | where D: DelayMs [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 199 | / pub fn imu( [INFO] [stdout] 200 | | spi: SPI, [INFO] [stdout] 201 | | ncs: NCS, [INFO] [stdout] 202 | | delay: &mut D, [INFO] [stdout] ... | [INFO] [stdout] 205 | | Error< as device::Device>::Error>> [INFO] [stdout] 206 | | where D: DelayMs [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 222 | / pub fn imu_with_reinit( [INFO] [stdout] 223 | | spi: SPI, [INFO] [stdout] 224 | | ncs: NCS, [INFO] [stdout] 225 | | delay: &mut D, [INFO] [stdout] ... | [INFO] [stdout] 230 | | where D: DelayMs, [INFO] [stdout] 231 | | F: FnOnce(SPI, NCS) -> Option<(SPI, NCS)> [INFO] [stdout] | |___________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 248 | / pub fn marg_default( [INFO] [stdout] 249 | | spi: SPI, [INFO] [stdout] 250 | | ncs: NCS, [INFO] [stdout] 251 | | delay: &mut D) [INFO] [stdout] 252 | | -> Result as device::Device>::Error>> [INFO] [stdout] 254 | | where D: DelayMs [INFO] [stdout] | |________________________________^ [INFO] [stdout] help: there is an associated function `imu_default` with a similar name [INFO] [stdout] | [INFO] [stdout] 34 | Mpu9250::imu_default(i2c, &mut Delay, &DMP_FIRMWARE).expect("unable to load firmware"); [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `who_am_i` exists for struct `Mpu9250, Marg>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/bbblue.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | let who_am_i = mpu9250.who_am_i().expect("could not read WHO_AM_I"); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `Mpu9250, Marg>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/linux-embedded-hal-0.3.0/src/lib.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 164 | pub struct I2cdev { [INFO] [stdout] | ----------------- doesn't satisfy `I2cdev: embedded_hal::spi::FullDuplex` or `_: Default` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/device.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct SpiDevice { [INFO] [stdout] | ------------------------------- doesn't satisfy `<_ as Device>::Error = SpiError<_, ()>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `I2cdev: embedded_hal::blocking::spi::write::Default` [INFO] [stdout] which is required by ` as Device>::Error = SpiError<_, ()>` [INFO] [stdout] `I2cdev: embedded_hal::spi::FullDuplex` [INFO] [stdout] which is required by ` as Device>::Error = SpiError<_, ()>` [INFO] [stdout] `I2cdev: embedded_hal::blocking::spi::transfer::Default` [INFO] [stdout] which is required by ` as Device>::Error = SpiError<_, ()>` [INFO] [stdout] `&mut Delay: embedded_hal::digital::v1::OutputPin` [INFO] [stdout] which is required by ` as Device>::Error = SpiError<_, ()>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `ak8963_who_am_i` exists for struct `Mpu9250, Marg>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/bbblue.rs:24:32 [INFO] [stdout] | [INFO] [stdout] 24 | let mag_who_am_i = mpu9250.ak8963_who_am_i() [INFO] [stdout] | ^^^^^^^^^^^^^^^ method cannot be called on `Mpu9250, Marg>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/linux-embedded-hal-0.3.0/src/lib.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 164 | pub struct I2cdev { [INFO] [stdout] | ----------------- doesn't satisfy `I2cdev: embedded_hal::spi::FullDuplex` or `_: Default` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/device.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct SpiDevice { [INFO] [stdout] | ------------------------------- doesn't satisfy `<_ as Device>::Error = SpiError<_, ()>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `I2cdev: embedded_hal::blocking::spi::write::Default` [INFO] [stdout] which is required by ` as Device>::Error = SpiError<_, ()>` [INFO] [stdout] `I2cdev: embedded_hal::spi::FullDuplex` [INFO] [stdout] which is required by ` as Device>::Error = SpiError<_, ()>` [INFO] [stdout] `I2cdev: embedded_hal::blocking::spi::transfer::Default` [INFO] [stdout] which is required by ` as Device>::Error = SpiError<_, ()>` [INFO] [stdout] `&mut Delay: embedded_hal::digital::v1::OutputPin` [INFO] [stdout] which is required by ` as Device>::Error = SpiError<_, ()>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mpu9250` (example "bbblue_dmp") due to 3 previous errors [INFO] [stdout] error[E0599]: the method `all` exists for struct `Mpu9250, Marg>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/bbblue.rs:35:27 [INFO] [stdout] | [INFO] [stdout] 35 | let all = mpu9250.all().expect("unable to read from MPU!"); [INFO] [stdout] | ^^^ method cannot be called on `Mpu9250, Marg>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/linux-embedded-hal-0.3.0/src/lib.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 164 | pub struct I2cdev { [INFO] [stdout] | ----------------- doesn't satisfy `I2cdev: embedded_hal::spi::FullDuplex` or `_: Default` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/device.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct SpiDevice { [INFO] [stdout] | ------------------------------- doesn't satisfy `<_ as Device>::Error = SpiError<_, ()>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `I2cdev: embedded_hal::blocking::spi::write::Default` [INFO] [stdout] which is required by ` as Device>::Error = SpiError<_, ()>` [INFO] [stdout] `I2cdev: embedded_hal::spi::FullDuplex` [INFO] [stdout] which is required by ` as Device>::Error = SpiError<_, ()>` [INFO] [stdout] `I2cdev: embedded_hal::blocking::spi::transfer::Default` [INFO] [stdout] which is required by ` as Device>::Error = SpiError<_, ()>` [INFO] [stdout] `&mut Delay: embedded_hal::digital::v1::OutputPin` [INFO] [stdout] which is required by ` as Device>::Error = SpiError<_, ()>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&mut Delay: embedded_hal::digital::v1::OutputPin` is not satisfied [INFO] [stdout] --> examples/bbblue.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | Mpu9250::marg_default(i2c, &mut Delay).expect("unable to make MPU9250"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `embedded_hal::digital::v1::OutputPin` is not implemented for `&mut Delay`, which is required by `SpiDevice<_, _>: Device` [INFO] [stdout] | [INFO] [stdout] = help: the trait `embedded_hal::digital::v1::OutputPin` is implemented for `embedded_hal::digital::v1_compat::OldOutputPin` [INFO] [stdout] = note: required for `&mut Delay` to implement `embedded_hal::digital::v2::OutputPin` [INFO] [stdout] = note: required for `SpiDevice` to implement `Device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mpu9250` (example "bbblue") due to 9 previous errors [INFO] [stdout] warning: fields `orientation`, `features`, and `rate` are never read [INFO] [stdout] --> src/conf.rs:359:16 [INFO] [stdout] | [INFO] [stdout] 358 | pub struct DmpConfiguration { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 359 | pub(crate) orientation: Orientation, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 360 | pub(crate) features: DmpFeatures, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 361 | pub(crate) rate: DmpRate, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DmpConfiguration` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MpuMode` is never used [INFO] [stdout] --> src/types.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) trait MpuMode {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "326098d9ffb673c5eace96f1879c1282e80200a2f09a5f429c9f36a4cde01bd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "326098d9ffb673c5eace96f1879c1282e80200a2f09a5f429c9f36a4cde01bd2", kill_on_drop: false }` [INFO] [stdout] 326098d9ffb673c5eace96f1879c1282e80200a2f09a5f429c9f36a4cde01bd2