[INFO] cloning repository https://github.com/Staneo644/Gomoku [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Staneo644/Gomoku" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStaneo644%2FGomoku", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStaneo644%2FGomoku'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 98f73a6aff0b605c5f2dafcb63f2e1a01733e469 [INFO] checking Staneo644/Gomoku against eca445e5ae4a6679cc27d3a09106ce245e13a5a6 for pr-162478 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStaneo644%2FGomoku" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Staneo644/Gomoku [INFO] finished tweaking git repo https://github.com/Staneo644/Gomoku [INFO] tweaked toml for git repo https://github.com/Staneo644/Gomoku written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Staneo644/Gomoku on toolchain eca445e5ae4a6679cc27d3a09106ce245e13a5a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Staneo644/Gomoku 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" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 4ffa5e781c6257178414b8f33b8779da609b731000f78b0b999f5894a3e07ca4 [INFO] running `Command { std: "docker" "start" "4ffa5e781c6257178414b8f33b8779da609b731000f78b0b999f5894a3e07ca4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ffa5e781c6257178414b8f33b8779da609b731000f78b0b999f5894a3e07ca4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4ffa5e781c6257178414b8f33b8779da609b731000f78b0b999f5894a3e07ca4" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ffa5e781c6257178414b8f33b8779da609b731000f78b0b999f5894a3e07ca4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4ffa5e781c6257178414b8f33b8779da609b731000f78b0b999f5894a3e07ca4" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling miniquad v0.4.8 [INFO] [stderr] Checking bytemuck v1.25.0 [INFO] [stderr] Checking ttf-parser v0.21.1 [INFO] [stderr] Checking quad-rand v0.2.3 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Checking glam v0.27.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking fontdue v0.9.3 [INFO] [stderr] Checking macroquad v0.4.14 [INFO] [stderr] Checking gomoku v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `GameMode` and `GameVariant` [INFO] [stdout] --> src/menu/settings_menu.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::game::{GameMode, GameVariant}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opposite_cell` [INFO] [stdout] --> src/ai/move_ordering.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | opposite_cell: Cell, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opposite_cell` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/ai/move_ordering.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | count: usize, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/ai/move_ordering.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | other => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scoring_state` [INFO] [stdout] --> src/ai/move_ordering.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let scoring_state: scoring::ScoringState; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scoring_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cell_end_negative` is assigned to, but never used [INFO] [stdout] --> src/ai/move_ordering.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | let mut cell_end_negative: Cell = Cell::Empty; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_cell_end_negative` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `cell_start_negative` is never read [INFO] [stdout] --> src/ai/move_ordering.rs:75:41 [INFO] [stdout] | [INFO] [stdout] 75 | let mut cell_start_negative: Cell = Cell::Empty; [INFO] [stdout] | ^^^^^^^^^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 80 | cell_start_negative = grid[x1 as usize][y1 as usize]; [INFO] [stdout] | ---------------------------------------------------- `cell_start_negative` is overwritten here before the previous value is read [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `cell_end_negative` is never read [INFO] [stdout] --> src/ai/move_ordering.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | cell_end_negative = grid[x1 as usize][y1 as usize]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cell` [INFO] [stdout] --> src/ai/move_ordering.rs:120:33 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn move_ordering(&self, cell: NonEmptyCell) -> Vec<(usize, usize, i32)> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameMode` and `GameVariant` [INFO] [stdout] --> src/menu/settings_menu.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::game::{GameMode, GameVariant}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Swap1` is never constructed [INFO] [stdout] --> src/game.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 57 | pub enum GameState { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 66 | Swap1, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `input`, `text_box_focused`, and `error` are never read [INFO] [stdout] --> src/menu/settings_menu.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct SettingsMenu { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 17 | input: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | buttons: ButtonsHolder, [INFO] [stdout] 19 | text_box_focused: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | error: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_human` is never used [INFO] [stdout] --> src/player.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Player { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn is_human(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opposite_cell` [INFO] [stdout] --> src/ai/move_ordering.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | opposite_cell: Cell, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opposite_cell` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/ai/move_ordering.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | count: usize, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/ai/move_ordering.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | other => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scoring_state` [INFO] [stdout] --> src/ai/move_ordering.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let scoring_state: scoring::ScoringState; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scoring_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cell_end_negative` is assigned to, but never used [INFO] [stdout] --> src/ai/move_ordering.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | let mut cell_end_negative: Cell = Cell::Empty; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_cell_end_negative` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `cell_start_negative` is never read [INFO] [stdout] --> src/ai/move_ordering.rs:75:41 [INFO] [stdout] | [INFO] [stdout] 75 | let mut cell_start_negative: Cell = Cell::Empty; [INFO] [stdout] | ^^^^^^^^^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 80 | cell_start_negative = grid[x1 as usize][y1 as usize]; [INFO] [stdout] | ---------------------------------------------------- `cell_start_negative` is overwritten here before the previous value is read [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `cell_end_negative` is never read [INFO] [stdout] --> src/ai/move_ordering.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | cell_end_negative = grid[x1 as usize][y1 as usize]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cell` [INFO] [stdout] --> src/ai/move_ordering.rs:120:33 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn move_ordering(&self, cell: NonEmptyCell) -> Vec<(usize, usize, i32)> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Swap1` is never constructed [INFO] [stdout] --> src/game.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 57 | pub enum GameState { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 66 | Swap1, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `input`, `text_box_focused`, and `error` are never read [INFO] [stdout] --> src/menu/settings_menu.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct SettingsMenu { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 17 | input: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | buttons: ButtonsHolder, [INFO] [stdout] 19 | text_box_focused: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | error: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_human` is never used [INFO] [stdout] --> src/player.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Player { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn is_human(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.07s [INFO] running `Command { std: "docker" "inspect" "4ffa5e781c6257178414b8f33b8779da609b731000f78b0b999f5894a3e07ca4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ffa5e781c6257178414b8f33b8779da609b731000f78b0b999f5894a3e07ca4", kill_on_drop: false }` [INFO] [stdout] 4ffa5e781c6257178414b8f33b8779da609b731000f78b0b999f5894a3e07ca4