[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] 509c0a30b6b6dc0f3b5ac11a8bdf979001560742 [INFO] checking Corgwn/ai_chess against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCorgwn%2Fai_chess" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Corgwn/ai_chess on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0-tc1/source/Cargo.toml [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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] adb865a282edbf153da144ece92b6cb68a984ce6e05a488f1418c5093a13e1c7 [INFO] running `Command { std: "docker" "start" "-a" "adb865a282edbf153da144ece92b6cb68a984ce6e05a488f1418c5093a13e1c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "adb865a282edbf153da144ece92b6cb68a984ce6e05a488f1418c5093a13e1c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adb865a282edbf153da144ece92b6cb68a984ce6e05a488f1418c5093a13e1c7", kill_on_drop: false }` [INFO] [stdout] adb865a282edbf153da144ece92b6cb68a984ce6e05a488f1418c5093a13e1c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b4998ef13f16358ec2bd2a984dc73ab17ff5097c602c354f7dac2471f46cddb [INFO] running `Command { std: "docker" "start" "-a" "8b4998ef13f16358ec2bd2a984dc73ab17ff5097c602c354f7dac2471f46cddb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.141 [INFO] [stderr] Checking getrandom v0.2.9 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ai_chess v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::ai_funcs::ai_types::random::Random` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::ai_funcs::ai_types::random::Random; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BLACK`, `WHITE` [INFO] [stdout] --> src/board_structs/board_types/array1d.rs:3:47 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::utils::pieces::{Pieces, Pieces::*, BLACK, WHITE}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_let` [INFO] [stdout] --> src/board_structs/board_types/array2d.rs:6:31 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::utils::game_move::{to_let, PassantTypes}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ai_funcs::ai_types::random::Random` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::ai_funcs::ai_types::random::Random; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BLACK`, `WHITE` [INFO] [stdout] --> src/board_structs/board_types/array1d.rs:3:47 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::utils::pieces::{Pieces, Pieces::*, BLACK, WHITE}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fen` [INFO] [stdout] --> src/board_structs/board_types/array1d.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | fn read_from_fen(fen: String) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fen` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fen` [INFO] [stdout] --> src/board_structs/board_types/array1d.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | fn read_from_fen(fen: String) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fen` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mov` [INFO] [stdout] --> src/board_structs/board_types/array1d.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | fn make_move(&self, mov: GameMove) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mov` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mov` [INFO] [stdout] --> src/board_structs/board_types/array1d.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | fn make_move(&self, mov: GameMove) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mov` [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_move` is never used [INFO] [stdout] --> src/ai_funcs/ai_types/random.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Random { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 10 | pub fn find_move(&self, game: T, _: bool, _: u128) -> GameMove { [INFO] [stdout] | ^^^^^^^^^ [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_move` is never used [INFO] [stdout] --> src/ai_funcs/ai_types/random.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Random { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 10 | pub fn find_move(&self, game: T, _: bool, _: u128) -> GameMove { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/board_structs/board_types/array1d.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Mailbox { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | castling_rights: [bool; 4], [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | //None if no en passant is possible, Some if possible by taking the position given with a pawn [INFO] [stdout] 12 | en_passant: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | half_moves: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | full_moves: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 15 | check: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | white_king: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | black_king: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mailbox` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/board_structs/board_types/array1d.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Mailbox { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | castling_rights: [bool; 4], [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | //None if no en passant is possible, Some if possible by taking the position given with a pawn [INFO] [stdout] 12 | en_passant: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | half_moves: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | full_moves: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 15 | check: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | white_king: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | black_king: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mailbox` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.24s [INFO] running `Command { std: "docker" "inspect" "8b4998ef13f16358ec2bd2a984dc73ab17ff5097c602c354f7dac2471f46cddb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b4998ef13f16358ec2bd2a984dc73ab17ff5097c602c354f7dac2471f46cddb", kill_on_drop: false }` [INFO] [stdout] 8b4998ef13f16358ec2bd2a984dc73ab17ff5097c602c354f7dac2471f46cddb