[INFO] cloning repository https://github.com/DecklynKern/chess [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DecklynKern/chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDecklynKern%2Fchess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDecklynKern%2Fchess'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b467f663a4a8f952aaaf238323290db42cae978e [INFO] checking DecklynKern/chess against try#d336647335db03a0fc5b24fc5325cd3905c5b8e8 for pr-151146 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDecklynKern%2Fchess" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/DecklynKern/chess [INFO] finished tweaking git repo https://github.com/DecklynKern/chess [INFO] tweaked toml for git repo https://github.com/DecklynKern/chess written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/DecklynKern/chess on toolchain d336647335db03a0fc5b24fc5325cd3905c5b8e8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/DecklynKern/chess 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" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded array-init v2.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a6837f62024d3bc725398ac9ba249018514605cca38c1cd7ba895172f6de21ba [INFO] running `Command { std: "docker" "start" "-a" "a6837f62024d3bc725398ac9ba249018514605cca38c1cd7ba895172f6de21ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a6837f62024d3bc725398ac9ba249018514605cca38c1cd7ba895172f6de21ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6837f62024d3bc725398ac9ba249018514605cca38c1cd7ba895172f6de21ba", kill_on_drop: false }` [INFO] [stdout] a6837f62024d3bc725398ac9ba249018514605cca38c1cd7ba895172f6de21ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c8cada6ab293937c20054d7b3eb1f9fc96af35ac091f7f2e6a40f0a2e117ae1 [INFO] running `Command { std: "docker" "start" "-a" "2c8cada6ab293937c20054d7b3eb1f9fc96af35ac091f7f2e6a40f0a2e117ae1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking array-init v2.0.1 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking chess v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/player/scoring.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | pub type BoardScore = &'static(dyn Fn(&game::Board) -> i32); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4 - pub type BoardScore = &'static(dyn Fn(&game::Board) -> i32); [INFO] [stdout] 4 + pub type BoardScore = &'static dyn Fn(&game::Board) -> i32 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/player/scoring.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | pub type BoardScore = &'static(dyn Fn(&game::Board) -> i32); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4 - pub type BoardScore = &'static(dyn Fn(&game::Board) -> i32); [INFO] [stdout] 4 + pub type BoardScore = &'static dyn Fn(&game::Board) -> i32 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `board` [INFO] [stdout] --> src/player/humanplayer.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | fn get_raw_eval(&mut self, board: &game::Board) -> i32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_board` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `board` [INFO] [stdout] --> src/player/randommove.rs:12:32 [INFO] [stdout] | [INFO] [stdout] 12 | fn get_raw_eval(&mut self, board: &Board) -> i32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_board` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eval` [INFO] [stdout] --> src/player/alphabeta.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | let (eval, best_move) = self.find_board_score(board, self.depth, MIN_SCORE, MAX_SCORE, board_hash); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_eval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `eval` is assigned to, but never used [INFO] [stdout] --> src/player/iterativedeepening.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | let mut eval = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_eval` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `eval` is never read [INFO] [stdout] --> src/player/iterativedeepening.rs:145:14 [INFO] [stdout] | [INFO] [stdout] 145 | (eval, best_move) = self.find_board_score(board, search_depth, MIN_SCORE, MAX_SCORE, board_hash); [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: unused variable: `board` [INFO] [stdout] --> src/player/humanplayer.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | fn get_raw_eval(&mut self, board: &game::Board) -> i32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_board` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `board` [INFO] [stdout] --> src/player/randommove.rs:12:32 [INFO] [stdout] | [INFO] [stdout] 12 | fn get_raw_eval(&mut self, board: &Board) -> i32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_board` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eval` [INFO] [stdout] --> src/player/alphabeta.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | let (eval, best_move) = self.find_board_score(board, self.depth, MIN_SCORE, MAX_SCORE, board_hash); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_eval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `eval` is assigned to, but never used [INFO] [stdout] --> src/player/iterativedeepening.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | let mut eval = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_eval` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `eval` is never read [INFO] [stdout] --> src/player/iterativedeepening.rs:145:14 [INFO] [stdout] | [INFO] [stdout] 145 | (eval, best_move) = self.find_board_score(board, search_depth, MIN_SCORE, MAX_SCORE, board_hash); [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: unused import: `pgn::*` [INFO] [stdout] --> src/game/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use pgn::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/player/scoring.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | pub type BoardScore = &'static(dyn Fn(&game::Board) -> i32); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4 - pub type BoardScore = &'static(dyn Fn(&game::Board) -> i32); [INFO] [stdout] 4 + pub type BoardScore = &'static dyn Fn(&game::Board) -> i32 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pgn::*` [INFO] [stdout] --> src/game/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use pgn::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/player/scoring.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | pub type BoardScore = &'static(dyn Fn(&game::Board) -> i32); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4 - pub type BoardScore = &'static(dyn Fn(&game::Board) -> i32); [INFO] [stdout] 4 + pub type BoardScore = &'static dyn Fn(&game::Board) -> i32 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_long_an` found for reference `&Move` in the current scope [INFO] [stdout] --> tests/test.rs:42:73 [INFO] [stdout] | [INFO] [stdout] 42 | assert_eq!(alphabeta.get_move(&mut board, &possible_moves).unwrap().to_long_an(), "d4e4"); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_long_an` with a similar name [INFO] [stdout] | [INFO] [stdout] 42 - assert_eq!(alphabeta.get_move(&mut board, &possible_moves).unwrap().to_long_an(), "d4e4"); [INFO] [stdout] 42 + assert_eq!(alphabeta.get_move(&mut board, &possible_moves).unwrap().as_long_an(), "d4e4"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_long_an` found for reference `&Move` in the current scope [INFO] [stdout] --> tests/test.rs:50:73 [INFO] [stdout] | [INFO] [stdout] 50 | assert_eq!(alphabeta.get_move(&mut board, &possible_moves).unwrap().to_long_an(), "d4e4"); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_long_an` with a similar name [INFO] [stdout] | [INFO] [stdout] 50 - assert_eq!(alphabeta.get_move(&mut board, &possible_moves).unwrap().to_long_an(), "d4e4"); [INFO] [stdout] 50 + assert_eq!(alphabeta.get_move(&mut board, &possible_moves).unwrap().as_long_an(), "d4e4"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `chess` (test "test") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `board` [INFO] [stdout] --> src/player/humanplayer.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | fn get_raw_eval(&mut self, board: &game::Board) -> i32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_board` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `board` [INFO] [stdout] --> src/player/randommove.rs:12:32 [INFO] [stdout] | [INFO] [stdout] 12 | fn get_raw_eval(&mut self, board: &Board) -> i32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_board` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eval` [INFO] [stdout] --> src/player/alphabeta.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | let (eval, best_move) = self.find_board_score(board, self.depth, MIN_SCORE, MAX_SCORE, board_hash); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_eval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `eval` is assigned to, but never used [INFO] [stdout] --> src/player/iterativedeepening.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | let mut eval = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_eval` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `eval` is never read [INFO] [stdout] --> src/player/iterativedeepening.rs:145:14 [INFO] [stdout] | [INFO] [stdout] 145 | (eval, best_move) = self.find_board_score(board, search_depth, MIN_SCORE, MAX_SCORE, board_hash); [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: unused variable: `board` [INFO] [stdout] --> src/player/humanplayer.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | fn get_raw_eval(&mut self, board: &game::Board) -> i32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_board` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `board` [INFO] [stdout] --> src/player/randommove.rs:12:32 [INFO] [stdout] | [INFO] [stdout] 12 | fn get_raw_eval(&mut self, board: &Board) -> i32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_board` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eval` [INFO] [stdout] --> src/player/alphabeta.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | let (eval, best_move) = self.find_board_score(board, self.depth, MIN_SCORE, MAX_SCORE, board_hash); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_eval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `eval` is assigned to, but never used [INFO] [stdout] --> src/player/iterativedeepening.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | let mut eval = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_eval` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `eval` is never read [INFO] [stdout] --> src/player/iterativedeepening.rs:145:14 [INFO] [stdout] | [INFO] [stdout] 145 | (eval, best_move) = self.find_board_score(board, search_depth, MIN_SCORE, MAX_SCORE, board_hash); [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: methods `is_knight`, `is_bishop`, `is_rook`, and `is_queen` are never used [INFO] [stdout] --> src/game/piece.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 99 | impl Piece { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn is_knight(self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn is_bishop(self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn is_rook(self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn is_queen(self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_bitboard` is never used [INFO] [stdout] --> src/game/chess_util.rs:221:8 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn print_bitboard(board: u128) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_an` is never used [INFO] [stdout] --> src/game/move.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl Move { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn from_an(an: &str, board: &Board) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `MoveIndex` is never used [INFO] [stdout] --> src/game/pgn.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | type MoveIndex = std::num::NonZeroUsize; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GameResult` is never used [INFO] [stdout] --> src/game/pgn.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum GameResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MoveNode` is never constructed [INFO] [stdout] --> src/game/pgn.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct MoveNode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Game` is never constructed [INFO] [stdout] --> src/game/pgn.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Game { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get_root`, `get_main_line`, `get_alternatives`, `parse_line`, and `from_pgn` are never used [INFO] [stdout] --> src/game/pgn.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl Game { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 29 | [INFO] [stdout] 30 | pub fn get_root(&self) -> &MoveNode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn get_main_line(&self, current_move: &MoveNode) -> Option<&MoveNode> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn get_alternatives(&self, current_move: &MoveNode) -> Vec<&MoveNode> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn parse_line<'a>(text: &mut impl Iterator, board: &mut Board, move_list: &mut Vec) -> Option Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WIN_SCORE` is never used [INFO] [stdout] --> src/player/scoring.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const WIN_SCORE: i32 = MAX_SCORE - 1; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_knight`, `is_bishop`, `is_rook`, and `is_queen` are never used [INFO] [stdout] --> src/game/piece.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 99 | impl Piece { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn is_knight(self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn is_bishop(self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn is_rook(self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn is_queen(self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_bitboard` is never used [INFO] [stdout] --> src/game/chess_util.rs:221:8 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn print_bitboard(board: u128) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_an` is never used [INFO] [stdout] --> src/game/move.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl Move { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn from_an(an: &str, board: &Board) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `MoveIndex` is never used [INFO] [stdout] --> src/game/pgn.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | type MoveIndex = std::num::NonZeroUsize; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GameResult` is never used [INFO] [stdout] --> src/game/pgn.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum GameResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MoveNode` is never constructed [INFO] [stdout] --> src/game/pgn.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct MoveNode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Game` is never constructed [INFO] [stdout] --> src/game/pgn.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Game { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get_root`, `get_main_line`, `get_alternatives`, `parse_line`, and `from_pgn` are never used [INFO] [stdout] --> src/game/pgn.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl Game { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 29 | [INFO] [stdout] 30 | pub fn get_root(&self) -> &MoveNode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn get_main_line(&self, current_move: &MoveNode) -> Option<&MoveNode> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn get_alternatives(&self, current_move: &MoveNode) -> Vec<&MoveNode> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn parse_line<'a>(text: &mut impl Iterator, board: &mut Board, move_list: &mut Vec) -> Option Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WIN_SCORE` is never used [INFO] [stdout] --> src/player/scoring.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const WIN_SCORE: i32 = MAX_SCORE - 1; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2c8cada6ab293937c20054d7b3eb1f9fc96af35ac091f7f2e6a40f0a2e117ae1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c8cada6ab293937c20054d7b3eb1f9fc96af35ac091f7f2e6a40f0a2e117ae1", kill_on_drop: false }` [INFO] [stdout] 2c8cada6ab293937c20054d7b3eb1f9fc96af35ac091f7f2e6a40f0a2e117ae1