[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 master#8a497b7181cad4ae66dbd6cc31042b69b6bd0df7 for pr-102474 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarcDwyer%2Ftmi_rust" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MarcDwyer/tmi_rust on toolchain 8a497b7181cad4ae66dbd6cc31042b69b6bd0df7 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8a497b7181cad4ae66dbd6cc31042b69b6bd0df7" "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-2/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" "+8a497b7181cad4ae66dbd6cc31042b69b6bd0df7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded irc_message v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+8a497b7181cad4ae66dbd6cc31042b69b6bd0df7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] abac7de0413f743b8fb886d37691fa3c973f5ca29fb930ab506acca8c3bd38aa [INFO] running `Command { std: "docker" "start" "-a" "abac7de0413f743b8fb886d37691fa3c973f5ca29fb930ab506acca8c3bd38aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "abac7de0413f743b8fb886d37691fa3c973f5ca29fb930ab506acca8c3bd38aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abac7de0413f743b8fb886d37691fa3c973f5ca29fb930ab506acca8c3bd38aa", kill_on_drop: false }` [INFO] [stdout] abac7de0413f743b8fb886d37691fa3c973f5ca29fb930ab506acca8c3bd38aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+8a497b7181cad4ae66dbd6cc31042b69b6bd0df7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 27e861283e1ecd41f23d3724c141a78b86cedb2205a57d2d46f30510e7f57706 [INFO] running `Command { std: "docker" "start" "-a" "27e861283e1ecd41f23d3724c141a78b86cedb2205a57d2d46f30510e7f57706", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling cc v1.0.60 [INFO] [stderr] Compiling proc-macro2 v1.0.21 [INFO] [stderr] Checking futures v0.1.29 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.41 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking tinyvec v0.3.4 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Checking unicode-normalization v0.1.13 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Checking once_cell v1.4.1 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Checking irc_message v1.0.0 [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 url v1.7.2 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Checking hyper v0.10.16 [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] 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_panics)]` on by default [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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!(format!("Error connecting to socket: {}", e)), [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_panics)]` on by default [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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!(format!("Error connecting to socket: {}", e)), [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:13 [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:13 [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:13 [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: unused variable: `position` [INFO] [stdout] --> src/parser.rs:45:13 [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:13 [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:13 [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: 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 `Commands` is never used [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 `TwitchMessage` is never constructed [INFO] [stdout] --> src/parser.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct TwitchMessage { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parcer` is never used [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: associated function `new` is never used [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: 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: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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!(format!("{:?}", e)), [INFO] [stdout] 18 + Err(e) => panic!("{:?}", e), [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: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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!(format!("Error connecting to socket: {}", e)), [INFO] [stdout] 36 + Err(e) => panic!("Error connecting to socket: {}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Commands` is never used [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 `TwitchMessage` is never constructed [INFO] [stdout] --> src/parser.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct TwitchMessage { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parcer` is never used [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: associated function `new` is never used [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: 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: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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!(format!("{:?}", e)), [INFO] [stdout] 18 + Err(e) => panic!("{:?}", e), [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: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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!(format!("Error connecting to socket: {}", e)), [INFO] [stdout] 36 + Err(e) => panic!("Error connecting to socket: {}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.19s [INFO] running `Command { std: "docker" "inspect" "27e861283e1ecd41f23d3724c141a78b86cedb2205a57d2d46f30510e7f57706", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27e861283e1ecd41f23d3724c141a78b86cedb2205a57d2d46f30510e7f57706", kill_on_drop: false }` [INFO] [stdout] 27e861283e1ecd41f23d3724c141a78b86cedb2205a57d2d46f30510e7f57706