[INFO] crate lsm303c 0.1.5 is already in cache [INFO] extracting crate lsm303c 0.1.5 into work/ex/pr-57967/sources/master#c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54/reg/lsm303c/0.1.5 [INFO] extracting crate lsm303c 0.1.5 into work/ex/pr-57967/sources/try#7fea0229842e79db1159ea58ad9a653b288efee9/reg/lsm303c/0.1.5 [INFO] validating manifest of lsm303c-0.1.5 on toolchain master#c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of lsm303c-0.1.5 on toolchain try#7fea0229842e79db1159ea58ad9a653b288efee9 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+7fea0229842e79db1159ea58ad9a653b288efee9-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing lsm303c-0.1.5 [INFO] finished frobbing lsm303c-0.1.5 [INFO] frobbed toml for lsm303c-0.1.5 written to work/ex/pr-57967/sources/master#c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54/reg/lsm303c/0.1.5/Cargo.toml [INFO] started frobbing lsm303c-0.1.5 [INFO] finished frobbing lsm303c-0.1.5 [INFO] frobbed toml for lsm303c-0.1.5 written to work/ex/pr-57967/sources/try#7fea0229842e79db1159ea58ad9a653b288efee9/reg/lsm303c/0.1.5/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+7fea0229842e79db1159ea58ad9a653b288efee9-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+7fea0229842e79db1159ea58ad9a653b288efee9-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing lsm303c-0.1.5 against master#c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54 for pr-57967 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-57967/worker-7/master#c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-57967/sources/master#c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54/reg/lsm303c/0.1.5:/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=forbid" "-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" "+c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54-alt" "build" "--frozen"` [INFO] [stdout] d9f6ab34d6084a18489bb5f18e2ecd2d88e547af2a1b1c9277a99840942f1656 [INFO] running `"docker" "start" "-a" "d9f6ab34d6084a18489bb5f18e2ecd2d88e547af2a1b1c9277a99840942f1656"` [INFO] [stderr] Compiling alga v0.7.2 [INFO] [stderr] Compiling nalgebra v0.16.13 [INFO] [stderr] Compiling lsm303c v0.1.5 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 31.41s [INFO] running `"docker" "inspect" "d9f6ab34d6084a18489bb5f18e2ecd2d88e547af2a1b1c9277a99840942f1656"` [INFO] running `"docker" "rm" "-f" "d9f6ab34d6084a18489bb5f18e2ecd2d88e547af2a1b1c9277a99840942f1656"` [INFO] [stdout] d9f6ab34d6084a18489bb5f18e2ecd2d88e547af2a1b1c9277a99840942f1656 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-57967/worker-7/master#c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-57967/sources/master#c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54/reg/lsm303c/0.1.5:/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=forbid" "-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" "+c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54-alt" "test" "--frozen" "--no-run"` [INFO] [stdout] 4d50acfe2484ae13c0e9aa2955e3883156ad1a433c8f3a46a32fe807daed1b75 [INFO] running `"docker" "start" "-a" "4d50acfe2484ae13c0e9aa2955e3883156ad1a433c8f3a46a32fe807daed1b75"` [INFO] [stderr] Compiling lsm303c v0.1.5 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.11s [INFO] running `"docker" "inspect" "4d50acfe2484ae13c0e9aa2955e3883156ad1a433c8f3a46a32fe807daed1b75"` [INFO] running `"docker" "rm" "-f" "4d50acfe2484ae13c0e9aa2955e3883156ad1a433c8f3a46a32fe807daed1b75"` [INFO] [stdout] 4d50acfe2484ae13c0e9aa2955e3883156ad1a433c8f3a46a32fe807daed1b75 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-57967/worker-7/master#c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-57967/sources/master#c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54/reg/lsm303c/0.1.5:/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=forbid" "-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" "+c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54-alt" "test" "--frozen"` [INFO] [stdout] a62e0413c240a25391c80b069cd7fc675b207a45373412c25731f1f2d88b0233 [INFO] running `"docker" "start" "-a" "a62e0413c240a25391c80b069cd7fc675b207a45373412c25731f1f2d88b0233"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running /opt/crater/target/debug/deps/lsm303c-982c3a2736b6b9f4 [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] [stderr] Doc-tests lsm303c [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 10) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 10) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Lsm303c` [INFO] [stdout] --> src/lib.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lsm = Lsm303c::default(i2c)?; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `Lsm303c` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `LsmConfig` [INFO] [stdout] --> src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 10 | LsmConfig::new(i2c, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `LsmConfig` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `LsmConfig` [INFO] [stdout] --> src/lib.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 11 | LsmConfig::new().mag_scale(conf::MagScale::_16_Ga))?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `LsmConfig` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `conf` [INFO] [stdout] --> src/lib.rs:19:47 [INFO] [stdout] | [INFO] [stdout] 11 | LsmConfig::new().mag_scale(conf::MagScale::_16_Ga))?; [INFO] [stdout] | ^^^^ use of undeclared type or module `conf` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `i2c` in this scope [INFO] [stdout] --> src/lib.rs:12:32 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lsm = Lsm303c::default(i2c)?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `i2c` in this scope [INFO] [stdout] --> src/lib.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 10 | LsmConfig::new(i2c, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stdout] --> src/lib.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lsm = Lsm303c::default(i2c)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stdout] --> src/lib.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 6 | let all = lsm.all()?; [INFO] [stdout] | ^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stdout] --> src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 10 | / LsmConfig::new(i2c, [INFO] [stdout] 11 | | LsmConfig::new().mag_scale(conf::MagScale::_16_Ga))?; [INFO] [stdout] | |_______________________________________________________________________^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] thread 'src/lib.rs - (line 10)' panicked at 'couldn't compile the test', src/librustdoc/test.rs:354:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x7f98544c92c3 - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::hb587d2734f1dc7c5 [INFO] [stdout] at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39 [INFO] [stdout] 1: 0x7f98544c1acb - std::sys_common::backtrace::_print::he39717f7cfbd122d [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:70 [INFO] [stdout] 2: 0x7f98544c54e6 - std::panicking::default_hook::{{closure}}::hb7f1ae5149814e5e [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:58 [INFO] [stdout] at src/libstd/panicking.rs:200 [INFO] [stdout] 3: 0x7f98544c51e7 - std::panicking::default_hook::hc2b73d8ffc772b35 [INFO] [stdout] at src/libstd/panicking.rs:209 [INFO] [stdout] 4: 0x7f985653fc6f - rustc::util::common::panic_hook::h751032aa3ac1c484 [INFO] [stdout] 5: 0x7f98544c5cbd - std::panicking::rust_panic_with_hook::h625072734a147d22 [INFO] [stdout] at src/libstd/panicking.rs:482 [INFO] [stdout] 6: 0x556ea6be05d4 - std::panicking::begin_panic::h4d7d3340c9cf9d14 [INFO] [stdout] at /rustc/c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54/src/libstd/panicking.rs:412 [INFO] [stdout] 7: 0x556ea6e7ba03 - rustdoc::test::run_test::h5889805fcc1a0c80 [INFO] [stdout] at src/librustdoc/test.rs:354 [INFO] [stdout] 8: 0x556ea6d3cd97 - >::set::h9bde29d771b01b1d [INFO] [stdout] at src/librustdoc/test.rs:754 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/scoped-tls-0.1.2/src/lib.rs:155 [INFO] [stdout] at /rustc/c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54/src/libsyntax/lib.rs:112 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/scoped-tls-0.1.2/src/lib.rs:155 [INFO] [stdout] 9: 0x556ea6e0cbc1 - syntax::with_globals::h80769f7b53fe9e05 [INFO] [stdout] at /rustc/c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54/src/libsyntax/lib.rs:111 [INFO] [stdout] 10: 0x556ea6d3d9e8 - std::sys_common::backtrace::__rust_begin_short_backtrace::hac3ae7983c29a44c [INFO] [stdout] at src/librustdoc/test.rs:751 [INFO] [stdout] at /rustc/c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54/src/libstd/sys_common/backtrace.rs:135 [INFO] [stdout] 11: 0x556ea6be06c3 - std::panicking::try::do_call::h5fa5d80973e51645 [INFO] [stdout] at /rustc/c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54/src/libstd/thread/mod.rs:469 [INFO] [stdout] at /rustc/c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54/src/libstd/panic.rs:309 [INFO] [stdout] at /rustc/c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54/src/libstd/panicking.rs:297 [INFO] [stdout] 12: 0x7f98544d6ed9 - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:92 [INFO] [stdout] 13: 0x556ea6bfa8d7 - >::call_box::h493f8fc037edfe5c [INFO] [stdout] at /rustc/c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54/src/libstd/panicking.rs:276 [INFO] [stdout] at /rustc/c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54/src/libstd/panic.rs:388 [INFO] [stdout] at /rustc/c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54/src/libstd/thread/mod.rs:468 [INFO] [stdout] at /rustc/c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54/src/liballoc/boxed.rs:734 [INFO] [stdout] 14: 0x7f98544d5cdd - std::sys::unix::thread::Thread::new::thread_start::h60ff5f253b4125d5 [INFO] [stdout] at /rustc/c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54/src/liballoc/boxed.rs:744 [INFO] [stdout] at src/libstd/sys_common/thread.rs:14 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:81 [INFO] [stdout] 15: 0x7f9854043493 - start_thread [INFO] [stdout] 16: 0x7f9853b6eace - __clone [INFO] [stdout] 17: 0x0 - [INFO] [stdout] query stack during panic: [INFO] [stdout] end of query stack [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 10) [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" "a62e0413c240a25391c80b069cd7fc675b207a45373412c25731f1f2d88b0233"` [INFO] running `"docker" "rm" "-f" "a62e0413c240a25391c80b069cd7fc675b207a45373412c25731f1f2d88b0233"` [INFO] [stdout] a62e0413c240a25391c80b069cd7fc675b207a45373412c25731f1f2d88b0233