[INFO] cloning repository https://github.com/Alex1um/protosnake [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Alex1um/protosnake" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlex1um%2Fprotosnake", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlex1um%2Fprotosnake'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a7e8cd6f2fef6d9c43a58be5b7e9d67c0cd0ae35 [INFO] checking Alex1um/protosnake/a7e8cd6f2fef6d9c43a58be5b7e9d67c0cd0ae35 against try#de0e80659cee4f27282e60d63bbb8c5271a0d147 for pr-129392 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlex1um%2Fprotosnake" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Alex1um/protosnake on toolchain de0e80659cee4f27282e60d63bbb8c5271a0d147 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+de0e80659cee4f27282e60d63bbb8c5271a0d147" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/Alex1um/protosnake [INFO] finished tweaking git repo https://github.com/Alex1um/protosnake [INFO] tweaked toml for git repo https://github.com/Alex1um/protosnake written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Alex1um/protosnake 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" "+de0e80659cee4f27282e60d63bbb8c5271a0d147" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: build [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+de0e80659cee4f27282e60d63bbb8c5271a0d147" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 42d961677d177dcff47e678c6e8c791c87d05358bbb73e5476e40c0bf0aef0d2 [INFO] running `Command { std: "docker" "start" "-a" "42d961677d177dcff47e678c6e8c791c87d05358bbb73e5476e40c0bf0aef0d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42d961677d177dcff47e678c6e8c791c87d05358bbb73e5476e40c0bf0aef0d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42d961677d177dcff47e678c6e8c791c87d05358bbb73e5476e40c0bf0aef0d2", kill_on_drop: false }` [INFO] [stdout] 42d961677d177dcff47e678c6e8c791c87d05358bbb73e5476e40c0bf0aef0d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+de0e80659cee4f27282e60d63bbb8c5271a0d147" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1111db7e6e34d27f10c67923d7c33aca9c46839b8853d7729ff301ca65476a9f [INFO] running `Command { std: "docker" "start" "-a" "1111db7e6e34d27f10c67923d7c33aca9c46839b8853d7729ff301ca65476a9f", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: build [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling serde v1.0.180 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling serde_json v1.0.104 [INFO] [stderr] Compiling protobuf v3.2.0 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling syn v2.0.40 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling ncurses v5.101.0 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Checking protobuf-support v3.2.0 [INFO] [stderr] Checking snake v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> src/snakes/snakes.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> src/snakes/snakes.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/tui/config.rs:121:29 [INFO] [stdout] | [INFO] [stdout] 120 | ... return Err(()); [INFO] [stdout] | -------------- any code following this expression is unreachable [INFO] [stdout] 121 | ... break; [INFO] [stdout] | ^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/tui/config.rs:121:29 [INFO] [stdout] | [INFO] [stdout] 120 | ... return Err(()); [INFO] [stdout] | -------------- any code following this expression is unreachable [INFO] [stdout] 121 | ... break; [INFO] [stdout] | ^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `str` are never used [INFO] [stdout] --> src/tui/config.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl NumInput<'_> { [INFO] [stdout] | ----------------- associated functions in this implementation [INFO] [stdout] 12 | pub fn new<'a>(name: &'a str) -> NumInput<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn str<'a>(name: &'a str) -> NumInput<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `dbg` is never used [INFO] [stdout] --> src/tui/game.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl GameInterface { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn dbg(&self, msg: &str) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_free_coords_shuffled` and `clear_coord` are never used [INFO] [stdout] --> src/old/base.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl Game { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 28 | [INFO] [stdout] 29 | pub fn get_free_coords_shuffled(&self) -> Vec<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | fn clear_coord(&mut self, coord: Coord) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_chnge_role` and `send` are never used [INFO] [stdout] --> src/old/server.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 57 | impl Server { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 102 | fn get_chnge_role(&mut self, _role: NodeRole, id: i32) -> GameMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | fn send(&mut self, msg: &GameMessage, addr: SocketAddr) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tpe` is never read [INFO] [stdout] --> src/old/client.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 16 | struct PendingMsg { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | tpe: &'static str, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PendingMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `player_name` is never read [INFO] [stdout] --> src/old/client.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Client { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 52 | game: Game, [INFO] [stdout] 53 | player_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `str` are never used [INFO] [stdout] --> src/tui/config.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl NumInput<'_> { [INFO] [stdout] | ----------------- associated functions in this implementation [INFO] [stdout] 12 | pub fn new<'a>(name: &'a str) -> NumInput<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn str<'a>(name: &'a str) -> NumInput<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `dbg` is never used [INFO] [stdout] --> src/tui/game.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl GameInterface { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn dbg(&self, msg: &str) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_free_coords_shuffled` and `clear_coord` are never used [INFO] [stdout] --> src/old/base.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl Game { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 28 | [INFO] [stdout] 29 | pub fn get_free_coords_shuffled(&self) -> Vec<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | fn clear_coord(&mut self, coord: Coord) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_chnge_role` and `send` are never used [INFO] [stdout] --> src/old/server.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 57 | impl Server { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 102 | fn get_chnge_role(&mut self, _role: NodeRole, id: i32) -> GameMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | fn send(&mut self, msg: &GameMessage, addr: SocketAddr) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tpe` is never read [INFO] [stdout] --> src/old/client.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 16 | struct PendingMsg { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | tpe: &'static str, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PendingMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `player_name` is never read [INFO] [stdout] --> src/old/client.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Client { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 52 | game: Game, [INFO] [stdout] 53 | player_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.06s [INFO] running `Command { std: "docker" "inspect" "1111db7e6e34d27f10c67923d7c33aca9c46839b8853d7729ff301ca65476a9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1111db7e6e34d27f10c67923d7c33aca9c46839b8853d7729ff301ca65476a9f", kill_on_drop: false }` [INFO] [stdout] 1111db7e6e34d27f10c67923d7c33aca9c46839b8853d7729ff301ca65476a9f