[INFO] crate bma2xx 0.1.0 is already in cache [INFO] extracting crate bma2xx 0.1.0 into work/ex/beta-1.37-6/sources/1.36.0/reg/bma2xx/0.1.0 [INFO] extracting crate bma2xx 0.1.0 into work/ex/beta-1.37-6/sources/beta-2019-07-23/reg/bma2xx/0.1.0 [INFO] validating manifest of bma2xx-0.1.0 on toolchain 1.36.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of bma2xx-0.1.0 on toolchain beta-2019-07-23 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "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.37-6/sources/1.36.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.37-6/sources/beta-2019-07-23/reg/bma2xx/0.1.0/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing bma2xx-0.1.0 against 1.36.0 for beta-1.37-6 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-3/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/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" "+1.36.0" "build" "--frozen"` [INFO] [stdout] 16a4eb1687e142cf3225a0fc4f963e069b3482e18cb5135afff9de64da151cf4 [INFO] running `"docker" "start" "-a" "16a4eb1687e142cf3225a0fc4f963e069b3482e18cb5135afff9de64da151cf4"` [INFO] [stderr] Compiling bma2xx v0.1.0 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.38s [INFO] running `"docker" "inspect" "16a4eb1687e142cf3225a0fc4f963e069b3482e18cb5135afff9de64da151cf4"` [INFO] running `"docker" "rm" "-f" "16a4eb1687e142cf3225a0fc4f963e069b3482e18cb5135afff9de64da151cf4"` [INFO] [stdout] 16a4eb1687e142cf3225a0fc4f963e069b3482e18cb5135afff9de64da151cf4 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-3/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/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" "+1.36.0" "test" "--frozen" "--no-run"` [INFO] [stdout] 4038a211b9f7c2e294bf06f5bc2ab28718fbe7fd9b8fe565dbebcd483bb568cb [INFO] running `"docker" "start" "-a" "4038a211b9f7c2e294bf06f5bc2ab28718fbe7fd9b8fe565dbebcd483bb568cb"` [INFO] [stderr] Compiling bma2xx v0.1.0 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.68s [INFO] running `"docker" "inspect" "4038a211b9f7c2e294bf06f5bc2ab28718fbe7fd9b8fe565dbebcd483bb568cb"` [INFO] running `"docker" "rm" "-f" "4038a211b9f7c2e294bf06f5bc2ab28718fbe7fd9b8fe565dbebcd483bb568cb"` [INFO] [stdout] 4038a211b9f7c2e294bf06f5bc2ab28718fbe7fd9b8fe565dbebcd483bb568cb [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-3/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/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" "+1.36.0" "test" "--frozen"` [INFO] [stdout] 55cbb26ccd1783591d1eb16dab6b26b0fe4430605a219b26f7c9186a4c4b4beb [INFO] running `"docker" "start" "-a" "55cbb26ccd1783591d1eb16dab6b26b0fe4430605a219b26f7c9186a4c4b4beb"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running /opt/crater/target/debug/deps/bma2xx-d33d05fcdb5bdf4e [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: you could try the macro: `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: you could try the macro: `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] thread 'src/lib.rs - (line 60)' panicked at 'couldn't compile the test', src/librustdoc/test.rs:319:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x7f116e538823 - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h6485381528590a55 [INFO] [stdout] at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39 [INFO] [stdout] 1: 0x7f116e5304cb - std::sys_common::backtrace::_print::h49a82ae9552e35c7 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:71 [INFO] [stdout] 2: 0x7f116e534a56 - std::panicking::default_hook::{{closure}}::he20974adbefcc046 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] at src/libstd/panicking.rs:197 [INFO] [stdout] 3: 0x7f116e53477e - std::panicking::default_hook::he4af6af4ac7fef7b [INFO] [stdout] at src/libstd/panicking.rs:208 [INFO] [stdout] 4: 0x7f116e53515f - std::panicking::rust_panic_with_hook::h057ff03eb4c8000f [INFO] [stdout] at src/libstd/panicking.rs:474 [INFO] [stdout] 5: 0x562e8a873784 - std::panicking::begin_panic::h2203228e86eb91b5 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:408 [INFO] [stdout] 6: 0x562e8a86968f - rustdoc::test::run_test::h29a20600da33f74f [INFO] [stdout] at src/librustdoc/test.rs:319 [INFO] [stdout] 7: 0x562e8a85d7c9 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h84ad3bdb52e265e9 [INFO] [stdout] at src/librustdoc/test.rs:715 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231 [INFO] [stdout] 8: 0x7f116fabbb7e - as core::ops::function::FnOnce>::call_once::h6b004fa8f4fc1608 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 9: 0x7f116fabbb7e - as core::ops::function::FnOnce>::call_once::h6b004fa8f4fc1608 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 10: 0x7f116e546169 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 11: 0x7f116fad6f87 - test::run_test::run_test_inner::{{closure}}::h9a4d23c41d058d37 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394 [INFO] [stdout] at src/libtest/lib.rs:1468 [INFO] [stdout] 12: 0x7f116fab09a4 - std::sys_common::backtrace::__rust_begin_short_backtrace::h3765d76361a33ff7 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/sys_common/backtrace.rs:136 [INFO] [stdout] 13: 0x7f116fab4a54 - std::panicking::try::do_call::h6f86e980b52f74d5 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:470 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:315 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:293 [INFO] [stdout] 14: 0x7f116e546169 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 15: 0x7f116fab5551 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h760b8a2b155f54c3 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:469 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231 [INFO] [stdout] 16: 0x7f116e51736e - as core::ops::function::FnOnce>::call_once::h805c3cc89d534c05 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] 17: 0x7f116e544ddf - std::sys::unix::thread::Thread::new::thread_start::h6f10b78f26c98dc6 [INFO] [stdout] at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704 [INFO] [stdout] at src/libstd/sys_common/thread.rs:13 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:79 [INFO] [stdout] 18: 0x7f116e0ae4a3 - start_thread [INFO] [stdout] 19: 0x7f116dbd9d0e - __clone [INFO] [stdout] 20: 0x0 - [INFO] [stdout] [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" "55cbb26ccd1783591d1eb16dab6b26b0fe4430605a219b26f7c9186a4c4b4beb"` [INFO] running `"docker" "rm" "-f" "55cbb26ccd1783591d1eb16dab6b26b0fe4430605a219b26f7c9186a4c4b4beb"` [INFO] [stdout] 55cbb26ccd1783591d1eb16dab6b26b0fe4430605a219b26f7c9186a4c4b4beb