[INFO] cloning repository https://github.com/otisdog8/rootygine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/otisdog8/rootygine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fotisdog8%2Frootygine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fotisdog8%2Frootygine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e16c25b11a2cf7f7a63a522912902bd816d75a6d [INFO] checking otisdog8/rootygine against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fotisdog8%2Frootygine" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/otisdog8/rootygine on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/otisdog8/rootygine [INFO] finished tweaking git repo https://github.com/otisdog8/rootygine [INFO] tweaked toml for git repo https://github.com/otisdog8/rootygine written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/otisdog8/rootygine 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded evmap v10.0.2 [INFO] [stderr] Downloaded hashbag v0.1.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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a35e7eca8a0ef93df21cf8a52d83bbb3eb7c8ea10b541d39683184cf02fa5e8 [INFO] running `Command { std: "docker" "start" "-a" "3a35e7eca8a0ef93df21cf8a52d83bbb3eb7c8ea10b541d39683184cf02fa5e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a35e7eca8a0ef93df21cf8a52d83bbb3eb7c8ea10b541d39683184cf02fa5e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a35e7eca8a0ef93df21cf8a52d83bbb3eb7c8ea10b541d39683184cf02fa5e8", kill_on_drop: false }` [INFO] [stdout] 3a35e7eca8a0ef93df21cf8a52d83bbb3eb7c8ea10b541d39683184cf02fa5e8 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5a8a820c392ad3e2df4d91eb9d43e51bd4df3bce873e8d8ff483897bb8c0d60 [INFO] running `Command { std: "docker" "start" "-a" "c5a8a820c392ad3e2df4d91eb9d43e51bd4df3bce873e8d8ff483897bb8c0d60", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Checking object v0.28.4 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Checking regex-syntax v0.6.26 [INFO] [stderr] Checking hashbag v0.1.5 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking atomic_float v0.1.0 [INFO] [stderr] Checking evmap v10.0.2 [INFO] [stderr] Compiling backtrace v0.3.65 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking regex v1.5.6 [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 env_logger v0.9.0 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling chess v3.2.0 [INFO] [stderr] Checking sc0 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `max` [INFO] [stdout] --> src/search.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::{Ordering, max}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ALL_SQUARES`, `BitBoard`, `ChessMove`, `EMPTY`, `MoveGen`, `Piece`, `Square` [INFO] [stdout] --> src/search/evaluate.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use chess::{BitBoard, ChessMove, Color, MoveGen, Piece, Square, ALL_SQUARES, EMPTY}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^ ^^^^^^ ^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::debug` [INFO] [stdout] --> src/search/evaluate.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use log::debug; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rng`, `SeedableRng`, `prelude::SmallRng` [INFO] [stdout] --> src/search/evaluate.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | use rand::{prelude::SmallRng, Rng, SeedableRng}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Board`, `Color` [INFO] [stdout] --> src/tests/mod.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use chess::{Board, Color}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | mod tests; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/tests/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | mod tests; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Flag`, `TransTableEntry`, `TransTable` [INFO] [stdout] --> src/tests/mod.rs:5:42 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::search::transposition_table::{Flag, TransTable, TransTableEntry}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | mod tests; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `chess` is imported redundantly [INFO] [stdout] --> src/main.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use chess::{self, BoardStatus, ChessMove}; [INFO] [stdout] | ^^^^ the item `chess` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Flag`, `TransTableEntry`, `TransTable` [INFO] [stdout] --> src/main.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | use search::transposition_table::{Flag, TransTable, TransTableEntry, self}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `max` [INFO] [stdout] --> src/search.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::{Ordering, max}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ALL_SQUARES`, `BitBoard`, `ChessMove`, `EMPTY`, `MoveGen`, `Piece`, `Square` [INFO] [stdout] --> src/search/evaluate.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use chess::{BitBoard, ChessMove, Color, MoveGen, Piece, Square, ALL_SQUARES, EMPTY}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^ ^^^^^^ ^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::debug` [INFO] [stdout] --> src/search/evaluate.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use log::debug; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rng`, `SeedableRng`, `prelude::SmallRng` [INFO] [stdout] --> src/search/evaluate.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | use rand::{prelude::SmallRng, Rng, SeedableRng}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Flag`, `TransTableEntry`, `TransTable` [INFO] [stdout] --> src/tests/mod.rs:5:42 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::search::transposition_table::{Flag, TransTable, TransTableEntry}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `chess` is imported redundantly [INFO] [stdout] --> src/main.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use chess::{self, BoardStatus, ChessMove}; [INFO] [stdout] | ^^^^ the item `chess` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Flag`, `TransTableEntry`, `TransTable` [INFO] [stdout] --> src/main.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | use search::transposition_table::{Flag, TransTable, TransTableEntry, self}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `board` [INFO] [stdout] --> src/search/utils.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn fast_board_status(board: Board) -> BoardStatus { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_board` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `board` [INFO] [stdout] --> src/search.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | board: Board, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_board` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_to_move` [INFO] [stdout] --> src/search.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | color_to_move: Color, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_to_move` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_depth` [INFO] [stdout] --> src/search.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | target_depth: i32, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tt_raw` [INFO] [stdout] --> src/search.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | tt_raw: Option>>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tt_raw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `board` [INFO] [stdout] --> src/search.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 70 | fn search_root(board: Board, depth: i32, color_to_move: Color, tt: Arc>) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_board` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth` [INFO] [stdout] --> src/search.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | fn search_root(board: Board, depth: i32, color_to_move: Color, tt: Arc>) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_to_move` [INFO] [stdout] --> src/search.rs:70:42 [INFO] [stdout] | [INFO] [stdout] 70 | fn search_root(board: Board, depth: i32, color_to_move: Color, tt: Arc>) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_to_move` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tt` [INFO] [stdout] --> src/search.rs:70:64 [INFO] [stdout] | [INFO] [stdout] 70 | fn search_root(board: Board, depth: i32, color_to_move: Color, tt: Arc>) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tt_mutex` [INFO] [stdout] --> src/search.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | let tt_mutex = tt.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tt_mutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/search.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | let mut thread_local_tt = tt.clone(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `board` [INFO] [stdout] --> src/search/utils.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn fast_board_status(board: Board) -> BoardStatus { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_board` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `board` [INFO] [stdout] --> src/search.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | board: Board, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_board` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_to_move` [INFO] [stdout] --> src/search.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | color_to_move: Color, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_to_move` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_depth` [INFO] [stdout] --> src/search.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | target_depth: i32, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tt_raw` [INFO] [stdout] --> src/search.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | tt_raw: Option>>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tt_raw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `board` [INFO] [stdout] --> src/search.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 70 | fn search_root(board: Board, depth: i32, color_to_move: Color, tt: Arc>) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_board` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth` [INFO] [stdout] --> src/search.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | fn search_root(board: Board, depth: i32, color_to_move: Color, tt: Arc>) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_to_move` [INFO] [stdout] --> src/search.rs:70:42 [INFO] [stdout] | [INFO] [stdout] 70 | fn search_root(board: Board, depth: i32, color_to_move: Color, tt: Arc>) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_to_move` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tt` [INFO] [stdout] --> src/search.rs:70:64 [INFO] [stdout] | [INFO] [stdout] 70 | fn search_root(board: Board, depth: i32, color_to_move: Color, tt: Arc>) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tt_mutex` [INFO] [stdout] --> src/search.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | let tt_mutex = tt.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tt_mutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let mut tt = Arc::new(Mutex::new(transposition_table::TransTable::new())); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `testing` is never used [INFO] [stdout] --> src/main.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn testing() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_search` is never used [INFO] [stdout] --> src/search.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn new_search( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Algorithm` is never used [INFO] [stdout] --> src/search.rs:63:6 [INFO] [stdout] | [INFO] [stdout] 63 | enum Algorithm { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `search_root` is never used [INFO] [stdout] --> src/search.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | fn search_root(board: Board, depth: i32, color_to_move: Color, tt: Arc>) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `minmax_memory` is never used [INFO] [stdout] --> src/search.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn minmax_memory(board: Board, depth: i32, color_to_move: Color, tt: Arc>) -> (f32, Option) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dump_top_moves` is never used [INFO] [stdout] --> src/search/utils.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn dump_top_moves(moves: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fast_board_status` is never used [INFO] [stdout] --> src/search/utils.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn fast_board_status(board: Board) -> BoardStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `store` is never used [INFO] [stdout] --> src/search/utils.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl AtomicF32 { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn store(&self, value: f32, ordering: Ordering) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/search.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | let mut thread_local_tt = tt.clone(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let mut tt = Arc::new(Mutex::new(transposition_table::TransTable::new())); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `testing` is never used [INFO] [stdout] --> src/main.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn testing() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_search` is never used [INFO] [stdout] --> src/search.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn new_search( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Algorithm` is never used [INFO] [stdout] --> src/search.rs:63:6 [INFO] [stdout] | [INFO] [stdout] 63 | enum Algorithm { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `search_root` is never used [INFO] [stdout] --> src/search.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | fn search_root(board: Board, depth: i32, color_to_move: Color, tt: Arc>) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `minmax_memory` is never used [INFO] [stdout] --> src/search.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn minmax_memory(board: Board, depth: i32, color_to_move: Color, tt: Arc>) -> (f32, Option) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dump_top_moves` is never used [INFO] [stdout] --> src/search/utils.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn dump_top_moves(moves: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fast_board_status` is never used [INFO] [stdout] --> src/search/utils.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn fast_board_status(board: Board) -> BoardStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `store` is never used [INFO] [stdout] --> src/search/utils.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl AtomicF32 { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn store(&self, value: f32, ordering: Ordering) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 58.53s [INFO] running `Command { std: "docker" "inspect" "c5a8a820c392ad3e2df4d91eb9d43e51bd4df3bce873e8d8ff483897bb8c0d60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5a8a820c392ad3e2df4d91eb9d43e51bd4df3bce873e8d8ff483897bb8c0d60", kill_on_drop: false }` [INFO] [stdout] c5a8a820c392ad3e2df4d91eb9d43e51bd4df3bce873e8d8ff483897bb8c0d60