[INFO] cloning repository https://github.com/MarcDwyer/tmi_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MarcDwyer/tmi_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarcDwyer%2Ftmi_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarcDwyer%2Ftmi_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b7649dfcaa924e50bb18ed9cab1b7cae6391d64d [INFO] checking MarcDwyer/tmi_rust against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarcDwyer%2Ftmi_rust" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MarcDwyer/tmi_rust on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MarcDwyer/tmi_rust [INFO] finished tweaking git repo https://github.com/MarcDwyer/tmi_rust [INFO] tweaked toml for git repo https://github.com/MarcDwyer/tmi_rust written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/MarcDwyer/tmi_rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded websocket v0.26.2 [INFO] [stderr] Downloaded websocket-base v0.26.2 [INFO] [stderr] Downloaded irc_message v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8c1e7d02ce17ba876e74b49d1a9bd5384dc174ed846f572459b3b85b8ee8ee4c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8c1e7d02ce17ba876e74b49d1a9bd5384dc174ed846f572459b3b85b8ee8ee4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c1e7d02ce17ba876e74b49d1a9bd5384dc174ed846f572459b3b85b8ee8ee4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c1e7d02ce17ba876e74b49d1a9bd5384dc174ed846f572459b3b85b8ee8ee4c", kill_on_drop: false }` [INFO] [stdout] 8c1e7d02ce17ba876e74b49d1a9bd5384dc174ed846f572459b3b85b8ee8ee4c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] abf49fbfceec3a5c84d5d09ff4377e4d704a4febe9d87bd4ceb94f5700653e47 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "abf49fbfceec3a5c84d5d09ff4377e4d704a4febe9d87bd4ceb94f5700653e47", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling proc-macro2 v1.0.21 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling cc v1.0.60 [INFO] [stderr] Checking futures v0.1.29 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling syn v1.0.41 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking irc_message v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-tls v0.2.1 [INFO] [stderr] Checking websocket-base v0.26.2 [INFO] [stderr] Checking websocket v0.26.2 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Checking pin-project v0.4.23 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking tmi_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `tx_main` [INFO] [stdout] --> src/twitch_chat.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | let (tx_main, rx_main): (Sender, Receiver) = channel(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_main` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `send_loop` [INFO] [stdout] --> src/twitch_chat.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let send_loop = thread::spawn(move || { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_send_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `receive_loop` [INFO] [stdout] --> src/twitch_chat.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let receive_loop = thread::spawn(move || { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receive_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_main` [INFO] [stdout] --> src/twitch_chat.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | let (tx_main, rx_main): (Sender, Receiver) = channel(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_main` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `send_loop` [INFO] [stdout] --> src/twitch_chat.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let send_loop = thread::spawn(move || { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_send_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `receive_loop` [INFO] [stdout] --> src/twitch_chat.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let receive_loop = thread::spawn(move || { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receive_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/twitch_chat.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | Err(e) => panic!(format!("Error connecting to socket: {}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 36 | Err(e) => panic!("Error connecting to socket: {}", e), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/twitch_chat.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | Err(e) => panic!(format!("Error connecting to socket: {}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 36 | Err(e) => panic!("Error connecting to socket: {}", e), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/parser.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let mut position: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `next_space` is never read [INFO] [stdout] --> src/parser.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let mut next_space: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_msg` [INFO] [stdout] --> src/parser.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let mut t_msg = TwitchMessage::new(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_t_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ch` [INFO] [stdout] --> src/parser.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let ch = data.char_indices(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kv` [INFO] [stdout] --> src/parser.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | let kv = tag.split("="); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_kv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_main` [INFO] [stdout] --> src/twitch_chat.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | let (tx_main, rx_main): (Sender, Receiver) = channel(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_main` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `send_loop` [INFO] [stdout] --> src/twitch_chat.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let send_loop = thread::spawn(move || { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_send_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `receive_loop` [INFO] [stdout] --> src/twitch_chat.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let receive_loop = thread::spawn(move || { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receive_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let mut position: usize = 0; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let mut t_msg = TwitchMessage::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Commands` [INFO] [stdout] --> src/parser.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Commands { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `TwitchMessage` [INFO] [stdout] --> src/parser.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct TwitchMessage { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/parser.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parcer` [INFO] [stdout] --> src/parser.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn parcer(data: String) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/twitch_chat.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | Err(e) => panic!(format!("Error connecting to socket: {}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 36 | Err(e) => panic!("Error connecting to socket: {}", e), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | Err(e) => panic!(format!("{:?}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 18 | Err(e) => panic!("{:?}", e), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/parser.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let mut position: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `next_space` is never read [INFO] [stdout] --> src/parser.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let mut next_space: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_msg` [INFO] [stdout] --> src/parser.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let mut t_msg = TwitchMessage::new(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_t_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ch` [INFO] [stdout] --> src/parser.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let ch = data.char_indices(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kv` [INFO] [stdout] --> src/parser.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | let kv = tag.split("="); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_kv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_main` [INFO] [stdout] --> src/twitch_chat.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | let (tx_main, rx_main): (Sender, Receiver) = channel(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_main` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `send_loop` [INFO] [stdout] --> src/twitch_chat.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let send_loop = thread::spawn(move || { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_send_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `receive_loop` [INFO] [stdout] --> src/twitch_chat.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let receive_loop = thread::spawn(move || { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receive_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let mut position: usize = 0; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let mut t_msg = TwitchMessage::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Commands` [INFO] [stdout] --> src/parser.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Commands { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `TwitchMessage` [INFO] [stdout] --> src/parser.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct TwitchMessage { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/parser.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parcer` [INFO] [stdout] --> src/parser.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn parcer(data: String) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/twitch_chat.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | Err(e) => panic!(format!("Error connecting to socket: {}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 36 | Err(e) => panic!("Error connecting to socket: {}", e), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | Err(e) => panic!(format!("{:?}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 18 | Err(e) => panic!("{:?}", e), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 03s [INFO] running `Command { std: "docker" "inspect" "abf49fbfceec3a5c84d5d09ff4377e4d704a4febe9d87bd4ceb94f5700653e47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abf49fbfceec3a5c84d5d09ff4377e4d704a4febe9d87bd4ceb94f5700653e47", kill_on_drop: false }` [INFO] [stdout] abf49fbfceec3a5c84d5d09ff4377e4d704a4febe9d87bd4ceb94f5700653e47