[INFO] updating cached repository https://github.com/Vincentvibe3/mc_proxy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 73209b2eba1067771f8b678d9a892a4e40617bb3 [INFO] checking Vincentvibe3/mc_proxy/73209b2eba1067771f8b678d9a892a4e40617bb3 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVincentvibe3%2Fmc_proxy" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Vincentvibe3/mc_proxy on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Vincentvibe3/mc_proxy [INFO] finished tweaking git repo https://github.com/Vincentvibe3/mc_proxy [INFO] tweaked toml for git repo https://github.com/Vincentvibe3/mc_proxy written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Vincentvibe3/mc_proxy 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6d3b827fe2692b0cbe3b358dbe71993782499c65c7ac58a456bc5f723d96a04e [INFO] running `Command { std: "docker" "start" "-a" "6d3b827fe2692b0cbe3b358dbe71993782499c65c7ac58a456bc5f723d96a04e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d3b827fe2692b0cbe3b358dbe71993782499c65c7ac58a456bc5f723d96a04e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d3b827fe2692b0cbe3b358dbe71993782499c65c7ac58a456bc5f723d96a04e", kill_on_drop: false }` [INFO] [stdout] 6d3b827fe2692b0cbe3b358dbe71993782499c65c7ac58a456bc5f723d96a04e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5195e655a56ecd45f355c07b1bf5642a9a594fe519202b274d35ccf16975c36f [INFO] running `Command { std: "docker" "start" "-a" "5195e655a56ecd45f355c07b1bf5642a9a594fe519202b274d35ccf16975c36f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling uuid-macro-internal v1.9.1 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Checking uuid v1.9.1 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking mc_proxy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `fs::read`, `sync::Arc`, and `time::Duration` [INFO] [stdout] --> src/bin/client/main.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, fs::read, io::Read, sync::Arc, time::Duration}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `create_forwarded_packet` and `create_varint` [INFO] [stdout] --> src/bin/client/main.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | use mc_proxy_lib::packet::{create_forwarded_packet, create_packet, create_varint, get_packet}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::Mutex` [INFO] [stdout] --> src/bin/client/main.rs:6:114 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::{io::{AsyncReadExt, AsyncWriteExt, Interest}, net::{tcp::{OwnedReadHalf, OwnedWriteHalf}, TcpSocket}, sync::Mutex}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fs::read`, `sync::Arc`, and `time::Duration` [INFO] [stdout] --> src/bin/client/main.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, fs::read, io::Read, sync::Arc, time::Duration}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `create_forwarded_packet` and `create_varint` [INFO] [stdout] --> src/bin/client/main.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | use mc_proxy_lib::packet::{create_forwarded_packet, create_packet, create_varint, get_packet}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::Mutex` [INFO] [stdout] --> src/bin/client/main.rs:6:114 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::{io::{AsyncReadExt, AsyncWriteExt, Interest}, net::{tcp::{OwnedReadHalf, OwnedWriteHalf}, TcpSocket}, sync::Mutex}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::Duration` [INFO] [stdout] --> src/bin/server/main.rs:1:58 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, str::FromStr, sync::Arc, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/server/main.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | ... if (bytes_written > 0){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 46 - if (bytes_written > 0){ [INFO] [stdout] 46 + if bytes_written > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/server/main.rs:154:11 [INFO] [stdout] | [INFO] [stdout] 154 | ... if (bytes_written > 0){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 154 - if (bytes_written > 0){ [INFO] [stdout] 154 + if bytes_written > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/client/main.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | async fn tunnel_handler(mut from_proxy:OwnedReadHalf, mut to_server:OwnedWriteHalf, mut data:BytesMut){ [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/bin/client/main.rs:64:29 [INFO] [stdout] | [INFO] [stdout] 64 | async fn forwarding_handler(mut from_server: OwnedReadHalf, mut to_proxy: OwnedWriteHalf){ [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/bin/server/main.rs:12:2 [INFO] [stdout] | [INFO] [stdout] 12 | mut from_client: OwnedReadHalf, mut to_proxy:OwnedWriteHalf, mut data:BytesMut [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: unused import: `io::Read` [INFO] [stdout] --> src/bin/client/main.rs:1:43 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, fs::read, io::Read, sync::Arc, time::Duration}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `users` [INFO] [stdout] --> src/bin/client/main.rs:160:10 [INFO] [stdout] | [INFO] [stdout] 160 | let mut users: HashMap = HashMap::new(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_users` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `handshake_done` is assigned to, but never used [INFO] [stdout] --> src/bin/client/main.rs:161:10 [INFO] [stdout] | [INFO] [stdout] 161 | let mut handshake_done = false; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_handshake_done` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `handshake_done` is never read [INFO] [stdout] --> src/bin/client/main.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 179 | ... handshake_done = true; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::Duration` [INFO] [stdout] --> src/bin/server/main.rs:1:58 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, str::FromStr, sync::Arc, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/server/main.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | ... if (bytes_written > 0){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 46 - if (bytes_written > 0){ [INFO] [stdout] 46 + if bytes_written > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/server/main.rs:154:11 [INFO] [stdout] | [INFO] [stdout] 154 | ... if (bytes_written > 0){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 154 - if (bytes_written > 0){ [INFO] [stdout] 154 + if bytes_written > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/client/main.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | let (mut read, mut write) = stream.into_split(); [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/bin/client/main.rs:160:6 [INFO] [stdout] | [INFO] [stdout] 160 | let mut users: HashMap = HashMap::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/bin/server/main.rs:67:7 [INFO] [stdout] | [INFO] [stdout] 67 | let (mut read, write) = stream.into_split(); [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/bin/server/main.rs:120:2 [INFO] [stdout] | [INFO] [stdout] 120 | mut read: OwnedReadHalf, mut data:BytesMut, mut forwarding_writer:OwnedWriteHalf [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/bin/server/main.rs:12:2 [INFO] [stdout] | [INFO] [stdout] 12 | mut from_client: OwnedReadHalf, mut to_proxy:OwnedWriteHalf, mut data:BytesMut [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: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/server/main.rs:67:7 [INFO] [stdout] | [INFO] [stdout] 67 | let (mut read, write) = stream.into_split(); [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/bin/client/main.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | async fn tunnel_handler(mut from_proxy:OwnedReadHalf, mut to_server:OwnedWriteHalf, mut data:BytesMut){ [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/bin/server/main.rs:120:2 [INFO] [stdout] | [INFO] [stdout] 120 | mut read: OwnedReadHalf, mut data:BytesMut, mut forwarding_writer:OwnedWriteHalf [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/bin/server/main.rs:183:6 [INFO] [stdout] | [INFO] [stdout] 183 | let mut typefound = false; [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/bin/client/main.rs:64:29 [INFO] [stdout] | [INFO] [stdout] 64 | async fn forwarding_handler(mut from_server: OwnedReadHalf, mut to_proxy: OwnedWriteHalf){ [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/bin/server/main.rs:183:6 [INFO] [stdout] | [INFO] [stdout] 183 | let mut typefound = false; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::Read` [INFO] [stdout] --> src/bin/client/main.rs:1:43 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, fs::read, io::Read, sync::Arc, time::Duration}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `users` [INFO] [stdout] --> src/bin/client/main.rs:160:10 [INFO] [stdout] | [INFO] [stdout] 160 | let mut users: HashMap = HashMap::new(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_users` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `handshake_done` is assigned to, but never used [INFO] [stdout] --> src/bin/client/main.rs:161:10 [INFO] [stdout] | [INFO] [stdout] 161 | let mut handshake_done = false; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_handshake_done` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `handshake_done` is never read [INFO] [stdout] --> src/bin/client/main.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 179 | ... handshake_done = true; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/client/main.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | let (mut read, mut write) = stream.into_split(); [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/bin/client/main.rs:160:6 [INFO] [stdout] | [INFO] [stdout] 160 | let mut users: HashMap = HashMap::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.21s [INFO] running `Command { std: "docker" "inspect" "5195e655a56ecd45f355c07b1bf5642a9a594fe519202b274d35ccf16975c36f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5195e655a56ecd45f355c07b1bf5642a9a594fe519202b274d35ccf16975c36f", kill_on_drop: false }` [INFO] [stdout] 5195e655a56ecd45f355c07b1bf5642a9a594fe519202b274d35ccf16975c36f