[INFO] cloning repository https://github.com/marisusis/hass-dmx-usb
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/marisusis/hass-dmx-usb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarisusis%2Fhass-dmx-usb", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarisusis%2Fhass-dmx-usb'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 79ac325a176d6ece64202699ffd99112ab0f5a43
[INFO] checking marisusis/hass-dmx-usb against 65b20a97de33e9e59992793a144aef2950c48c76 for pr-154715
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarisusis%2Fhass-dmx-usb" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/marisusis/hass-dmx-usb
[INFO] finished tweaking git repo https://github.com/marisusis/hass-dmx-usb
[INFO] tweaked toml for git repo https://github.com/marisusis/hass-dmx-usb written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/marisusis/hass-dmx-usb on toolchain 65b20a97de33e9e59992793a144aef2950c48c76
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65b20a97de33e9e59992793a144aef2950c48c76" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/marisusis/hass-dmx-usb 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" "+65b20a97de33e9e59992793a144aef2950c48c76" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] d04a00a7ce3808cf13cf072c93e46da167f2dd5c7220c9e01a0307e8a1258b05
[INFO] running `Command { std: "docker" "start" "d04a00a7ce3808cf13cf072c93e46da167f2dd5c7220c9e01a0307e8a1258b05", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d04a00a7ce3808cf13cf072c93e46da167f2dd5c7220c9e01a0307e8a1258b05", 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" "d04a00a7ce3808cf13cf072c93e46da167f2dd5c7220c9e01a0307e8a1258b05" "/opt/rustwide/cargo-home/bin/cargo" "+65b20a97de33e9e59992793a144aef2950c48c76" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d04a00a7ce3808cf13cf072c93e46da167f2dd5c7220c9e01a0307e8a1258b05", 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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d04a00a7ce3808cf13cf072c93e46da167f2dd5c7220c9e01a0307e8a1258b05" "/opt/rustwide/cargo-home/bin/cargo" "+65b20a97de33e9e59992793a144aef2950c48c76" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]     Checking memchr v2.7.5
[INFO] [stderr]     Checking cfg-if v1.0.1
[INFO] [stderr]     Checking log v0.4.27
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling cc v1.2.27
[INFO] [stderr]     Checking regex-syntax v0.8.5
[INFO] [stderr]     Checking pin-project-lite v0.2.16
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling libftd2xx-ffi v0.8.7
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]     Checking slab v0.4.10
[INFO] [stderr]    Compiling nix v0.30.1
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling openssl-src v300.5.1+3.5.1
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling cmake v0.1.54
[INFO] [stderr]     Checking anstyle-parse v0.2.7
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]     Checking hashbrown v0.15.4
[INFO] [stderr]     Checking anstyle-query v1.1.3
[INFO] [stderr]     Checking colorchoice v1.0.4
[INFO] [stderr]     Checking anstyle v1.0.11
[INFO] [stderr]     Checking concurrent-queue v2.5.0
[INFO] [stderr]     Checking termcolor v1.4.1
[INFO] [stderr]     Checking anstream v0.6.19
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]     Checking winnow v0.7.11
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling paho-mqtt-sys v0.10.3
[INFO] [stderr]    Compiling anyhow v1.0.98
[INFO] [stderr]     Checking indexmap v2.9.0
[INFO] [stderr]     Checking jiff v0.2.15
[INFO] [stderr]     Checking bytes v1.10.1
[INFO] [stderr]     Checking parking_lot v0.12.4
[INFO] [stderr]     Checking signal-hook-registry v1.4.5
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]     Checking is-terminal v0.4.16
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking mio v1.0.4
[INFO] [stderr]     Checking bitflags v2.9.1
[INFO] [stderr]     Checking env_filter v0.1.3
[INFO] [stderr]     Checking humantime v2.2.0
[INFO] [stderr]     Checking event-listener v2.5.3
[INFO] [stderr]     Checking colored v2.2.0
[INFO] [stderr]     Checking async-channel v1.9.0
[INFO] [stderr]     Checking env_logger v0.10.2
[INFO] [stderr]     Checking libftd2xx v0.31.0
[INFO] [stderr]     Checking crossbeam-channel v0.5.15
[INFO] [stderr]     Checking ftdi-mpsse v0.1.2
[INFO] [stderr]     Checking itoa v1.0.15
[INFO] [stderr]     Checking futures-timer v3.0.3
[INFO] [stderr]     Checking ryu v1.0.20
[INFO] [stderr]     Checking libftd2xx v0.33.1
[INFO] [stderr]     Checking pretty_env_logger v0.5.0
[INFO] [stderr]     Checking json v0.12.4
[INFO] [stderr]     Checking enttecopendmx v0.1.1
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]     Checking ctrlc v3.4.7
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]     Checking env_logger v0.11.8
[INFO] [stderr]     Checking tokio v1.45.1
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking colog v1.3.0
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling serde_with_macros v3.13.0
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking tokio-util v0.7.16
[INFO] [stderr]     Checking toml_datetime v0.6.11
[INFO] [stderr]     Checking serde_spanned v0.6.9
[INFO] [stderr]     Checking serde_with v3.13.0
[INFO] [stderr]     Checking toml_edit v0.22.27
[INFO] [stderr]     Checking toml v0.8.23
[INFO] [stderr]     Checking paho-mqtt v0.13.3
[INFO] [stderr]     Checking dmx3 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `enttecopendmx`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use enttecopendmx;
[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: `paho_mqtt::DisconnectOptions`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use paho_mqtt::DisconnectOptions;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::Deserialize`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use serde::Deserialize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::sync::Mutex`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use tokio::sync::Mutex;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::collections::HashMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::hash::Hash`
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::hash::Hash;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter::Map`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::iter::Map;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use std::str::FromStr;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]   --> src/main.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use std::sync::Arc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::RwLock`
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use std::sync::RwLock;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::mpsc`
[INFO] [stdout]   --> src/main.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use std::sync::mpsc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]   --> src/main.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use std::thread;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `trace` and `warn`
[INFO] [stdout]   --> src/main.rs:25:31
[INFO] [stdout]    |
[INFO] [stdout] 25 | use log::{debug, error, info, trace, warn};
[INFO] [stdout]    |                               ^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error::Error`
[INFO] [stdout]  --> src/dmx.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{error::Error, fmt::Display, sync::{Arc}, thread};
[INFO] [stdout]   |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]  --> src/dmx.rs:4:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | use log::{debug, info};
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `FTDI_DMX_Driver` should have an upper camel case name
[INFO] [stdout]   --> src/dmx.rs:13:19
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub(crate) struct FTDI_DMX_Driver {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FtdiDmxDriver`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `dmx::DMXDriver`
[INFO] [stdout]   --> src/main.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | use dmx::DMXDriver;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `LightChannelMapping` and `LightSpecification`
[INFO] [stdout]   --> src/main.rs:31:22
[INFO] [stdout]    |
[INFO] [stdout] 31 | use config::{Config, LightChannelMapping, LightSpecification};
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::control::ControlMessage`
[INFO] [stdout]   --> src/main.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | use crate::control::ControlMessage;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::hass::HassStatusMessage`
[INFO] [stdout]   --> src/main.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | use crate::hass::HassStatusMessage;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::hass::State`
[INFO] [stdout]   --> src/main.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 | use crate::hass::State;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::light::DMXLight`
[INFO] [stdout]   --> src/main.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 40 | use crate::light::DMXLight;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RGBWDimmerLight`
[INFO] [stdout]  --> src/light.rs:3:22
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub use rgbwdimmer::{RGBWDimmerLight, RGBWDimmerMapping};
[INFO] [stdout]   |                      ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RGBDimmerLight`
[INFO] [stdout]  --> src/light.rs:4:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use rgbdimmer::{RGBDimmerLight, RGBDimmerMapping};
[INFO] [stdout]   |                     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `config::LightChannelMapping`
[INFO] [stdout]  --> src/light.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::{config::LightChannelMapping, hass};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `hash::Hash`
[INFO] [stdout]  --> src/control.rs:1:33
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::HashMap, hash::Hash, sync::Arc};
[INFO] [stdout]   |                                 ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `debug`
[INFO] [stdout]  --> src/control.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | use log::{debug, error, info};
[INFO] [stdout]   |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ColorMode`
[INFO] [stdout]  --> src/control.rs:7:97
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::{ config::LightSpecification, dmx::{DMXController, FTDIDMXController}, hass::{Color, ColorMode, HomeAssistantLightState, S...
[INFO] [stdout]   |                                                                                                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `enttecopendmx`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use enttecopendmx;
[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: `paho_mqtt::DisconnectOptions`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use paho_mqtt::DisconnectOptions;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::Deserialize`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use serde::Deserialize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::sync::Mutex`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use tokio::sync::Mutex;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::collections::HashMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::hash::Hash`
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::hash::Hash;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter::Map`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::iter::Map;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use std::str::FromStr;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]   --> src/main.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use std::sync::Arc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::RwLock`
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use std::sync::RwLock;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::mpsc`
[INFO] [stdout]   --> src/main.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use std::sync::mpsc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]   --> src/main.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use std::thread;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `trace` and `warn`
[INFO] [stdout]   --> src/main.rs:25:31
[INFO] [stdout]    |
[INFO] [stdout] 25 | use log::{debug, error, info, trace, warn};
[INFO] [stdout]    |                               ^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error::Error`
[INFO] [stdout]  --> src/dmx.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{error::Error, fmt::Display, sync::{Arc}, thread};
[INFO] [stdout]   |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]  --> src/dmx.rs:4:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | use log::{debug, info};
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `FTDI_DMX_Driver` should have an upper camel case name
[INFO] [stdout]   --> src/dmx.rs:13:19
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub(crate) struct FTDI_DMX_Driver {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FtdiDmxDriver`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `dmx::DMXDriver`
[INFO] [stdout]   --> src/main.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | use dmx::DMXDriver;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `LightChannelMapping` and `LightSpecification`
[INFO] [stdout]   --> src/main.rs:31:22
[INFO] [stdout]    |
[INFO] [stdout] 31 | use config::{Config, LightChannelMapping, LightSpecification};
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::control::ControlMessage`
[INFO] [stdout]   --> src/main.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | use crate::control::ControlMessage;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::hass::HassStatusMessage`
[INFO] [stdout]   --> src/main.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | use crate::hass::HassStatusMessage;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::hass::State`
[INFO] [stdout]   --> src/main.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 | use crate::hass::State;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::light::DMXLight`
[INFO] [stdout]   --> src/main.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 40 | use crate::light::DMXLight;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RGBWDimmerLight`
[INFO] [stdout]  --> src/light.rs:3:22
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub use rgbwdimmer::{RGBWDimmerLight, RGBWDimmerMapping};
[INFO] [stdout]   |                      ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RGBDimmerLight`
[INFO] [stdout]  --> src/light.rs:4:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use rgbdimmer::{RGBDimmerLight, RGBDimmerMapping};
[INFO] [stdout]   |                     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `config::LightChannelMapping`
[INFO] [stdout]  --> src/light.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::{config::LightChannelMapping, hass};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `hash::Hash`
[INFO] [stdout]  --> src/control.rs:1:33
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::HashMap, hash::Hash, sync::Arc};
[INFO] [stdout]   |                                 ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `debug`
[INFO] [stdout]  --> src/control.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | use log::{debug, error, info};
[INFO] [stdout]   |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ColorMode`
[INFO] [stdout]  --> src/control.rs:7:97
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::{ config::LightSpecification, dmx::{DMXController, FTDIDMXController}, hass::{Color, ColorMode, HomeAssistantLightState, S...
[INFO] [stdout]   |                                                                                                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `now` is assigned to, but never used
[INFO] [stdout]    --> src/dmx.rs:115:17
[INFO] [stdout]     |
[INFO] [stdout] 115 |             let mut now = std::time::Instant::now();
[INFO] [stdout]     |                 ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_now` instead
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `now` is never read
[INFO] [stdout]    --> src/dmx.rs:129:25
[INFO] [stdout]     |
[INFO] [stdout] 129 |                         now = std::time::Instant::now();
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `now` is assigned to, but never used
[INFO] [stdout]    --> src/dmx.rs:115:17
[INFO] [stdout]     |
[INFO] [stdout] 115 |             let mut now = std::time::Instant::now();
[INFO] [stdout]     |                 ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_now` instead
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `now` is never read
[INFO] [stdout]    --> src/dmx.rs:129:25
[INFO] [stdout]     |
[INFO] [stdout] 129 |                         now = std::time::Instant::now();
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/control.rs:176:17
[INFO] [stdout]     |
[INFO] [stdout] 176 |             let mut a = 0u8;
[INFO] [stdout]     |                 ----^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> src/control.rs:167:22
[INFO] [stdout]     |
[INFO] [stdout] 167 |                 for (id, light) in lights.iter() {
[INFO] [stdout]     |                      ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `now` is assigned to, but never used
[INFO] [stdout]    --> src/control.rs:174:17
[INFO] [stdout]     |
[INFO] [stdout] 174 |             let mut now = std::time::Instant::now();
[INFO] [stdout]     |                 ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_now` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/control.rs:176:17
[INFO] [stdout]     |
[INFO] [stdout] 176 |             let mut a = 0u8;
[INFO] [stdout]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> src/control.rs:226:30
[INFO] [stdout]     |
[INFO] [stdout] 226 |                         for (id, light) in lights.iter() {
[INFO] [stdout]     |                              ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `light`
[INFO] [stdout]    --> src/control.rs:226:34
[INFO] [stdout]     |
[INFO] [stdout] 226 |                         for (id, light) in lights.iter() {
[INFO] [stdout]     |                                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_light`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `now` is never read
[INFO] [stdout]    --> src/control.rs:180:17
[INFO] [stdout]     |
[INFO] [stdout] 180 |                 now = std::time::Instant::now();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:90:9
[INFO] [stdout]    |
[INFO] [stdout] 90 |     let mut dmx = FTDIDMXController::new(ftdi_driver);
[INFO] [stdout]    |         ----^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `response`
[INFO] [stdout]    --> src/main.rs:104:9
[INFO] [stdout]     |
[INFO] [stdout] 104 |     let response = cli.connect(builder.finalize()).await?;
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `update_one` is never used
[INFO] [stdout]   --> src/dmx.rs:75:14
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub trait DMXController {
[INFO] [stdout]    |           ------------- method in this trait
[INFO] [stdout] 74 |     fn start(&mut self) -> Result<(), DMXControllerError>;
[INFO] [stdout] 75 |     async fn update_one(&self, channel: u16, value: u8) -> Result<(), DMXControllerError>;
[INFO] [stdout]    |              ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `host` is never read
[INFO] [stdout]   --> src/config.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct MQTTConfig {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 12 |     pub host: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MQTTConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `off_frame_values` is never used
[INFO] [stdout]   --> src/config.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 46 | impl LightChannelMapping {
[INFO] [stdout]    | ------------------------ method in this implementation
[INFO] [stdout] 47 |     pub fn off_frame_values(&self) -> Vec<(u16, u8)> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `LightType` is never used
[INFO] [stdout]  --> src/light.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub enum LightType {
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `DMXLight` is never used
[INFO] [stdout]   --> src/light.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub trait DMXLight {
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RGBWDimmerState` is never constructed
[INFO] [stdout]   --> src/light/rgbwdimmer.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | struct RGBWDimmerState {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RGBWDimmerLight` is never constructed
[INFO] [stdout]   --> src/light/rgbwdimmer.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct RGBWDimmerLight {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/light/rgbwdimmer.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | impl RGBWDimmerLight {
[INFO] [stdout]    | -------------------- associated function in this implementation
[INFO] [stdout] 44 |     pub fn new(mapping: RGBWDimmerMapping) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RGBDimmerState` is never constructed
[INFO] [stdout]   --> src/light/rgbdimmer.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct RGBDimmerState {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RGBDimmerLight` is never constructed
[INFO] [stdout]   --> src/light/rgbdimmer.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct RGBDimmerLight {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/light/rgbdimmer.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 40 | impl RGBDimmerLight {
[INFO] [stdout]    | ------------------- associated function in this implementation
[INFO] [stdout] 41 |     pub fn new(mapping: RGBDimmerMapping) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `HassStatus` is never used
[INFO] [stdout]  --> src/hass.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub enum HassStatus {
[INFO] [stdout]   |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HassStatusMessage` is never constructed
[INFO] [stdout]   --> src/hass.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct HassStatusMessage {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `TurningOn` and `TurningOff` are never constructed
[INFO] [stdout]   --> src/control.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | enum LightState {
[INFO] [stdout]    |      ---------- variants in this enum
[INFO] [stdout] 16 |     Normal,
[INFO] [stdout] 17 |     TurningOn,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 18 |     TurningOff,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `add_light` is never used
[INFO] [stdout]    --> src/control.rs:105:18
[INFO] [stdout]     |
[INFO] [stdout]  90 | impl LightController{
[INFO] [stdout]     | -------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 105 |     pub async fn add_light(&mut self, light: LightSpecification) -> anyhow::Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/control.rs:176:17
[INFO] [stdout]     |
[INFO] [stdout] 176 |             let mut a = 0u8;
[INFO] [stdout]     |                 ----^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> src/control.rs:167:22
[INFO] [stdout]     |
[INFO] [stdout] 167 |                 for (id, light) in lights.iter() {
[INFO] [stdout]     |                      ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `now` is assigned to, but never used
[INFO] [stdout]    --> src/control.rs:174:17
[INFO] [stdout]     |
[INFO] [stdout] 174 |             let mut now = std::time::Instant::now();
[INFO] [stdout]     |                 ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_now` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/control.rs:176:17
[INFO] [stdout]     |
[INFO] [stdout] 176 |             let mut a = 0u8;
[INFO] [stdout]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> src/control.rs:226:30
[INFO] [stdout]     |
[INFO] [stdout] 226 |                         for (id, light) in lights.iter() {
[INFO] [stdout]     |                              ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `light`
[INFO] [stdout]    --> src/control.rs:226:34
[INFO] [stdout]     |
[INFO] [stdout] 226 |                         for (id, light) in lights.iter() {
[INFO] [stdout]     |                                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_light`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `now` is never read
[INFO] [stdout]    --> src/control.rs:180:17
[INFO] [stdout]     |
[INFO] [stdout] 180 |                 now = std::time::Instant::now();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:90:9
[INFO] [stdout]    |
[INFO] [stdout] 90 |     let mut dmx = FTDIDMXController::new(ftdi_driver);
[INFO] [stdout]    |         ----^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `response`
[INFO] [stdout]    --> src/main.rs:104:9
[INFO] [stdout]     |
[INFO] [stdout] 104 |     let response = cli.connect(builder.finalize()).await?;
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `update_one` is never used
[INFO] [stdout]   --> src/dmx.rs:75:14
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub trait DMXController {
[INFO] [stdout]    |           ------------- method in this trait
[INFO] [stdout] 74 |     fn start(&mut self) -> Result<(), DMXControllerError>;
[INFO] [stdout] 75 |     async fn update_one(&self, channel: u16, value: u8) -> Result<(), DMXControllerError>;
[INFO] [stdout]    |              ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `host` is never read
[INFO] [stdout]   --> src/config.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct MQTTConfig {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 12 |     pub host: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MQTTConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `off_frame_values` is never used
[INFO] [stdout]   --> src/config.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 46 | impl LightChannelMapping {
[INFO] [stdout]    | ------------------------ method in this implementation
[INFO] [stdout] 47 |     pub fn off_frame_values(&self) -> Vec<(u16, u8)> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `LightType` is never used
[INFO] [stdout]  --> src/light.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub enum LightType {
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `DMXLight` is never used
[INFO] [stdout]   --> src/light.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub trait DMXLight {
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RGBWDimmerState` is never constructed
[INFO] [stdout]   --> src/light/rgbwdimmer.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | struct RGBWDimmerState {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RGBWDimmerLight` is never constructed
[INFO] [stdout]   --> src/light/rgbwdimmer.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct RGBWDimmerLight {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/light/rgbwdimmer.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | impl RGBWDimmerLight {
[INFO] [stdout]    | -------------------- associated function in this implementation
[INFO] [stdout] 44 |     pub fn new(mapping: RGBWDimmerMapping) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RGBDimmerState` is never constructed
[INFO] [stdout]   --> src/light/rgbdimmer.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct RGBDimmerState {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RGBDimmerLight` is never constructed
[INFO] [stdout]   --> src/light/rgbdimmer.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct RGBDimmerLight {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/light/rgbdimmer.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 40 | impl RGBDimmerLight {
[INFO] [stdout]    | ------------------- associated function in this implementation
[INFO] [stdout] 41 |     pub fn new(mapping: RGBDimmerMapping) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `HassStatus` is never used
[INFO] [stdout]  --> src/hass.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub enum HassStatus {
[INFO] [stdout]   |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HassStatusMessage` is never constructed
[INFO] [stdout]   --> src/hass.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct HassStatusMessage {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `TurningOn` and `TurningOff` are never constructed
[INFO] [stdout]   --> src/control.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | enum LightState {
[INFO] [stdout]    |      ---------- variants in this enum
[INFO] [stdout] 16 |     Normal,
[INFO] [stdout] 17 |     TurningOn,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 18 |     TurningOff,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `add_light` is never used
[INFO] [stdout]    --> src/control.rs:105:18
[INFO] [stdout]     |
[INFO] [stdout]  90 | impl LightController{
[INFO] [stdout]     | -------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 105 |     pub async fn add_light(&mut self, light: LightSpecification) -> anyhow::Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6m 19s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nix v0.30.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "d04a00a7ce3808cf13cf072c93e46da167f2dd5c7220c9e01a0307e8a1258b05", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d04a00a7ce3808cf13cf072c93e46da167f2dd5c7220c9e01a0307e8a1258b05", kill_on_drop: false }`
[INFO] [stdout] d04a00a7ce3808cf13cf072c93e46da167f2dd5c7220c9e01a0307e8a1258b05
