[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#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedwardadd%2FRust-MUD" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/edwardadd/Rust-MUD on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-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-1-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 87f48b295a6acc428b188cb5c24a58a1d17e8ab549fbe7029fcf110515bbe162 [INFO] running `Command { std: "docker" "start" "-a" "87f48b295a6acc428b188cb5c24a58a1d17e8ab549fbe7029fcf110515bbe162", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87f48b295a6acc428b188cb5c24a58a1d17e8ab549fbe7029fcf110515bbe162", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87f48b295a6acc428b188cb5c24a58a1d17e8ab549fbe7029fcf110515bbe162", kill_on_drop: false }` [INFO] [stdout] 87f48b295a6acc428b188cb5c24a58a1d17e8ab549fbe7029fcf110515bbe162 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d65e303cf98f49c200ef5984ae0c348db5647a9f4dc00d61b8de3b545310f5a [INFO] running `Command { std: "docker" "start" "-a" "5d65e303cf98f49c200ef5984ae0c348db5647a9f4dc00d61b8de3b545310f5a", 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: `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: `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: `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: `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: 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: 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: 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: 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: 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: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] running `Command { std: "docker" "inspect" "5d65e303cf98f49c200ef5984ae0c348db5647a9f4dc00d61b8de3b545310f5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d65e303cf98f49c200ef5984ae0c348db5647a9f4dc00d61b8de3b545310f5a", kill_on_drop: false }` [INFO] [stdout] 5d65e303cf98f49c200ef5984ae0c348db5647a9f4dc00d61b8de3b545310f5a