[INFO] crate mpu9250-i2c 0.6.6 is already in cache [INFO] extracting crate mpu9250-i2c 0.6.6 into work/ex/beta-1.38-1/sources/1.37.0/reg/mpu9250-i2c/0.6.6 [INFO] extracting crate mpu9250-i2c 0.6.6 into work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/mpu9250-i2c/0.6.6 [INFO] validating manifest of mpu9250-i2c-0.6.6 on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of mpu9250-i2c-0.6.6 on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing mpu9250-i2c-0.6.6 [INFO] finished frobbing mpu9250-i2c-0.6.6 [INFO] frobbed toml for mpu9250-i2c-0.6.6 written to work/ex/beta-1.38-1/sources/1.37.0/reg/mpu9250-i2c/0.6.6/Cargo.toml [INFO] started frobbing mpu9250-i2c-0.6.6 [INFO] finished frobbing mpu9250-i2c-0.6.6 [INFO] frobbed toml for mpu9250-i2c-0.6.6 written to work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/mpu9250-i2c/0.6.6/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing mpu9250-i2c-0.6.6 against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-2/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/mpu9250-i2c/0.6.6:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "build" "--frozen"` [INFO] [stdout] 0492985fdc572b2431749585d952391a2e83fd330e8c509b73d245c536a28093 [INFO] running `"docker" "start" "-a" "0492985fdc572b2431749585d952391a2e83fd330e8c509b73d245c536a28093"` [INFO] [stderr] Compiling embedded-hal v0.2.3 [INFO] [stderr] Compiling mpu9250-i2c v0.6.6 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.62s [INFO] running `"docker" "inspect" "0492985fdc572b2431749585d952391a2e83fd330e8c509b73d245c536a28093"` [INFO] running `"docker" "rm" "-f" "0492985fdc572b2431749585d952391a2e83fd330e8c509b73d245c536a28093"` [INFO] [stdout] 0492985fdc572b2431749585d952391a2e83fd330e8c509b73d245c536a28093 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-2/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/mpu9250-i2c/0.6.6:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "test" "--frozen" "--no-run"` [INFO] [stdout] 449cd22a1e654aa3a283ecd03adf1ce569426be7fef04a84e2a2c61adeeb5ada [INFO] running `"docker" "start" "-a" "449cd22a1e654aa3a283ecd03adf1ce569426be7fef04a84e2a2c61adeeb5ada"` [INFO] [stderr] Compiling m v0.1.1 [INFO] [stderr] Compiling sysfs_gpio v0.5.4 [INFO] [stderr] Compiling mat v0.2.0 [INFO] [stderr] Compiling i2cdev v0.4.2 [INFO] [stderr] Compiling spidev v0.3.0 [INFO] [stderr] Compiling madgwick v0.1.1 [INFO] [stderr] Compiling linux-embedded-hal v0.2.2 [INFO] [stderr] Compiling mpu9250-i2c v0.6.6 (/opt/crater/workdir) [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> examples/calibrate.rs:307:9 [INFO] [stderr] | [INFO] [stderr] 307 | let mut vm = mpu9250.get_mag().unwrap(); [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_mut)] on by default [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.91s [INFO] running `"docker" "inspect" "449cd22a1e654aa3a283ecd03adf1ce569426be7fef04a84e2a2c61adeeb5ada"` [INFO] running `"docker" "rm" "-f" "449cd22a1e654aa3a283ecd03adf1ce569426be7fef04a84e2a2c61adeeb5ada"` [INFO] [stdout] 449cd22a1e654aa3a283ecd03adf1ce569426be7fef04a84e2a2c61adeeb5ada [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-2/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/mpu9250-i2c/0.6.6:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "test" "--frozen"` [INFO] [stdout] 8a8b9e8bbd5de493bdc61ca733b52f4cef0649c9f19e4a882533088f0ecc4bc8 [INFO] running `"docker" "start" "-a" "8a8b9e8bbd5de493bdc61ca733b52f4cef0649c9f19e4a882533088f0ecc4bc8"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running /opt/crater/target/debug/deps/mpu9250_i2c-6949c6ee025d6daa [INFO] [stderr] Doc-tests mpu9250-i2c [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 47) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 47) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: unresolved import [INFO] [stdout] --> src/lib.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 5 | use mpu9250::{calibration::Calibration, Mpu9250}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `mpu9250_i2c::mpu9250` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mpu9250` [INFO] [stdout] --> src/lib.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 5 | use mpu9250::{calibration::Calibration, Mpu9250}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `mpu9250_i2c::mpu9250` [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Calibration` in this scope [INFO] [stdout] --> src/lib.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 14 | let cal = Calibration { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] help: possible candidate is found in another module, you can import it into scope [INFO] [stdout] | [INFO] [stdout] 4 | use mpu9250_i2c::calibration::Calibration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 47) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "8a8b9e8bbd5de493bdc61ca733b52f4cef0649c9f19e4a882533088f0ecc4bc8"` [INFO] running `"docker" "rm" "-f" "8a8b9e8bbd5de493bdc61ca733b52f4cef0649c9f19e4a882533088f0ecc4bc8"` [INFO] [stdout] 8a8b9e8bbd5de493bdc61ca733b52f4cef0649c9f19e4a882533088f0ecc4bc8