[INFO] cloning repository https://github.com/edunbar2/RThello
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/edunbar2/RThello" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedunbar2%2FRThello", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedunbar2%2FRThello'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2bb76cef1f289957c1c6886f513515f5ef84c4ab
[INFO] checking edunbar2/RThello against try#73ffebff6f34db7eb167bf9edcf2afa19c3073e9 for pr-147841
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedunbar2%2FRThello" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/edunbar2/RThello
[INFO] finished tweaking git repo https://github.com/edunbar2/RThello
[INFO] tweaked toml for git repo https://github.com/edunbar2/RThello written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/edunbar2/RThello on toolchain 73ffebff6f34db7eb167bf9edcf2afa19c3073e9
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+73ffebff6f34db7eb167bf9edcf2afa19c3073e9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/edunbar2/RThello 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" "+73ffebff6f34db7eb167bf9edcf2afa19c3073e9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+73ffebff6f34db7eb167bf9edcf2afa19c3073e9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] faa6477fd5ca09dfb2017d5b8f5710ead37350da0d8d35f54c27e72236fead4d
[INFO] running `Command { std: "docker" "start" "-a" "faa6477fd5ca09dfb2017d5b8f5710ead37350da0d8d35f54c27e72236fead4d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "faa6477fd5ca09dfb2017d5b8f5710ead37350da0d8d35f54c27e72236fead4d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "faa6477fd5ca09dfb2017d5b8f5710ead37350da0d8d35f54c27e72236fead4d", kill_on_drop: false }`
[INFO] [stdout] faa6477fd5ca09dfb2017d5b8f5710ead37350da0d8d35f54c27e72236fead4d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+73ffebff6f34db7eb167bf9edcf2afa19c3073e9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c947f5e78ee6091f9bf5b4085a4206461dbb91eb72cba63bdaadc6c601ea7e85
[INFO] running `Command { std: "docker" "start" "-a" "c947f5e78ee6091f9bf5b4085a4206461dbb91eb72cba63bdaadc6c601ea7e85", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.149
[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]     Checking RThello v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::board::Board`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::board::Board;
[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 import: `std::fs::copy`
[INFO] [stdout]  --> src/ai_logic/minimax.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fs::copy;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ptr::read_unaligned`
[INFO] [stdout]  --> src/ai_logic/minimax.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::ptr::read_unaligned;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `AI_Type` should have an upper camel case name
[INFO] [stdout]  --> src/ai_logic.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub enum AI_Type{
[INFO] [stdout]   |          ^^^^^^^ help: convert the identifier to upper camel case: `AiType`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `AI_Logic_Handler` should have an upper camel case name
[INFO] [stdout]   --> src/ai_logic.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct AI_Logic_Handler
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AiLogicHandler`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::ai_logic`
[INFO] [stdout]  --> src/board.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::ai_logic;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::board::Board`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::board::Board;
[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 import: `std::fs::copy`
[INFO] [stdout]  --> src/ai_logic/minimax.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fs::copy;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ptr::read_unaligned`
[INFO] [stdout]  --> src/ai_logic/minimax.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::ptr::read_unaligned;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `AI_Type` should have an upper camel case name
[INFO] [stdout]  --> src/ai_logic.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub enum AI_Type{
[INFO] [stdout]   |          ^^^^^^^ help: convert the identifier to upper camel case: `AiType`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `AI_Logic_Handler` should have an upper camel case name
[INFO] [stdout]   --> src/ai_logic.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct AI_Logic_Handler
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AiLogicHandler`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::ai_logic`
[INFO] [stdout]  --> src/board.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::ai_logic;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `color`
[INFO] [stdout]    --> src/ai_logic/minimax.rs:179:14
[INFO] [stdout]     |
[INFO] [stdout] 179 | fn is_stable(color: &u64, opp_color: &u64, piece: &u64) -> bool {
[INFO] [stdout]     |              ^^^^^ help: if this is intentional, prefix it with an underscore: `_color`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `empty_squares`
[INFO] [stdout]    --> src/board.rs:102:13
[INFO] [stdout]     |
[INFO] [stdout] 102 |         let empty_squares: u64 = !(self.black ^ self.white);
[INFO] [stdout]     |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_empty_squares`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/board.rs:341:13
[INFO] [stdout]     |
[INFO] [stdout] 341 |         let mut row: usize;
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/board.rs:410:17
[INFO] [stdout]     |
[INFO] [stdout] 410 |             let mut played_move: bool;
[INFO] [stdout]     |                 ----^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `played_move` is assigned to, but never used
[INFO] [stdout]    --> src/board.rs:410:17
[INFO] [stdout]     |
[INFO] [stdout] 410 |             let mut played_move: bool;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_played_move` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]    --> src/board.rs:427:37
[INFO] [stdout]     |
[INFO] [stdout] 427 | ...                   Err(value) => false,
[INFO] [stdout]     |                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]    --> src/board.rs:446:37
[INFO] [stdout]     |
[INFO] [stdout] 446 | ...                   Err(value) => false,
[INFO] [stdout]     |                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `played_move` is never read
[INFO] [stdout]    --> src/board.rs:425:29
[INFO] [stdout]     |
[INFO] [stdout] 425 | / ...                   played_move = match player_move {
[INFO] [stdout] 426 | | ...                       Ok(value) => game_board.place_move(&possible_moves, value),
[INFO] [stdout] 427 | | ...                       Err(value) => false,
[INFO] [stdout] 428 | | ...                   };
[INFO] [stdout]     | |_______________________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `played_move` is never read
[INFO] [stdout]    --> src/board.rs:432:33
[INFO] [stdout]     |
[INFO] [stdout] 432 | ...                   played_move = game_board.place_move(&possible_moves, ai_move);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `played_move` is never read
[INFO] [stdout]    --> src/board.rs:444:29
[INFO] [stdout]     |
[INFO] [stdout] 444 | / ...                   played_move = match player_move {
[INFO] [stdout] 445 | | ...                       Ok(value) => game_board.place_move(&possible_moves, value),
[INFO] [stdout] 446 | | ...                       Err(value) => false,
[INFO] [stdout] 447 | | ...                   };
[INFO] [stdout]     | |_______________________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `played_move` is never read
[INFO] [stdout]    --> src/board.rs:452:28
[INFO] [stdout]     |
[INFO] [stdout] 452 | ...                   played_move = game_board.place_move(&possible_moves, ai_move);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `Color` is never read
[INFO] [stdout]   --> src/ai_logic.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct AI_Logic_Handler
[INFO] [stdout]    |            ---------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 17 |     Color: constants::Color
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EDGE_MASK` is never used
[INFO] [stdout]  --> src/constants.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub const EDGE_MASK: u64 = 0xff818181818181ff;
[INFO] [stdout]   |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FULL` is never used
[INFO] [stdout]  --> src/constants.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub const FULL: u64 = 0xffffffffffffffff;
[INFO] [stdout]   |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `None` is never constructed
[INFO] [stdout]   --> src/constants.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub enum Difficulty{
[INFO] [stdout]    |          ---------- variant in this enum
[INFO] [stdout] 19 |     None,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Mode` is never used
[INFO] [stdout]   --> src/board.rs:16:6
[INFO] [stdout]    |
[INFO] [stdout] 16 | enum Mode{
[INFO] [stdout]    |      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `print_as_board` is never used
[INFO] [stdout]    --> src/board.rs:238:12
[INFO] [stdout]     |
[INFO] [stdout]  20 | impl Board{
[INFO] [stdout]     | ---------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 238 |     pub fn print_as_board(board: &u64) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `AI` should have a snake case name
[INFO] [stdout]   --> src/ai_logic.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     AI: AI_Type,
[INFO] [stdout]    |     ^^ help: convert the identifier to snake case: `ai`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `Color` should have a snake case name
[INFO] [stdout]   --> src/ai_logic.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 |     Color: constants::Color
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to snake case (notice the capitalization): `color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Color` should have a snake case name
[INFO] [stdout]   --> src/ai_logic.rs:21:16
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub fn new(Color: constants::Color, ai_difficulty: constants::Difficulty) -> Self {
[INFO] [stdout]    |                ^^^^^ help: convert the identifier to snake case (notice the capitalization): `color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `AI` should have a snake case name
[INFO] [stdout]   --> src/ai_logic.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |         let AI= match ai_difficulty {
[INFO] [stdout]    |             ^^ help: convert the identifier to snake case: `ai`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> src/board.rs:274:13
[INFO] [stdout]     |
[INFO] [stdout] 274 |         if (row < 0 || row > 7) || (col < 0 || col > 7) {
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> src/board.rs:274:37
[INFO] [stdout]     |
[INFO] [stdout] 274 |         if (row < 0 || row > 7) || (col < 0 || col > 7) {
[INFO] [stdout]     |                                     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `color`
[INFO] [stdout]    --> src/ai_logic/minimax.rs:179:14
[INFO] [stdout]     |
[INFO] [stdout] 179 | fn is_stable(color: &u64, opp_color: &u64, piece: &u64) -> bool {
[INFO] [stdout]     |              ^^^^^ help: if this is intentional, prefix it with an underscore: `_color`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `empty_squares`
[INFO] [stdout]    --> src/board.rs:102:13
[INFO] [stdout]     |
[INFO] [stdout] 102 |         let empty_squares: u64 = !(self.black ^ self.white);
[INFO] [stdout]     |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_empty_squares`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/board.rs:341:13
[INFO] [stdout]     |
[INFO] [stdout] 341 |         let mut row: usize;
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/board.rs:410:17
[INFO] [stdout]     |
[INFO] [stdout] 410 |             let mut played_move: bool;
[INFO] [stdout]     |                 ----^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `played_move` is assigned to, but never used
[INFO] [stdout]    --> src/board.rs:410:17
[INFO] [stdout]     |
[INFO] [stdout] 410 |             let mut played_move: bool;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_played_move` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]    --> src/board.rs:427:37
[INFO] [stdout]     |
[INFO] [stdout] 427 | ...                   Err(value) => false,
[INFO] [stdout]     |                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]    --> src/board.rs:446:37
[INFO] [stdout]     |
[INFO] [stdout] 446 | ...                   Err(value) => false,
[INFO] [stdout]     |                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `played_move` is never read
[INFO] [stdout]    --> src/board.rs:425:29
[INFO] [stdout]     |
[INFO] [stdout] 425 | / ...                   played_move = match player_move {
[INFO] [stdout] 426 | | ...                       Ok(value) => game_board.place_move(&possible_moves, value),
[INFO] [stdout] 427 | | ...                       Err(value) => false,
[INFO] [stdout] 428 | | ...                   };
[INFO] [stdout]     | |_______________________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `played_move` is never read
[INFO] [stdout]    --> src/board.rs:432:33
[INFO] [stdout]     |
[INFO] [stdout] 432 | ...                   played_move = game_board.place_move(&possible_moves, ai_move);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `played_move` is never read
[INFO] [stdout]    --> src/board.rs:444:29
[INFO] [stdout]     |
[INFO] [stdout] 444 | / ...                   played_move = match player_move {
[INFO] [stdout] 445 | | ...                       Ok(value) => game_board.place_move(&possible_moves, value),
[INFO] [stdout] 446 | | ...                       Err(value) => false,
[INFO] [stdout] 447 | | ...                   };
[INFO] [stdout]     | |_______________________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `played_move` is never read
[INFO] [stdout]    --> src/board.rs:452:28
[INFO] [stdout]     |
[INFO] [stdout] 452 | ...                   played_move = game_board.place_move(&possible_moves, ai_move);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `Color` is never read
[INFO] [stdout]   --> src/ai_logic.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct AI_Logic_Handler
[INFO] [stdout]    |            ---------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 17 |     Color: constants::Color
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EDGE_MASK` is never used
[INFO] [stdout]  --> src/constants.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub const EDGE_MASK: u64 = 0xff818181818181ff;
[INFO] [stdout]   |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FULL` is never used
[INFO] [stdout]  --> src/constants.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub const FULL: u64 = 0xffffffffffffffff;
[INFO] [stdout]   |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `None` is never constructed
[INFO] [stdout]   --> src/constants.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub enum Difficulty{
[INFO] [stdout]    |          ---------- variant in this enum
[INFO] [stdout] 19 |     None,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Mode` is never used
[INFO] [stdout]   --> src/board.rs:16:6
[INFO] [stdout]    |
[INFO] [stdout] 16 | enum Mode{
[INFO] [stdout]    |      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `print_as_board` is never used
[INFO] [stdout]    --> src/board.rs:238:12
[INFO] [stdout]     |
[INFO] [stdout]  20 | impl Board{
[INFO] [stdout]     | ---------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 238 |     pub fn print_as_board(board: &u64) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `AI` should have a snake case name
[INFO] [stdout]   --> src/ai_logic.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     AI: AI_Type,
[INFO] [stdout]    |     ^^ help: convert the identifier to snake case: `ai`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `Color` should have a snake case name
[INFO] [stdout]   --> src/ai_logic.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 |     Color: constants::Color
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to snake case (notice the capitalization): `color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Color` should have a snake case name
[INFO] [stdout]   --> src/ai_logic.rs:21:16
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub fn new(Color: constants::Color, ai_difficulty: constants::Difficulty) -> Self {
[INFO] [stdout]    |                ^^^^^ help: convert the identifier to snake case (notice the capitalization): `color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `AI` should have a snake case name
[INFO] [stdout]   --> src/ai_logic.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |         let AI= match ai_difficulty {
[INFO] [stdout]    |             ^^ help: convert the identifier to snake case: `ai`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> src/board.rs:274:13
[INFO] [stdout]     |
[INFO] [stdout] 274 |         if (row < 0 || row > 7) || (col < 0 || col > 7) {
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> src/board.rs:274:37
[INFO] [stdout]     |
[INFO] [stdout] 274 |         if (row < 0 || row > 7) || (col < 0 || col > 7) {
[INFO] [stdout]     |                                     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.01s
[INFO] running `Command { std: "docker" "inspect" "c947f5e78ee6091f9bf5b4085a4206461dbb91eb72cba63bdaadc6c601ea7e85", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c947f5e78ee6091f9bf5b4085a4206461dbb91eb72cba63bdaadc6c601ea7e85", kill_on_drop: false }`
[INFO] [stdout] c947f5e78ee6091f9bf5b4085a4206461dbb91eb72cba63bdaadc6c601ea7e85
