[INFO] crate lsm303c 0.1.5 is already in cache [INFO] extracting crate lsm303c 0.1.5 into work/ex/beta-1.38-1/sources/1.37.0/reg/lsm303c/0.1.5 [INFO] extracting crate lsm303c 0.1.5 into work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/lsm303c/0.1.5 [INFO] validating manifest of lsm303c-0.1.5 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 lsm303c-0.1.5 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 lsm303c-0.1.5 [INFO] finished frobbing lsm303c-0.1.5 [INFO] frobbed toml for lsm303c-0.1.5 written to work/ex/beta-1.38-1/sources/1.37.0/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/beta-1.38-1/sources/beta-2019-08-13/reg/lsm303c/0.1.5/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 lsm303c-0.1.5 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-7/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/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=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] 2f5d2482f70cb0c83a15822b02c3156dea37a40e95df491ce0caaf0ea4de929a [INFO] running `"docker" "start" "-a" "2f5d2482f70cb0c83a15822b02c3156dea37a40e95df491ce0caaf0ea4de929a"` [INFO] [stderr] Compiling nalgebra v0.16.13 [INFO] [stderr] warning[E0502]: cannot borrow `*self` as immutable because it is also borrowed as mutable [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/nalgebra-0.16.13/src/base/cg.rs:291:44 [INFO] [stderr] | [INFO] [stderr] 291 | self[(j, i)] += shift[j] * self[(D::dim() - 1, i)]; [INFO] [stderr] | ---------------------------^^^^------------------- [INFO] [stderr] | | | [INFO] [stderr] | | immutable borrow occurs here [INFO] [stderr] | mutable borrow occurs here [INFO] [stderr] | mutable borrow later used here [INFO] [stderr] | [INFO] [stderr] = warning: this error has been downgraded to a warning for backwards compatibility with previous releases [INFO] [stderr] = warning: this represents potential undefined behavior in your code and this warning will become a hard error in the future [INFO] [stderr] = note: for more information, try `rustc --explain E0729` [INFO] [stderr] [INFO] [stderr] Compiling lsm303c v0.1.5 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 29.85s [INFO] running `"docker" "inspect" "2f5d2482f70cb0c83a15822b02c3156dea37a40e95df491ce0caaf0ea4de929a"` [INFO] running `"docker" "rm" "-f" "2f5d2482f70cb0c83a15822b02c3156dea37a40e95df491ce0caaf0ea4de929a"` [INFO] [stdout] 2f5d2482f70cb0c83a15822b02c3156dea37a40e95df491ce0caaf0ea4de929a [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-7/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/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=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] a05951a27278f692800ff9f1df4d71e288889df456047b7c782fc16ea3ae6f2c [INFO] running `"docker" "start" "-a" "a05951a27278f692800ff9f1df4d71e288889df456047b7c782fc16ea3ae6f2c"` [INFO] [stderr] Compiling lsm303c v0.1.5 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.88s [INFO] running `"docker" "inspect" "a05951a27278f692800ff9f1df4d71e288889df456047b7c782fc16ea3ae6f2c"` [INFO] running `"docker" "rm" "-f" "a05951a27278f692800ff9f1df4d71e288889df456047b7c782fc16ea3ae6f2c"` [INFO] [stdout] a05951a27278f692800ff9f1df4d71e288889df456047b7c782fc16ea3ae6f2c [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-7/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/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=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] df22b6fe3f2b8096740dc6ff3e09677281274702a91cc5b3dc3364690cff5c19 [INFO] running `"docker" "start" "-a" "df22b6fe3f2b8096740dc6ff3e09677281274702a91cc5b3dc3364690cff5c19"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running /opt/crater/target/debug/deps/lsm303c-7b1b469ac23ddf1c [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] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, 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 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" "df22b6fe3f2b8096740dc6ff3e09677281274702a91cc5b3dc3364690cff5c19"` [INFO] running `"docker" "rm" "-f" "df22b6fe3f2b8096740dc6ff3e09677281274702a91cc5b3dc3364690cff5c19"` [INFO] [stdout] df22b6fe3f2b8096740dc6ff3e09677281274702a91cc5b3dc3364690cff5c19