[INFO] cloning repository https://github.com/dgoodlad/corsairlink-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dgoodlad/corsairlink-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdgoodlad%2Fcorsairlink-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdgoodlad%2Fcorsairlink-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9c552bf6226a6e0a80a4d95a315af8d1152a0314 [INFO] testing dgoodlad/corsairlink-rs against master#61223975d46f794466efa832bc7562b9707ecc46+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdgoodlad%2Fcorsairlink-rs" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dgoodlad/corsairlink-rs on toolchain 61223975d46f794466efa832bc7562b9707ecc46 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dgoodlad/corsairlink-rs [INFO] finished tweaking git repo https://github.com/dgoodlad/corsairlink-rs [INFO] tweaked toml for git repo https://github.com/dgoodlad/corsairlink-rs written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dgoodlad/corsairlink-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] testing dgoodlad/corsairlink-rs against try#d073071d77ce0f93b4fd8cc567a1e2b9e1b22126+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdgoodlad%2Fcorsairlink-rs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dgoodlad/corsairlink-rs on toolchain d073071d77ce0f93b4fd8cc567a1e2b9e1b22126 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dgoodlad/corsairlink-rs [INFO] finished tweaking git repo https://github.com/dgoodlad/corsairlink-rs [INFO] tweaked toml for git repo https://github.com/dgoodlad/corsairlink-rs written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dgoodlad/corsairlink-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libusb v0.3.0 [INFO] [stderr] Downloaded libusb-sys v0.2.3 [INFO] [stderr] Downloaded bit-set v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e2bfa6623fbd9e0879cb7a20cbaa7a5c6028629c7f2a68ed5d5a3fdea5ae5543 [INFO] running `Command { std: "docker" "start" "-a" "e2bfa6623fbd9e0879cb7a20cbaa7a5c6028629c7f2a68ed5d5a3fdea5ae5543", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e2bfa6623fbd9e0879cb7a20cbaa7a5c6028629c7f2a68ed5d5a3fdea5ae5543", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2bfa6623fbd9e0879cb7a20cbaa7a5c6028629c7f2a68ed5d5a3fdea5ae5543", kill_on_drop: false }` [INFO] [stdout] e2bfa6623fbd9e0879cb7a20cbaa7a5c6028629c7f2a68ed5d5a3fdea5ae5543 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c6a33658bee998b75567af73ee5912258aa66249e7a5b2de7733e39e2d8c146 [INFO] running `Command { std: "docker" "start" "-a" "8c6a33658bee998b75567af73ee5912258aa66249e7a5b2de7733e39e2d8c146", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.9 [INFO] [stderr] Compiling libc v0.2.40 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling rustc-demangle v0.1.7 [INFO] [stderr] Compiling bit-vec v0.4.4 [INFO] [stderr] Compiling hex-slice v0.1.4 [INFO] [stderr] Compiling byteorder v1.2.2 [INFO] [stderr] Compiling bit-set v0.2.0 [INFO] [stderr] Compiling libusb-sys v0.2.3 [INFO] [stderr] Compiling libusb v0.3.0 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling backtrace v0.3.5 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling corsairlink v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `libusb` is imported redundantly [INFO] [stdout] --> src/lib.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate libusb; [INFO] [stdout] | -------------------- the item `libusb` is already imported here [INFO] [stdout] ... [INFO] [stdout] 13 | use libusb; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libusb` is imported redundantly [INFO] [stdout] --> src/backends/usbhid.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use libusb; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate libusb; [INFO] [stdout] | -------------------- the item `libusb` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libusb` is imported redundantly [INFO] [stdout] --> src/devices/cooler/h110i.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use libusb; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate libusb; [INFO] [stdout] | -------------------- the item `libusb` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | / error_chain! { [INFO] [stdout] 16 | | foreign_links { [INFO] [stdout] 17 | | String(string::FromUtf8Error) #[doc = "Error parsing UTF-8 string"]; [INFO] [stdout] 18 | | Libusb(libusb::Error) #[doc = "Error from libusb"]; [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | / error_chain! { [INFO] [stdout] 16 | | foreign_links { [INFO] [stdout] 17 | | String(string::FromUtf8Error) #[doc = "Error parsing UTF-8 string"]; [INFO] [stdout] 18 | | Libusb(libusb::Error) #[doc = "Error from libusb"]; [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/backends/usbhid.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | for mut device in context.devices().unwrap().iter() { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `cycle_speed` and `temp_channel` are never used [INFO] [stdout] --> src/devices/cooler/h110i.rs:357:8 [INFO] [stdout] | [INFO] [stdout] 321 | impl LedMode { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 357 | fn cycle_speed(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | fn temp_channel(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `profile`, `fan_detected`, `four_pin`, and `temp_channel` are never read [INFO] [stdout] --> src/devices/cooler/h110i.rs:374:5 [INFO] [stdout] | [INFO] [stdout] 373 | pub struct FanMode { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 374 | profile: FanProfile, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 375 | fan_detected: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 376 | four_pin: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 377 | temp_channel: TempChannel, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FanMode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.97s [INFO] running `Command { std: "docker" "inspect" "8c6a33658bee998b75567af73ee5912258aa66249e7a5b2de7733e39e2d8c146", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c6a33658bee998b75567af73ee5912258aa66249e7a5b2de7733e39e2d8c146", kill_on_drop: false }` [INFO] [stdout] 8c6a33658bee998b75567af73ee5912258aa66249e7a5b2de7733e39e2d8c146 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 459ad3e12ddeb0c9143c3a6dfae01c47707ba2f9f20b1878ff8410c23cb9718a [INFO] running `Command { std: "docker" "start" "-a" "459ad3e12ddeb0c9143c3a6dfae01c47707ba2f9f20b1878ff8410c23cb9718a", kill_on_drop: false }` [INFO] [stdout] warning: the item `libusb` is imported redundantly [INFO] [stdout] --> src/lib.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate libusb; [INFO] [stdout] | -------------------- the item `libusb` is already imported here [INFO] [stdout] ... [INFO] [stdout] 13 | use libusb; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libusb` is imported redundantly [INFO] [stdout] --> src/backends/usbhid.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use libusb; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate libusb; [INFO] [stdout] | -------------------- the item `libusb` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libusb` is imported redundantly [INFO] [stdout] --> src/devices/cooler/h110i.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use libusb; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate libusb; [INFO] [stdout] | -------------------- the item `libusb` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | / error_chain! { [INFO] [stdout] 16 | | foreign_links { [INFO] [stdout] 17 | | String(string::FromUtf8Error) #[doc = "Error parsing UTF-8 string"]; [INFO] [stdout] 18 | | Libusb(libusb::Error) #[doc = "Error from libusb"]; [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | / error_chain! { [INFO] [stdout] 16 | | foreign_links { [INFO] [stdout] 17 | | String(string::FromUtf8Error) #[doc = "Error parsing UTF-8 string"]; [INFO] [stdout] 18 | | Libusb(libusb::Error) #[doc = "Error from libusb"]; [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/backends/usbhid.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | for mut device in context.devices().unwrap().iter() { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `cycle_speed` and `temp_channel` are never used [INFO] [stdout] --> src/devices/cooler/h110i.rs:357:8 [INFO] [stdout] | [INFO] [stdout] 321 | impl LedMode { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 357 | fn cycle_speed(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | fn temp_channel(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `profile`, `fan_detected`, `four_pin`, and `temp_channel` are never read [INFO] [stdout] --> src/devices/cooler/h110i.rs:374:5 [INFO] [stdout] | [INFO] [stdout] 373 | pub struct FanMode { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 374 | profile: FanProfile, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 375 | fan_detected: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 376 | four_pin: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 377 | temp_channel: TempChannel, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FanMode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling corsairlink v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libusb` is imported redundantly [INFO] [stdout] --> src/lib.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate libusb; [INFO] [stdout] | -------------------- the item `libusb` is already imported here [INFO] [stdout] ... [INFO] [stdout] 13 | use libusb; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libusb` is imported redundantly [INFO] [stdout] --> src/backends/usbhid.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use libusb; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate libusb; [INFO] [stdout] | -------------------- the item `libusb` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libusb` is imported redundantly [INFO] [stdout] --> src/devices/cooler/h110i.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use libusb; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate libusb; [INFO] [stdout] | -------------------- the item `libusb` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | / error_chain! { [INFO] [stdout] 16 | | foreign_links { [INFO] [stdout] 17 | | String(string::FromUtf8Error) #[doc = "Error parsing UTF-8 string"]; [INFO] [stdout] 18 | | Libusb(libusb::Error) #[doc = "Error from libusb"]; [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | / error_chain! { [INFO] [stdout] 16 | | foreign_links { [INFO] [stdout] 17 | | String(string::FromUtf8Error) #[doc = "Error parsing UTF-8 string"]; [INFO] [stdout] 18 | | Libusb(libusb::Error) #[doc = "Error from libusb"]; [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/backends/usbhid.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | for mut device in context.devices().unwrap().iter() { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `cycle_speed` and `temp_channel` are never used [INFO] [stdout] --> src/devices/cooler/h110i.rs:357:8 [INFO] [stdout] | [INFO] [stdout] 321 | impl LedMode { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 357 | fn cycle_speed(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | fn temp_channel(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `profile`, `fan_detected`, `four_pin`, and `temp_channel` are never read [INFO] [stdout] --> src/devices/cooler/h110i.rs:374:5 [INFO] [stdout] | [INFO] [stdout] 373 | pub struct FanMode { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 374 | profile: FanProfile, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 375 | fan_detected: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 376 | four_pin: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 377 | temp_channel: TempChannel, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FanMode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.47s [INFO] running `Command { std: "docker" "inspect" "459ad3e12ddeb0c9143c3a6dfae01c47707ba2f9f20b1878ff8410c23cb9718a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "459ad3e12ddeb0c9143c3a6dfae01c47707ba2f9f20b1878ff8410c23cb9718a", kill_on_drop: false }` [INFO] [stdout] 459ad3e12ddeb0c9143c3a6dfae01c47707ba2f9f20b1878ff8410c23cb9718a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0d93223a8ba4dd8dd73531b4290ba6fe17b6b8b64e98dbf188f48a9d223eb644 [INFO] running `Command { std: "docker" "start" "-a" "0d93223a8ba4dd8dd73531b4290ba6fe17b6b8b64e98dbf188f48a9d223eb644", kill_on_drop: false }` [INFO] [stderr] warning: the item `libusb` is imported redundantly [INFO] [stderr] --> src/lib.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 9 | extern crate libusb; [INFO] [stderr] | -------------------- the item `libusb` is already imported here [INFO] [stderr] ... [INFO] [stderr] 13 | use libusb; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the item `libusb` is imported redundantly [INFO] [stderr] --> src/backends/usbhid.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use libusb; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | extern crate libusb; [INFO] [stderr] | -------------------- the item `libusb` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `libusb` is imported redundantly [INFO] [stderr] --> src/devices/cooler/h110i.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use libusb; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | extern crate libusb; [INFO] [stderr] | -------------------- the item `libusb` is already imported here [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/lib.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | / error_chain! { [INFO] [stderr] 16 | | foreign_links { [INFO] [stderr] 17 | | String(string::FromUtf8Error) #[doc = "Error parsing UTF-8 string"]; [INFO] [stderr] 18 | | Libusb(libusb::Error) #[doc = "Error from libusb"]; [INFO] [stderr] 19 | | } [INFO] [stderr] 20 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/lib.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | / error_chain! { [INFO] [stderr] 16 | | foreign_links { [INFO] [stderr] 17 | | String(string::FromUtf8Error) #[doc = "Error parsing UTF-8 string"]; [INFO] [stderr] 18 | | Libusb(libusb::Error) #[doc = "Error from libusb"]; [INFO] [stderr] 19 | | } [INFO] [stderr] 20 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/backends/usbhid.rs:32:13 [INFO] [stderr] | [INFO] [stderr] 32 | for mut device in context.devices().unwrap().iter() { [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: methods `cycle_speed` and `temp_channel` are never used [INFO] [stderr] --> src/devices/cooler/h110i.rs:357:8 [INFO] [stderr] | [INFO] [stderr] 321 | impl LedMode { [INFO] [stderr] | ------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 357 | fn cycle_speed(&self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 364 | fn temp_channel(&self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `profile`, `fan_detected`, `four_pin`, and `temp_channel` are never read [INFO] [stderr] --> src/devices/cooler/h110i.rs:374:5 [INFO] [stderr] | [INFO] [stderr] 373 | pub struct FanMode { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] 374 | profile: FanProfile, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 375 | fan_detected: bool, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 376 | four_pin: bool, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 377 | temp_channel: TempChannel, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `FanMode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `corsairlink` (lib) generated 8 warnings (run `cargo fix --lib -p corsairlink` to apply 1 suggestion) [INFO] [stderr] warning: `corsairlink` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/corsairlink-946f717b4338aa3e) [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; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/corsairlink-1a7bbe04824c57a8) [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; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests corsairlink [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/protocol/usbhid.rs - protocol::usbhid (line 12) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/protocol/usbhid.rs - protocol::usbhid (line 12) stdout ---- [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/protocol/usbhid.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 3 | LEN [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments [INFO] [stdout] = help: or use `(...)` if you meant to specify fn arguments [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/protocol/usbhid.rs - protocol::usbhid (line 12) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "0d93223a8ba4dd8dd73531b4290ba6fe17b6b8b64e98dbf188f48a9d223eb644", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d93223a8ba4dd8dd73531b4290ba6fe17b6b8b64e98dbf188f48a9d223eb644", kill_on_drop: false }` [INFO] [stdout] 0d93223a8ba4dd8dd73531b4290ba6fe17b6b8b64e98dbf188f48a9d223eb644