[INFO] crate camctl_rs 0.1.2 is already in cache [INFO] testing camctl_rs-0.1.2 against try#41997647ba6a77908f6ef64401414feb00bccf16 for pr-71274 [INFO] extracting crate camctl_rs 0.1.2 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate camctl_rs 0.1.2 on toolchain 41997647ba6a77908f6ef64401414feb00bccf16 [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate camctl_rs 0.1.2 [INFO] finished tweaking crates.io crate camctl_rs 0.1.2 [INFO] tweaked toml for crates.io crate camctl_rs 0.1.2 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "build" "--frozen"` [INFO] [stdout] a579363d1d97d130f6da52892f3bc762a609873c66eacecf158f6f74095fbf8b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "a579363d1d97d130f6da52892f3bc762a609873c66eacecf158f6f74095fbf8b"` [INFO] [stderr] Compiling usb-device v0.2.5 [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/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.03s [INFO] running `"docker" "inspect" "a579363d1d97d130f6da52892f3bc762a609873c66eacecf158f6f74095fbf8b"` [INFO] running `"docker" "rm" "-f" "a579363d1d97d130f6da52892f3bc762a609873c66eacecf158f6f74095fbf8b"` [INFO] [stdout] a579363d1d97d130f6da52892f3bc762a609873c66eacecf158f6f74095fbf8b [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "test" "--frozen" "--no-run"` [INFO] [stdout] f0f5e5342c2706dce278a90e62ec035dba685f03ec5f550a0c4a452ebb8d911f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "f0f5e5342c2706dce278a90e62ec035dba685f03ec5f550a0c4a452ebb8d911f"` [INFO] [stderr] Compiling camctl_rs v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.51s [INFO] running `"docker" "inspect" "f0f5e5342c2706dce278a90e62ec035dba685f03ec5f550a0c4a452ebb8d911f"` [INFO] running `"docker" "rm" "-f" "f0f5e5342c2706dce278a90e62ec035dba685f03ec5f550a0c4a452ebb8d911f"` [INFO] [stdout] f0f5e5342c2706dce278a90e62ec035dba685f03ec5f550a0c4a452ebb8d911f [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "test" "--frozen"` [INFO] [stdout] 0b63191fa1fdaf87405595ff788704912ec8ba8fa54c318c377bed7f9816eb88 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "0b63191fa1fdaf87405595ff788704912ec8ba8fa54c318c377bed7f9816eb88"` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/camctl_rs-bd71104b2ecbcf54 [INFO] [stderr] Doc-tests camctl_rs [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] [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] 3 | / fn main() { [INFO] [stdout] 4 | | use camctl_rs::Kraken; [INFO] [stdout] 5 | | [INFO] [stdout] 6 | | let ctx = libusb::Context::new()?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 9 | | kraken.set_fan(75); // sets the fan speed to 75% [INFO] [stdout] 10 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [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] 3 | / fn main() { [INFO] [stdout] 4 | | use camctl_rs::Kraken; [INFO] [stdout] 5 | | [INFO] [stdout] 6 | | let ctx = libusb::Context::new()?; [INFO] [stdout] 7 | | let kraken = Kraken::from(&ctx)?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 8 | | [INFO] [stdout] 9 | | kraken.set_fan(75); // sets the fan speed to 75% [INFO] [stdout] 10 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [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" "0b63191fa1fdaf87405595ff788704912ec8ba8fa54c318c377bed7f9816eb88"` [INFO] running `"docker" "rm" "-f" "0b63191fa1fdaf87405595ff788704912ec8ba8fa54c318c377bed7f9816eb88"` [INFO] [stdout] 0b63191fa1fdaf87405595ff788704912ec8ba8fa54c318c377bed7f9816eb88