[INFO] cloning repository https://github.com/Japabu/banjotjanbot
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Japabu/banjotjanbot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJapabu%2Fbanjotjanbot", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJapabu%2Fbanjotjanbot'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 44bb2897fc1c9cb544b2645ebb1043033d2fae3f
[INFO] checking Japabu/banjotjanbot against 4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d for pr-159598
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJapabu%2Fbanjotjanbot" "/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/Japabu/banjotjanbot
[INFO] finished tweaking git repo https://github.com/Japabu/banjotjanbot
[INFO] tweaked toml for git repo https://github.com/Japabu/banjotjanbot written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Japabu/banjotjanbot on toolchain 4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Japabu/banjotjanbot 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" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "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] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded crossbeam-epoch v0.9.8
[INFO] [stderr]   Downloaded libc v0.2.121
[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:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] d19378bed404cb6297b38db4f10b597fd11dce7245797b06b1f30f1e5acfdf02
[INFO] running `Command { std: "docker" "start" "d19378bed404cb6297b38db4f10b597fd11dce7245797b06b1f30f1e5acfdf02", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d19378bed404cb6297b38db4f10b597fd11dce7245797b06b1f30f1e5acfdf02", 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" "d19378bed404cb6297b38db4f10b597fd11dce7245797b06b1f30f1e5acfdf02" "/opt/rustwide/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d19378bed404cb6297b38db4f10b597fd11dce7245797b06b1f30f1e5acfdf02", 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" "d19378bed404cb6297b38db4f10b597fd11dce7245797b06b1f30f1e5acfdf02" "/opt/rustwide/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.121
[INFO] [stderr]    Compiling crossbeam-utils v0.8.8
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.8
[INFO] [stderr]    Compiling rayon-core v1.9.1
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]    Compiling rayon v1.5.1
[INFO] [stderr]     Checking ppv-lite86 v0.2.16
[INFO] [stderr]     Checking either v1.6.1
[INFO] [stderr]     Checking crossbeam-channel v0.5.4
[INFO] [stderr]     Checking getrandom v0.2.6
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking crossbeam-deque v0.8.1
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking chessai v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: let chains are only allowed in Rust 2024 or later
[INFO] [stdout]    --> src/chess_engine/gen_moves.rs:117:16
[INFO] [stdout]     |
[INFO] [stdout] 117 |             if let Some(to) = with_offset(to, offset)
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: let chains are only allowed in Rust 2024 or later
[INFO] [stdout]    --> src/chess_engine/gen_moves.rs:118:17
[INFO] [stdout]     |
[INFO] [stdout] 118 |             &&  let Some(p) = self.pieces[to as usize] && p.c != self.turn {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: let chains are only allowed in Rust 2024 or later
[INFO] [stdout]    --> src/chess_engine/search.rs:175:28
[INFO] [stdout]     |
[INFO] [stdout] 175 |         while depth > 0 && let Some(t) = TranspositionTable::get(state.hash) && let Some(m) = t.best_move {
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: let chains are only allowed in Rust 2024 or later
[INFO] [stdout]    --> src/chess_engine/search.rs:175:81
[INFO] [stdout]     |
[INFO] [stdout] 175 |         while depth > 0 && let Some(t) = TranspositionTable::get(state.hash) && let Some(m) = t.best_move {
[INFO] [stdout]     |                                                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: let chains are only allowed in Rust 2024 or later
[INFO] [stdout]    --> src/chess_engine/gen_moves.rs:117:16
[INFO] [stdout]     |
[INFO] [stdout] 117 |             if let Some(to) = with_offset(to, offset)
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: let chains are only allowed in Rust 2024 or later
[INFO] [stdout]    --> src/chess_engine/gen_moves.rs:118:17
[INFO] [stdout]     |
[INFO] [stdout] 118 |             &&  let Some(p) = self.pieces[to as usize] && p.c != self.turn {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: let chains are only allowed in Rust 2024 or later
[INFO] [stdout]    --> src/chess_engine/search.rs:175:28
[INFO] [stdout]     |
[INFO] [stdout] 175 |         while depth > 0 && let Some(t) = TranspositionTable::get(state.hash) && let Some(m) = t.best_move {
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: let chains are only allowed in Rust 2024 or later
[INFO] [stdout]    --> src/chess_engine/search.rs:175:81
[INFO] [stdout]     |
[INFO] [stdout] 175 |         while depth > 0 && let Some(t) = TranspositionTable::get(state.hash) && let Some(m) = t.best_move {
[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/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![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 `let_chains` has been stable since 1.88.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(let_chains)]
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0741]: `NodeType` must implement `ConstParamTy` to be used as the type of a const generic parameter
[INFO] [stdout]   --> src/chess_engine/search.rs:29:32
[INFO] [stdout]    |
[INFO] [stdout] 29 |     fn search<const NODE_TYPE: NodeType>(&self, state: &mut ChessState, mut alpha: i32, mut beta: i32, depth_left: i32, ply: u32) ->...
[INFO] [stdout]    |                                ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the enum
[INFO] [stdout]    |
[INFO] [stdout] 21 + #[derive(ConstParamTy)]
[INFO] [stdout] 22 | enum NodeType {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0741]: `NodeType` must implement `ConstParamTy` to be used as the type of a const generic parameter
[INFO] [stdout]   --> src/chess_engine/search.rs:29:32
[INFO] [stdout]    |
[INFO] [stdout] 29 |     fn search<const NODE_TYPE: NodeType>(&self, state: &mut ChessState, mut alpha: i32, mut beta: i32, depth_left: i32, ply: u32) ->...
[INFO] [stdout]    |                                ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the enum
[INFO] [stdout]    |
[INFO] [stdout] 21 + #[derive(ConstParamTy)]
[INFO] [stdout] 22 | enum NodeType {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0741`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `chessai` (lib) due to 5 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about this error, try `rustc --explain E0741`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `chessai` (lib test) due to 5 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "d19378bed404cb6297b38db4f10b597fd11dce7245797b06b1f30f1e5acfdf02", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d19378bed404cb6297b38db4f10b597fd11dce7245797b06b1f30f1e5acfdf02", kill_on_drop: false }`
[INFO] [stdout] d19378bed404cb6297b38db4f10b597fd11dce7245797b06b1f30f1e5acfdf02
