[INFO] cloning repository https://github.com/Zeebrow/twitchcat-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Zeebrow/twitchcat-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZeebrow%2Ftwitchcat-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZeebrow%2Ftwitchcat-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 25c5aa1b48be3ede42b79f1199cdde22f3af5013
[INFO] checking Zeebrow/twitchcat-rust against 1.95.0 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZeebrow%2Ftwitchcat-rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Zeebrow/twitchcat-rust
[INFO] finished tweaking git repo https://github.com/Zeebrow/twitchcat-rust
[INFO] tweaked toml for git repo https://github.com/Zeebrow/twitchcat-rust written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Zeebrow/twitchcat-rust on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Zeebrow/twitchcat-rust 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.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded config-rs v0.1.3
[INFO] [stderr]   Downloaded timer v0.2.0
[INFO] [stderr]   Downloaded async-dup v1.2.2
[INFO] [stderr]   Downloaded simple-mutex v1.1.5
[INFO] [stderr]   Downloaded bpaf_derive v0.3.5
[INFO] [stderr]   Downloaded async-net v1.7.0
[INFO] [stderr]   Downloaded async-tls v0.10.0
[INFO] [stderr]   Downloaded bpaf v0.7.10
[INFO] [stderr]   Downloaded smol v1.3.0
[INFO] [stderr]   Downloaded twitchchat v0.14.8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f8952b92c806f14e021dd6d21fba500859a38092116c98537cdd73f4d5371996
[INFO] running `Command { std: "docker" "start" "-a" "f8952b92c806f14e021dd6d21fba500859a38092116c98537cdd73f4d5371996", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f8952b92c806f14e021dd6d21fba500859a38092116c98537cdd73f4d5371996", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f8952b92c806f14e021dd6d21fba500859a38092116c98537cdd73f4d5371996", kill_on_drop: false }`
[INFO] [stdout] f8952b92c806f14e021dd6d21fba500859a38092116c98537cdd73f4d5371996
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] daa93a01aa111dd30cc35e38447715a0edfe23b001595dfdfee5ce373418aa2e
[INFO] running `Command { std: "docker" "start" "-a" "daa93a01aa111dd30cc35e38447715a0edfe23b001595dfdfee5ce373418aa2e", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.142
[INFO] [stderr]    Compiling crossbeam-utils v0.8.15
[INFO] [stderr]     Checking parking v2.1.0
[INFO] [stderr]    Compiling rustix v0.37.14
[INFO] [stderr]     Checking linux-raw-sys v0.3.4
[INFO] [stderr]     Checking once_cell v1.17.1
[INFO] [stderr]    Compiling serde_derive v1.0.160
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling serde v1.0.160
[INFO] [stderr]     Checking atomic-waker v1.1.1
[INFO] [stderr]    Compiling syn v2.0.15
[INFO] [stderr]    Compiling async-process v1.7.0
[INFO] [stderr]    Compiling async-fs v1.6.0
[INFO] [stderr]    Compiling async-net v1.7.0
[INFO] [stderr]     Checking aho-corasick v1.0.1
[INFO] [stderr]     Checking simple-mutex v1.1.5
[INFO] [stderr]     Checking futures-lite v1.13.0
[INFO] [stderr]     Checking iana-time-zone v0.1.56
[INFO] [stderr]     Checking regex-syntax v0.7.1
[INFO] [stderr]     Checking unsafe-libyaml v0.2.8
[INFO] [stderr]     Checking futures-timer v3.0.2
[INFO] [stderr]     Checking async-dup v1.2.2
[INFO] [stderr]     Checking config-rs v0.1.3
[INFO] [stderr]     Checking concurrent-queue v2.2.0
[INFO] [stderr]     Checking async-channel v1.8.0
[INFO] [stderr]     Checking num-integer v0.1.45
[INFO] [stderr]     Checking blocking v1.3.1
[INFO] [stderr]     Checking async-executor v1.5.1
[INFO] [stderr]     Checking io-lifetimes v1.0.10
[INFO] [stderr]     Checking ring v0.16.20
[INFO] [stderr]     Checking socket2 v0.4.9
[INFO] [stderr]     Checking polling v2.8.0
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]     Checking getrandom v0.2.9
[INFO] [stderr]     Checking time v0.1.45
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking signal-hook v0.3.15
[INFO] [stderr]     Checking regex v1.8.1
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking webpki v0.21.4
[INFO] [stderr]     Checking sct v0.6.1
[INFO] [stderr]     Checking webpki-roots v0.20.0
[INFO] [stderr]     Checking rustls v0.18.1
[INFO] [stderr]     Checking async-io v1.13.0
[INFO] [stderr]     Checking is-terminal v0.4.7
[INFO] [stderr]     Checking env_logger v0.10.0
[INFO] [stderr]     Checking smol v1.3.0
[INFO] [stderr]    Compiling bpaf_derive v0.3.5
[INFO] [stderr]     Checking async-tls v0.10.0
[INFO] [stderr]     Checking bpaf v0.7.10
[INFO] [stderr]     Checking twitchchat v0.14.8
[INFO] [stderr]     Checking chrono v0.4.24
[INFO] [stderr]     Checking serde_yaml v0.9.21
[INFO] [stderr]     Checking timer v0.2.0
[INFO] [stderr]     Checking twitchcat-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `config_rs::conf::parser::conf`
[INFO] [stdout]  --> src/config/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use config_rs::conf::parser::conf;
[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: `crate::bot::Bot`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::bot::Bot;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::env;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `config_rs::conf::parser::conf`
[INFO] [stdout]  --> src/config/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use config_rs::conf::parser::conf;
[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: `crate::bot::Bot`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::bot::Bot;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::env;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bot/mod.rs:160:9
[INFO] [stdout]     |
[INFO] [stdout] 160 |     let mut writer = runner.writer();
[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: variable does not need to be mutable
[INFO] [stdout]    --> src/bot/mod.rs:160:9
[INFO] [stdout]     |
[INFO] [stdout] 160 |     let mut writer = runner.writer();
[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: unreachable statement
[INFO] [stdout]   --> src/main.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 34 |     panic!("debug");
[INFO] [stdout]    |     --------------- any code following this expression is unreachable
[INFO] [stdout] ...
[INFO] [stdout] 37 |     let app_config = TwitchBotConfig::get_config();
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::__private::de::IdentifierDeserializer`
[INFO] [stdout]  --> src/bot/mod.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde::__private::de::IdentifierDeserializer;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/main.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 34 |     panic!("debug");
[INFO] [stdout]    |     --------------- any code following this expression is unreachable
[INFO] [stdout] ...
[INFO] [stdout] 37 |     let app_config = TwitchBotConfig::get_config();
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::__private::de::IdentifierDeserializer`
[INFO] [stdout]  --> src/bot/mod.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde::__private::de::IdentifierDeserializer;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bot/mod.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 35 |         let mut initial_msg_rate = Box::new(0);
[INFO] [stdout]    |             ----^^^^^^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `chan_color` is never read
[INFO] [stdout]   --> src/bot/mod.rs:33:37
[INFO] [stdout]    |
[INFO] [stdout] 33 |         let mut chan_color: Color = Color::from_str("#FFFFFF").unwrap();
[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/bot/mod.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 35 |         let mut initial_msg_rate = Box::new(0);
[INFO] [stdout]    |             ----^^^^^^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `chan_color` is never read
[INFO] [stdout]   --> src/bot/mod.rs:33:37
[INFO] [stdout]    |
[INFO] [stdout] 33 |         let mut chan_color: Color = Color::from_str("#FFFFFF").unwrap();
[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: unused variable: `rx`
[INFO] [stdout]    --> src/bot/mod.rs:110:18
[INFO] [stdout]     |
[INFO] [stdout] 110 |         let (tx, rx) = mpsc::channel();
[INFO] [stdout]     |                  ^^ help: if this is intentional, prefix it with an underscore: `_rx`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]    --> src/bot/mod.rs:113:13
[INFO] [stdout]     |
[INFO] [stdout] 113 |         let res = smol::block_on(async move {run(&self.user_config, &self.channels, tx).await });
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `writer`
[INFO] [stdout]    --> src/bot/mod.rs:160:9
[INFO] [stdout]     |
[INFO] [stdout] 160 |     let mut writer = runner.writer();
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rx`
[INFO] [stdout]    --> src/bot/mod.rs:110:18
[INFO] [stdout]     |
[INFO] [stdout] 110 |         let (tx, rx) = mpsc::channel();
[INFO] [stdout]     |                  ^^ help: if this is intentional, prefix it with an underscore: `_rx`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]    --> src/bot/mod.rs:113:13
[INFO] [stdout]     |
[INFO] [stdout] 113 |         let res = smol::block_on(async move {run(&self.user_config, &self.channels, tx).await });
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `writer`
[INFO] [stdout]    --> src/bot/mod.rs:160:9
[INFO] [stdout]     |
[INFO] [stdout] 160 |     let mut writer = runner.writer();
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/controller/mod.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let mut cfg = twitchchat::twitch::UserConfig::builder().anonymous().enable_all_capabilities().build().unwrap();
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cfg`
[INFO] [stdout]   --> src/controller/mod.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let mut cfg = twitchchat::twitch::UserConfig::builder().anonymous().enable_all_capabilities().build().unwrap();
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cfg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `msg_rate` is never read
[INFO] [stdout]   --> src/bot/mod.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct TwitchChannel {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub msg_rate: Box<i8>, /* per-second*/
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TwitchChannel` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `comms_in`, `comms_out`, and `running` are never read
[INFO] [stdout]   --> src/bot/mod.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub struct Bot {
[INFO] [stdout]    |            --- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 55 |     comms_in: Receiver<String>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 56 |     comms_out: Sender<String>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 57 |     running: bool,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Bot` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_config` and `set_channels` are never used
[INFO] [stdout]   --> src/bot/mod.rs:75:12
[INFO] [stdout]    |
[INFO] [stdout] 60 | impl Bot {
[INFO] [stdout]    | -------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 75 |     pub fn set_config(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 84 |     pub fn set_channels(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `term_string` is never used
[INFO] [stdout]    --> src/bot/mod.rs:197:8
[INFO] [stdout]     |
[INFO] [stdout] 197 | pub fn term_string(chan_list: &Vec<TwitchChannel>, pm: &Privmsg) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_env` is never used
[INFO] [stdout]    --> src/bot/mod.rs:212:4
[INFO] [stdout]     |
[INFO] [stdout] 212 | fn get_env(key: &str) -> anyhow::Result<String> {
[INFO] [stdout]     |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_channels` is never used
[INFO] [stdout]    --> src/bot/mod.rs:216:4
[INFO] [stdout]     |
[INFO] [stdout] 216 | fn get_channels() -> anyhow::Result<Vec<TwitchChannel>> {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_username` is never used
[INFO] [stdout]    --> src/bot/mod.rs:226:4
[INFO] [stdout]     |
[INFO] [stdout] 226 | fn get_username() -> anyhow::Result<String> {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_token` is never used
[INFO] [stdout]    --> src/bot/mod.rs:230:4
[INFO] [stdout]     |
[INFO] [stdout] 230 | fn get_token() -> anyhow::Result<String> {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TWITCH_CHANNELS_ENV_VAR` is never used
[INFO] [stdout]   --> src/config/mod.rs:21:7
[INFO] [stdout]    |
[INFO] [stdout] 21 | const TWITCH_CHANNELS_ENV_VAR: &str = "TWITCH_CHANNELS";
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `token` is never read
[INFO] [stdout]   --> src/config/mod.rs:70:9
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub struct Credentials {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 70 |     pub token: String,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Credentials` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_anonymous` is never used
[INFO] [stdout]   --> src/config/mod.rs:73:8
[INFO] [stdout]    |
[INFO] [stdout] 72 | impl Credentials {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 73 |     fn new_anonymous() -> Credentials {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_twitch_channel` is never used
[INFO] [stdout]   --> src/config/mod.rs:98:12
[INFO] [stdout]    |
[INFO] [stdout] 97 | impl ConfigChannel {
[INFO] [stdout]    | ------------------ method in this implementation
[INFO] [stdout] 98 |     pub fn to_twitch_channel(self) -> TwitchChannel {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UnknownCommandError` is never constructed
[INFO] [stdout]   --> src/controller/mod.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct UnknownCommandError{}
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `comm_in` is never read
[INFO] [stdout]   --> src/controller/mod.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub struct BotController {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 54 |     pub comm_in: Receiver<String>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type
[INFO] [stdout]   --> src/bot/mod.rs:40:81
[INFO] [stdout]    |
[INFO] [stdout] 40 |             chan_color = Color::from_str(color_options.choose(&mut rng).unwrap().clone()).unwrap();
[INFO] [stdout]    |                                                                                 ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(suspicious_double_ref_op)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/controller/mod.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let mut cfg = twitchchat::twitch::UserConfig::builder().anonymous().enable_all_capabilities().build().unwrap();
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cfg`
[INFO] [stdout]   --> src/controller/mod.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let mut cfg = twitchchat::twitch::UserConfig::builder().anonymous().enable_all_capabilities().build().unwrap();
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cfg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `msg_rate` is never read
[INFO] [stdout]   --> src/bot/mod.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct TwitchChannel {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub msg_rate: Box<i8>, /* per-second*/
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TwitchChannel` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `comms_in`, `comms_out`, and `running` are never read
[INFO] [stdout]   --> src/bot/mod.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub struct Bot {
[INFO] [stdout]    |            --- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 55 |     comms_in: Receiver<String>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 56 |     comms_out: Sender<String>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 57 |     running: bool,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Bot` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_config` and `set_channels` are never used
[INFO] [stdout]   --> src/bot/mod.rs:75:12
[INFO] [stdout]    |
[INFO] [stdout] 60 | impl Bot {
[INFO] [stdout]    | -------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 75 |     pub fn set_config(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 84 |     pub fn set_channels(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `term_string` is never used
[INFO] [stdout]    --> src/bot/mod.rs:197:8
[INFO] [stdout]     |
[INFO] [stdout] 197 | pub fn term_string(chan_list: &Vec<TwitchChannel>, pm: &Privmsg) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_env` is never used
[INFO] [stdout]    --> src/bot/mod.rs:212:4
[INFO] [stdout]     |
[INFO] [stdout] 212 | fn get_env(key: &str) -> anyhow::Result<String> {
[INFO] [stdout]     |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_channels` is never used
[INFO] [stdout]    --> src/bot/mod.rs:216:4
[INFO] [stdout]     |
[INFO] [stdout] 216 | fn get_channels() -> anyhow::Result<Vec<TwitchChannel>> {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_username` is never used
[INFO] [stdout]    --> src/bot/mod.rs:226:4
[INFO] [stdout]     |
[INFO] [stdout] 226 | fn get_username() -> anyhow::Result<String> {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_token` is never used
[INFO] [stdout]    --> src/bot/mod.rs:230:4
[INFO] [stdout]     |
[INFO] [stdout] 230 | fn get_token() -> anyhow::Result<String> {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TWITCH_CHANNELS_ENV_VAR` is never used
[INFO] [stdout]   --> src/config/mod.rs:21:7
[INFO] [stdout]    |
[INFO] [stdout] 21 | const TWITCH_CHANNELS_ENV_VAR: &str = "TWITCH_CHANNELS";
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `token` is never read
[INFO] [stdout]   --> src/config/mod.rs:70:9
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub struct Credentials {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 70 |     pub token: String,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Credentials` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_anonymous` is never used
[INFO] [stdout]   --> src/config/mod.rs:73:8
[INFO] [stdout]    |
[INFO] [stdout] 72 | impl Credentials {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 73 |     fn new_anonymous() -> Credentials {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_twitch_channel` is never used
[INFO] [stdout]   --> src/config/mod.rs:98:12
[INFO] [stdout]    |
[INFO] [stdout] 97 | impl ConfigChannel {
[INFO] [stdout]    | ------------------ method in this implementation
[INFO] [stdout] 98 |     pub fn to_twitch_channel(self) -> TwitchChannel {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UnknownCommandError` is never constructed
[INFO] [stdout]   --> src/controller/mod.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct UnknownCommandError{}
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `comm_in` is never read
[INFO] [stdout]   --> src/controller/mod.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub struct BotController {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 54 |     pub comm_in: Receiver<String>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type
[INFO] [stdout]   --> src/bot/mod.rs:40:81
[INFO] [stdout]    |
[INFO] [stdout] 40 |             chan_color = Color::from_str(color_options.choose(&mut rng).unwrap().clone()).unwrap();
[INFO] [stdout]    |                                                                                 ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(suspicious_double_ref_op)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.84s
[INFO] running `Command { std: "docker" "inspect" "daa93a01aa111dd30cc35e38447715a0edfe23b001595dfdfee5ce373418aa2e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "daa93a01aa111dd30cc35e38447715a0edfe23b001595dfdfee5ce373418aa2e", kill_on_drop: false }`
[INFO] [stdout] daa93a01aa111dd30cc35e38447715a0edfe23b001595dfdfee5ce373418aa2e
