[INFO] cloning repository https://github.com/bqv/carbon [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bqv/carbon" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbqv%2Fcarbon", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbqv%2Fcarbon'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 290a5532d1f667e5ba7a18dc4bdc3959293773e8 [INFO] checking bqv/carbon/290a5532d1f667e5ba7a18dc4bdc3959293773e8 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbqv%2Fcarbon" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bqv/carbon on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bqv/carbon [INFO] finished tweaking git repo https://github.com/bqv/carbon [INFO] tweaked toml for git repo https://github.com/bqv/carbon written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/bqv/carbon 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b6b11b72be472ce9254640856f21b7025c7177c1f4e4bd3a04611701d01e8bf4 [INFO] running `Command { std: "docker" "start" "-a" "b6b11b72be472ce9254640856f21b7025c7177c1f4e4bd3a04611701d01e8bf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b6b11b72be472ce9254640856f21b7025c7177c1f4e4bd3a04611701d01e8bf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6b11b72be472ce9254640856f21b7025c7177c1f4e4bd3a04611701d01e8bf4", kill_on_drop: false }` [INFO] [stdout] b6b11b72be472ce9254640856f21b7025c7177c1f4e4bd3a04611701d01e8bf4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8fe8d58e0a24b5489f019135189c8ab37d8458771c37b707733d8243842d0a7d [INFO] running `Command { std: "docker" "start" "-a" "8fe8d58e0a24b5489f019135189c8ab37d8458771c37b707733d8243842d0a7d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.23 [INFO] [stderr] Checking yaml-rust v0.3.5 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking carbon v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `RPL_WELCOME` should have an upper camel case name [INFO] [stdout] --> src/irc/message.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | RPL_WELCOME(String), [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `RplWelcome` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TcpListener` [INFO] [stdout] --> src/irc/client.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::net::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DerefMut` and `Deref` [INFO] [stdout] --> src/bouncer/mod.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ops::{Deref, DerefMut}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `channel` [INFO] [stdout] --> src/bouncer/threadworker.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::mpsc::{channel, Receiver, Sender}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/bouncer/threadworker.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TcpStream` [INFO] [stdout] --> src/bouncer/threadworker.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | use std::net::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DerefMut` and `Deref` [INFO] [stdout] --> src/bouncer/threadworker.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ops::{Deref, DerefMut}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RPL_WELCOME` should have an upper camel case name [INFO] [stdout] --> src/irc/message.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | RPL_WELCOME(String), [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `RplWelcome` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TcpListener` [INFO] [stdout] --> src/irc/client.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::net::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DerefMut` and `Deref` [INFO] [stdout] --> src/bouncer/mod.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ops::{Deref, DerefMut}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `channel` [INFO] [stdout] --> src/bouncer/threadworker.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::mpsc::{channel, Receiver, Sender}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/bouncer/threadworker.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TcpStream` [INFO] [stdout] --> src/bouncer/threadworker.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | use std::net::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DerefMut` and `Deref` [INFO] [stdout] --> src/bouncer/threadworker.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ops::{Deref, DerefMut}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/irc/server.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let mut nick = self.nick.lock().unwrap(); [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/irc/server.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let mut userdata = self.userdata.lock().unwrap(); [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/irc/server.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let mut channels = self.channels.lock().unwrap(); [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/irc/server.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | let mut ping_active = self.ping_active.clone(); [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/irc/client.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let mut nick = self.nick.lock().unwrap(); [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/irc/client.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let mut userdata = self.userdata.lock().unwrap(); [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/irc/client.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | let mut nick = self.nick.lock().unwrap(); [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/irc/client.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let mut channels = self.channels.lock().unwrap(); [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/irc/client.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let mut ping_active = self.ping_active.clone(); [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/bouncer/threadworker.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | if let Ok(mut iter) = self.conn.read() { [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/bouncer/threadworker.rs:91:19 [INFO] [stdout] | [INFO] [stdout] 91 | if let Ok(mut iter) = self.conn.read() { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/bouncer/threadworker.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 120 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/bouncer/mod.rs:70:29 [INFO] [stdout] | [INFO] [stdout] 70 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `readthread` [INFO] [stdout] --> src/bouncer/mod.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | let readthread = thread::Builder::new().name(readthreadname).spawn(move || { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_readthread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/bouncer/mod.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sendthread` [INFO] [stdout] --> src/bouncer/mod.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | let sendthread = thread::Builder::new().name(sendthreadname).spawn(move || { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sendthread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/bouncer/mod.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pingthread` [INFO] [stdout] --> src/bouncer/mod.rs:113:21 [INFO] [stdout] | [INFO] [stdout] 113 | let pingthread = thread::Builder::new().name(pingthreadname).spawn(move || { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pingthread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/bouncer/mod.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `readthread` [INFO] [stdout] --> src/bouncer/mod.rs:131:21 [INFO] [stdout] | [INFO] [stdout] 131 | let readthread = thread::Builder::new().name(readthreadname).spawn(move || { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_readthread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sendthread` [INFO] [stdout] --> src/bouncer/mod.rs:139:21 [INFO] [stdout] | [INFO] [stdout] 139 | let sendthread = thread::Builder::new().name(sendthreadname).spawn(move || { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sendthread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pingthread` [INFO] [stdout] --> src/bouncer/mod.rs:165:25 [INFO] [stdout] | [INFO] [stdout] 165 | let pingthread = thread::Builder::new().name(pingthreadname).spawn(move || { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pingthread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param` [INFO] [stdout] --> src/bouncer/mod.rs:183:31 [INFO] [stdout] | [INFO] [stdout] 183 | Command::PONG(ref param) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_param` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param` [INFO] [stdout] --> src/bouncer/mod.rs:282:31 [INFO] [stdout] | [INFO] [stdout] 282 | Command::PONG(ref param) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_param` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/irc/server.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let mut nick = self.nick.lock().unwrap(); [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/irc/server.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let mut userdata = self.userdata.lock().unwrap(); [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/irc/server.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let mut channels = self.channels.lock().unwrap(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ssl` is never read [INFO] [stdout] --> src/irc/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub ssl : bool, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `1` and `2` are never read [INFO] [stdout] --> src/irc/message.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | USER(String, String, String, String), [INFO] [stdout] | ---- ^^^^^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Command` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 25 | USER(String, (), (), String), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/irc/message.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | PASS(String), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Command` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 27 | PASS(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `read_hostmask` is never used [INFO] [stdout] --> src/irc/message.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl Message { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn read_hostmask(hostmask: &str) -> Hostmask { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/irc/server.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | let mut ping_active = self.ping_active.clone(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `username`, `hostname`, and `realname` are never read [INFO] [stdout] --> src/irc/server.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | struct Userdata { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 24 | username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 25 | hostname: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 26 | realname: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_userdata` and `hostmask` are never used [INFO] [stdout] --> src/irc/server.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Server { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn set_userdata(&mut self, username: String, hostname: String) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn hostmask(&self) -> Hostmask { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_nick` is never used [INFO] [stdout] --> src/irc/client.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl Client { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn get_nick(&self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/irc/client.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let mut nick = self.nick.lock().unwrap(); [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/irc/client.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let mut userdata = self.userdata.lock().unwrap(); [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/irc/client.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | let mut nick = self.nick.lock().unwrap(); [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/irc/client.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let mut channels = self.channels.lock().unwrap(); [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/irc/client.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let mut ping_active = self.ping_active.clone(); [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/bouncer/threadworker.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | if let Ok(mut iter) = self.conn.read() { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/irc/server.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | self.send(string); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 112 | let _ = self.send(string); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/irc/server.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 123 | let clone = self.try_clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 124 | let newline = |mut this: Server| this.stream.write_all(b"\r\n"); [INFO] [stdout] 125 | self.stream.write_all(string.as_bytes()).and(clone).and_then(newline) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bouncer/threadworker.rs:91:19 [INFO] [stdout] | [INFO] [stdout] 91 | if let Ok(mut iter) = self.conn.read() { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/irc/client.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 29 | ...ze, stream: TcpStream) -> Client { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | ...a { username: "".to_string(), hostname: format!("{}", stream.peer_addr().unwrap().ip()), realname: "".to_string() }; [INFO] [stdout] 31 | ...m: stream, connected: Arc::new(Mutex::new(true)), userdata: Arc::new(Mutex::new(userdata)), nick: Arc::new(Mutex::new("".to_string()))... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/bouncer/threadworker.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 120 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/irc/client.rs:31:91 [INFO] [stdout] | [INFO] [stdout] 29 | ...ze, stream: TcpStream) -> Client { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | ...a { username: "".to_string(), hostname: format!("{}", stream.peer_addr().unwrap().ip()), realname: "".to_string() }; [INFO] [stdout] 31 | ...m: stream, connected: Arc::new(Mutex::new(true)), userdata: Arc::new(Mutex::new(userdata)), nick: Arc::new(Mutex::new("".to_string()))... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/bouncer/mod.rs:70:29 [INFO] [stdout] | [INFO] [stdout] 70 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/irc/client.rs:31:129 [INFO] [stdout] | [INFO] [stdout] 29 | ...e, stream: TcpStream) -> Client { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | ... { username: "".to_string(), hostname: format!("{}", stream.peer_addr().unwrap().ip()), realname: "".to_string() }; [INFO] [stdout] 31 | ...: stream, connected: Arc::new(Mutex::new(true)), userdata: Arc::new(Mutex::new(userdata)), nick: Arc::new(Mutex::new("".to_string())), p... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/irc/client.rs:31:180 [INFO] [stdout] | [INFO] [stdout] 29 | ...e, stream: TcpStream) -> Client { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | ... { username: "".to_string(), hostname: format!("{}", stream.peer_addr().unwrap().ip()), realname: "".to_string() }; [INFO] [stdout] 31 | ...: stream, connected: Arc::new(Mutex::new(true)), userdata: Arc::new(Mutex::new(userdata)), nick: Arc::new(Mutex::new("".to_string())), ping_active: Arc::new(Mutex::new(false)), n... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/irc/client.rs:31:247 [INFO] [stdout] | [INFO] [stdout] 29 | ...e, stream: TcpStream) -> Client { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | ... { username: "".to_string(), hostname: format!("{}", stream.peer_addr().unwrap().ip()), realname: "".to_string() }; [INFO] [stdout] 31 | ...: stream, connected: Arc::new(Mutex::new(true)), userdata: Arc::new(Mutex::new(userdata)), nick: Arc::new(Mutex::new("".to_string())), ping_active: Arc::new(Mutex::new(false)), name: "Client".to_string(), channels: Arc::new(Mutex::new(Vec::new())... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/irc/client.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | self.send(string); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 115 | let _ = self.send(string); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/irc/client.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 126 | let clone = self.try_clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 127 | let newline = |mut this: Client| this.stream.write_all(b"\r\n"); [INFO] [stdout] 128 | self.stream.write_all(string.as_bytes()).and(clone).and_then(newline) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `readthread` [INFO] [stdout] --> src/bouncer/mod.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | let readthread = thread::Builder::new().name(readthreadname).spawn(move || { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_readthread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/bouncer/mod.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sendthread` [INFO] [stdout] --> src/bouncer/mod.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | let sendthread = thread::Builder::new().name(sendthreadname).spawn(move || { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sendthread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/bouncer/mod.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pingthread` [INFO] [stdout] --> src/bouncer/mod.rs:113:21 [INFO] [stdout] | [INFO] [stdout] 113 | let pingthread = thread::Builder::new().name(pingthreadname).spawn(move || { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pingthread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/bouncer/mod.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/bouncer/mod.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 39 | let (eventtx, eventrx) = channel(); [INFO] [stdout] | ------- ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | match TcpListener::bind("0.0.0.0:6677") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bouncer/mod.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | / thread::Builder::new().name("LISTEN".to_string()).spawn(move || { [INFO] [stdout] 44 | | threadworker::Listener::new(listener, listeneventtx).work(); [INFO] [stdout] 45 | | }); [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 43 | let _ = thread::Builder::new().name("LISTEN".to_string()).spawn(move || { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bouncer/mod.rs:140:21 [INFO] [stdout] | [INFO] [stdout] 140 | sendtx.send(Message::user(Hostmask::None, server_clone.config.nick.as_str(), "carbon").to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 140 | let _ = sendtx.send(Message::user(Hostmask::None, server_clone.config.nick.as_str(), "carbon").to_string()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bouncer/mod.rs:141:21 [INFO] [stdout] | [INFO] [stdout] 141 | sendtx.send(Message::nick(Hostmask::None, server_clone.config.nick.as_str()).to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 141 | let _ = sendtx.send(Message::nick(Hostmask::None, server_clone.config.nick.as_str()).to_string()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bouncer/mod.rs:145:29 [INFO] [stdout] | [INFO] [stdout] 145 | ... sendtx.send(Message::pass(Hostmask::None, pass).to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 145 | let _ = sendtx.send(Message::pass(Hostmask::None, pass).to_string()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bouncer/mod.rs:348:9 [INFO] [stdout] | [INFO] [stdout] 348 | self.srvsendtxs[id].send(line); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 348 | let _ = self.srvsendtxs[id].send(line); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bouncer/mod.rs:352:9 [INFO] [stdout] | [INFO] [stdout] 352 | self.clntsendtxs[id].send(line); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 352 | let _ = self.clntsendtxs[id].send(line); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bouncer/threadworker.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | self.conn.send(string); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 52 | let _ = self.conn.send(string); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bouncer/threadworker.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | self.tx.send(Event::ServerRead(self.conn.id(), Message::from_string(line.as_str()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 75 | let _ = self.tx.send(Event::ServerRead(self.conn.id(), Message::from_string(line.as_str()))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bouncer/threadworker.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | self.tx.send(Event::ClientRead(self.conn.id(), Message::from_string(line.as_str()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 94 | let _ = self.tx.send(Event::ClientRead(self.conn.id(), Message::from_string(line.as_str()))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bouncer/threadworker.rs:118:21 [INFO] [stdout] | [INFO] [stdout] 118 | self.eventtx.send(Event::AcceptConn(Arc::new(Mutex::new(stream)))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 118 | let _ = self.eventtx.send(Event::AcceptConn(Arc::new(Mutex::new(stream)))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `readthread` [INFO] [stdout] --> src/bouncer/mod.rs:131:21 [INFO] [stdout] | [INFO] [stdout] 131 | let readthread = thread::Builder::new().name(readthreadname).spawn(move || { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_readthread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sendthread` [INFO] [stdout] --> src/bouncer/mod.rs:139:21 [INFO] [stdout] | [INFO] [stdout] 139 | let sendthread = thread::Builder::new().name(sendthreadname).spawn(move || { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sendthread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pingthread` [INFO] [stdout] --> src/bouncer/mod.rs:165:25 [INFO] [stdout] | [INFO] [stdout] 165 | let pingthread = thread::Builder::new().name(pingthreadname).spawn(move || { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pingthread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param` [INFO] [stdout] --> src/bouncer/mod.rs:183:31 [INFO] [stdout] | [INFO] [stdout] 183 | Command::PONG(ref param) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_param` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 50 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param` [INFO] [stdout] --> src/bouncer/mod.rs:282:31 [INFO] [stdout] | [INFO] [stdout] 282 | Command::PONG(ref param) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_param` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `carbon` (bin "carbon" test) due to 9 previous errors; 50 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `ssl` is never read [INFO] [stdout] --> src/irc/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub ssl : bool, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `1` and `2` are never read [INFO] [stdout] --> src/irc/message.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | USER(String, String, String, String), [INFO] [stdout] | ---- ^^^^^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Command` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 25 | USER(String, (), (), String), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/irc/message.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | PASS(String), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Command` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 27 | PASS(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `read_hostmask` is never used [INFO] [stdout] --> src/irc/message.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl Message { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn read_hostmask(hostmask: &str) -> Hostmask { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `username`, `hostname`, and `realname` are never read [INFO] [stdout] --> src/irc/server.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | struct Userdata { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 24 | username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 25 | hostname: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 26 | realname: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_userdata` and `hostmask` are never used [INFO] [stdout] --> src/irc/server.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Server { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn set_userdata(&mut self, username: String, hostname: String) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn hostmask(&self) -> Hostmask { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_nick` is never used [INFO] [stdout] --> src/irc/client.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl Client { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn get_nick(&self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/irc/server.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | self.send(string); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 112 | let _ = self.send(string); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/irc/server.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 123 | let clone = self.try_clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 124 | let newline = |mut this: Server| this.stream.write_all(b"\r\n"); [INFO] [stdout] 125 | self.stream.write_all(string.as_bytes()).and(clone).and_then(newline) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/irc/client.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 29 | ...ze, stream: TcpStream) -> Client { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | ...a { username: "".to_string(), hostname: format!("{}", stream.peer_addr().unwrap().ip()), realname: "".to_string() }; [INFO] [stdout] 31 | ...m: stream, connected: Arc::new(Mutex::new(true)), userdata: Arc::new(Mutex::new(userdata)), nick: Arc::new(Mutex::new("".to_string()))... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/irc/client.rs:31:91 [INFO] [stdout] | [INFO] [stdout] 29 | ...ze, stream: TcpStream) -> Client { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | ...a { username: "".to_string(), hostname: format!("{}", stream.peer_addr().unwrap().ip()), realname: "".to_string() }; [INFO] [stdout] 31 | ...m: stream, connected: Arc::new(Mutex::new(true)), userdata: Arc::new(Mutex::new(userdata)), nick: Arc::new(Mutex::new("".to_string()))... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/irc/client.rs:31:129 [INFO] [stdout] | [INFO] [stdout] 29 | ...e, stream: TcpStream) -> Client { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | ... { username: "".to_string(), hostname: format!("{}", stream.peer_addr().unwrap().ip()), realname: "".to_string() }; [INFO] [stdout] 31 | ...: stream, connected: Arc::new(Mutex::new(true)), userdata: Arc::new(Mutex::new(userdata)), nick: Arc::new(Mutex::new("".to_string())), p... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/irc/client.rs:31:180 [INFO] [stdout] | [INFO] [stdout] 29 | ...e, stream: TcpStream) -> Client { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | ... { username: "".to_string(), hostname: format!("{}", stream.peer_addr().unwrap().ip()), realname: "".to_string() }; [INFO] [stdout] 31 | ...: stream, connected: Arc::new(Mutex::new(true)), userdata: Arc::new(Mutex::new(userdata)), nick: Arc::new(Mutex::new("".to_string())), ping_active: Arc::new(Mutex::new(false)), n... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/irc/client.rs:31:247 [INFO] [stdout] | [INFO] [stdout] 29 | ...e, stream: TcpStream) -> Client { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | ... { username: "".to_string(), hostname: format!("{}", stream.peer_addr().unwrap().ip()), realname: "".to_string() }; [INFO] [stdout] 31 | ...: stream, connected: Arc::new(Mutex::new(true)), userdata: Arc::new(Mutex::new(userdata)), nick: Arc::new(Mutex::new("".to_string())), ping_active: Arc::new(Mutex::new(false)), name: "Client".to_string(), channels: Arc::new(Mutex::new(Vec::new())... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/irc/client.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | self.send(string); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 115 | let _ = self.send(string); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/irc/client.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 126 | let clone = self.try_clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 127 | let newline = |mut this: Client| this.stream.write_all(b"\r\n"); [INFO] [stdout] 128 | self.stream.write_all(string.as_bytes()).and(clone).and_then(newline) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/bouncer/mod.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 39 | let (eventtx, eventrx) = channel(); [INFO] [stdout] | ------- ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | match TcpListener::bind("0.0.0.0:6677") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bouncer/mod.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | / thread::Builder::new().name("LISTEN".to_string()).spawn(move || { [INFO] [stdout] 44 | | threadworker::Listener::new(listener, listeneventtx).work(); [INFO] [stdout] 45 | | }); [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 43 | let _ = thread::Builder::new().name("LISTEN".to_string()).spawn(move || { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bouncer/mod.rs:140:21 [INFO] [stdout] | [INFO] [stdout] 140 | sendtx.send(Message::user(Hostmask::None, server_clone.config.nick.as_str(), "carbon").to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 140 | let _ = sendtx.send(Message::user(Hostmask::None, server_clone.config.nick.as_str(), "carbon").to_string()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bouncer/mod.rs:141:21 [INFO] [stdout] | [INFO] [stdout] 141 | sendtx.send(Message::nick(Hostmask::None, server_clone.config.nick.as_str()).to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 141 | let _ = sendtx.send(Message::nick(Hostmask::None, server_clone.config.nick.as_str()).to_string()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bouncer/mod.rs:145:29 [INFO] [stdout] | [INFO] [stdout] 145 | ... sendtx.send(Message::pass(Hostmask::None, pass).to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 145 | let _ = sendtx.send(Message::pass(Hostmask::None, pass).to_string()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bouncer/mod.rs:348:9 [INFO] [stdout] | [INFO] [stdout] 348 | self.srvsendtxs[id].send(line); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 348 | let _ = self.srvsendtxs[id].send(line); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bouncer/mod.rs:352:9 [INFO] [stdout] | [INFO] [stdout] 352 | self.clntsendtxs[id].send(line); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 352 | let _ = self.clntsendtxs[id].send(line); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bouncer/threadworker.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | self.conn.send(string); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 52 | let _ = self.conn.send(string); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bouncer/threadworker.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | self.tx.send(Event::ServerRead(self.conn.id(), Message::from_string(line.as_str()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 75 | let _ = self.tx.send(Event::ServerRead(self.conn.id(), Message::from_string(line.as_str()))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bouncer/threadworker.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | self.tx.send(Event::ClientRead(self.conn.id(), Message::from_string(line.as_str()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 94 | let _ = self.tx.send(Event::ClientRead(self.conn.id(), Message::from_string(line.as_str()))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bouncer/threadworker.rs:118:21 [INFO] [stdout] | [INFO] [stdout] 118 | self.eventtx.send(Event::AcceptConn(Arc::new(Mutex::new(stream)))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 118 | let _ = self.eventtx.send(Event::AcceptConn(Arc::new(Mutex::new(stream)))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 50 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `carbon` (bin "carbon") due to 9 previous errors; 50 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8fe8d58e0a24b5489f019135189c8ab37d8458771c37b707733d8243842d0a7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fe8d58e0a24b5489f019135189c8ab37d8458771c37b707733d8243842d0a7d", kill_on_drop: false }` [INFO] [stdout] 8fe8d58e0a24b5489f019135189c8ab37d8458771c37b707733d8243842d0a7d