[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#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlex1um%2Fprotosnake" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Alex1um/protosnake on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-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-2-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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b78961b42d3dd8e3144bc3e3a5a1fca8a4d52ccffc16bc78edb2bde7fcce66b1 [INFO] running `Command { std: "docker" "start" "-a" "b78961b42d3dd8e3144bc3e3a5a1fca8a4d52ccffc16bc78edb2bde7fcce66b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b78961b42d3dd8e3144bc3e3a5a1fca8a4d52ccffc16bc78edb2bde7fcce66b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b78961b42d3dd8e3144bc3e3a5a1fca8a4d52ccffc16bc78edb2bde7fcce66b1", kill_on_drop: false }` [INFO] [stdout] b78961b42d3dd8e3144bc3e3a5a1fca8a4d52ccffc16bc78edb2bde7fcce66b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dtail_expr_drop_order" "-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ae6812fa517e369feddedd8706a8c0e93b6a92fcf0c65340c0250feb087bef4 [INFO] running `Command { std: "docker" "start" "-a" "9ae6812fa517e369feddedd8706a8c0e93b6a92fcf0c65340c0250feb087bef4", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: build [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling serde v1.0.180 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling protobuf v3.2.0 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling serde_json v1.0.104 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling syn v2.0.40 [INFO] [stderr] Checking getrandom v0.2.10 [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 thiserror 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 8.83s [INFO] running `Command { std: "docker" "inspect" "9ae6812fa517e369feddedd8706a8c0e93b6a92fcf0c65340c0250feb087bef4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ae6812fa517e369feddedd8706a8c0e93b6a92fcf0c65340c0250feb087bef4", kill_on_drop: false }` [INFO] [stdout] 9ae6812fa517e369feddedd8706a8c0e93b6a92fcf0c65340c0250feb087bef4