[INFO] cloning repository https://github.com/ShilohAlleyne/chess-engine.rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ShilohAlleyne/chess-engine.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShilohAlleyne%2Fchess-engine.rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShilohAlleyne%2Fchess-engine.rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 397be98bf69a083ef21135121ba66f1cfb50e242
[INFO] checking ShilohAlleyne/chess-engine.rs against try#4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7 for pr-158816
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShilohAlleyne%2Fchess-engine.rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ShilohAlleyne/chess-engine.rs
[INFO] finished tweaking git repo https://github.com/ShilohAlleyne/chess-engine.rs
[INFO] tweaked toml for git repo https://github.com/ShilohAlleyne/chess-engine.rs written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ShilohAlleyne/chess-engine.rs on toolchain 4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ShilohAlleyne/chess-engine.rs 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" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 98cc653996beb0cc8db58546beea87aa050cbf699a69f961fe33ca721f23c1ad
[INFO] running `Command { std: "docker" "start" "98cc653996beb0cc8db58546beea87aa050cbf699a69f961fe33ca721f23c1ad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "98cc653996beb0cc8db58546beea87aa050cbf699a69f961fe33ca721f23c1ad", 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" "98cc653996beb0cc8db58546beea87aa050cbf699a69f961fe33ca721f23c1ad" "/opt/rustwide/cargo-home/bin/cargo" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "98cc653996beb0cc8db58546beea87aa050cbf699a69f961fe33ca721f23c1ad", 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" "98cc653996beb0cc8db58546beea87aa050cbf699a69f961fe33ca721f23c1ad" "/opt/rustwide/cargo-home/bin/cargo" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.93
[INFO] [stderr]    Compiling rustversion v1.0.19
[INFO] [stderr]     Checking array-init v2.1.0
[INFO] [stderr]     Checking strum v0.26.3
[INFO] [stderr]     Checking colored v3.0.0
[INFO] [stderr]     Checking itertools v0.14.0
[INFO] [stderr]     Checking getrandom v0.3.3
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand v0.9.1
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]    Compiling syn v2.0.96
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]     Checking chess v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]    --> src/engine/attack_masks.rs:144:31
[INFO] [stdout]     |
[INFO] [stdout] 144 |     let tb = |r: u64, f: u64| (r * 8 + f);
[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] 144 -     let tb = |r: u64, f: u64| (r * 8 + f);
[INFO] [stdout] 144 +     let tb = |r: u64, f: u64| r * 8 + f;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `from_colour_kind`
[INFO] [stdout]  --> src/engine/move_gen.rs:4:23
[INFO] [stdout]   |
[INFO] [stdout] 4 |         piece::{self, from_colour_kind},
[INFO] [stdout]   |                       ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]    --> src/engine/attack_masks.rs:144:31
[INFO] [stdout]     |
[INFO] [stdout] 144 |     let tb = |r: u64, f: u64| (r * 8 + f);
[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] 144 -     let tb = |r: u64, f: u64| (r * 8 + f);
[INFO] [stdout] 144 +     let tb = |r: u64, f: u64| r * 8 + f;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `from_colour_kind`
[INFO] [stdout]  --> src/engine/move_gen.rs:4:23
[INFO] [stdout]   |
[INFO] [stdout] 4 |         piece::{self, from_colour_kind},
[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 imports: `Itertools` and `any`
[INFO] [stdout]   --> src/main.rs:14:17
[INFO] [stdout]    |
[INFO] [stdout] 14 | use itertools::{any, Itertools};
[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: `froms_gambit`
[INFO] [stdout]   --> src/main.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let froms_gambit = "r2qk2r/ppp2ppp/2nb1n2/8/6b1/4PN2/PPPPB1PP/RNBQ1RK1 b Qkq - 0 1";
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_froms_gambit`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vienna`
[INFO] [stdout]   --> src/main.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let vienna = [
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_vienna`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `apply_all_moves` is never used
[INFO] [stdout]   --> src/main.rs:67:4
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn apply_all_moves<S: Copy, M, D, L: MoveLens<S, M, D>>(
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `undo_all` is never used
[INFO] [stdout]   --> src/main.rs:78:4
[INFO] [stdout]    |
[INFO] [stdout] 78 | fn undo_all<S: Copy, M, D, L, I>(lens: &L, final_state: S, changes: I) -> S
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `apply_and_collect_deltas` is never used
[INFO] [stdout]   --> src/main.rs:90:4
[INFO] [stdout]    |
[INFO] [stdout] 90 | fn apply_and_collect_deltas<S: Copy, M, D, L: MoveLens<S, M, D>>(
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Itertools` and `any`
[INFO] [stdout]   --> src/main.rs:14:17
[INFO] [stdout]    |
[INFO] [stdout] 14 | use itertools::{any, Itertools};
[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: `froms_gambit`
[INFO] [stdout]   --> src/main.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let froms_gambit = "r2qk2r/ppp2ppp/2nb1n2/8/6b1/4PN2/PPPPB1PP/RNBQ1RK1 b Qkq - 0 1";
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_froms_gambit`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vienna`
[INFO] [stdout]   --> src/main.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let vienna = [
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_vienna`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `apply_all_moves` is never used
[INFO] [stdout]   --> src/main.rs:67:4
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn apply_all_moves<S: Copy, M, D, L: MoveLens<S, M, D>>(
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `undo_all` is never used
[INFO] [stdout]   --> src/main.rs:78:4
[INFO] [stdout]    |
[INFO] [stdout] 78 | fn undo_all<S: Copy, M, D, L, I>(lens: &L, final_state: S, changes: I) -> S
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `apply_and_collect_deltas` is never used
[INFO] [stdout]   --> src/main.rs:90:4
[INFO] [stdout]    |
[INFO] [stdout] 90 | fn apply_and_collect_deltas<S: Copy, M, D, L: MoveLens<S, M, D>>(
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.17s
[INFO] running `Command { std: "docker" "inspect" "98cc653996beb0cc8db58546beea87aa050cbf699a69f961fe33ca721f23c1ad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "98cc653996beb0cc8db58546beea87aa050cbf699a69f961fe33ca721f23c1ad", kill_on_drop: false }`
[INFO] [stdout] 98cc653996beb0cc8db58546beea87aa050cbf699a69f961fe33ca721f23c1ad
