[INFO] fetching crate camctl_rs 0.1.2... [INFO] extracting crate camctl_rs 0.1.2 into work/ex/beta-1.37-6/sources/1.36.0/reg/camctl_rs/0.1.2 [INFO] extracting crate camctl_rs 0.1.2 into work/ex/beta-1.37-6/sources/beta-2019-07-23/reg/camctl_rs/0.1.2 [INFO] validating manifest of camctl_rs-0.1.2 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 camctl_rs-0.1.2 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 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.37-6/sources/1.36.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.37-6/sources/beta-2019-07-23/reg/camctl_rs/0.1.2/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 camctl_rs-0.1.2 against beta-2019-07-23 for beta-1.37-6 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-4/beta-2019-07-23:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/beta-2019-07-23/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-07-23" "build" "--frozen"` [INFO] [stdout] 717c2438ea0196257a1accad2357250a8cee3e9c520627156c3965b93ba10b89 [INFO] running `"docker" "start" "-a" "717c2438ea0196257a1accad2357250a8cee3e9c520627156c3965b93ba10b89"` [INFO] [stderr] Compiling bit-vec v0.6.1 [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 1.83s [INFO] running `"docker" "inspect" "717c2438ea0196257a1accad2357250a8cee3e9c520627156c3965b93ba10b89"` [INFO] running `"docker" "rm" "-f" "717c2438ea0196257a1accad2357250a8cee3e9c520627156c3965b93ba10b89"` [INFO] [stdout] 717c2438ea0196257a1accad2357250a8cee3e9c520627156c3965b93ba10b89 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-4/beta-2019-07-23:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/beta-2019-07-23/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-07-23" "test" "--frozen" "--no-run"` [INFO] [stdout] 7405e2a4816da0afcff92a440f064730d1a76573c9e1d75db9507b723395ce70 [INFO] running `"docker" "start" "-a" "7405e2a4816da0afcff92a440f064730d1a76573c9e1d75db9507b723395ce70"` [INFO] [stderr] Compiling camctl_rs v0.1.2 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.37s [INFO] running `"docker" "inspect" "7405e2a4816da0afcff92a440f064730d1a76573c9e1d75db9507b723395ce70"` [INFO] running `"docker" "rm" "-f" "7405e2a4816da0afcff92a440f064730d1a76573c9e1d75db9507b723395ce70"` [INFO] [stdout] 7405e2a4816da0afcff92a440f064730d1a76573c9e1d75db9507b723395ce70 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-4/beta-2019-07-23:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/beta-2019-07-23/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-07-23" "test" "--frozen"` [INFO] [stdout] e9c494e8deecc7e01cdad90174612a0eabf1747540ab55417f1a6d03e11ebe91 [INFO] running `"docker" "start" "-a" "e9c494e8deecc7e01cdad90174612a0eabf1747540ab55417f1a6d03e11ebe91"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running /opt/crater/target/debug/deps/camctl_rs-1314a98fad7497a8 [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] [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] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "e9c494e8deecc7e01cdad90174612a0eabf1747540ab55417f1a6d03e11ebe91"` [INFO] running `"docker" "rm" "-f" "e9c494e8deecc7e01cdad90174612a0eabf1747540ab55417f1a6d03e11ebe91"` [INFO] [stdout] e9c494e8deecc7e01cdad90174612a0eabf1747540ab55417f1a6d03e11ebe91