[INFO] crate mpu9250 0.22.2 is already in cache [INFO] testing mpu9250-0.22.2 against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] extracting crate mpu9250 0.22.2 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate mpu9250 0.22.2 on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate mpu9250 0.22.2 [INFO] finished tweaking crates.io crate mpu9250 0.22.2 [INFO] tweaked toml for crates.io crate mpu9250 0.22.2 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate crates.io crate mpu9250 0.22.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e870ae152621d8270d9afb6a92498839d7d48fc7d8a8baed6a79f1d94365396a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e870ae152621d8270d9afb6a92498839d7d48fc7d8a8baed6a79f1d94365396a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e870ae152621d8270d9afb6a92498839d7d48fc7d8a8baed6a79f1d94365396a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e870ae152621d8270d9afb6a92498839d7d48fc7d8a8baed6a79f1d94365396a", kill_on_drop: false }` [INFO] [stdout] e870ae152621d8270d9afb6a92498839d7d48fc7d8a8baed6a79f1d94365396a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 95461ea6f6df7aec130f77bbdf0ce588386c7aa07eea42af40c89c4abe271705 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "95461ea6f6df7aec130f77bbdf0ce588386c7aa07eea42af40c89c4abe271705", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling embedded-hal v0.2.3 [INFO] [stderr] Compiling mpu9250 v0.22.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.29s [INFO] running `Command { std: "docker" "inspect" "95461ea6f6df7aec130f77bbdf0ce588386c7aa07eea42af40c89c4abe271705", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95461ea6f6df7aec130f77bbdf0ce588386c7aa07eea42af40c89c4abe271705", kill_on_drop: false }` [INFO] [stdout] 95461ea6f6df7aec130f77bbdf0ce588386c7aa07eea42af40c89c4abe271705 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f99fa66df59412b652e48657e9511d8c5c4eb699bdaaf704cb3ca09b13b685ca [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f99fa66df59412b652e48657e9511d8c5c4eb699bdaaf704cb3ca09b13b685ca", kill_on_drop: false }` [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling nix v0.14.1 [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 sysfs_gpio v0.5.4 [INFO] [stderr] Compiling i2cdev v0.4.4 [INFO] [stderr] Compiling linux-embedded-hal v0.2.2 [INFO] [stderr] Compiling mpu9250 v0.22.2 (/opt/rustwide/workdir) [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] [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[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] [stderr] error: could not compile `mpu9250`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 `_: std::convert::From<[f32; 3]>` [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] [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 E0283`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `dmp_default` found for struct `mpu9250::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::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] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f99fa66df59412b652e48657e9511d8c5c4eb699bdaaf704cb3ca09b13b685ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f99fa66df59412b652e48657e9511d8c5c4eb699bdaaf704cb3ca09b13b685ca", kill_on_drop: false }` [INFO] [stdout] f99fa66df59412b652e48657e9511d8c5c4eb699bdaaf704cb3ca09b13b685ca