[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 1.60.0 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 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libusb-sys v0.2.3 [INFO] [stderr] Downloaded libusb v0.3.0 [INFO] [stderr] Downloaded bit-set v0.2.0 [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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 849cc3c36b4a9c3d1f383e8c9bed4275fa61a4e8d8e4c08bb63245e7fa50f54c [INFO] running `Command { std: "docker" "start" "-a" "849cc3c36b4a9c3d1f383e8c9bed4275fa61a4e8d8e4c08bb63245e7fa50f54c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "849cc3c36b4a9c3d1f383e8c9bed4275fa61a4e8d8e4c08bb63245e7fa50f54c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "849cc3c36b4a9c3d1f383e8c9bed4275fa61a4e8d8e4c08bb63245e7fa50f54c", kill_on_drop: false }` [INFO] [stdout] 849cc3c36b4a9c3d1f383e8c9bed4275fa61a4e8d8e4c08bb63245e7fa50f54c [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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8bfb3fec3fb5653f9b36fdce9bce3f4416fa1bc4df0661757fe8c9498f656c66 [INFO] running `Command { std: "docker" "start" "-a" "8bfb3fec3fb5653f9b36fdce9bce3f4416fa1bc4df0661757fe8c9498f656c66", kill_on_drop: false }` [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 cfg-if v0.1.2 [INFO] [stderr] Compiling bit-vec v0.4.4 [INFO] [stderr] Compiling rustc-demangle v0.1.7 [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 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 48.22s [INFO] running `Command { std: "docker" "inspect" "8bfb3fec3fb5653f9b36fdce9bce3f4416fa1bc4df0661757fe8c9498f656c66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bfb3fec3fb5653f9b36fdce9bce3f4416fa1bc4df0661757fe8c9498f656c66", kill_on_drop: false }` [INFO] [stdout] 8bfb3fec3fb5653f9b36fdce9bce3f4416fa1bc4df0661757fe8c9498f656c66 [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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 926945e12069ed154d483e7c795b5eb96ef0e768390eefc4101ab699867068bd [INFO] running `Command { std: "docker" "start" "-a" "926945e12069ed154d483e7c795b5eb96ef0e768390eefc4101ab699867068bd", 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] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.55s [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "926945e12069ed154d483e7c795b5eb96ef0e768390eefc4101ab699867068bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "926945e12069ed154d483e7c795b5eb96ef0e768390eefc4101ab699867068bd", kill_on_drop: false }` [INFO] [stdout] 926945e12069ed154d483e7c795b5eb96ef0e768390eefc4101ab699867068bd [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" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 61ecfe162a7d25aa0734ac272b6b117e29311e23736fabbf65dc801843aff7fd [INFO] running `Command { std: "docker" "start" "-a" "61ecfe162a7d25aa0734ac272b6b117e29311e23736fabbf65dc801843aff7fd", 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.07s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/corsairlink-49b81ffb017e69ec) [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/corsairlink-6724b53795d96fca) [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] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests corsairlink [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] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/protocol/usbhid.rs - protocol::usbhid (line 12) ... FAILED [INFO] [stderr] error: test failed, to rerun pass '--doc' [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.08s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "61ecfe162a7d25aa0734ac272b6b117e29311e23736fabbf65dc801843aff7fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61ecfe162a7d25aa0734ac272b6b117e29311e23736fabbf65dc801843aff7fd", kill_on_drop: false }` [INFO] [stdout] 61ecfe162a7d25aa0734ac272b6b117e29311e23736fabbf65dc801843aff7fd