[INFO] cloning repository https://github.com/joriskt/busylight
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/joriskt/busylight" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoriskt%2Fbusylight", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoriskt%2Fbusylight'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 153c4efd63e240dba09be5a84251c72b1e7ea874
[INFO] testing joriskt/busylight against 1.97.0-beta.6 for beta-1.98-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoriskt%2Fbusylight" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/joriskt/busylight
[INFO] finished tweaking git repo https://github.com/joriskt/busylight
[INFO] tweaked toml for git repo https://github.com/joriskt/busylight written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/joriskt/busylight on toolchain 1.97.0-beta.6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/joriskt/busylight 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" "+1.97.0-beta.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cc v1.0.104
[INFO] [stderr]   Downloaded clap_lex v0.7.1
[INFO] [stderr]   Downloaded is_terminal_polyfill v1.70.0
[INFO] [stderr]   Downloaded anstyle-wincon v3.0.3
[INFO] [stderr]   Downloaded anstyle v1.0.7
[INFO] [stderr]   Downloaded colorchoice v1.0.1
[INFO] [stderr]   Downloaded anstyle-query v1.1.0
[INFO] [stderr]   Downloaded quote v1.0.36
[INFO] [stderr]   Downloaded anstyle-parse v0.2.4
[INFO] [stderr]   Downloaded hex_color v3.0.0
[INFO] [stderr]   Downloaded pkg-config v0.3.30
[INFO] [stderr]   Downloaded proc-macro2 v1.0.86
[INFO] [stderr]   Downloaded clap_derive v4.5.8
[INFO] [stderr]   Downloaded unicode-ident v1.0.12
[INFO] [stderr]   Downloaded anstream v0.6.14
[INFO] [stderr]   Downloaded clap v4.5.9
[INFO] [stderr]   Downloaded hidapi v2.6.1
[INFO] [stderr]   Downloaded clap_builder v4.5.9
[INFO] [stderr]   Downloaded syn v2.0.70
[INFO] [stderr]   Downloaded libc v0.2.155
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e78aab1ad247adddc642d4b3ef18203b08f93dc196c4b2e2f44023a804892d09
[INFO] running `Command { std: "docker" "start" "e78aab1ad247adddc642d4b3ef18203b08f93dc196c4b2e2f44023a804892d09", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e78aab1ad247adddc642d4b3ef18203b08f93dc196c4b2e2f44023a804892d09", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e78aab1ad247adddc642d4b3ef18203b08f93dc196c4b2e2f44023a804892d09" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e78aab1ad247adddc642d4b3ef18203b08f93dc196c4b2e2f44023a804892d09", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e78aab1ad247adddc642d4b3ef18203b08f93dc196c4b2e2f44023a804892d09" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.0
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling cc v1.0.104
[INFO] [stderr]    Compiling colorchoice v1.0.1
[INFO] [stderr]    Compiling anstyle v1.0.7
[INFO] [stderr]    Compiling anstyle-query v1.1.0
[INFO] [stderr]    Compiling clap_lex v0.7.1
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling hex_color v3.0.0
[INFO] [stderr]    Compiling anstyle-parse v0.2.4
[INFO] [stderr]    Compiling anstream v0.6.14
[INFO] [stderr]    Compiling clap_builder v4.5.9
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling syn v2.0.70
[INFO] [stderr]    Compiling hidapi v2.6.1
[INFO] [stderr]    Compiling clap_derive v4.5.8
[INFO] [stderr]    Compiling clap v4.5.9
[INFO] [stderr]    Compiling busylight v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::LuxaforLight`
[INFO] [stdout]  --> src/busylight/mod.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::LuxaforLight;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Display` and `Formatter`
[INFO] [stdout]  --> src/busylight/error.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::{Display, Formatter};
[INFO] [stdout]   |                ^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HidResult`
[INFO] [stdout]  --> src/busylight/error.rs:2:24
[INFO] [stdout]   |
[INFO] [stdout] 2 | use hidapi::{HidError, HidResult};
[INFO] [stdout]   |                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::Light`
[INFO] [stdout]  --> src/busylight/error.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::Light;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num`
[INFO] [stdout]   --> src/luxafor/luxafor.rs:35:19
[INFO] [stdout]    |
[INFO] [stdout] 35 |             .map(|num| ())
[INFO] [stdout]    |                   ^^^ help: if this is intentional, prefix it with an underscore: `_num`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num`
[INFO] [stdout]   --> src/luxafor/luxafor.rs:42:19
[INFO] [stdout]    |
[INFO] [stdout] 42 |             .map(|num| ())
[INFO] [stdout]    |                   ^^^ help: if this is intentional, prefix it with an underscore: `_num`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num`
[INFO] [stdout]   --> src/luxafor/luxafor.rs:49:19
[INFO] [stdout]    |
[INFO] [stdout] 49 |             .map(|num| ())
[INFO] [stdout]    |                   ^^^ help: if this is intentional, prefix it with an underscore: `_num`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/busylight/busylight.rs:29:59
[INFO] [stdout]    |
[INFO] [stdout] 26 |     fn init_light(&'b self,
[INFO] [stdout]    |                    -- the lifetime is named here
[INFO] [stdout] 27 |                   device_info: &'b DeviceInfo,
[INFO] [stdout]    |                                 -- the lifetime is named here
[INFO] [stdout] 28 |                   hid_device: crate::Result<HidDevice>,
[INFO] [stdout] 29 |                   driver: LightType) -> crate::Result<Box<dyn Light + 'b>> {
[INFO] [stdout]    |                                                           ^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'b`
[INFO] [stdout]    |
[INFO] [stdout] 29 |                   driver: LightType) -> crate::Result<Box<dyn Light<'b> + 'b>> {
[INFO] [stdout]    |                                                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/busylight/busylight.rs:35:59
[INFO] [stdout]    |
[INFO] [stdout] 35 |     pub fn list_lights(&'b self) -> crate::Result<Vec<Box<dyn Light + 'b>>> {
[INFO] [stdout]    |                         -- the lifetime is named here     ^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'b`
[INFO] [stdout]    |
[INFO] [stdout] 35 |     pub fn list_lights(&'b self) -> crate::Result<Vec<Box<dyn Light<'b> + 'b>>> {
[INFO] [stdout]    |                                                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Range`
[INFO] [stdout]  --> src/bin.rs:3:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::ops::{Range, RangeInclusive};
[INFO] [stdout]   |                ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ColorChoice`
[INFO] [stdout]  --> src/bin.rs:5:24
[INFO] [stdout]   |
[INFO] [stdout] 5 | use clap::{ArgMatches, ColorChoice, Parser};
[INFO] [stdout]   |                        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Parser`
[INFO] [stdout]  --> src/bin.rs:5:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | use clap::{ArgMatches, ColorChoice, Parser};
[INFO] [stdout]   |                                     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Light`
[INFO] [stdout]  --> src/bin.rs:8:35
[INFO] [stdout]   |
[INFO] [stdout] 8 | use busylight::{Busylight, Color, Light};
[INFO] [stdout]   |                                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]   --> src/bin.rs:61:16
[INFO] [stdout]    |
[INFO] [stdout] 61 | fn handle_list(args: &ArgMatches) -> busylight::Result<()> {
[INFO] [stdout]    |                ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]   --> src/bin.rs:77:15
[INFO] [stdout]    |
[INFO] [stdout] 77 | fn handle_off(args: &ArgMatches) -> busylight::Result<()>  {
[INFO] [stdout]    |               ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.23s
[INFO] running `Command { std: "docker" "inspect" "e78aab1ad247adddc642d4b3ef18203b08f93dc196c4b2e2f44023a804892d09", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e78aab1ad247adddc642d4b3ef18203b08f93dc196c4b2e2f44023a804892d09" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `crate::LuxaforLight`
[INFO] [stdout]  --> src/busylight/mod.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::LuxaforLight;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Display` and `Formatter`
[INFO] [stdout]  --> src/busylight/error.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::{Display, Formatter};
[INFO] [stdout]   |                ^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HidResult`
[INFO] [stdout]  --> src/busylight/error.rs:2:24
[INFO] [stdout]   |
[INFO] [stdout] 2 | use hidapi::{HidError, HidResult};
[INFO] [stdout]   |                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::Light`
[INFO] [stdout]  --> src/busylight/error.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::Light;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num`
[INFO] [stdout]   --> src/luxafor/luxafor.rs:35:19
[INFO] [stdout]    |
[INFO] [stdout] 35 |             .map(|num| ())
[INFO] [stdout]    |                   ^^^ help: if this is intentional, prefix it with an underscore: `_num`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num`
[INFO] [stdout]   --> src/luxafor/luxafor.rs:42:19
[INFO] [stdout]    |
[INFO] [stdout] 42 |             .map(|num| ())
[INFO] [stdout]    |                   ^^^ help: if this is intentional, prefix it with an underscore: `_num`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num`
[INFO] [stdout]   --> src/luxafor/luxafor.rs:49:19
[INFO] [stdout]    |
[INFO] [stdout] 49 |             .map(|num| ())
[INFO] [stdout]    |                   ^^^ help: if this is intentional, prefix it with an underscore: `_num`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/busylight/busylight.rs:29:59
[INFO] [stdout]    |
[INFO] [stdout] 26 |     fn init_light(&'b self,
[INFO] [stdout]    |                    -- the lifetime is named here
[INFO] [stdout] 27 |                   device_info: &'b DeviceInfo,
[INFO] [stdout]    |                                 -- the lifetime is named here
[INFO] [stdout] 28 |                   hid_device: crate::Result<HidDevice>,
[INFO] [stdout] 29 |                   driver: LightType) -> crate::Result<Box<dyn Light + 'b>> {
[INFO] [stdout]    |                                                           ^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'b`
[INFO] [stdout]    |
[INFO] [stdout] 29 |                   driver: LightType) -> crate::Result<Box<dyn Light<'b> + 'b>> {
[INFO] [stdout]    |                                                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/busylight/busylight.rs:35:59
[INFO] [stdout]    |
[INFO] [stdout] 35 |     pub fn list_lights(&'b self) -> crate::Result<Vec<Box<dyn Light + 'b>>> {
[INFO] [stdout]    |                         -- the lifetime is named here     ^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'b`
[INFO] [stdout]    |
[INFO] [stdout] 35 |     pub fn list_lights(&'b self) -> crate::Result<Vec<Box<dyn Light<'b> + 'b>>> {
[INFO] [stdout]    |                                                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling busylight v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Range`
[INFO] [stdout]  --> src/bin.rs:3:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::ops::{Range, RangeInclusive};
[INFO] [stdout]   |                ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ColorChoice`
[INFO] [stdout]  --> src/bin.rs:5:24
[INFO] [stdout]   |
[INFO] [stdout] 5 | use clap::{ArgMatches, ColorChoice, Parser};
[INFO] [stdout]   |                        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Parser`
[INFO] [stdout]  --> src/bin.rs:5:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | use clap::{ArgMatches, ColorChoice, Parser};
[INFO] [stdout]   |                                     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Light`
[INFO] [stdout]  --> src/bin.rs:8:35
[INFO] [stdout]   |
[INFO] [stdout] 8 | use busylight::{Busylight, Color, Light};
[INFO] [stdout]   |                                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::LuxaforLight`
[INFO] [stdout]  --> src/busylight/mod.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::LuxaforLight;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Display` and `Formatter`
[INFO] [stdout]  --> src/busylight/error.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::{Display, Formatter};
[INFO] [stdout]   |                ^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HidResult`
[INFO] [stdout]  --> src/busylight/error.rs:2:24
[INFO] [stdout]   |
[INFO] [stdout] 2 | use hidapi::{HidError, HidResult};
[INFO] [stdout]   |                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::Light`
[INFO] [stdout]  --> src/busylight/error.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::Light;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]   --> src/bin.rs:61:16
[INFO] [stdout]    |
[INFO] [stdout] 61 | fn handle_list(args: &ArgMatches) -> busylight::Result<()> {
[INFO] [stdout]    |                ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]   --> src/bin.rs:77:15
[INFO] [stdout]    |
[INFO] [stdout] 77 | fn handle_off(args: &ArgMatches) -> busylight::Result<()>  {
[INFO] [stdout]    |               ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num`
[INFO] [stdout]   --> src/luxafor/luxafor.rs:35:19
[INFO] [stdout]    |
[INFO] [stdout] 35 |             .map(|num| ())
[INFO] [stdout]    |                   ^^^ help: if this is intentional, prefix it with an underscore: `_num`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num`
[INFO] [stdout]   --> src/luxafor/luxafor.rs:42:19
[INFO] [stdout]    |
[INFO] [stdout] 42 |             .map(|num| ())
[INFO] [stdout]    |                   ^^^ help: if this is intentional, prefix it with an underscore: `_num`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num`
[INFO] [stdout]   --> src/luxafor/luxafor.rs:49:19
[INFO] [stdout]    |
[INFO] [stdout] 49 |             .map(|num| ())
[INFO] [stdout]    |                   ^^^ help: if this is intentional, prefix it with an underscore: `_num`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/busylight/busylight.rs:29:59
[INFO] [stdout]    |
[INFO] [stdout] 26 |     fn init_light(&'b self,
[INFO] [stdout]    |                    -- the lifetime is named here
[INFO] [stdout] 27 |                   device_info: &'b DeviceInfo,
[INFO] [stdout]    |                                 -- the lifetime is named here
[INFO] [stdout] 28 |                   hid_device: crate::Result<HidDevice>,
[INFO] [stdout] 29 |                   driver: LightType) -> crate::Result<Box<dyn Light + 'b>> {
[INFO] [stdout]    |                                                           ^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'b`
[INFO] [stdout]    |
[INFO] [stdout] 29 |                   driver: LightType) -> crate::Result<Box<dyn Light<'b> + 'b>> {
[INFO] [stdout]    |                                                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/busylight/busylight.rs:35:59
[INFO] [stdout]    |
[INFO] [stdout] 35 |     pub fn list_lights(&'b self) -> crate::Result<Vec<Box<dyn Light + 'b>>> {
[INFO] [stdout]    |                         -- the lifetime is named here     ^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'b`
[INFO] [stdout]    |
[INFO] [stdout] 35 |     pub fn list_lights(&'b self) -> crate::Result<Vec<Box<dyn Light<'b> + 'b>>> {
[INFO] [stdout]    |                                                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.51s
[INFO] running `Command { std: "docker" "inspect" "e78aab1ad247adddc642d4b3ef18203b08f93dc196c4b2e2f44023a804892d09", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e78aab1ad247adddc642d4b3ef18203b08f93dc196c4b2e2f44023a804892d09" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `crate::LuxaforLight`
[INFO] [stderr]  --> src/busylight/mod.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use crate::LuxaforLight;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Display` and `Formatter`
[INFO] [stderr]  --> src/busylight/error.rs:1:16
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::fmt::{Display, Formatter};
[INFO] [stderr]   |                ^^^^^^^  ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `HidResult`
[INFO] [stderr]  --> src/busylight/error.rs:2:24
[INFO] [stderr]   |
[INFO] [stderr] 2 | use hidapi::{HidError, HidResult};
[INFO] [stderr]   |                        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::Light`
[INFO] [stderr]  --> src/busylight/error.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use crate::Light;
[INFO] [stderr]   |     ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `num`
[INFO] [stderr]   --> src/luxafor/luxafor.rs:35:19
[INFO] [stderr]    |
[INFO] [stderr] 35 |             .map(|num| ())
[INFO] [stderr]    |                   ^^^ help: if this is intentional, prefix it with an underscore: `_num`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `num`
[INFO] [stderr]   --> src/luxafor/luxafor.rs:42:19
[INFO] [stderr]    |
[INFO] [stderr] 42 |             .map(|num| ())
[INFO] [stderr]    |                   ^^^ help: if this is intentional, prefix it with an underscore: `_num`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `num`
[INFO] [stderr]   --> src/luxafor/luxafor.rs:49:19
[INFO] [stderr]    |
[INFO] [stderr] 49 |             .map(|num| ())
[INFO] [stderr]    |                   ^^^ help: if this is intentional, prefix it with an underscore: `_num`
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stderr]   --> src/busylight/busylight.rs:29:59
[INFO] [stderr]    |
[INFO] [stderr] 26 |     fn init_light(&'b self,
[INFO] [stderr]    |                    -- the lifetime is named here
[INFO] [stderr] 27 |                   device_info: &'b DeviceInfo,
[INFO] [stderr]    |                                 -- the lifetime is named here
[INFO] [stderr] 28 |                   hid_device: crate::Result<HidDevice>,
[INFO] [stderr] 29 |                   driver: LightType) -> crate::Result<Box<dyn Light + 'b>> {
[INFO] [stderr]    |                                                           ^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: consistently use `'b`
[INFO] [stderr]    |
[INFO] [stderr] 29 |                   driver: LightType) -> crate::Result<Box<dyn Light<'b> + 'b>> {
[INFO] [stderr]    |                                                                    ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stderr]   --> src/busylight/busylight.rs:35:59
[INFO] [stderr]    |
[INFO] [stderr] 35 |     pub fn list_lights(&'b self) -> crate::Result<Vec<Box<dyn Light + 'b>>> {
[INFO] [stderr]    |                         -- the lifetime is named here     ^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: consistently use `'b`
[INFO] [stderr]    |
[INFO] [stderr] 35 |     pub fn list_lights(&'b self) -> crate::Result<Vec<Box<dyn Light<'b> + 'b>>> {
[INFO] [stderr]    |                                                                    ++++
[INFO] [stderr] 
[INFO] [stderr] warning: `busylight` (lib) generated 9 warnings (run `cargo fix --lib -p busylight` to apply 9 suggestions)
[INFO] [stderr] warning: `busylight` (lib test) generated 9 warnings (9 duplicates)
[INFO] [stderr] warning: unused import: `Range`
[INFO] [stderr]  --> src/bin.rs:3:16
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::ops::{Range, RangeInclusive};
[INFO] [stderr]   |                ^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `ColorChoice`
[INFO] [stderr]  --> src/bin.rs:5:24
[INFO] [stderr]   |
[INFO] [stderr] 5 | use clap::{ArgMatches, ColorChoice, Parser};
[INFO] [stderr]   |                        ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Parser`
[INFO] [stderr]  --> src/bin.rs:5:37
[INFO] [stderr]   |
[INFO] [stderr] 5 | use clap::{ArgMatches, ColorChoice, Parser};
[INFO] [stderr]   |                                     ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Light`
[INFO] [stderr]  --> src/bin.rs:8:35
[INFO] [stderr]   |
[INFO] [stderr] 8 | use busylight::{Busylight, Color, Light};
[INFO] [stderr]   |                                   ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `args`
[INFO] [stderr]   --> src/bin.rs:61:16
[INFO] [stderr]    |
[INFO] [stderr] 61 | fn handle_list(args: &ArgMatches) -> busylight::Result<()> {
[INFO] [stderr]    |                ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `args`
[INFO] [stderr]   --> src/bin.rs:77:15
[INFO] [stderr]    |
[INFO] [stderr] 77 | fn handle_off(args: &ArgMatches) -> busylight::Result<()>  {
[INFO] [stderr]    |               ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stderr] 
[INFO] [stderr] warning: `busylight` (bin "busylight_bin" test) generated 6 warnings (run `cargo fix --bin "busylight_bin" -p busylight --tests` to apply 4 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/busylight-1c807ebef45353ac)
[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/bin.rs (/opt/rustwide/target/debug/deps/busylight_bin-ee62339c22146689)
[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 busylight
[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] running `Command { std: "docker" "inspect" "e78aab1ad247adddc642d4b3ef18203b08f93dc196c4b2e2f44023a804892d09", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e78aab1ad247adddc642d4b3ef18203b08f93dc196c4b2e2f44023a804892d09", kill_on_drop: false }`
[INFO] [stdout] e78aab1ad247adddc642d4b3ef18203b08f93dc196c4b2e2f44023a804892d09
