[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 against nightly-2024-02-05 for check-cfg-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlex1um%2Fprotosnake" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Alex1um/protosnake on toolchain nightly-2024-02-05 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc1/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-tc1/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" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: build [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded protobuf-support v3.2.0 [INFO] [stderr] Downloaded ncurses v5.101.0 [INFO] [stderr] Downloaded syn v2.0.40 [INFO] [stderr] Downloaded protobuf v3.2.0 [INFO] [stderr] Downloaded libc v0.2.151 [INFO] [stderr] Downloaded serde v1.0.180 [INFO] [stderr] Downloaded anyhow v1.0.75 [INFO] [stderr] Downloaded proc-macro2 v1.0.70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e9f6ca4f7b0e784a445dd1fa5c03b9ac6ac7feca324beb651f48da434f2bbf21 [INFO] running `Command { std: "docker" "start" "-a" "e9f6ca4f7b0e784a445dd1fa5c03b9ac6ac7feca324beb651f48da434f2bbf21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e9f6ca4f7b0e784a445dd1fa5c03b9ac6ac7feca324beb651f48da434f2bbf21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9f6ca4f7b0e784a445dd1fa5c03b9ac6ac7feca324beb651f48da434f2bbf21", kill_on_drop: false }` [INFO] [stdout] e9f6ca4f7b0e784a445dd1fa5c03b9ac6ac7feca324beb651f48da434f2bbf21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b30921df65ee5d5540ae5483b8cbe331a4defd86abb35e0f046b75ee9c5c5999 [INFO] running `Command { std: "docker" "start" "-a" "b30921df65ee5d5540ae5483b8cbe331a4defd86abb35e0f046b75ee9c5c5999", 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] Compiling serde_json v1.0.104 [INFO] [stderr] Compiling protobuf v3.2.0 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Compiling syn v2.0.40 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling ncurses v5.101.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [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: 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: 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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.38s [INFO] running `Command { std: "docker" "inspect" "b30921df65ee5d5540ae5483b8cbe331a4defd86abb35e0f046b75ee9c5c5999", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b30921df65ee5d5540ae5483b8cbe331a4defd86abb35e0f046b75ee9c5c5999", kill_on_drop: false }` [INFO] [stdout] b30921df65ee5d5540ae5483b8cbe331a4defd86abb35e0f046b75ee9c5c5999