[INFO] cloning repository https://github.com/madamadam-c/megaknight
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/madamadam-c/megaknight" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmadamadam-c%2Fmegaknight", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmadamadam-c%2Fmegaknight'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1878b889f3f1d33a20f628b72f98878be0bdc571
[INFO] checking madamadam-c/megaknight against 3154cc1a3e6424e44f438a95007d043ed5ceaaf6+rustflags=-Znext-solver=coherence for pr-133502-30
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmadamadam-c%2Fmegaknight" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/madamadam-c/megaknight
[INFO] finished tweaking git repo https://github.com/madamadam-c/megaknight
[INFO] tweaked toml for git repo https://github.com/madamadam-c/megaknight written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/madamadam-c/megaknight on toolchain 3154cc1a3e6424e44f438a95007d043ed5ceaaf6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/madamadam-c/megaknight 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" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded sfbinpack v0.6.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 197db61d40109df8268ddede4edf64d24d8a317b4866a9f198c8aa789b45e0cd
[INFO] running `Command { std: "docker" "start" "197db61d40109df8268ddede4edf64d24d8a317b4866a9f198c8aa789b45e0cd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "197db61d40109df8268ddede4edf64d24d8a317b4866a9f198c8aa789b45e0cd", 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" "197db61d40109df8268ddede4edf64d24d8a317b4866a9f198c8aa789b45e0cd" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "197db61d40109df8268ddede4edf64d24d8a317b4866a9f198c8aa789b45e0cd", 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 -Znext-solver=coherence" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "197db61d40109df8268ddede4edf64d24d8a317b4866a9f198c8aa789b45e0cd" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling find-msvc-tools v0.1.11
[INFO] [stderr]     Checking bitflags v2.13.1
[INFO] [stderr]    Compiling jobserver v0.1.35
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]     Checking linux-raw-sys v0.12.1
[INFO] [stderr]    Compiling crc32fast v1.5.1
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]    Compiling cozy-chess-types v0.2.2 (/opt/rustwide/workdir/vendor/cozy-chess/types)
[INFO] [stderr]     Checking simd-adler32 v0.3.10
[INFO] [stderr]     Checking filetime v0.2.29
[INFO] [stderr]     Checking arrayvec v0.7.8
[INFO] [stderr]    Compiling syn v3.0.4
[INFO] [stderr]     Checking crossbeam-channel v0.5.16
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking raw-cpuid v11.6.0
[INFO] [stderr]    Compiling cc v1.4.4
[INFO] [stderr]     Checking flate2 v1.1.9
[INFO] [stderr]    Compiling cozy-chess v0.3.4 (/opt/rustwide/workdir/vendor/cozy-chess/cozy-chess)
[INFO] [stdout] warning: unused import: `crate::*`
[INFO] [stdout]  --> vendor/cozy-chess/cozy-chess/src/board/movegen/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::*;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling zstd-sys v2.0.16+zstd.1.5.7
[INFO] [stderr]     Checking xattr v1.6.1
[INFO] [stderr]     Checking tar v0.4.46
[INFO] [stderr]    Compiling thiserror-impl v2.0.20
[INFO] [stderr]     Checking thiserror v2.0.20
[INFO] [stderr]     Checking sfbinpack v0.6.5
[INFO] [stderr]     Checking zstd v0.13.3
[INFO] [stderr]     Checking chessbot v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `CaptureHistory`
[INFO] [stdout]   --> src/engine.rs:21:23
[INFO] [stdout]    |
[INFO] [stdout] 21 |         CONTHIST_PLY, CaptureHistory, ContinuationHistory, CorrectionHistory, PawnHistory,
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `crate::parse_correction_weight_option`, `crate::engine::CorrectionWeight`, `crate::engine::quantize_correction_weight`
[INFO] [stdout]  --> src/tests/test_uci.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 |     engine::{CorrectionWeight, quantize_correction_weight},
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `quantize_correction_weight` in `engine`
[INFO] [stdout]   |              |
[INFO] [stdout]   |              no `CorrectionWeight` in `engine`
[INFO] [stdout] 5 |     format_uci_move, parse_correction_weight_option, parse_go, parse_hash_option,
[INFO] [stdout]   |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `parse_correction_weight_option` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `update_history` in this scope
[INFO] [stdout]    --> src/tests/test_engine.rs:162:5
[INFO] [stdout]     |
[INFO] [stdout] 162 |     update_history(&mut value, MAX_QUIET_HISTORY / 2);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: function `crate::history::update_history` exists but is inaccessible
[INFO] [stdout]    --> src/history.rs:5:1
[INFO] [stdout]     |
[INFO] [stdout]   5 | fn update_history(value: &mut i16, bonus: i32, scale: i32) {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_QUIET_HISTORY` in this scope
[INFO] [stdout]    --> src/tests/test_engine.rs:162:32
[INFO] [stdout]     |
[INFO] [stdout] 162 |     update_history(&mut value, MAX_QUIET_HISTORY / 2);
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_QUIET_HISTORY` in this scope
[INFO] [stdout]    --> src/tests/test_engine.rs:163:23
[INFO] [stdout]     |
[INFO] [stdout] 163 |     assert_eq!(value, MAX_QUIET_HISTORY / 2);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `update_history` in this scope
[INFO] [stdout]    --> src/tests/test_engine.rs:165:5
[INFO] [stdout]     |
[INFO] [stdout] 165 |     update_history(&mut value, MAX_QUIET_HISTORY / 2);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: function `crate::history::update_history` exists but is inaccessible
[INFO] [stdout]    --> src/history.rs:5:1
[INFO] [stdout]     |
[INFO] [stdout]   5 | fn update_history(value: &mut i16, bonus: i32, scale: i32) {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_QUIET_HISTORY` in this scope
[INFO] [stdout]    --> src/tests/test_engine.rs:165:32
[INFO] [stdout]     |
[INFO] [stdout] 165 |     update_history(&mut value, MAX_QUIET_HISTORY / 2);
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_QUIET_HISTORY` in this scope
[INFO] [stdout]    --> src/tests/test_engine.rs:166:23
[INFO] [stdout]     |
[INFO] [stdout] 166 |     assert_eq!(value, MAX_QUIET_HISTORY * 3 / 4);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `update_history` in this scope
[INFO] [stdout]    --> src/tests/test_engine.rs:168:5
[INFO] [stdout]     |
[INFO] [stdout] 168 |     update_history(&mut value, i32::MAX);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: function `crate::history::update_history` exists but is inaccessible
[INFO] [stdout]    --> src/history.rs:5:1
[INFO] [stdout]     |
[INFO] [stdout]   5 | fn update_history(value: &mut i16, bonus: i32, scale: i32) {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_QUIET_HISTORY` in this scope
[INFO] [stdout]    --> src/tests/test_engine.rs:169:23
[INFO] [stdout]     |
[INFO] [stdout] 169 |     assert_eq!(value, MAX_QUIET_HISTORY);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `update_history` in this scope
[INFO] [stdout]    --> src/tests/test_engine.rs:172:5
[INFO] [stdout]     |
[INFO] [stdout] 172 |     update_history(&mut negative, i32::MIN);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: function `crate::history::update_history` exists but is inaccessible
[INFO] [stdout]    --> src/history.rs:5:1
[INFO] [stdout]     |
[INFO] [stdout]   5 | fn update_history(value: &mut i16, bonus: i32, scale: i32) {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_QUIET_HISTORY` in this scope
[INFO] [stdout]    --> src/tests/test_engine.rs:173:27
[INFO] [stdout]     |
[INFO] [stdout] 173 |     assert_eq!(negative, -MAX_QUIET_HISTORY);
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_QUIET_HISTORY` in this scope
[INFO] [stdout]    --> src/tests/test_engine.rs:187:73
[INFO] [stdout]     |
[INFO] [stdout] 187 |     engine.quiet_history[1][Square::D2 as usize][Square::D4 as usize] = MAX_QUIET_HISTORY;
[INFO] [stdout]     |                                                                         ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_QUIET_HISTORY` in this scope
[INFO] [stdout]    --> src/tests/test_engine.rs:199:33
[INFO] [stdout]     |
[INFO] [stdout] 199 |     engine.quiet_history[0] = [[MAX_QUIET_HISTORY; 64]; 64];
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CaptureHistory`
[INFO] [stdout]   --> src/engine.rs:21:23
[INFO] [stdout]    |
[INFO] [stdout] 21 |         CONTHIST_PLY, CaptureHistory, ContinuationHistory, CorrectionHistory, PawnHistory,
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing fields `continuation_history`, `eval_stack`, `lmr_logs` and 7 other fields in initializer of `engine::Engine`
[INFO] [stdout]  --> src/tests/test_engine.rs:9:22
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let mut engine = Engine {
[INFO] [stdout]   |                      ^^^^^^ missing `continuation_history`, `eval_stack`, `lmr_logs` and 7 other fields
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `is_capture` on type `engine::EngineMove`
[INFO] [stdout]   --> src/tests/test_engine.rs:55:22
[INFO] [stdout]    |
[INFO] [stdout] 55 |     assert!(moves[0].is_capture);
[INFO] [stdout]    |                      ^^^^^^^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `mv`, `material_value`, `see_score`, `flags`, `piece_type` ... and 2 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `is_ep` on type `engine::EngineMove`
[INFO] [stdout]   --> src/tests/test_engine.rs:80:22
[INFO] [stdout]    |
[INFO] [stdout] 80 |     assert!(moves[0].is_ep);
[INFO] [stdout]    |                      ^^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `mv`, `material_value`, `see_score`, `flags`, `piece_type` ... and 2 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `promotion` on type `&engine::EngineMove`
[INFO] [stdout]   --> src/tests/test_engine.rs:96:82
[INFO] [stdout]    |
[INFO] [stdout] 96 |             .all(|mv| { mv.mv.from == Square::A7 && mv.mv.to == Square::A8 && mv.promotion })
[INFO] [stdout]    |                                                                                  ^^^^^^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout] help: one of the expressions' fields has a field of the same name
[INFO] [stdout]    |
[INFO] [stdout] 96 |             .all(|mv| { mv.mv.from == Square::A7 && mv.mv.to == Square::A8 && mv.mv.promotion })
[INFO] [stdout]    |                                                                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `QuietHistory`
[INFO] [stdout]    --> src/tests/test_engine.rs:186:25
[INFO] [stdout]     |
[INFO] [stdout] 186 |     engine.quiet_history[0][Square::E2 as usize][Square::E4 as usize] = 1;
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `QuietHistory`
[INFO] [stdout]    --> src/tests/test_engine.rs:187:25
[INFO] [stdout]     |
[INFO] [stdout] 187 |     engine.quiet_history[1][Square::D2 as usize][Square::D4 as usize] = MAX_QUIET_HISTORY;
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied
[INFO] [stdout]    --> src/tests/test_engine.rs:190:22
[INFO] [stdout]     |
[INFO] [stdout] 190 |     let mut picker = MovePicker::new(moves, 0);
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^        - unexpected argument #2 of type `{integer}`
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/engine.rs:444:8
[INFO] [stdout]     |
[INFO] [stdout] 444 |     fn new(mut moves: MoveList) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]     |
[INFO] [stdout] 190 -     let mut picker = MovePicker::new(moves, 0);
[INFO] [stdout] 190 +     let mut picker = MovePicker::new(moves);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 0 arguments but 1 argument was supplied
[INFO] [stdout]    --> src/tests/test_engine.rs:191:24
[INFO] [stdout]     |
[INFO] [stdout] 191 |     let first = picker.next(&engine.quiet_history).unwrap();
[INFO] [stdout]     |                        ^^^^ --------------------- unexpected argument of type `&QuietHistory`
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/engine.rs:469:8
[INFO] [stdout]     |
[INFO] [stdout] 469 |     fn next(&mut self) -> Option<EngineMove> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]     |
[INFO] [stdout] 191 -     let first = picker.next(&engine.quiet_history).unwrap();
[INFO] [stdout] 191 +     let first = picker.next().unwrap();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `QuietHistory`
[INFO] [stdout]    --> src/tests/test_engine.rs:199:25
[INFO] [stdout]     |
[INFO] [stdout] 199 |     engine.quiet_history[0] = [[MAX_QUIET_HISTORY; 64]; 64];
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied
[INFO] [stdout]    --> src/tests/test_engine.rs:202:22
[INFO] [stdout]     |
[INFO] [stdout] 202 |     let mut picker = MovePicker::new(moves, 0);
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^        - unexpected argument #2 of type `{integer}`
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/engine.rs:444:8
[INFO] [stdout]     |
[INFO] [stdout] 444 |     fn new(mut moves: MoveList) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]     |
[INFO] [stdout] 202 -     let mut picker = MovePicker::new(moves, 0);
[INFO] [stdout] 202 +     let mut picker = MovePicker::new(moves);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 0 arguments but 1 argument was supplied
[INFO] [stdout]    --> src/tests/test_engine.rs:204:33
[INFO] [stdout]     |
[INFO] [stdout] 204 |     while let Some(mv) = picker.next(&engine.quiet_history) {
[INFO] [stdout]     |                                 ^^^^ --------------------- unexpected argument of type `&QuietHistory`
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/engine.rs:469:8
[INFO] [stdout]     |
[INFO] [stdout] 469 |     fn next(&mut self) -> Option<EngineMove> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]     |
[INFO] [stdout] 204 -     while let Some(mv) = picker.next(&engine.quiet_history) {
[INFO] [stdout] 204 +     while let Some(mv) = picker.next() {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `promotion` on type `&engine::EngineMove`
[INFO] [stdout]    --> src/tests/test_engine.rs:208:44
[INFO] [stdout]     |
[INFO] [stdout] 208 |     assert!(picked[..4].iter().all(|mv| mv.promotion));
[INFO] [stdout]     |                                            ^^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout] help: one of the expressions' fields has a field of the same name
[INFO] [stdout]     |
[INFO] [stdout] 208 |     assert!(picked[..4].iter().all(|mv| mv.mv.promotion));
[INFO] [stdout]     |                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `promotion` on type `&engine::EngineMove`
[INFO] [stdout]    --> src/tests/test_engine.rs:210:45
[INFO] [stdout]     |
[INFO] [stdout] 210 |     assert!(picked[4..].iter().all(|mv| !mv.promotion));
[INFO] [stdout]     |                                             ^^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout] help: one of the expressions' fields has a field of the same name
[INFO] [stdout]     |
[INFO] [stdout] 210 |     assert!(picked[4..].iter().all(|mv| !mv.mv.promotion));
[INFO] [stdout]     |                                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/tests/test_engine.rs:217:28
[INFO] [stdout]     |
[INFO] [stdout] 217 |     engine.quiet_history = [[[123; 64]; 64]; 2];
[INFO] [stdout]     |     --------------------   ^^^^^^^^^^^^^^^^^^^^ expected `QuietHistory`, found `[[[{integer}; 64]; 64]; 2]`
[INFO] [stdout]     |     |
[INFO] [stdout]     |     expected due to the type of this binding
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `iter` found for struct `QuietHistory` in the current scope
[INFO] [stdout]    --> src/tests/test_engine.rs:233:14
[INFO] [stdout]     |
[INFO] [stdout] 231 |         engine
[INFO] [stdout] 232 |             .quiet_history
[INFO] [stdout] 233 |             .iter()
[INFO] [stdout]     |              ^^^^ method not found in `QuietHistory`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/history.rs:28:1
[INFO] [stdout]     |
[INFO] [stdout]  28 | pub struct QuietHistory {
[INFO] [stdout]     | ----------------------- method `iter` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `iter`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `bitflags::traits::Flags`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/tests/test_engine.rs:268:9
[INFO] [stdout]     |
[INFO] [stdout] 263 |     let result = engine.search_move(
[INFO] [stdout]     |                         ----------- arguments to this method are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 268 |         false,
[INFO] [stdout]     |         ^^^^^ expected `NodeType`, found `bool`
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/engine.rs:866:8
[INFO] [stdout]     |
[INFO] [stdout] 866 |     fn search_move(
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 872 |         expected: NodeType,
[INFO] [stdout]     |         ------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 5 arguments but 4 arguments were supplied
[INFO] [stdout]     --> src/tests/test_engine.rs:302:10
[INFO] [stdout]      |
[INFO] [stdout]  302 |         .root_search(&board, depth, &root_moves, &mut pvs_context)
[INFO] [stdout]      |          ^^^^^^^^^^^                             ---------------- argument #4 of type `engine::SearchBounds` is missing
[INFO] [stdout]      |
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> src/engine.rs:1296:8
[INFO] [stdout]      |
[INFO] [stdout] 1296 |     fn root_search(
[INFO] [stdout]      |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1301 |         mut bounds: SearchBounds,
[INFO] [stdout]      |         ------------------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]      |
[INFO] [stdout]  302 |         .root_search(&board, depth, &root_moves, /* SearchBounds */, &mut pvs_context)
[INFO] [stdout]      |                                                  +++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/tests/test_engine.rs:327:17
[INFO] [stdout]     |
[INFO] [stdout] 322 |             .search_move(
[INFO] [stdout]     |              ----------- arguments to this method are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 327 |                 true,
[INFO] [stdout]     |                 ^^^^ expected `NodeType`, found `bool`
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/engine.rs:866:8
[INFO] [stdout]     |
[INFO] [stdout] 866 |     fn search_move(
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 872 |         expected: NodeType,
[INFO] [stdout]     |         ------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/engine.rs:944:9
[INFO] [stdout]     |
[INFO] [stdout] 944 |         mut depth: i32,
[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: function `parse_named_spin_option` is never used
[INFO] [stdout]    --> src/main.rs:186:4
[INFO] [stdout]     |
[INFO] [stdout] 186 | fn parse_named_spin_option(line: &str) -> Option<(String, i32)> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `minor_correction_history` and `major_correction_history` are never read
[INFO] [stdout]    --> src/engine.rs:596:5
[INFO] [stdout]     |
[INFO] [stdout] 587 | pub struct Engine {
[INFO] [stdout]     |            ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 596 |     minor_correction_history: CorrectionHistory,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 597 |     major_correction_history: CorrectionHistory,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `CaptureHistEntry` is never used
[INFO] [stdout]   --> src/history.rs:24:6
[INFO] [stdout]    |
[INFO] [stdout] 24 | type CaptureHistEntry = [[[[i16; 6]; 6]; 64]; 2];
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CaptureHistory` is never constructed
[INFO] [stdout]    --> src/history.rs:103:12
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub struct CaptureHistory {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `clear`, `get`, and `update` are never used
[INFO] [stdout]    --> src/history.rs:108:12
[INFO] [stdout]     |
[INFO] [stdout] 107 | impl CaptureHistory {
[INFO] [stdout]     | ------------------- associated items in this implementation
[INFO] [stdout] 108 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 114 |     pub fn clear(&mut self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 118 |     pub fn get(&self, stm: usize, to: Square, piece: Piece, target: Piece) -> i32 {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 122 |     pub fn update(&mut self, stm: usize, to: Square, piece: Piece, target: Piece, bonus: i32) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `shuffle` in this scope
[INFO] [stdout]   --> src/tests/test_selfplay.rs:93:5
[INFO] [stdout]    |
[INFO] [stdout] 93 |     shuffle(&mut first, 42);
[INFO] [stdout]    |     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `shuffle` in this scope
[INFO] [stdout]   --> src/tests/test_selfplay.rs:94:5
[INFO] [stdout]    |
[INFO] [stdout] 94 |     shuffle(&mut second, 42);
[INFO] [stdout]    |     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/engine.rs:944:9
[INFO] [stdout]     |
[INFO] [stdout] 944 |         mut depth: i32,
[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] error[E0308]: mismatched types
[INFO] [stdout]   --> src/tests/test_engine.rs:12:24
[INFO] [stdout]    |
[INFO] [stdout] 12 |         quiet_history: [[[0; 64]; 64]; 2],
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^ expected `QuietHistory`, found `[[[{integer}; 64]; 64]; 2]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0063, E0308, E0425, E0432, E0599, E0608, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `chessbot` (bin "chessbot" test) due to 34 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "197db61d40109df8268ddede4edf64d24d8a317b4866a9f198c8aa789b45e0cd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "197db61d40109df8268ddede4edf64d24d8a317b4866a9f198c8aa789b45e0cd", kill_on_drop: false }`
[INFO] [stdout] 197db61d40109df8268ddede4edf64d24d8a317b4866a9f198c8aa789b45e0cd
