[INFO] crate bma2xx 0.1.0 is already in cache [INFO] testing bma2xx-0.1.0 against 1.38.0 for beta-1.39-1 [INFO] extracting crate bma2xx 0.1.0 into work/builds/worker-1/source [INFO] validating manifest of crates.io crate bma2xx 0.1.0 on toolchain 1.38.0 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate bma2xx 0.1.0 [INFO] finished tweaking crates.io crate bma2xx 0.1.0 [INFO] tweaked toml for crates.io crate bma2xx 0.1.0 written to work/builds/worker-1/source/Cargo.toml [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.38.0" "build" "--frozen"` [INFO] [stdout] 6a0fb52d654c848e9a5268950e1ad575f23bc98f03c5be5de44099243ed716cb [INFO] running `"docker" "start" "-a" "6a0fb52d654c848e9a5268950e1ad575f23bc98f03c5be5de44099243ed716cb"` [INFO] [stderr] Compiling bma2xx v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.19s [INFO] running `"docker" "inspect" "6a0fb52d654c848e9a5268950e1ad575f23bc98f03c5be5de44099243ed716cb"` [INFO] running `"docker" "rm" "-f" "6a0fb52d654c848e9a5268950e1ad575f23bc98f03c5be5de44099243ed716cb"` [INFO] [stdout] 6a0fb52d654c848e9a5268950e1ad575f23bc98f03c5be5de44099243ed716cb [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.38.0" "test" "--frozen" "--no-run"` [INFO] [stdout] 5c3b31624aa304fc8a27c4809414a8d5bf6bad16cf52b3bdaa7ae40e33eb6434 [INFO] running `"docker" "start" "-a" "5c3b31624aa304fc8a27c4809414a8d5bf6bad16cf52b3bdaa7ae40e33eb6434"` [INFO] [stderr] Compiling bma2xx v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.45s [INFO] running `"docker" "inspect" "5c3b31624aa304fc8a27c4809414a8d5bf6bad16cf52b3bdaa7ae40e33eb6434"` [INFO] running `"docker" "rm" "-f" "5c3b31624aa304fc8a27c4809414a8d5bf6bad16cf52b3bdaa7ae40e33eb6434"` [INFO] [stdout] 5c3b31624aa304fc8a27c4809414a8d5bf6bad16cf52b3bdaa7ae40e33eb6434 [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.38.0" "test" "--frozen"` [INFO] [stdout] 93b6fae5cd5f15bdc7d86f245384d0f52b12647f49500165e328fae3cab621f2 [INFO] running `"docker" "start" "-a" "93b6fae5cd5f15bdc7d86f245384d0f52b12647f49500165e328fae3cab621f2"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.00s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/bma2xx-9517a20462495fff [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" "93b6fae5cd5f15bdc7d86f245384d0f52b12647f49500165e328fae3cab621f2"` [INFO] running `"docker" "rm" "-f" "93b6fae5cd5f15bdc7d86f245384d0f52b12647f49500165e328fae3cab621f2"` [INFO] [stdout] 93b6fae5cd5f15bdc7d86f245384d0f52b12647f49500165e328fae3cab621f2