[INFO] cloning repository https://github.com/418teepot/rengine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/418teepot/rengine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F418teepot%2Frengine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F418teepot%2Frengine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6f0512ac5897c08b5478b3a83df248cebc556ba2 [INFO] checking 418teepot/rengine against c999cef531ea9059e189e82fe0e82c5daf249bc9 for pr-160904 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F418teepot%2Frengine" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/418teepot/rengine [INFO] finished tweaking git repo https://github.com/418teepot/rengine [INFO] tweaked toml for git repo https://github.com/418teepot/rengine written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/418teepot/rengine on toolchain c999cef531ea9059e189e82fe0e82c5daf249bc9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c999cef531ea9059e189e82fe0e82c5daf249bc9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/418teepot/rengine 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" "+c999cef531ea9059e189e82fe0e82c5daf249bc9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded getrandom v0.2.10 [INFO] [stderr] Downloaded clap_lex v0.6.0 [INFO] [stderr] Downloaded anstyle-query v1.0.2 [INFO] [stderr] Downloaded utf8parse v0.2.1 [INFO] [stderr] Downloaded colorchoice v1.0.0 [INFO] [stderr] Downloaded anstyle-wincon v3.0.2 [INFO] [stderr] Downloaded anstyle v1.0.4 [INFO] [stderr] Downloaded clap_derive v4.4.7 [INFO] [stderr] Downloaded anstyle-parse v0.2.3 [INFO] [stderr] Downloaded anstream v0.6.7 [INFO] [stderr] Downloaded clap_builder v4.4.16 [INFO] [stderr] Downloaded clap v4.4.16 [INFO] [stderr] Downloaded libc v0.2.148 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 9b4f10709f8f1f083c7c15e8d1c979094e6166ad3cae4fd4801844e8a712a3ac [INFO] running `Command { std: "docker" "start" "9b4f10709f8f1f083c7c15e8d1c979094e6166ad3cae4fd4801844e8a712a3ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b4f10709f8f1f083c7c15e8d1c979094e6166ad3cae4fd4801844e8a712a3ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9b4f10709f8f1f083c7c15e8d1c979094e6166ad3cae4fd4801844e8a712a3ac" "/opt/rustwide/cargo-home/bin/cargo" "+c999cef531ea9059e189e82fe0e82c5daf249bc9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b4f10709f8f1f083c7c15e8d1c979094e6166ad3cae4fd4801844e8a712a3ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9b4f10709f8f1f083c7c15e8d1c979094e6166ad3cae4fd4801844e8a712a3ac" "/opt/rustwide/cargo-home/bin/cargo" "+c999cef531ea9059e189e82fe0e82c5daf249bc9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking anstream v0.6.7 [INFO] [stderr] Checking clap_builder v4.4.16 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking clap v4.4.16 [INFO] [stderr] Checking rengine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/smpsearch.rs:153:15 [INFO] [stdout] | [INFO] [stdout] 153 | while let Some(entry) = (*t_table).get(copy_state.zobrist) && !copy_state.unavoidable_game_over() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/smpsearch.rs:205:12 [INFO] [stdout] | [INFO] [stdout] 205 | if let SearchProtocol::Uci(ucimode) = SEARCHMODE && thread_data.thread_num == 0 && ucimode != UciMode::Ponder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/smpsearch.rs:153:15 [INFO] [stdout] | [INFO] [stdout] 153 | while let Some(entry) = (*t_table).get(copy_state.zobrist) && !copy_state.unavoidable_game_over() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/smpsearch.rs:205:12 [INFO] [stdout] | [INFO] [stdout] 205 | if let SearchProtocol::Uci(ucimode) = SEARCHMODE && thread_data.thread_num == 0 && ucimode != UciMode::Ponder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::SyncUnsafeCell` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::cell::SyncUnsafeCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `eval::relevant_eval_params` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use eval::relevant_eval_params; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameState` and `ROOK` [INFO] [stdout] --> src/main.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | use gamestate::{GameState, ROOK}; [INFO] [stdout] | ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LockLessTransTable` and `LockLessValue` [INFO] [stdout] --> src/main.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | use lockless::{LockLessTransTable, LockLessValue}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `r#move::Move` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use r#move::Move; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `smpsearch::INFINITY` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use smpsearch::INFINITY; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `find_smallest_k`, `mean_square_error`, `optimize_params`, and `read_texel_sample_file` [INFO] [stdout] --> src/main.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use texel::{read_texel_sample_file, find_smallest_k, mean_square_error, optimize_params}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `generate_texel_sample_threaded` and `generate_texel_sample` [INFO] [stdout] --> src/main.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::texel::{generate_texel_sample, generate_texel_sample_threaded}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::uci::uci_loop` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::uci::uci_loop; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MATERIAL_VALUE` [INFO] [stdout] --> src/gamestate.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::eval::{MATERIAL_VALUE, PHASE_WEIGHT, EVAL_PARAMS}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::gamestate::KING` [INFO] [stdout] --> src/uci.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::gamestate::KING; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::SyncUnsafeCell` [INFO] [stdout] --> src/eval.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::SyncUnsafeCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `KING_MOVES` and `KNIGHT_MOVES` [INFO] [stdout] --> src/eval.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::movegen::{KING_MOVES, rook_move_bitboard, bishop_move_bitboard, KNIGHT_MOVES, queen_move_bitboard, FILE_BITMASK, RANK_BITM... [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AB_BOUND` [INFO] [stdout] --> src/eval.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::smpsearch::{Eval, AB_BOUND}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clap::Parser` [INFO] [stdout] --> src/eval.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use clap::Parser; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::read_to_string` [INFO] [stdout] --> src/book.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::read_to_string; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mutex`, `UnsafeCell`, and `arch::x86_64::_MM_FROUND_NINT` [INFO] [stdout] --> src/texel.rs:1:50 [INFO] [stdout] | [INFO] [stdout] 1 | ...}, sync::{Arc, Mutex}, fs::File, io::{Write, BufReader, BufRead}, arch::x86_64::_MM_FROUND_NINT, cell::{UnsafeCell, SyncUnsafeCell... [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `distributions::WeightedIndex`, `prelude::*`, and `thread_rng` [INFO] [stdout] --> src/texel.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::{distributions::WeightedIndex, thread_rng, prelude::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AB_BOUND`, `ISMATE`, `book::OPENING_BOOK`, `iterative_deepening`, and `r#move::Move` [INFO] [stdout] --> src/texel.rs:7:57 [INFO] [stdout] | [INFO] [stdout] 7 | ...}, book::OPENING_BOOK, r#move::Move, smpsearch::{Eval, iterative_deepening, SearchProtocol, search, quiescent_search, AB_BOUND, SearchInfo, INFINITY, UciMode, ISMATE}, ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::eval` [INFO] [stdout] --> src/lockless.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::eval; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LockLessValue` [INFO] [stdout] --> src/smpsearch.rs:5:157 [INFO] [stdout] | [INFO] [stdout] 5 | ...ERS, Side, NUM_OF_PIECES}, lockless::{LockLessTransTable, LockLessValue, LockLessFlag}, book::OPENING_BOOK}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/smpsearch.rs:243:8 [INFO] [stdout] | [INFO] [stdout] 243 | if (state.has_repitition() || state.fifty_move_rule >= 100) { [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] 243 - if (state.has_repitition() || state.fifty_move_rule >= 100) { [INFO] [stdout] 243 + if state.has_repitition() || state.fifty_move_rule >= 100 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `env`, `fs`, and `io::Write` [INFO] [stdout] --> src/smac.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs, io::Write, env}; [INFO] [stdout] | ^^ ^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EvalParams` [INFO] [stdout] --> src/smac.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{smpsearch::Eval, eval::{EvalParams, EVAL_PARAMS}, gamestate::{PAWN, ROOK, KNIGHT, BISHOP, QUEEN}, texel::{read_texel_samp... [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `let_chains` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(let_chains)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `lazy_cell` has been stable since 1.80.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(lazy_cell)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `float_next_up_down` has been stable since 1.86.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(float_next_up_down)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::SyncUnsafeCell` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::cell::SyncUnsafeCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `eval::relevant_eval_params` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use eval::relevant_eval_params; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameState` and `ROOK` [INFO] [stdout] --> src/main.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | use gamestate::{GameState, ROOK}; [INFO] [stdout] | ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LockLessTransTable` and `LockLessValue` [INFO] [stdout] --> src/main.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | use lockless::{LockLessTransTable, LockLessValue}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `r#move::Move` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use r#move::Move; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `smpsearch::INFINITY` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use smpsearch::INFINITY; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `find_smallest_k`, `mean_square_error`, `optimize_params`, and `read_texel_sample_file` [INFO] [stdout] --> src/main.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use texel::{read_texel_sample_file, find_smallest_k, mean_square_error, optimize_params}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `generate_texel_sample_threaded` and `generate_texel_sample` [INFO] [stdout] --> src/main.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::texel::{generate_texel_sample, generate_texel_sample_threaded}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::uci::uci_loop` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::uci::uci_loop; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MATERIAL_VALUE` [INFO] [stdout] --> src/gamestate.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::eval::{MATERIAL_VALUE, PHASE_WEIGHT, EVAL_PARAMS}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::gamestate::KING` [INFO] [stdout] --> src/uci.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::gamestate::KING; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::SyncUnsafeCell` [INFO] [stdout] --> src/eval.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::SyncUnsafeCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `KING_MOVES` and `KNIGHT_MOVES` [INFO] [stdout] --> src/eval.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::movegen::{KING_MOVES, rook_move_bitboard, bishop_move_bitboard, KNIGHT_MOVES, queen_move_bitboard, FILE_BITMASK, RANK_BITM... [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AB_BOUND` [INFO] [stdout] --> src/eval.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::smpsearch::{Eval, AB_BOUND}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clap::Parser` [INFO] [stdout] --> src/eval.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use clap::Parser; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::read_to_string` [INFO] [stdout] --> src/book.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::read_to_string; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mutex`, `UnsafeCell`, and `arch::x86_64::_MM_FROUND_NINT` [INFO] [stdout] --> src/texel.rs:1:50 [INFO] [stdout] | [INFO] [stdout] 1 | ...}, sync::{Arc, Mutex}, fs::File, io::{Write, BufReader, BufRead}, arch::x86_64::_MM_FROUND_NINT, cell::{UnsafeCell, SyncUnsafeCell... [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `distributions::WeightedIndex`, `prelude::*`, and `thread_rng` [INFO] [stdout] --> src/texel.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::{distributions::WeightedIndex, thread_rng, prelude::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AB_BOUND`, `ISMATE`, `book::OPENING_BOOK`, `iterative_deepening`, and `r#move::Move` [INFO] [stdout] --> src/texel.rs:7:57 [INFO] [stdout] | [INFO] [stdout] 7 | ...}, book::OPENING_BOOK, r#move::Move, smpsearch::{Eval, iterative_deepening, SearchProtocol, search, quiescent_search, AB_BOUND, SearchInfo, INFINITY, UciMode, ISMATE}, ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::eval` [INFO] [stdout] --> src/lockless.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::eval; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LockLessValue` [INFO] [stdout] --> src/smpsearch.rs:5:157 [INFO] [stdout] | [INFO] [stdout] 5 | ...ERS, Side, NUM_OF_PIECES}, lockless::{LockLessTransTable, LockLessValue, LockLessFlag}, book::OPENING_BOOK}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/smpsearch.rs:243:8 [INFO] [stdout] | [INFO] [stdout] 243 | if (state.has_repitition() || state.fifty_move_rule >= 100) { [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] 243 - if (state.has_repitition() || state.fifty_move_rule >= 100) { [INFO] [stdout] 243 + if state.has_repitition() || state.fifty_move_rule >= 100 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `env`, `fs`, and `io::Write` [INFO] [stdout] --> src/smac.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs, io::Write, env}; [INFO] [stdout] | ^^ ^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EvalParams` [INFO] [stdout] --> src/smac.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{smpsearch::Eval, eval::{EvalParams, EVAL_PARAMS}, gamestate::{PAWN, ROOK, KNIGHT, BISHOP, QUEEN}, texel::{read_texel_samp... [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `let_chains` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(let_chains)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `lazy_cell` has been stable since 1.80.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(lazy_cell)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `float_next_up_down` has been stable since 1.86.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(float_next_up_down)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/texel.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 92 | panic!("This shouldn't ever happen"); [INFO] [stdout] | ------------------------------------ any code following this expression is unreachable [INFO] [stdout] 93 | 1.0 [INFO] [stdout] | ^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/texel.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 95 | panic!("This shouldn't ever happen"); [INFO] [stdout] | ------------------------------------ any code following this expression is unreachable [INFO] [stdout] 96 | 0.0 [INFO] [stdout] | ^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/texel.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 98 | panic!("This shouldnt ever happen"); [INFO] [stdout] | ----------------------------------- any code following this expression is unreachable [INFO] [stdout] 99 | 0.5 [INFO] [stdout] | ^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/texel.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 92 | panic!("This shouldn't ever happen"); [INFO] [stdout] | ------------------------------------ any code following this expression is unreachable [INFO] [stdout] 93 | 1.0 [INFO] [stdout] | ^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/texel.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 95 | panic!("This shouldn't ever happen"); [INFO] [stdout] | ------------------------------------ any code following this expression is unreachable [INFO] [stdout] 96 | 0.0 [INFO] [stdout] | ^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/texel.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 98 | panic!("This shouldnt ever happen"); [INFO] [stdout] | ----------------------------------- any code following this expression is unreachable [INFO] [stdout] 99 | 0.5 [INFO] [stdout] | ^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ply_clock` [INFO] [stdout] --> src/gamestate.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | let ply_clock = parts[5]; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ply_clock` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ply_clock` [INFO] [stdout] --> src/gamestate.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | let ply_clock = parts[5]; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ply_clock` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/texel.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let mut texel_samples = String::new(); [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: unused variable: `movetime` [INFO] [stdout] --> src/texel.rs:9:53 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn generate_texel_sample_threaded(samples: u32, movetime: Duration, simul_threads: u8) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_movetime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `movetime` [INFO] [stdout] --> src/texel.rs:33:44 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn generate_texel_sample(samples: u32, movetime: Duration) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_movetime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/texel.rs:135:10 [INFO] [stdout] | [INFO] [stdout] 135 | for (n, (fen, value)) in fen_and_values.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/smac.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let mut best_e = mean_square_error(K, &fen_and_values); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rengine` (bin "rengine") due to 2 previous errors; 38 warnings emitted [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/texel.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let mut texel_samples = String::new(); [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `movetime` [INFO] [stdout] --> src/texel.rs:9:53 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn generate_texel_sample_threaded(samples: u32, movetime: Duration, simul_threads: u8) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_movetime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `movetime` [INFO] [stdout] --> src/texel.rs:33:44 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn generate_texel_sample(samples: u32, movetime: Duration) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_movetime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/texel.rs:135:10 [INFO] [stdout] | [INFO] [stdout] 135 | for (n, (fen, value)) in fen_and_values.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/smac.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let mut best_e = mean_square_error(K, &fen_and_values); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rengine` (bin "rengine" test) due to 2 previous errors; 38 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9b4f10709f8f1f083c7c15e8d1c979094e6166ad3cae4fd4801844e8a712a3ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b4f10709f8f1f083c7c15e8d1c979094e6166ad3cae4fd4801844e8a712a3ac", kill_on_drop: false }` [INFO] [stdout] 9b4f10709f8f1f083c7c15e8d1c979094e6166ad3cae4fd4801844e8a712a3ac