[INFO] fetching crate mpu9250 0.24.0... [INFO] testing mpu9250-0.24.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate mpu9250 0.24.0 into /workspace/builds/worker-42/source [INFO] validating manifest of crates.io crate mpu9250 0.24.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mpu9250 0.24.0 [INFO] finished tweaking crates.io crate mpu9250 0.24.0 [INFO] tweaked toml for crates.io crate mpu9250 0.24.0 written to /workspace/builds/worker-42/source/Cargo.toml [INFO] crate crates.io crate mpu9250 0.24.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-42/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b93d373382afdabbb068520c7d43d6dfc66fe5727187a93d5296cd6d5ef1c069 [INFO] running `Command { std: "docker" "start" "-a" "b93d373382afdabbb068520c7d43d6dfc66fe5727187a93d5296cd6d5ef1c069", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b93d373382afdabbb068520c7d43d6dfc66fe5727187a93d5296cd6d5ef1c069", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b93d373382afdabbb068520c7d43d6dfc66fe5727187a93d5296cd6d5ef1c069", kill_on_drop: false }` [INFO] [stdout] b93d373382afdabbb068520c7d43d6dfc66fe5727187a93d5296cd6d5ef1c069 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 641a99764cd86637ee69042ef86aa7437143df27c83b47dfe059ddeb535f208f [INFO] running `Command { std: "docker" "start" "-a" "641a99764cd86637ee69042ef86aa7437143df27c83b47dfe059ddeb535f208f", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling nb v0.1.2 [INFO] [stderr] Compiling embedded-hal v0.2.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling mpu9250 v0.24.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `orientation` [INFO] [stdout] --> src/conf.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 359 | pub(crate) orientation: Orientation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `DmpConfiguration` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/conf.rs:356:16 [INFO] [stdout] | [INFO] [stdout] 356 | #[derive(Copy, Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `features` [INFO] [stdout] --> src/conf.rs:360:5 [INFO] [stdout] | [INFO] [stdout] 360 | pub(crate) features: DmpFeatures, [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] --> src/conf.rs:356:16 [INFO] [stdout] | [INFO] [stdout] 356 | #[derive(Copy, Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rate` [INFO] [stdout] --> src/conf.rs:361:5 [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] --> src/conf.rs:356:16 [INFO] [stdout] | [INFO] [stdout] 356 | #[derive(Copy, Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.34s [INFO] running `Command { std: "docker" "inspect" "641a99764cd86637ee69042ef86aa7437143df27c83b47dfe059ddeb535f208f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "641a99764cd86637ee69042ef86aa7437143df27c83b47dfe059ddeb535f208f", kill_on_drop: false }` [INFO] [stdout] 641a99764cd86637ee69042ef86aa7437143df27c83b47dfe059ddeb535f208f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 636ea43a0a25b9796feda9785a3d25c84d527331008d968da7df36a17c175ac7 [INFO] running `Command { std: "docker" "start" "-a" "636ea43a0a25b9796feda9785a3d25c84d527331008d968da7df36a17c175ac7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling bitflags v0.3.3 [INFO] [stdout] warning: field is never read: `orientation` [INFO] [stdout] --> src/conf.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 359 | pub(crate) orientation: Orientation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `DmpConfiguration` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/conf.rs:356:16 [INFO] [stdout] | [INFO] [stdout] 356 | #[derive(Copy, Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `features` [INFO] [stdout] --> src/conf.rs:360:5 [INFO] [stdout] | [INFO] [stdout] 360 | pub(crate) features: DmpFeatures, [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] --> src/conf.rs:356:16 [INFO] [stdout] | [INFO] [stdout] 356 | #[derive(Copy, Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rate` [INFO] [stdout] --> src/conf.rs:361:5 [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] --> src/conf.rs:356:16 [INFO] [stdout] | [INFO] [stdout] 356 | #[derive(Copy, Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling nix v0.6.0 [INFO] [stderr] Compiling spidev v0.3.0 [INFO] [stderr] Compiling i2cdev v0.4.4 [INFO] [stderr] Compiling sysfs_gpio v0.5.4 [INFO] [stderr] Compiling linux-embedded-hal v0.2.2 [INFO] [stderr] Compiling mpu9250 v0.24.0 (/opt/rustwide/workdir) [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] [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] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `Mpu9250<_, _>` [INFO] [stdout] | help: there is an associated function with a similar name: `imu_default` [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] [stderr] error: could not compile `mpu9250` due to 3 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] | ^^^^^^^^^^^^^^^^^^^^^ --- ---------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:251:16 [INFO] [stdout] | [INFO] [stdout] 251 | pub fn marg_default( [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] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> examples/rpi.rs:49:31 [INFO] [stdout] | [INFO] [stdout] 49 | println!("{:#?}", mpu9250.all().unwrap()); [INFO] [stdout] | ^^^ cannot infer type for type parameter `T` declared on the associated function `all` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: From<[f32; 3]>` [INFO] [stdout] note: required by a bound in `Mpu9250::::all` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:773:18 [INFO] [stdout] | [INFO] [stdout] 773 | where T: From<[f32; 3]> [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `Mpu9250::::all` [INFO] [stdout] help: consider specifying the type argument in the method call [INFO] [stdout] | [INFO] [stdout] 49 | println!("{:#?}", mpu9250.all::().unwrap()); [INFO] [stdout] | +++++ [INFO] [stdout] help: consider specifying the type argument in the function call [INFO] [stdout] | [INFO] [stdout] 49 | println!("{:#?}", mpu9250.all::().unwrap()); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mpu9250` due to 2 previous errors [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mpu9250` due to 2 previous errors [INFO] [stdout] warning: field is never read: `orientation` [INFO] [stdout] --> src/conf.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 359 | pub(crate) orientation: Orientation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `DmpConfiguration` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/conf.rs:356:16 [INFO] [stdout] | [INFO] [stdout] 356 | #[derive(Copy, Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `features` [INFO] [stdout] --> src/conf.rs:360:5 [INFO] [stdout] | [INFO] [stdout] 360 | pub(crate) features: DmpFeatures, [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] --> src/conf.rs:356:16 [INFO] [stdout] | [INFO] [stdout] 356 | #[derive(Copy, Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rate` [INFO] [stdout] --> src/conf.rs:361:5 [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] --> src/conf.rs:356:16 [INFO] [stdout] | [INFO] [stdout] 356 | #[derive(Copy, Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "636ea43a0a25b9796feda9785a3d25c84d527331008d968da7df36a17c175ac7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "636ea43a0a25b9796feda9785a3d25c84d527331008d968da7df36a17c175ac7", kill_on_drop: false }` [INFO] [stdout] 636ea43a0a25b9796feda9785a3d25c84d527331008d968da7df36a17c175ac7