[INFO] cloning repository https://github.com/edwardadd/Rust-MUD [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/edwardadd/Rust-MUD" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedwardadd%2FRust-MUD", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedwardadd%2FRust-MUD'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 78042b46e3743fa1f7dcc1c549a846ea9cba8681 [INFO] checking edwardadd/Rust-MUD against master#22572d0994593197593e2a1b7b18d720a9a349a7 for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedwardadd%2FRust-MUD" "/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/edwardadd/Rust-MUD on toolchain 22572d0994593197593e2a1b7b18d720a9a349a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/edwardadd/Rust-MUD [INFO] finished tweaking git repo https://github.com/edwardadd/Rust-MUD [INFO] tweaked toml for git repo https://github.com/edwardadd/Rust-MUD written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/edwardadd/Rust-MUD 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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bc1d363fbdb385f7355999d3d0f0cab15c9b60c79f87746d1a25500f699307f8 [INFO] running `Command { std: "docker" "start" "-a" "bc1d363fbdb385f7355999d3d0f0cab15c9b60c79f87746d1a25500f699307f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc1d363fbdb385f7355999d3d0f0cab15c9b60c79f87746d1a25500f699307f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc1d363fbdb385f7355999d3d0f0cab15c9b60c79f87746d1a25500f699307f8", kill_on_drop: false }` [INFO] [stdout] bc1d363fbdb385f7355999d3d0f0cab15c9b60c79f87746d1a25500f699307f8 [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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d48374d06edba4cf2f90bf0310b3ac63cd0604367b3b4e366e8388b5773fc69 [INFO] running `Command { std: "docker" "start" "-a" "9d48374d06edba4cf2f90bf0310b3ac63cd0604367b3b4e366e8388b5773fc69", kill_on_drop: false }` [INFO] [stderr] Checking my-project v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/client.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | Err(e) => {} /*println!("Failed to read from stream, {}", 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: `client` [INFO] [stdout] --> src/game.rs:18:37 [INFO] [stdout] | [INFO] [stdout] 18 | Ok(Event::NewClient(client)) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/game.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | Command::Move { who, x, y } => self.broad_cast(who, "moving!".to_string()), [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/game.rs:34:37 [INFO] [stdout] | [INFO] [stdout] 34 | Command::Move { who, x, y } => self.broad_cast(who, "moving!".to_string()), [INFO] [stdout] | ^ help: try ignoring the field: `y: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/game.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn send(&mut self, from: u32, to: u32, message: String) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game` [INFO] [stdout] --> src/game.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let game = Game::new(clients, events.1); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_game` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `process_thread` [INFO] [stdout] --> src/main.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | process_thread: thread::JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_process_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NewClient` is never constructed [INFO] [stdout] --> src/events.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Event { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 5 | NewClient(TcpStream), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send` is never used [INFO] [stdout] --> src/game.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Game { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn send(&mut self, from: u32, to: u32, message: String) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/client.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | Err(e) => {} /*println!("Failed to read from stream, {}", 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: variant `Quit` is never constructed [INFO] [stdout] --> src/commands.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Command { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 6 | Quit { who: u32 }, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/game.rs:18:37 [INFO] [stdout] | [INFO] [stdout] 18 | Ok(Event::NewClient(client)) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/game.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | Command::Move { who, x, y } => self.broad_cast(who, "moving!".to_string()), [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/game.rs:34:37 [INFO] [stdout] | [INFO] [stdout] 34 | Command::Move { who, x, y } => self.broad_cast(who, "moving!".to_string()), [INFO] [stdout] | ^ help: try ignoring the field: `y: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/game.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn send(&mut self, from: u32, to: u32, message: String) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `process_thread` [INFO] [stdout] --> src/main.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | process_thread: thread::JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_process_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NewClient` is never constructed [INFO] [stdout] --> src/events.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Event { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 5 | NewClient(TcpStream), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send` is never used [INFO] [stdout] --> src/game.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Game { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn send(&mut self, from: u32, to: u32, message: String) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Player` is never constructed [INFO] [stdout] --> src/player.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Player { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/player.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Player { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 8 | pub fn new(client_id: u32, id: u32, name: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Room` is never constructed [INFO] [stdout] --> src/room.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Room { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/room.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Room { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 8 | pub fn new(id: u32, name: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Quit` is never constructed [INFO] [stdout] --> src/commands.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Command { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 6 | Quit { who: u32 }, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] running `Command { std: "docker" "inspect" "9d48374d06edba4cf2f90bf0310b3ac63cd0604367b3b4e366e8388b5773fc69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d48374d06edba4cf2f90bf0310b3ac63cd0604367b3b4e366e8388b5773fc69", kill_on_drop: false }` [INFO] [stdout] 9d48374d06edba4cf2f90bf0310b3ac63cd0604367b3b4e366e8388b5773fc69 [INFO] checking edwardadd/Rust-MUD against try#6289438dbad80b1a0029c66dd3f6abf57c2c51be for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedwardadd%2FRust-MUD" "/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/edwardadd/Rust-MUD on toolchain 6289438dbad80b1a0029c66dd3f6abf57c2c51be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/edwardadd/Rust-MUD [INFO] finished tweaking git repo https://github.com/edwardadd/Rust-MUD [INFO] tweaked toml for git repo https://github.com/edwardadd/Rust-MUD written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/edwardadd/Rust-MUD 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" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e61d0996a169be2d61538f0ef3b3813c004bc2e9a27fadc3f2bb0dc16405a0c7 [INFO] running `Command { std: "docker" "start" "-a" "e61d0996a169be2d61538f0ef3b3813c004bc2e9a27fadc3f2bb0dc16405a0c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e61d0996a169be2d61538f0ef3b3813c004bc2e9a27fadc3f2bb0dc16405a0c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e61d0996a169be2d61538f0ef3b3813c004bc2e9a27fadc3f2bb0dc16405a0c7", kill_on_drop: false }` [INFO] [stdout] e61d0996a169be2d61538f0ef3b3813c004bc2e9a27fadc3f2bb0dc16405a0c7 [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" "-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" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 51b3bfd54aeecae4bfc9a63746d908865a139c8d6e486288ab63ba53b18fba72 [INFO] running `Command { std: "docker" "start" "-a" "51b3bfd54aeecae4bfc9a63746d908865a139c8d6e486288ab63ba53b18fba72", kill_on_drop: false }` [INFO] [stderr] Checking my-project v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/client.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | Err(e) => {} /*println!("Failed to read from stream, {}", 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: `client` [INFO] [stdout] --> src/game.rs:18:37 [INFO] [stdout] | [INFO] [stdout] 18 | Ok(Event::NewClient(client)) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/game.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | Command::Move { who, x, y } => self.broad_cast(who, "moving!".to_string()), [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/game.rs:34:37 [INFO] [stdout] | [INFO] [stdout] 34 | Command::Move { who, x, y } => self.broad_cast(who, "moving!".to_string()), [INFO] [stdout] | ^ help: try ignoring the field: `y: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/game.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn send(&mut self, from: u32, to: u32, message: String) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `process_thread` [INFO] [stdout] --> src/main.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | process_thread: thread::JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_process_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NewClient` is never constructed [INFO] [stdout] --> src/events.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Event { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 5 | NewClient(TcpStream), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send` is never used [INFO] [stdout] --> src/game.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Game { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn send(&mut self, from: u32, to: u32, message: String) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Player` is never constructed [INFO] [stdout] --> src/player.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Player { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/player.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Player { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 8 | pub fn new(client_id: u32, id: u32, name: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Room` is never constructed [INFO] [stdout] --> src/room.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Room { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/room.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Room { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 8 | pub fn new(id: u32, name: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Quit` is never constructed [INFO] [stdout] --> src/commands.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Command { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 6 | Quit { who: u32 }, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/client.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | Err(e) => {} /*println!("Failed to read from stream, {}", 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: `client` [INFO] [stdout] --> src/game.rs:18:37 [INFO] [stdout] | [INFO] [stdout] 18 | Ok(Event::NewClient(client)) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/game.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | Command::Move { who, x, y } => self.broad_cast(who, "moving!".to_string()), [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/game.rs:34:37 [INFO] [stdout] | [INFO] [stdout] 34 | Command::Move { who, x, y } => self.broad_cast(who, "moving!".to_string()), [INFO] [stdout] | ^ help: try ignoring the field: `y: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/game.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn send(&mut self, from: u32, to: u32, message: String) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game` [INFO] [stdout] --> src/game.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let game = Game::new(clients, events.1); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_game` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `process_thread` [INFO] [stdout] --> src/main.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | process_thread: thread::JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_process_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NewClient` is never constructed [INFO] [stdout] --> src/events.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Event { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 5 | NewClient(TcpStream), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send` is never used [INFO] [stdout] --> src/game.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Game { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn send(&mut self, from: u32, to: u32, message: String) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Quit` is never constructed [INFO] [stdout] --> src/commands.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Command { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 6 | Quit { who: u32 }, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] running `Command { std: "docker" "inspect" "51b3bfd54aeecae4bfc9a63746d908865a139c8d6e486288ab63ba53b18fba72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51b3bfd54aeecae4bfc9a63746d908865a139c8d6e486288ab63ba53b18fba72", kill_on_drop: false }` [INFO] [stdout] 51b3bfd54aeecae4bfc9a63746d908865a139c8d6e486288ab63ba53b18fba72