[INFO] crate camctl_rs 0.1.2 is already in cache [INFO] extracting crate camctl_rs 0.1.2 into work/ex/beta-1.38-1/sources/1.37.0/reg/camctl_rs/0.1.2 [INFO] extracting crate camctl_rs 0.1.2 into work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/camctl_rs/0.1.2 [INFO] validating manifest of camctl_rs-0.1.2 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 camctl_rs-0.1.2 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 camctl_rs-0.1.2 [INFO] finished frobbing camctl_rs-0.1.2 [INFO] frobbed toml for camctl_rs-0.1.2 written to work/ex/beta-1.38-1/sources/1.37.0/reg/camctl_rs/0.1.2/Cargo.toml [INFO] started frobbing camctl_rs-0.1.2 [INFO] finished frobbing camctl_rs-0.1.2 [INFO] frobbed toml for camctl_rs-0.1.2 written to work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/camctl_rs/0.1.2/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 camctl_rs-0.1.2 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-3/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/camctl_rs/0.1.2:/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] 105e95517bbf8d9a0d1c62bef4714112c8305fa50c12b189aae6a7916605eb43 [INFO] running `"docker" "start" "-a" "105e95517bbf8d9a0d1c62bef4714112c8305fa50c12b189aae6a7916605eb43"` [INFO] [stderr] Compiling usb-device v0.2.2 [INFO] [stderr] Compiling libusb-sys v0.2.3 [INFO] [stderr] Compiling bit-set v0.2.0 [INFO] [stderr] Compiling libusb v0.3.0 [INFO] [stderr] Compiling camctl_rs v0.1.2 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.26s [INFO] running `"docker" "inspect" "105e95517bbf8d9a0d1c62bef4714112c8305fa50c12b189aae6a7916605eb43"` [INFO] running `"docker" "rm" "-f" "105e95517bbf8d9a0d1c62bef4714112c8305fa50c12b189aae6a7916605eb43"` [INFO] [stdout] 105e95517bbf8d9a0d1c62bef4714112c8305fa50c12b189aae6a7916605eb43 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-3/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/camctl_rs/0.1.2:/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] 796c25b263714c127231bc5a0008dc39cd3f8a5dd5a678f5875c110da617ba98 [INFO] running `"docker" "start" "-a" "796c25b263714c127231bc5a0008dc39cd3f8a5dd5a678f5875c110da617ba98"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling camctl_rs v0.1.2 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.45s [INFO] running `"docker" "inspect" "796c25b263714c127231bc5a0008dc39cd3f8a5dd5a678f5875c110da617ba98"` [INFO] running `"docker" "rm" "-f" "796c25b263714c127231bc5a0008dc39cd3f8a5dd5a678f5875c110da617ba98"` [INFO] [stdout] 796c25b263714c127231bc5a0008dc39cd3f8a5dd5a678f5875c110da617ba98 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-3/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/camctl_rs/0.1.2:/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] 8405d7da775440fc0df7fd1148f75e1740b677fb6e36802a713d6266f3b5b3dc [INFO] running `"docker" "start" "-a" "8405d7da775440fc0df7fd1148f75e1740b677fb6e36802a713d6266f3b5b3dc"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running /opt/crater/target/debug/deps/camctl_rs-71e7839271943775 [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 camctl_rs [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] [stdout] test src/cam.rs - cam::Kraken (line 16) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/cam.rs - cam::Kraken (line 16) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `camctl_rs::Kraken` [INFO] [stdout] --> src/cam.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 4 | use camctl_rs::Kraken; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Kraken` in the root [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/cam.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 6 | let ctx = libusb::Context::new()?; [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/cam.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 7 | let kraken = Kraken::from(&ctx)?; [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 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [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/cam.rs - cam::Kraken (line 16) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "8405d7da775440fc0df7fd1148f75e1740b677fb6e36802a713d6266f3b5b3dc"` [INFO] running `"docker" "rm" "-f" "8405d7da775440fc0df7fd1148f75e1740b677fb6e36802a713d6266f3b5b3dc"` [INFO] [stdout] 8405d7da775440fc0df7fd1148f75e1740b677fb6e36802a713d6266f3b5b3dc