[INFO] cloning repository https://github.com/mcthouacbb/Calamity [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mcthouacbb/Calamity" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmcthouacbb%2FCalamity", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmcthouacbb%2FCalamity'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e86b5cb1216a0a3eb67f6b461e0a67cf99b0dd96 [INFO] checking mcthouacbb/Calamity against master#4455c8937007f3cc3c078375a335d86dbab391ce for pr-140956 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmcthouacbb%2FCalamity" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mcthouacbb/Calamity [INFO] finished tweaking git repo https://github.com/mcthouacbb/Calamity [INFO] tweaked toml for git repo https://github.com/mcthouacbb/Calamity written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mcthouacbb/Calamity on toolchain 4455c8937007f3cc3c078375a335d86dbab391ce [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4455c8937007f3cc3c078375a335d86dbab391ce" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mcthouacbb/Calamity 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" "+4455c8937007f3cc3c078375a335d86dbab391ce" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+4455c8937007f3cc3c078375a335d86dbab391ce" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e9acde1b065074f003636f0614a5e8a18ee52de60f167f231e8207ad8241ff6f [INFO] running `Command { std: "docker" "start" "-a" "e9acde1b065074f003636f0614a5e8a18ee52de60f167f231e8207ad8241ff6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e9acde1b065074f003636f0614a5e8a18ee52de60f167f231e8207ad8241ff6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9acde1b065074f003636f0614a5e8a18ee52de60f167f231e8207ad8241ff6f", kill_on_drop: false }` [INFO] [stdout] e9acde1b065074f003636f0614a5e8a18ee52de60f167f231e8207ad8241ff6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+4455c8937007f3cc3c078375a335d86dbab391ce" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56e0624ac1de9514a0b6c74eb167c4c7ca95dff2f91defdcc035784478a509de [INFO] running `Command { std: "docker" "start" "-a" "56e0624ac1de9514a0b6c74eb167c4c7ca95dff2f91defdcc035784478a509de", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking calamity v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Color` and `Piece` [INFO] [stdout] --> src/games/three_check/see.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Bitboard, Color, Move, MoveKind, Piece, PieceType, ThreeCheckState, attacks}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CopyMakeWrapper` [INFO] [stdout] --> src/games/three_check.rs:16:42 [INFO] [stdout] | [INFO] [stdout] 16 | use super::board::{Board, CopyMakeBoard, CopyMakeWrapper, GameResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hash_combine` [INFO] [stdout] --> src/util/mod.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | pub use hash::{hash_combine, murmur_hash3}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ThreeCheckState`, `connect4::Connect4Board`, `hexapawn::HexapawnBoard`, and `tictactoe::TicTacToeBoard` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | connect4::Connect4Board, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | hexapawn::HexapawnBoard, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | three_check::{self, Color, ThreeCheckBoard, ThreeCheckState}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | tictactoe::TicTacToeBoard, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `C4Benchmark`, `ab_solver::ABSolver`, and `run_benchmark` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | ab_solver::ABSolver, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | c4_solver::{C4Benchmark, run_benchmark}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `util::Square` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use util::Square; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color` and `Piece` [INFO] [stdout] --> src/games/three_check/see.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Bitboard, Color, Move, MoveKind, Piece, PieceType, ThreeCheckState, attacks}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CopyMakeWrapper` [INFO] [stdout] --> src/games/three_check.rs:16:42 [INFO] [stdout] | [INFO] [stdout] 16 | use super::board::{Board, CopyMakeBoard, CopyMakeWrapper, GameResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hash_combine` [INFO] [stdout] --> src/util/mod.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | pub use hash::{hash_combine, murmur_hash3}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ThreeCheckState`, `connect4::Connect4Board`, `hexapawn::HexapawnBoard`, and `tictactoe::TicTacToeBoard` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | connect4::Connect4Board, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | hexapawn::HexapawnBoard, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | three_check::{self, Color, ThreeCheckBoard, ThreeCheckState}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | tictactoe::TicTacToeBoard, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `C4Benchmark`, `ab_solver::ABSolver`, and `run_benchmark` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | ab_solver::ABSolver, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | c4_solver::{C4Benchmark, run_benchmark}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `util::Square` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use util::Square; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CopyMakeBoard` [INFO] [stdout] --> src/games/three_check.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 16 | use super::board::{Board, CopyMakeBoard, CopyMakeWrapper, GameResult}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select_random_move` is never used [INFO] [stdout] --> src/main.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn select_random_move(board: &ThreeCheckBoard) -> three_check::Move { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `piece_value` is never used [INFO] [stdout] --> src/eval/three_check.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn piece_value(pt: PieceType) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `AtaxxBoard` is never used [INFO] [stdout] --> src/games/ataxx.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | pub type AtaxxBoard = CopyMakeWrapper; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/games/connect4/bitboard.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 11 | impl Connect4Bitboard { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub const fn column(file: u8) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub const fn from_square(sq: Connect4Square) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub const fn north(self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub const fn east(self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub const fn west(self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub const fn lsb(self) -> Connect4Square { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub const fn msb(self) -> Connect4Square { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub const fn empty(self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub const fn one(self) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn toggle(&mut self, sq: Connect4Square) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn unset(&mut self, sq: Connect4Square) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_raw` and `value` are never used [INFO] [stdout] --> src/games/connect4/square.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 6 | impl Connect4Square { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub const fn from_raw(sq: u16) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub const fn value(self) -> u16 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `HexapawnBoard` is never used [INFO] [stdout] --> src/games/hexapawn.rs:195:10 [INFO] [stdout] | [INFO] [stdout] 195 | pub type HexapawnBoard = CopyMakeWrapper; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TicTacToeBoard` is never used [INFO] [stdout] --> src/games/tictactoe.rs:167:10 [INFO] [stdout] | [INFO] [stdout] 167 | pub type TicTacToeBoard = CopyMakeWrapper; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `perft` is never used [INFO] [stdout] --> src/perft.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn perft(board: &mut B, depth: u32) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `perft_impl` is never used [INFO] [stdout] --> src/perft.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn perft_impl(board: &mut B, depth: u32) -> u64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_perft_suite_file` is never used [INFO] [stdout] --> src/perft.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn run_perft_suite_file(filename: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_perft_suite` is never used [INFO] [stdout] --> src/perft.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn run_perft_suite(tests: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/search/ab_solver.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl ABSolver { [INFO] [stdout] | -------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `clear` are never used [INFO] [stdout] --> src/search/c4_solver.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl Connect4Solver { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `EndEasy`, `MidEasy`, `MidMedium`, `BeginEasy`, `BeginMedium`, and `BeginHard` are never constructed [INFO] [stdout] --> src/search/c4_solver.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 217 | pub enum C4Benchmark { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 218 | EndEasy, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 219 | MidEasy, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 220 | MidMedium, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 221 | BeginEasy, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 222 | BeginMedium, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 223 | BeginHard, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `C4Benchmark` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_benchmark` is never used [INFO] [stdout] --> src/search/c4_solver.rs:226:8 [INFO] [stdout] | [INFO] [stdout] 226 | pub fn run_benchmark(benchmark: C4Benchmark) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `nodes`, `time`, `score`, and `pv` are never read [INFO] [stdout] --> src/search/search.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct SearchResult { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 7 | pub nodes: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | pub time: Duration, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | pub best_move: B::Move, [INFO] [stdout] 10 | pub score: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | pub pv: Vec, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `SearchResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_nodes` is never read [INFO] [stdout] --> src/search/search.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct SearchLimits { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 16 | pub max_nodes: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SearchLimits` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/search/search.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub trait Search { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 22 | fn search(&mut self, board: &B, limits: SearchLimits) -> SearchResult; [INFO] [stdout] 23 | fn clear(&mut self) {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `adjust_from_tt` and `to_tt` are never used [INFO] [stdout] --> src/search/three_check.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 28 | impl TTEntry { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 29 | fn adjust_from_tt(&mut self, ply: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn to_tt(&self, ply: i32) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_combine` is never used [INFO] [stdout] --> src/util/hash.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | pub const fn hash_combine(lhs: u64, rhs: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CopyMakeBoard` [INFO] [stdout] --> src/games/three_check.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 16 | use super::board::{Board, CopyMakeBoard, CopyMakeWrapper, GameResult}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select_random_move` is never used [INFO] [stdout] --> src/main.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn select_random_move(board: &ThreeCheckBoard) -> three_check::Move { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `piece_value` is never used [INFO] [stdout] --> src/eval/three_check.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn piece_value(pt: PieceType) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `AtaxxBoard` is never used [INFO] [stdout] --> src/games/ataxx.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | pub type AtaxxBoard = CopyMakeWrapper; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/games/connect4/bitboard.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 11 | impl Connect4Bitboard { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub const fn column(file: u8) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub const fn from_square(sq: Connect4Square) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub const fn north(self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub const fn east(self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub const fn west(self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub const fn lsb(self) -> Connect4Square { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub const fn msb(self) -> Connect4Square { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub const fn empty(self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub const fn one(self) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn toggle(&mut self, sq: Connect4Square) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn unset(&mut self, sq: Connect4Square) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_raw` and `value` are never used [INFO] [stdout] --> src/games/connect4/square.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 6 | impl Connect4Square { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub const fn from_raw(sq: u16) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub const fn value(self) -> u16 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `HexapawnBoard` is never used [INFO] [stdout] --> src/games/hexapawn.rs:195:10 [INFO] [stdout] | [INFO] [stdout] 195 | pub type HexapawnBoard = CopyMakeWrapper; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TicTacToeBoard` is never used [INFO] [stdout] --> src/games/tictactoe.rs:167:10 [INFO] [stdout] | [INFO] [stdout] 167 | pub type TicTacToeBoard = CopyMakeWrapper; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `perft` is never used [INFO] [stdout] --> src/perft.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn perft(board: &mut B, depth: u32) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `perft_impl` is never used [INFO] [stdout] --> src/perft.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn perft_impl(board: &mut B, depth: u32) -> u64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_perft_suite_file` is never used [INFO] [stdout] --> src/perft.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn run_perft_suite_file(filename: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_perft_suite` is never used [INFO] [stdout] --> src/perft.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn run_perft_suite(tests: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/search/ab_solver.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl ABSolver { [INFO] [stdout] | -------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `clear` are never used [INFO] [stdout] --> src/search/c4_solver.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl Connect4Solver { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `EndEasy`, `MidEasy`, `MidMedium`, `BeginEasy`, `BeginMedium`, and `BeginHard` are never constructed [INFO] [stdout] --> src/search/c4_solver.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 217 | pub enum C4Benchmark { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 218 | EndEasy, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 219 | MidEasy, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 220 | MidMedium, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 221 | BeginEasy, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 222 | BeginMedium, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 223 | BeginHard, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `C4Benchmark` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_benchmark` is never used [INFO] [stdout] --> src/search/c4_solver.rs:226:8 [INFO] [stdout] | [INFO] [stdout] 226 | pub fn run_benchmark(benchmark: C4Benchmark) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `nodes`, `time`, `score`, and `pv` are never read [INFO] [stdout] --> src/search/search.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct SearchResult { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 7 | pub nodes: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | pub time: Duration, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | pub best_move: B::Move, [INFO] [stdout] 10 | pub score: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | pub pv: Vec, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `SearchResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_nodes` is never read [INFO] [stdout] --> src/search/search.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct SearchLimits { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 16 | pub max_nodes: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SearchLimits` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/search/search.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub trait Search { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 22 | fn search(&mut self, board: &B, limits: SearchLimits) -> SearchResult; [INFO] [stdout] 23 | fn clear(&mut self) {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `adjust_from_tt` and `to_tt` are never used [INFO] [stdout] --> src/search/three_check.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 28 | impl TTEntry { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 29 | fn adjust_from_tt(&mut self, ply: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn to_tt(&self, ply: i32) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_combine` is never used [INFO] [stdout] --> src/util/hash.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | pub const fn hash_combine(lhs: u64, rhs: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.18s [INFO] running `Command { std: "docker" "inspect" "56e0624ac1de9514a0b6c74eb167c4c7ca95dff2f91defdcc035784478a509de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56e0624ac1de9514a0b6c74eb167c4c7ca95dff2f91defdcc035784478a509de", kill_on_drop: false }` [INFO] [stdout] 56e0624ac1de9514a0b6c74eb167c4c7ca95dff2f91defdcc035784478a509de