[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 beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdgoodlad%2Fcorsairlink-rs" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dgoodlad/corsairlink-rs on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-6/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: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b7311bdb4ee7547f28c63754c6d1325ea10591e24773c6af862d27ba1f79a36e [INFO] running `Command { std: "docker" "start" "-a" "b7311bdb4ee7547f28c63754c6d1325ea10591e24773c6af862d27ba1f79a36e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7311bdb4ee7547f28c63754c6d1325ea10591e24773c6af862d27ba1f79a36e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7311bdb4ee7547f28c63754c6d1325ea10591e24773c6af862d27ba1f79a36e", kill_on_drop: false }` [INFO] [stdout] b7311bdb4ee7547f28c63754c6d1325ea10591e24773c6af862d27ba1f79a36e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4bc26e6b2432cd5e2cee586943a1241bbf04c15423fcb84422ad69ff8268ab0 [INFO] running `Command { std: "docker" "start" "-a" "b4bc26e6b2432cd5e2cee586943a1241bbf04c15423fcb84422ad69ff8268ab0", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.40 [INFO] [stderr] Compiling cc v1.0.9 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Compiling bit-vec v0.4.4 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling rustc-demangle v0.1.7 [INFO] [stderr] Compiling byteorder v1.2.2 [INFO] [stderr] Compiling hex-slice v0.1.4 [INFO] [stderr] Compiling libusb-sys v0.2.3 [INFO] [stderr] Compiling bit-set v0.2.0 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling libusb v0.3.0 [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: use of deprecated associated function `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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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` (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: associated function is never used: `cycle_speed` [INFO] [stdout] --> src/devices/cooler/h110i.rs:357:8 [INFO] [stdout] | [INFO] [stdout] 357 | fn cycle_speed(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `temp_channel` [INFO] [stdout] --> src/devices/cooler/h110i.rs:364:8 [INFO] [stdout] | [INFO] [stdout] 364 | fn temp_channel(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `profile` [INFO] [stdout] --> src/devices/cooler/h110i.rs:374:5 [INFO] [stdout] | [INFO] [stdout] 374 | profile: FanProfile, [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] --> src/devices/cooler/h110i.rs:372:10 [INFO] [stdout] | [INFO] [stdout] 372 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `fan_detected` [INFO] [stdout] --> src/devices/cooler/h110i.rs:375:5 [INFO] [stdout] | [INFO] [stdout] 375 | fan_detected: bool, [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] --> src/devices/cooler/h110i.rs:372:10 [INFO] [stdout] | [INFO] [stdout] 372 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `four_pin` [INFO] [stdout] --> src/devices/cooler/h110i.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | four_pin: bool, [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] --> src/devices/cooler/h110i.rs:372:10 [INFO] [stdout] | [INFO] [stdout] 372 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `temp_channel` [INFO] [stdout] --> src/devices/cooler/h110i.rs:377:5 [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] --> src/devices/cooler/h110i.rs:372:10 [INFO] [stdout] | [INFO] [stdout] 372 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 26s [INFO] running `Command { std: "docker" "inspect" "b4bc26e6b2432cd5e2cee586943a1241bbf04c15423fcb84422ad69ff8268ab0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4bc26e6b2432cd5e2cee586943a1241bbf04c15423fcb84422ad69ff8268ab0", kill_on_drop: false }` [INFO] [stdout] b4bc26e6b2432cd5e2cee586943a1241bbf04c15423fcb84422ad69ff8268ab0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 794a9e6ec6c433a4f54504bb9cad98d9e3f505ca7b4c0dae86edc62af24d2207 [INFO] running `Command { std: "docker" "start" "-a" "794a9e6ec6c433a4f54504bb9cad98d9e3f505ca7b4c0dae86edc62af24d2207", kill_on_drop: false }` [INFO] [stdout] warning: use of deprecated associated function `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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling corsairlink v0.1.0 (/opt/rustwide/workdir) [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: associated function is never used: `cycle_speed` [INFO] [stdout] --> src/devices/cooler/h110i.rs:357:8 [INFO] [stdout] | [INFO] [stdout] 357 | fn cycle_speed(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `temp_channel` [INFO] [stdout] --> src/devices/cooler/h110i.rs:364:8 [INFO] [stdout] | [INFO] [stdout] 364 | fn temp_channel(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `profile` [INFO] [stdout] --> src/devices/cooler/h110i.rs:374:5 [INFO] [stdout] | [INFO] [stdout] 374 | profile: FanProfile, [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] --> src/devices/cooler/h110i.rs:372:10 [INFO] [stdout] | [INFO] [stdout] 372 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `fan_detected` [INFO] [stdout] --> src/devices/cooler/h110i.rs:375:5 [INFO] [stdout] | [INFO] [stdout] 375 | fan_detected: bool, [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] --> src/devices/cooler/h110i.rs:372:10 [INFO] [stdout] | [INFO] [stdout] 372 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `four_pin` [INFO] [stdout] --> src/devices/cooler/h110i.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | four_pin: bool, [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] --> src/devices/cooler/h110i.rs:372:10 [INFO] [stdout] | [INFO] [stdout] 372 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `temp_channel` [INFO] [stdout] --> src/devices/cooler/h110i.rs:377:5 [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] --> src/devices/cooler/h110i.rs:372:10 [INFO] [stdout] | [INFO] [stdout] 372 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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` (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: associated function is never used: `cycle_speed` [INFO] [stdout] --> src/devices/cooler/h110i.rs:357:8 [INFO] [stdout] | [INFO] [stdout] 357 | fn cycle_speed(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `temp_channel` [INFO] [stdout] --> src/devices/cooler/h110i.rs:364:8 [INFO] [stdout] | [INFO] [stdout] 364 | fn temp_channel(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `profile` [INFO] [stdout] --> src/devices/cooler/h110i.rs:374:5 [INFO] [stdout] | [INFO] [stdout] 374 | profile: FanProfile, [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] --> src/devices/cooler/h110i.rs:372:10 [INFO] [stdout] | [INFO] [stdout] 372 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `fan_detected` [INFO] [stdout] --> src/devices/cooler/h110i.rs:375:5 [INFO] [stdout] | [INFO] [stdout] 375 | fan_detected: bool, [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] --> src/devices/cooler/h110i.rs:372:10 [INFO] [stdout] | [INFO] [stdout] 372 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `four_pin` [INFO] [stdout] --> src/devices/cooler/h110i.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | four_pin: bool, [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] --> src/devices/cooler/h110i.rs:372:10 [INFO] [stdout] | [INFO] [stdout] 372 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `temp_channel` [INFO] [stdout] --> src/devices/cooler/h110i.rs:377:5 [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] --> src/devices/cooler/h110i.rs:372:10 [INFO] [stdout] | [INFO] [stdout] 372 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.86s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/corsairlink-0aa787ce1e1591e9) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/corsairlink-e3f1b3d312e67072) [INFO] running `Command { std: "docker" "inspect" "794a9e6ec6c433a4f54504bb9cad98d9e3f505ca7b4c0dae86edc62af24d2207", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "794a9e6ec6c433a4f54504bb9cad98d9e3f505ca7b4c0dae86edc62af24d2207", kill_on_drop: false }` [INFO] [stdout] 794a9e6ec6c433a4f54504bb9cad98d9e3f505ca7b4c0dae86edc62af24d2207 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cedbc0fa8f6aa6133f7af1cc1ec074b2410febe692ba1b9d284096d4d24700a2 [INFO] running `Command { std: "docker" "start" "-a" "cedbc0fa8f6aa6133f7af1cc1ec074b2410febe692ba1b9d284096d4d24700a2", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated associated function `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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `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` (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: associated function is never used: `cycle_speed` [INFO] [stderr] --> src/devices/cooler/h110i.rs:357:8 [INFO] [stderr] | [INFO] [stderr] 357 | fn cycle_speed(&self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `temp_channel` [INFO] [stderr] --> src/devices/cooler/h110i.rs:364:8 [INFO] [stderr] | [INFO] [stderr] 364 | fn temp_channel(&self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `profile` [INFO] [stderr] --> src/devices/cooler/h110i.rs:374:5 [INFO] [stderr] | [INFO] [stderr] 374 | profile: FanProfile, [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] --> src/devices/cooler/h110i.rs:372:10 [INFO] [stderr] | [INFO] [stderr] 372 | #[derive(Debug, Copy, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `fan_detected` [INFO] [stderr] --> src/devices/cooler/h110i.rs:375:5 [INFO] [stderr] | [INFO] [stderr] 375 | fan_detected: bool, [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] --> src/devices/cooler/h110i.rs:372:10 [INFO] [stderr] | [INFO] [stderr] 372 | #[derive(Debug, Copy, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `four_pin` [INFO] [stderr] --> src/devices/cooler/h110i.rs:376:5 [INFO] [stderr] | [INFO] [stderr] 376 | four_pin: bool, [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] --> src/devices/cooler/h110i.rs:372:10 [INFO] [stderr] | [INFO] [stderr] 372 | #[derive(Debug, Copy, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `temp_channel` [INFO] [stderr] --> src/devices/cooler/h110i.rs:377:5 [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] --> src/devices/cooler/h110i.rs:372:10 [INFO] [stderr] | [INFO] [stderr] 372 | #[derive(Debug, Copy, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `corsairlink` (lib) generated 9 warnings [INFO] [stderr] warning: `corsairlink` (lib test) generated 9 warnings (9 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/corsairlink-0aa787ce1e1591e9) [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-e3f1b3d312e67072) [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] [stderr] error: test failed, to rerun pass '--doc' [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 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.05s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "cedbc0fa8f6aa6133f7af1cc1ec074b2410febe692ba1b9d284096d4d24700a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cedbc0fa8f6aa6133f7af1cc1ec074b2410febe692ba1b9d284096d4d24700a2", kill_on_drop: false }` [INFO] [stdout] cedbc0fa8f6aa6133f7af1cc1ec074b2410febe692ba1b9d284096d4d24700a2