[INFO] cloning repository https://github.com/ayg9172/ChessEngine
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ayg9172/ChessEngine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fayg9172%2FChessEngine", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fayg9172%2FChessEngine'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 86125557a1bd7f05644c841bf1d8cb4955f820e9
[INFO] checking ayg9172/ChessEngine/86125557a1bd7f05644c841bf1d8cb4955f820e9 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146470
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fayg9172%2FChessEngine" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ayg9172/ChessEngine
[INFO] finished tweaking git repo https://github.com/ayg9172/ChessEngine
[INFO] tweaked toml for git repo https://github.com/ayg9172/ChessEngine written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ayg9172/ChessEngine on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ayg9172/ChessEngine 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded actix-cors v0.6.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b754e61ef740f4b2bd9bea3e243856df1c400afe8e21f5b5bc2b82e3164c380a
[INFO] running `Command { std: "docker" "start" "-a" "b754e61ef740f4b2bd9bea3e243856df1c400afe8e21f5b5bc2b82e3164c380a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b754e61ef740f4b2bd9bea3e243856df1c400afe8e21f5b5bc2b82e3164c380a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b754e61ef740f4b2bd9bea3e243856df1c400afe8e21f5b5bc2b82e3164c380a", kill_on_drop: false }`
[INFO] [stdout] b754e61ef740f4b2bd9bea3e243856df1c400afe8e21f5b5bc2b82e3164c380a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b2252fcdf7b0f81ee8bc092c000b28c05c331e8a921684fe06d78e7e727cbc2e
[INFO] running `Command { std: "docker" "start" "-a" "b2252fcdf7b0f81ee8bc092c000b28c05c331e8a921684fe06d78e7e727cbc2e", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]     Checking smallvec v1.15.0
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]     Checking pin-project-lite v0.2.16
[INFO] [stderr]     Checking bytes v1.10.1
[INFO] [stderr]     Checking log v0.4.27
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]     Checking futures-core v0.3.31
[INFO] [stderr]     Checking writeable v0.5.5
[INFO] [stderr]     Checking itoa v1.0.15
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]     Checking litemap v0.7.5
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.1
[INFO] [stderr]    Compiling zerocopy v0.8.24
[INFO] [stderr]    Compiling typenum v1.18.0
[INFO] [stderr]     Checking once_cell v1.21.3
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]    Compiling icu_properties_data v1.5.1
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling getrandom v0.3.2
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.1
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]     Checking futures-sink v0.3.31
[INFO] [stderr]     Checking percent-encoding v2.3.1
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]     Checking write16 v1.0.0
[INFO] [stderr]     Checking tracing-core v0.1.33
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]     Checking utf8_iter v1.0.4
[INFO] [stderr]     Checking alloc-no-stdlib v2.0.4
[INFO] [stderr]     Checking futures-task v0.3.31
[INFO] [stderr]     Checking local-waker v0.1.4
[INFO] [stderr]     Checking utf16_iter v1.0.5
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]     Checking alloc-stdlib v0.2.2
[INFO] [stderr]     Checking powerfmt v0.2.0
[INFO] [stderr]     Checking equivalent v1.0.2
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking adler2 v2.0.0
[INFO] [stderr]     Checking regex-syntax v0.8.5
[INFO] [stderr]     Checking hashbrown v0.15.2
[INFO] [stderr]     Checking deranged v0.4.0
[INFO] [stderr]     Checking miniz_oxide v0.8.7
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling bytestring v1.4.0
[INFO] [stderr]    Compiling jobserver v0.1.33
[INFO] [stderr]     Checking brotli-decompressor v4.0.2
[INFO] [stderr]     Checking actix-utils v3.0.1
[INFO] [stderr]     Checking indexmap v2.9.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]    Compiling cc v1.2.18
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]     Checking form_urlencoded v1.2.1
[INFO] [stderr]     Checking actix-service v2.0.3
[INFO] [stderr]     Checking crc32fast v1.4.2
[INFO] [stderr]     Checking cpufeatures v0.2.17
[INFO] [stderr]     Checking num-conv v0.1.0
[INFO] [stderr]     Checking bitflags v2.9.0
[INFO] [stderr]     Checking ryu v1.0.20
[INFO] [stderr]     Checking time-core v0.1.4
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking flate2 v1.1.1
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]     Checking local-channel v0.1.5
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking time v0.3.41
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking socket2 v0.5.9
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking mio v1.0.3
[INFO] [stderr]     Checking brotli v7.0.0
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking foldhash v0.1.5
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]     Checking base64 v0.22.1
[INFO] [stderr]     Checking language-tags v0.3.2
[INFO] [stderr]     Checking mime v0.3.17
[INFO] [stderr]     Checking regex-lite v0.1.6
[INFO] [stderr]     Checking tokio v1.44.2
[INFO] [stderr]     Checking httpdate v1.0.3
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking impl-more v0.1.9
[INFO] [stderr]     Checking json v0.12.4
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.9.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]    Compiling actix-router v0.5.3
[INFO] [stderr]    Compiling zstd-sys v2.0.15+zstd.1.5.7
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.7.5
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]     Checking tokio-util v0.7.14
[INFO] [stderr]     Checking actix-rt v2.10.0
[INFO] [stderr]     Checking zerovec v0.10.4
[INFO] [stderr]    Compiling derive_more-impl v2.0.1
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]    Compiling derive_more v0.99.19
[INFO] [stderr]     Checking tinystr v0.7.6
[INFO] [stderr]     Checking icu_collections v1.5.0
[INFO] [stderr]     Checking icu_locid v1.5.0
[INFO] [stderr]     Checking actix-codec v0.5.2
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking actix-server v2.5.1
[INFO] [stderr]     Checking icu_provider v1.5.0
[INFO] [stderr]     Checking icu_locid_transform v1.5.0
[INFO] [stderr]     Checking derive_more v2.0.1
[INFO] [stderr]     Checking icu_properties v1.5.1
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking icu_normalizer v1.5.0
[INFO] [stderr]     Checking idna_adapter v1.2.0
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking zstd v0.13.3
[INFO] [stderr]     Checking actix-http v3.10.0
[INFO] [stderr]     Checking actix-web v4.10.2
[INFO] [stderr]     Checking actix-cors v0.6.5
[INFO] [stderr]     Checking chess_engine v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/chess/cmove.rs:1:27
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::piece::{Piece, self};
[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: `fen`
[INFO] [stdout]  --> src/api/chess_api.rs:7:67
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::chess::{color::Color, move_api::MoveAPI, piece::Piece, fen};
[INFO] [stdout]   |                                                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HashMap` and `iter::Map`
[INFO] [stdout]  --> src/game/agent.rs:2:26
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{cmp::Ordering, iter::Map, collections::{HashMap, VecDeque}};
[INFO] [stdout]   |                          ^^^^^^^^^                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SeedableRng`
[INFO] [stdout]  --> src/game/agent.rs:4:29
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rand::{rngs::ThreadRng, SeedableRng, Rng};
[INFO] [stdout]   |                             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `board`
[INFO] [stdout]  --> src/game/agent.rs:6:53
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::{chess::{cmove::Move, move_api::MoveAPI, board, color::Color, piece}, api::chess_api::{GameAPI, ChessGame}};
[INFO] [stdout]   |                                                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `api::chess_api::GameAPI`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use api::chess_api::GameAPI;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Piece`, `RandomAgent`, `fen_to_piece`, `fen`, `self`, and `self`
[INFO] [stdout]  --> src/server/mod.rs:5:41
[INFO] [stdout]   |
[INFO] [stdout] 5 | ...PI, self}, position::Position, cmove::Move, fen, piece::{fen_to_piece, Piece, self}, color::Color}, game::agent::{RandomAgent, Age...
[INFO] [stdout]   |        ^^^^                                    ^^^          ^^^^^^^^^^^^  ^^^^^  ^^^^                                ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/chess/cmove.rs:1:27
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::piece::{Piece, self};
[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: `fen`
[INFO] [stdout]  --> src/api/chess_api.rs:7:67
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::chess::{color::Color, move_api::MoveAPI, piece::Piece, fen};
[INFO] [stdout]   |                                                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HashMap` and `iter::Map`
[INFO] [stdout]  --> src/game/agent.rs:2:26
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{cmp::Ordering, iter::Map, collections::{HashMap, VecDeque}};
[INFO] [stdout]   |                          ^^^^^^^^^                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SeedableRng`
[INFO] [stdout]  --> src/game/agent.rs:4:29
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rand::{rngs::ThreadRng, SeedableRng, Rng};
[INFO] [stdout]   |                             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `board`
[INFO] [stdout]  --> src/game/agent.rs:6:53
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::{chess::{cmove::Move, move_api::MoveAPI, board, color::Color, piece}, api::chess_api::{GameAPI, ChessGame}};
[INFO] [stdout]   |                                                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `api::chess_api::GameAPI`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use api::chess_api::GameAPI;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Piece`, `RandomAgent`, `fen_to_piece`, `fen`, `self`, and `self`
[INFO] [stdout]  --> src/server/mod.rs:5:41
[INFO] [stdout]   |
[INFO] [stdout] 5 | ...PI, self}, position::Position, cmove::Move, fen, piece::{fen_to_piece, Piece, self}, color::Color}, game::agent::{RandomAgent, Age...
[INFO] [stdout]   |        ^^^^                                    ^^^          ^^^^^^^^^^^^  ^^^^^  ^^^^                                ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/server/mod.rs:72:9
[INFO] [stdout]    |
[INFO] [stdout] 72 |     let mut move_api = MoveAPI::new(&data.fen);
[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/server/mod.rs:84:9
[INFO] [stdout]    |
[INFO] [stdout] 84 |     let mut user_move = Move::new(
[INFO] [stdout]    |         ----^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/server/mod.rs:72:9
[INFO] [stdout]    |
[INFO] [stdout] 72 |     let mut move_api = MoveAPI::new(&data.fen);
[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/server/mod.rs:84:9
[INFO] [stdout]    |
[INFO] [stdout] 84 |     let mut user_move = Move::new(
[INFO] [stdout]    |         ----^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `overextend_w`
[INFO] [stdout]   --> src/chess/move_api.rs:94:13
[INFO] [stdout]    |
[INFO] [stdout] 94 |         let overextend_w = w_queen;
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_overextend_w`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `overextend_b`
[INFO] [stdout]   --> src/chess/move_api.rs:95:13
[INFO] [stdout]    |
[INFO] [stdout] 95 |         let overextend_b = b_queen;
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_overextend_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/chess/move_generator.rs:232:13
[INFO] [stdout]     |
[INFO] [stdout] 232 |         let mut pieces = board.get_color_piece_board(piece, color);
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/game/agent.rs:59:13
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let mut moves = move_api.get_legal_moves();
[INFO] [stdout]    |             ----^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `color`
[INFO] [stdout]   --> src/game/agent.rs:97:65
[INFO] [stdout]    |
[INFO] [stdout] 97 |     pub fn choose_best_move(&mut self, move_api : &mut MoveAPI, color: f64) -> Move {
[INFO] [stdout]    |                                                                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `overextend_w`
[INFO] [stdout]   --> src/chess/move_api.rs:94:13
[INFO] [stdout]    |
[INFO] [stdout] 94 |         let overextend_w = w_queen;
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_overextend_w`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `overextend_b`
[INFO] [stdout]   --> src/chess/move_api.rs:95:13
[INFO] [stdout]    |
[INFO] [stdout] 95 |         let overextend_b = b_queen;
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_overextend_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/game/agent.rs:161:13
[INFO] [stdout]     |
[INFO] [stdout] 161 |         let mut random_generator = rand::thread_rng();  
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/game/agent.rs:215:13
[INFO] [stdout]     |
[INFO] [stdout] 215 |         let mut random_generator = rand::thread_rng();  
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/chess/move_generator.rs:232:13
[INFO] [stdout]     |
[INFO] [stdout] 232 |         let mut pieces = board.get_color_piece_board(piece, color);
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/game/agent.rs:59:13
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let mut moves = move_api.get_legal_moves();
[INFO] [stdout]    |             ----^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `color`
[INFO] [stdout]   --> src/game/agent.rs:97:65
[INFO] [stdout]    |
[INFO] [stdout] 97 |     pub fn choose_best_move(&mut self, move_api : &mut MoveAPI, color: f64) -> Move {
[INFO] [stdout]    |                                                                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/game/agent.rs:161:13
[INFO] [stdout]     |
[INFO] [stdout] 161 |         let mut random_generator = rand::thread_rng();  
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/game/agent.rs:215:13
[INFO] [stdout]     |
[INFO] [stdout] 215 |         let mut random_generator = rand::thread_rng();  
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]    --> src/server/mod.rs:129:23
[INFO] [stdout]     |
[INFO] [stdout] 129 |                 Error(msg) => false,
[INFO] [stdout]     |                       ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_state` is never used
[INFO] [stdout]    --> src/chess/board.rs:423:12
[INFO] [stdout]     |
[INFO] [stdout]  78 | impl Board {
[INFO] [stdout]     | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 423 |     pub fn get_state(&self) -> [[(Option<Piece>, Option<Color>); 8]; 8] {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_state` and `get_piece_move_count` are never used
[INFO] [stdout]   --> src/chess/move_api.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl MoveAPI {
[INFO] [stdout]    | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn get_state(&self) -> [[(Option<Piece>, Option<Color>); 8]; 8] {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn get_piece_move_count(&self, color: Color) -> u32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_piece_move_count` and `get_move_count_color` are never used
[INFO] [stdout]    --> src/chess/move_generator.rs:231:8
[INFO] [stdout]     |
[INFO] [stdout]  31 | impl MoveGenerator {
[INFO] [stdout]     | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 231 |     fn get_piece_move_count(&self, board: &Board, piece: Piece, color: Color) -> u32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 358 |     pub fn get_move_count_color(&self, board: &Board, color: Color) -> u32 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_piece_dev_value` is never used
[INFO] [stdout]   --> src/chess/piece.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn get_piece_dev_value(piece: Piece) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `try_undo` and `get_state` are never used
[INFO] [stdout]   --> src/api/chess_api.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub trait GameAPI {
[INFO] [stdout]    |           ------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 38 |     fn try_undo(&mut self) -> Message;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     fn get_state(&self) -> [[(Option<Piece>, Option<Color>); 8]; 8];
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RandomAgent` is never constructed
[INFO] [stdout]  --> src/game/agent.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct RandomAgent {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `random_generator` is never read
[INFO] [stdout]   --> src/game/agent.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct TomatoAgent {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 16 |     random_generator: ThreadRng,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ScoredMove` is never constructed
[INFO] [stdout]   --> src/game/agent.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | struct ScoredMove {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `compare_to` is never used
[INFO] [stdout]   --> src/game/agent.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 34 | impl ScoredMove {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] 35 |     // todo make this function easy to change by creating subroutines
[INFO] [stdout] 36 |     pub fn compare_to(&self, other: &ScoredMove) -> Ordering {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `order_moves` is never used
[INFO] [stdout]    --> src/game/agent.rs:107:12
[INFO] [stdout]     |
[INFO] [stdout]  50 | impl TomatoAgent {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 107 |     pub fn order_moves(&mut self, move_api: &mut MoveAPI, moves: Vec<Move>, color: f64, depth: usize) -> Vec<Move> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/game/agent.rs:214:12
[INFO] [stdout]     |
[INFO] [stdout] 213 | impl RandomAgent {
[INFO] [stdout]     | ---------------- associated function in this implementation
[INFO] [stdout] 214 |     pub fn new()-> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]    --> src/server/mod.rs:129:23
[INFO] [stdout]     |
[INFO] [stdout] 129 |                 Error(msg) => false,
[INFO] [stdout]     |                       ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:62:5
[INFO] [stdout]    |
[INFO] [stdout] 62 |     server::server();
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let _ = server::server();
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_state` is never used
[INFO] [stdout]    --> src/chess/board.rs:423:12
[INFO] [stdout]     |
[INFO] [stdout]  78 | impl Board {
[INFO] [stdout]     | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 423 |     pub fn get_state(&self) -> [[(Option<Piece>, Option<Color>); 8]; 8] {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_state` and `get_piece_move_count` are never used
[INFO] [stdout]   --> src/chess/move_api.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl MoveAPI {
[INFO] [stdout]    | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn get_state(&self) -> [[(Option<Piece>, Option<Color>); 8]; 8] {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn get_piece_move_count(&self, color: Color) -> u32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_piece_move_count` and `get_move_count_color` are never used
[INFO] [stdout]    --> src/chess/move_generator.rs:231:8
[INFO] [stdout]     |
[INFO] [stdout]  31 | impl MoveGenerator {
[INFO] [stdout]     | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 231 |     fn get_piece_move_count(&self, board: &Board, piece: Piece, color: Color) -> u32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 358 |     pub fn get_move_count_color(&self, board: &Board, color: Color) -> u32 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_piece_dev_value` is never used
[INFO] [stdout]   --> src/chess/piece.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn get_piece_dev_value(piece: Piece) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `try_undo` and `get_state` are never used
[INFO] [stdout]   --> src/api/chess_api.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub trait GameAPI {
[INFO] [stdout]    |           ------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 38 |     fn try_undo(&mut self) -> Message;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     fn get_state(&self) -> [[(Option<Piece>, Option<Color>); 8]; 8];
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RandomAgent` is never constructed
[INFO] [stdout]  --> src/game/agent.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct RandomAgent {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `random_generator` is never read
[INFO] [stdout]   --> src/game/agent.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct TomatoAgent {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 16 |     random_generator: ThreadRng,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ScoredMove` is never constructed
[INFO] [stdout]   --> src/game/agent.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | struct ScoredMove {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `compare_to` is never used
[INFO] [stdout]   --> src/game/agent.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 34 | impl ScoredMove {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] 35 |     // todo make this function easy to change by creating subroutines
[INFO] [stdout] 36 |     pub fn compare_to(&self, other: &ScoredMove) -> Ordering {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `order_moves` is never used
[INFO] [stdout]    --> src/game/agent.rs:107:12
[INFO] [stdout]     |
[INFO] [stdout]  50 | impl TomatoAgent {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 107 |     pub fn order_moves(&mut self, move_api: &mut MoveAPI, moves: Vec<Move>, color: f64, depth: usize) -> Vec<Move> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/game/agent.rs:214:12
[INFO] [stdout]     |
[INFO] [stdout] 213 | impl RandomAgent {
[INFO] [stdout]     | ---------------- associated function in this implementation
[INFO] [stdout] 214 |     pub fn new()-> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `sColor` should have a snake case name
[INFO] [stdout]    --> src/game/agent.rs:109:13
[INFO] [stdout]     |
[INFO] [stdout] 109 |         let sColor = if color < 0.0 {
[INFO] [stdout]     |             ^^^^^^ help: convert the identifier to snake case: `s_color`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `oColor` should have a snake case name
[INFO] [stdout]    --> src/game/agent.rs:115:13
[INFO] [stdout]     |
[INFO] [stdout] 115 |         let oColor = if color < 0.0 {
[INFO] [stdout]     |             ^^^^^^ help: convert the identifier to snake case: `o_color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait method `getAgentMove` should have a snake case name
[INFO] [stdout]    --> src/game/agent.rs:210:8
[INFO] [stdout]     |
[INFO] [stdout] 210 |     fn getAgentMove(&mut self, board_logic: &mut ChessGame) -> Option<Move>;
[INFO] [stdout]     |        ^^^^^^^^^^^^ help: convert the identifier to snake case: `get_agent_move`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `startRow` should have a snake case name
[INFO] [stdout]   --> src/server/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     startRow: u32, 
[INFO] [stdout]    |     ^^^^^^^^ help: convert the identifier to snake case: `start_row`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `startCol` should have a snake case name
[INFO] [stdout]   --> src/server/mod.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     startCol: u32,
[INFO] [stdout]    |     ^^^^^^^^ help: convert the identifier to snake case: `start_col`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `endRow` should have a snake case name
[INFO] [stdout]   --> src/server/mod.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     endRow: u32, 
[INFO] [stdout]    |     ^^^^^^ help: convert the identifier to snake case: `end_row`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `endCol` should have a snake case name
[INFO] [stdout]   --> src/server/mod.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     endCol: u32,
[INFO] [stdout]    |     ^^^^^^ help: convert the identifier to snake case: `end_col`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `isLegal` should have a snake case name
[INFO] [stdout]   --> src/server/mod.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |     isLegal: bool,
[INFO] [stdout]    |     ^^^^^^^ help: convert the identifier to snake case: `is_legal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `isGameOver` should have a snake case name
[INFO] [stdout]   --> src/server/mod.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     isGameOver: bool,
[INFO] [stdout]    |     ^^^^^^^^^^ help: convert the identifier to snake case: `is_game_over`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `startRow` should have a snake case name
[INFO] [stdout]   --> src/server/mod.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 |     startRow: u32, 
[INFO] [stdout]    |     ^^^^^^^^ help: convert the identifier to snake case: `start_row`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `startCol` should have a snake case name
[INFO] [stdout]   --> src/server/mod.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 |     startCol: u32,
[INFO] [stdout]    |     ^^^^^^^^ help: convert the identifier to snake case: `start_col`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `endRow` should have a snake case name
[INFO] [stdout]   --> src/server/mod.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |     endRow: u32, 
[INFO] [stdout]    |     ^^^^^^ help: convert the identifier to snake case: `end_row`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `endCol` should have a snake case name
[INFO] [stdout]   --> src/server/mod.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |     endCol: u32,  
[INFO] [stdout]    |     ^^^^^^ help: convert the identifier to snake case: `end_col`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `isLegal` should have a snake case name
[INFO] [stdout]   --> src/server/mod.rs:39:13
[INFO] [stdout]    |
[INFO] [stdout] 39 |         let isLegal = false;
[INFO] [stdout]    |             ^^^^^^^ help: convert the identifier to snake case: `is_legal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `isGameOver` should have a snake case name
[INFO] [stdout]   --> src/server/mod.rs:41:13
[INFO] [stdout]    |
[INFO] [stdout] 41 |         let isGameOver = false;
[INFO] [stdout]    |             ^^^^^^^^^^ help: convert the identifier to snake case: `is_game_over`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `startRow` should have a snake case name
[INFO] [stdout]   --> src/server/mod.rs:43:13
[INFO] [stdout]    |
[INFO] [stdout] 43 |         let startRow = 0;
[INFO] [stdout]    |             ^^^^^^^^ help: convert the identifier to snake case: `start_row`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `startCol` should have a snake case name
[INFO] [stdout]   --> src/server/mod.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 44 |         let startCol = 0;
[INFO] [stdout]    |             ^^^^^^^^ help: convert the identifier to snake case: `start_col`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `endRow` should have a snake case name
[INFO] [stdout]   --> src/server/mod.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |         let endRow = 0;
[INFO] [stdout]    |             ^^^^^^ help: convert the identifier to snake case: `end_row`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `endCol` should have a snake case name
[INFO] [stdout]   --> src/server/mod.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 |         let endCol = 0;
[INFO] [stdout]    |             ^^^^^^ help: convert the identifier to snake case: `end_col`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `startRow` should have a snake case name
[INFO] [stdout]    --> src/server/mod.rs:101:21
[INFO] [stdout]     |
[INFO] [stdout] 101 |             let mut startRow = 0;
[INFO] [stdout]     |                     ^^^^^^^^ help: convert the identifier to snake case: `start_row`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `startCol` should have a snake case name
[INFO] [stdout]    --> src/server/mod.rs:102:21
[INFO] [stdout]     |
[INFO] [stdout] 102 |             let mut startCol = 0;
[INFO] [stdout]     |                     ^^^^^^^^ help: convert the identifier to snake case: `start_col`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `endRow` should have a snake case name
[INFO] [stdout]    --> src/server/mod.rs:103:21
[INFO] [stdout]     |
[INFO] [stdout] 103 |             let mut endRow = 0;
[INFO] [stdout]     |                     ^^^^^^ help: convert the identifier to snake case: `end_row`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `endCol` should have a snake case name
[INFO] [stdout]    --> src/server/mod.rs:104:21
[INFO] [stdout]     |
[INFO] [stdout] 104 |             let mut endCol = 0;
[INFO] [stdout]     |                     ^^^^^^ help: convert the identifier to snake case: `end_col`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `agentMoveString` should have a snake case name
[INFO] [stdout]    --> src/server/mod.rs:105:21
[INFO] [stdout]     |
[INFO] [stdout] 105 |             let mut agentMoveString = String::from("");
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `agent_move_string`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `isLegal` should have a snake case name
[INFO] [stdout]    --> src/server/mod.rs:124:17
[INFO] [stdout]     |
[INFO] [stdout] 124 |             let isLegal = true;
[INFO] [stdout]     |                 ^^^^^^^ help: convert the identifier to snake case: `is_legal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `isGameOver` should have a snake case name
[INFO] [stdout]    --> src/server/mod.rs:127:17
[INFO] [stdout]     |
[INFO] [stdout] 127 |             let isGameOver = match game_api.get_outcome() {
[INFO] [stdout]     |                 ^^^^^^^^^^ help: convert the identifier to snake case: `is_game_over`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:62:5
[INFO] [stdout]    |
[INFO] [stdout] 62 |     server::server();
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let _ = server::server();
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `sColor` should have a snake case name
[INFO] [stdout]    --> src/game/agent.rs:109:13
[INFO] [stdout]     |
[INFO] [stdout] 109 |         let sColor = if color < 0.0 {
[INFO] [stdout]     |             ^^^^^^ help: convert the identifier to snake case: `s_color`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `oColor` should have a snake case name
[INFO] [stdout]    --> src/game/agent.rs:115:13
[INFO] [stdout]     |
[INFO] [stdout] 115 |         let oColor = if color < 0.0 {
[INFO] [stdout]     |             ^^^^^^ help: convert the identifier to snake case: `o_color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait method `getAgentMove` should have a snake case name
[INFO] [stdout]    --> src/game/agent.rs:210:8
[INFO] [stdout]     |
[INFO] [stdout] 210 |     fn getAgentMove(&mut self, board_logic: &mut ChessGame) -> Option<Move>;
[INFO] [stdout]     |        ^^^^^^^^^^^^ help: convert the identifier to snake case: `get_agent_move`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `startRow` should have a snake case name
[INFO] [stdout]   --> src/server/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     startRow: u32, 
[INFO] [stdout]    |     ^^^^^^^^ help: convert the identifier to snake case: `start_row`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `startCol` should have a snake case name
[INFO] [stdout]   --> src/server/mod.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     startCol: u32,
[INFO] [stdout]    |     ^^^^^^^^ help: convert the identifier to snake case: `start_col`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `endRow` should have a snake case name
[INFO] [stdout]   --> src/server/mod.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     endRow: u32, 
[INFO] [stdout]    |     ^^^^^^ help: convert the identifier to snake case: `end_row`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `endCol` should have a snake case name
[INFO] [stdout]   --> src/server/mod.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     endCol: u32,
[INFO] [stdout]    |     ^^^^^^ help: convert the identifier to snake case: `end_col`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `isLegal` should have a snake case name
[INFO] [stdout]   --> src/server/mod.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |     isLegal: bool,
[INFO] [stdout]    |     ^^^^^^^ help: convert the identifier to snake case: `is_legal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `isGameOver` should have a snake case name
[INFO] [stdout]   --> src/server/mod.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     isGameOver: bool,
[INFO] [stdout]    |     ^^^^^^^^^^ help: convert the identifier to snake case: `is_game_over`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `startRow` should have a snake case name
[INFO] [stdout]   --> src/server/mod.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 |     startRow: u32, 
[INFO] [stdout]    |     ^^^^^^^^ help: convert the identifier to snake case: `start_row`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `startCol` should have a snake case name
[INFO] [stdout]   --> src/server/mod.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 |     startCol: u32,
[INFO] [stdout]    |     ^^^^^^^^ help: convert the identifier to snake case: `start_col`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `endRow` should have a snake case name
[INFO] [stdout]   --> src/server/mod.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |     endRow: u32, 
[INFO] [stdout]    |     ^^^^^^ help: convert the identifier to snake case: `end_row`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `endCol` should have a snake case name
[INFO] [stdout]   --> src/server/mod.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |     endCol: u32,  
[INFO] [stdout]    |     ^^^^^^ help: convert the identifier to snake case: `end_col`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `isLegal` should have a snake case name
[INFO] [stdout]   --> src/server/mod.rs:39:13
[INFO] [stdout]    |
[INFO] [stdout] 39 |         let isLegal = false;
[INFO] [stdout]    |             ^^^^^^^ help: convert the identifier to snake case: `is_legal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `isGameOver` should have a snake case name
[INFO] [stdout]   --> src/server/mod.rs:41:13
[INFO] [stdout]    |
[INFO] [stdout] 41 |         let isGameOver = false;
[INFO] [stdout]    |             ^^^^^^^^^^ help: convert the identifier to snake case: `is_game_over`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `startRow` should have a snake case name
[INFO] [stdout]   --> src/server/mod.rs:43:13
[INFO] [stdout]    |
[INFO] [stdout] 43 |         let startRow = 0;
[INFO] [stdout]    |             ^^^^^^^^ help: convert the identifier to snake case: `start_row`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `startCol` should have a snake case name
[INFO] [stdout]   --> src/server/mod.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 44 |         let startCol = 0;
[INFO] [stdout]    |             ^^^^^^^^ help: convert the identifier to snake case: `start_col`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `endRow` should have a snake case name
[INFO] [stdout]   --> src/server/mod.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |         let endRow = 0;
[INFO] [stdout]    |             ^^^^^^ help: convert the identifier to snake case: `end_row`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `endCol` should have a snake case name
[INFO] [stdout]   --> src/server/mod.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 |         let endCol = 0;
[INFO] [stdout]    |             ^^^^^^ help: convert the identifier to snake case: `end_col`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `startRow` should have a snake case name
[INFO] [stdout]    --> src/server/mod.rs:101:21
[INFO] [stdout]     |
[INFO] [stdout] 101 |             let mut startRow = 0;
[INFO] [stdout]     |                     ^^^^^^^^ help: convert the identifier to snake case: `start_row`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `startCol` should have a snake case name
[INFO] [stdout]    --> src/server/mod.rs:102:21
[INFO] [stdout]     |
[INFO] [stdout] 102 |             let mut startCol = 0;
[INFO] [stdout]     |                     ^^^^^^^^ help: convert the identifier to snake case: `start_col`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `endRow` should have a snake case name
[INFO] [stdout]    --> src/server/mod.rs:103:21
[INFO] [stdout]     |
[INFO] [stdout] 103 |             let mut endRow = 0;
[INFO] [stdout]     |                     ^^^^^^ help: convert the identifier to snake case: `end_row`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `endCol` should have a snake case name
[INFO] [stdout]    --> src/server/mod.rs:104:21
[INFO] [stdout]     |
[INFO] [stdout] 104 |             let mut endCol = 0;
[INFO] [stdout]     |                     ^^^^^^ help: convert the identifier to snake case: `end_col`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `agentMoveString` should have a snake case name
[INFO] [stdout]    --> src/server/mod.rs:105:21
[INFO] [stdout]     |
[INFO] [stdout] 105 |             let mut agentMoveString = String::from("");
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `agent_move_string`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `isLegal` should have a snake case name
[INFO] [stdout]    --> src/server/mod.rs:124:17
[INFO] [stdout]     |
[INFO] [stdout] 124 |             let isLegal = true;
[INFO] [stdout]     |                 ^^^^^^^ help: convert the identifier to snake case: `is_legal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `isGameOver` should have a snake case name
[INFO] [stdout]    --> src/server/mod.rs:127:17
[INFO] [stdout]     |
[INFO] [stdout] 127 |             let isGameOver = match game_api.get_outcome() {
[INFO] [stdout]     |                 ^^^^^^^^^^ help: convert the identifier to snake case: `is_game_over`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [optimized + debuginfo] target(s) in 1m 19s
[INFO] running `Command { std: "docker" "inspect" "b2252fcdf7b0f81ee8bc092c000b28c05c331e8a921684fe06d78e7e727cbc2e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b2252fcdf7b0f81ee8bc092c000b28c05c331e8a921684fe06d78e7e727cbc2e", kill_on_drop: false }`
[INFO] [stdout] b2252fcdf7b0f81ee8bc092c000b28c05c331e8a921684fe06d78e7e727cbc2e
