[INFO] cloning repository https://github.com/Corgwn/ai_chess
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Corgwn/ai_chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCorgwn%2Fai_chess", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCorgwn%2Fai_chess'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4096abcac4909132192f1df6f3bb5a2b1976e8f4
[INFO] checking Corgwn/ai_chess against try#54cf65b8d066c082e536455049b95943cf30378f for pr-151920
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCorgwn%2Fai_chess" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Corgwn/ai_chess
[INFO] finished tweaking git repo https://github.com/Corgwn/ai_chess
[INFO] tweaked toml for git repo https://github.com/Corgwn/ai_chess written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Corgwn/ai_chess on toolchain 54cf65b8d066c082e536455049b95943cf30378f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+54cf65b8d066c082e536455049b95943cf30378f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Corgwn/ai_chess already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+54cf65b8d066c082e536455049b95943cf30378f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+54cf65b8d066c082e536455049b95943cf30378f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 493b4274673a23e96f84ce6308b7a5ed0f01a45e9664653945baa48a8d1b3730
[INFO] running `Command { std: "docker" "start" "-a" "493b4274673a23e96f84ce6308b7a5ed0f01a45e9664653945baa48a8d1b3730", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "493b4274673a23e96f84ce6308b7a5ed0f01a45e9664653945baa48a8d1b3730", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "493b4274673a23e96f84ce6308b7a5ed0f01a45e9664653945baa48a8d1b3730", kill_on_drop: false }`
[INFO] [stdout] 493b4274673a23e96f84ce6308b7a5ed0f01a45e9664653945baa48a8d1b3730
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+54cf65b8d066c082e536455049b95943cf30378f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 72c258870404c466cc3bead4f4b0acb32c839bc63e4fc0788ae9d4cb05972309
[INFO] running `Command { std: "docker" "start" "-a" "72c258870404c466cc3bead4f4b0acb32c839bc63e4fc0788ae9d4cb05972309", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]     Checking memchr v2.7.2
[INFO] [stderr]    Compiling serde v1.0.217
[INFO] [stderr]    Compiling serde_json v1.0.135
[INFO] [stderr]     Checking regex-syntax v0.8.3
[INFO] [stderr]     Checking ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]     Checking os_str_bytes v6.6.1
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]    Compiling syn v2.0.96
[INFO] [stderr]     Checking textwrap v0.16.1
[INFO] [stderr]     Checking clap_lex v0.2.4
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]     Checking getrandom v0.2.9
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking clap v3.2.25
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking regex-automata v0.4.6
[INFO] [stderr]    Compiling serde_derive v1.0.217
[INFO] [stderr]    Compiling snafu-derive v0.8.5
[INFO] [stderr]     Checking regex v1.10.4
[INFO] [stderr]     Checking snafu v0.8.5
[INFO] [stderr]     Checking ai_chess v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `PieceTypes` and `Pieces`
[INFO] [stdout]   --> src/main.rs:13:41
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::utils::pieces::{PieceColors, PieceTypes, Pieces, BLACK, WHITE};
[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 variable: `game`
[INFO] [stdout]    --> src/ai_funcs/ai_types/negamax1d.rs:113:9
[INFO] [stdout]     |
[INFO] [stdout] 113 |         game: Mailbox,
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_game`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `search_time`
[INFO] [stdout]    --> src/ai_funcs/ai_types/negamax1d.rs:114:9
[INFO] [stdout]     |
[INFO] [stdout] 114 |         search_time: u128,
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_search_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `available_moves`
[INFO] [stdout]    --> src/ai_funcs/ai_types/negamax1d.rs:115:9
[INFO] [stdout]     |
[INFO] [stdout] 115 |         available_moves: Option<Vec<GameMove1d>>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_available_moves`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mate_moves`
[INFO] [stdout]    --> src/ai_funcs/ai_types/negamax1d.rs:116:9
[INFO] [stdout]     |
[INFO] [stdout] 116 |         mate_moves: usize,
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mate_moves`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `find_move_2d` is never used
[INFO] [stdout]  --> src/ai_funcs/ai_types/manual.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | impl Manual {
[INFO] [stdout]   | ----------- associated function in this implementation
[INFO] [stdout] 6 |     pub fn find_move_2d() -> GameMove2d {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Random` is never constructed
[INFO] [stdout]  --> src/ai_funcs/ai_types/random.rs:6:19
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub(crate) struct Random {}
[INFO] [stdout]   |                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `find_move` is never used
[INFO] [stdout]  --> src/ai_funcs/ai_types/random.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl Random {
[INFO] [stdout]   | ----------- method in this implementation
[INFO] [stdout] 9 |     pub fn find_move<T: Board>(&self, game: T, _: bool, _: u128) -> GameMove2d {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SQUARE_CONTROL_TABLE` is never used
[INFO] [stdout]    --> src/ai_funcs/ai_utils/heuristics2d.rs:152:7
[INFO] [stdout]     |
[INFO] [stdout] 152 | const SQUARE_CONTROL_TABLE: [[f32; 8]; 8] = [
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BitBoard` is never constructed
[INFO] [stdout]  --> src/board_structs/board_types/bitboard.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct BitBoard {}
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `previous_state` is never read
[INFO] [stdout]   --> src/board_structs/board_types/mailbox.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub struct Mailbox {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 52 |     previous_state: Option<Arc<Mailbox>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Mailbox` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_castle_rights`, `get_prev`, `get_attack_maps`, `backtrace`, and `print_info` are never used
[INFO] [stdout]    --> src/board_structs/board_types/mailbox.rs:353:19
[INFO] [stdout]     |
[INFO] [stdout]  82 | impl Mailbox {
[INFO] [stdout]     | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 353 |     pub(crate) fn get_castle_rights(&self) -> CastleRights {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 863 |     pub(crate) fn get_prev(&self) -> Option<Arc<Mailbox>> {
[INFO] [stdout]     |                   ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 867 |     pub(crate) fn get_attack_maps(&self) -> (&[u8; 120], &[u8; 120]) {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 871 |     fn backtrace(&self) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 878 |     fn print_info(&self) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_str` is never used
[INFO] [stdout]   --> src/utils/gamemove2d.rs:17:19
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl GameMove2d {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 17 |     pub(crate) fn from_str(input: &&str) -> GameMove2d {
[INFO] [stdout]    |                   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking ciborium v0.2.2
[INFO] [stderr]     Checking tinytemplate v1.2.1
[INFO] [stderr]     Checking criterion v0.4.0
[INFO] [stdout] error[E0425]: cannot find function `to_let` in this scope
[INFO] [stdout]    --> src/board_structs/board_types/array2d.rs:975:20
[INFO] [stdout]     |
[INFO] [stdout] 975 |         assert_eq!(to_let(number), character);
[INFO] [stdout]     |                    ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use crate::utils::gamemove2d::to_let;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `PieceTypes` and `Pieces`
[INFO] [stdout]   --> src/main.rs:13:41
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::utils::pieces::{PieceColors, PieceTypes, Pieces, BLACK, WHITE};
[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 variable: `game`
[INFO] [stdout]    --> src/ai_funcs/ai_types/negamax1d.rs:113:9
[INFO] [stdout]     |
[INFO] [stdout] 113 |         game: Mailbox,
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_game`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `search_time`
[INFO] [stdout]    --> src/ai_funcs/ai_types/negamax1d.rs:114:9
[INFO] [stdout]     |
[INFO] [stdout] 114 |         search_time: u128,
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_search_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `available_moves`
[INFO] [stdout]    --> src/ai_funcs/ai_types/negamax1d.rs:115:9
[INFO] [stdout]     |
[INFO] [stdout] 115 |         available_moves: Option<Vec<GameMove1d>>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_available_moves`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mate_moves`
[INFO] [stdout]    --> src/ai_funcs/ai_types/negamax1d.rs:116:9
[INFO] [stdout]     |
[INFO] [stdout] 116 |         mate_moves: usize,
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mate_moves`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ai_chess` (bin "ai_chess" test) due to 1 previous error; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "72c258870404c466cc3bead4f4b0acb32c839bc63e4fc0788ae9d4cb05972309", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "72c258870404c466cc3bead4f4b0acb32c839bc63e4fc0788ae9d4cb05972309", kill_on_drop: false }`
[INFO] [stdout] 72c258870404c466cc3bead4f4b0acb32c839bc63e4fc0788ae9d4cb05972309
