[INFO] crate bma2xx 0.1.0 is already in cache [INFO] extracting crate bma2xx 0.1.0 into work/ex/beta-1.38-1/sources/1.37.0/reg/bma2xx/0.1.0 [INFO] extracting crate bma2xx 0.1.0 into work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/bma2xx/0.1.0 [INFO] validating manifest of bma2xx-0.1.0 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 bma2xx-0.1.0 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 bma2xx-0.1.0 [INFO] finished frobbing bma2xx-0.1.0 [INFO] frobbed toml for bma2xx-0.1.0 written to work/ex/beta-1.38-1/sources/1.37.0/reg/bma2xx/0.1.0/Cargo.toml [INFO] started frobbing bma2xx-0.1.0 [INFO] finished frobbing bma2xx-0.1.0 [INFO] frobbed toml for bma2xx-0.1.0 written to work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/bma2xx/0.1.0/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 bma2xx-0.1.0 against beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-2/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/bma2xx/0.1.0:/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" "+beta-2019-08-13" "build" "--frozen"` [INFO] [stdout] 9dc4b45ab85d4d728125675fec477b5af0f3307af0f198fca1a121f96245b51a [INFO] running `"docker" "start" "-a" "9dc4b45ab85d4d728125675fec477b5af0f3307af0f198fca1a121f96245b51a"` [INFO] [stderr] Compiling bma2xx v0.1.0 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.32s [INFO] running `"docker" "inspect" "9dc4b45ab85d4d728125675fec477b5af0f3307af0f198fca1a121f96245b51a"` [INFO] running `"docker" "rm" "-f" "9dc4b45ab85d4d728125675fec477b5af0f3307af0f198fca1a121f96245b51a"` [INFO] [stdout] 9dc4b45ab85d4d728125675fec477b5af0f3307af0f198fca1a121f96245b51a [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-2/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/bma2xx/0.1.0:/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" "+beta-2019-08-13" "test" "--frozen" "--no-run"` [INFO] [stdout] ce9e342ad6b2a2c6def8224a936aea95ded46665ecb1eb150f2e875e57da4014 [INFO] running `"docker" "start" "-a" "ce9e342ad6b2a2c6def8224a936aea95ded46665ecb1eb150f2e875e57da4014"` [INFO] [stderr] Compiling bma2xx v0.1.0 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.73s [INFO] running `"docker" "inspect" "ce9e342ad6b2a2c6def8224a936aea95ded46665ecb1eb150f2e875e57da4014"` [INFO] running `"docker" "rm" "-f" "ce9e342ad6b2a2c6def8224a936aea95ded46665ecb1eb150f2e875e57da4014"` [INFO] [stdout] ce9e342ad6b2a2c6def8224a936aea95ded46665ecb1eb150f2e875e57da4014 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-2/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/bma2xx/0.1.0:/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" "+beta-2019-08-13" "test" "--frozen"` [INFO] [stdout] 58e4488f83a82aed04c0255324379963f13d66af9f1711ff5dd85c62b50c1ccb [INFO] running `"docker" "start" "-a" "58e4488f83a82aed04c0255324379963f13d66af9f1711ff5dd85c62b50c1ccb"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running /opt/crater/target/debug/deps/bma2xx-7ee3eb570810ab07 [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests bma2xx [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 60) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 60) stdout ---- [INFO] [stdout] error: cannot find macro `hprint!` in this scope [INFO] [stdout] --> src/lib.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 23 | hprint!("EEPROM Data: ")?; [INFO] [stdout] | ^^^^^^ help: a macro with a similar name exists: `eprint` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `hprint!` in this scope [INFO] [stdout] --> src/lib.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 25 | hprint!("{:02X} ", byte)?; [INFO] [stdout] | ^^^^^^ help: a macro with a similar name exists: `eprint` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Bma222e` [INFO] [stdout] --> src/lib.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 5 | let mut accel = Bma222e::new(i2c); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `Bma222e` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `bma222e` [INFO] [stdout] --> src/lib.rs:73:68 [INFO] [stdout] | [INFO] [stdout] 14 | println!("About to Begin. ID is {} and should be {}", chip_id, bma222e::IDENTIFIER)?; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `bma222e` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `FIFOConfig` [INFO] [stdout] --> src/lib.rs:94:25 [INFO] [stdout] | [INFO] [stdout] 35 | accel.fifo_set_mode(FIFOConfig::BYPASS)?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `FIFOConfig` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `i2c` in this scope [INFO] [stdout] --> src/lib.rs:64:34 [INFO] [stdout] | [INFO] [stdout] 5 | let mut accel = Bma222e::new(i2c); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bma222e` in this scope [INFO] [stdout] --> src/lib.rs:71:20 [INFO] [stdout] | [INFO] [stdout] 12 | fn examples(accel: Bma222e) -> Result<(), ()> { [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] 2 | use bma2xx::Bma222e; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AxisData` in this scope [INFO] [stdout] --> src/lib.rs:93:23 [INFO] [stdout] | [INFO] [stdout] 34 | let mut events = [AxisData {value: 0, changed: false}; 3]; [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] 2 | use bma2xx::AxisData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `std::ops::Try` [INFO] [stdout] --> src/lib.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 14 | println!("About to Begin. ID is {} and should be {}", chip_id, bma222e::IDENTIFIER)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::into_result` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `std::ops::Try` [INFO] [stdout] --> src/lib.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 17 | println!("Temperature: {}", temp)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::into_result` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `std::ops::Try` [INFO] [stdout] --> src/lib.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 20 | println!("EEPROM Writes Remaining: {}", writes_remaining)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::into_result` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `std::ops::Try` [INFO] [stdout] --> src/lib.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 27 | println!()?; [INFO] [stdout] | ^^^^^^^^^^^ the `?` operator cannot be applied to type `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::into_result` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `std::ops::Try` [INFO] [stdout] --> src/lib.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 33 | println!("Events in the FIFO: {}", fifo_size)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::into_result` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `std::ops::Try` [INFO] [stdout] --> src/lib.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 41 | / println!("X:{0:03} Y:{1:03} Z:{2:03}", [INFO] [stdout] 42 | | x.value, [INFO] [stdout] 43 | | y.value, [INFO] [stdout] 44 | | z.value)?; [INFO] [stdout] | |_________________^ the `?` operator cannot be applied to type `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::into_result` [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0422, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 60) [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" "58e4488f83a82aed04c0255324379963f13d66af9f1711ff5dd85c62b50c1ccb"` [INFO] running `"docker" "rm" "-f" "58e4488f83a82aed04c0255324379963f13d66af9f1711ff5dd85c62b50c1ccb"` [INFO] [stdout] 58e4488f83a82aed04c0255324379963f13d66af9f1711ff5dd85c62b50c1ccb