[INFO] cloning repository https://github.com/pacificDeveloperPrakhar/Chess_Engine_Reinforcement_Learning
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pacificDeveloperPrakhar/Chess_Engine_Reinforcement_Learning" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FpacificDeveloperPrakhar%2FChess_Engine_Reinforcement_Learning", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FpacificDeveloperPrakhar%2FChess_Engine_Reinforcement_Learning'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 270e57cc58fccb7f1f62ead6eb34c5059766edb4
[INFO] checking pacificDeveloperPrakhar/Chess_Engine_Reinforcement_Learning 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%2FpacificDeveloperPrakhar%2FChess_Engine_Reinforcement_Learning" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/pacificDeveloperPrakhar/Chess_Engine_Reinforcement_Learning
[INFO] finished tweaking git repo https://github.com/pacificDeveloperPrakhar/Chess_Engine_Reinforcement_Learning
[INFO] tweaked toml for git repo https://github.com/pacificDeveloperPrakhar/Chess_Engine_Reinforcement_Learning written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/pacificDeveloperPrakhar/Chess_Engine_Reinforcement_Learning 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/pacificDeveloperPrakhar/Chess_Engine_Reinforcement_Learning 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]     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 xxhash-rust v0.8.19
[INFO] [stderr]   Downloaded redis v1.7.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] ec7e4e823b3f0294b53da3e99e4cc0f4e8d5f4a35254899c056d66bf3f6f7505
[INFO] running `Command { std: "docker" "start" "ec7e4e823b3f0294b53da3e99e4cc0f4e8d5f4a35254899c056d66bf3f6f7505", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ec7e4e823b3f0294b53da3e99e4cc0f4e8d5f4a35254899c056d66bf3f6f7505", 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" "ec7e4e823b3f0294b53da3e99e4cc0f4e8d5f4a35254899c056d66bf3f6f7505" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ec7e4e823b3f0294b53da3e99e4cc0f4e8d5f4a35254899c056d66bf3f6f7505", 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" "ec7e4e823b3f0294b53da3e99e4cc0f4e8d5f4a35254899c056d66bf3f6f7505" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking zerofrom v0.1.8
[INFO] [stderr]    Compiling yoke-derive v0.8.4
[INFO] [stderr]     Checking smallvec v1.16.2
[INFO] [stderr]    Compiling tokio-macros v2.7.2
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking event-listener v5.4.2
[INFO] [stderr]     Checking arcstr v1.2.0
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]     Checking mio v1.2.3
[INFO] [stderr]     Checking futures-util v0.3.34
[INFO] [stderr]     Checking xxhash-rust v0.8.19
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking event-listener-strategy v0.5.4
[INFO] [stderr]     Checking async-lock v3.4.2
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking tokio v1.53.2
[INFO] [stderr]     Checking yoke v0.8.3
[INFO] [stderr]     Checking zerovec v0.11.8
[INFO] [stderr]     Checking zerotrie v0.2.5
[INFO] [stderr]     Checking num-integer v0.1.47
[INFO] [stderr]     Checking num-bigint v0.5.1
[INFO] [stderr]     Checking tinystr v0.8.4
[INFO] [stderr]     Checking potential_utf v0.1.6
[INFO] [stderr]     Checking icu_collections v2.3.0
[INFO] [stderr]     Checking icu_locale_core v2.3.0
[INFO] [stderr]     Checking icu_provider v2.3.1
[INFO] [stderr]     Checking icu_properties v2.3.0
[INFO] [stderr]     Checking icu_normalizer v2.3.0
[INFO] [stderr]     Checking idna_adapter v1.2.2
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking tokio-util v0.7.19
[INFO] [stderr]     Checking combine v4.6.8
[INFO] [stderr]     Checking redis v1.7.1
[INFO] [stderr]     Checking chess_engine v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find type `FenPosition` in this scope
[INFO] [stdout]   --> src/parser.rs:52:46
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub fn fen_to_bitboards(fen: &str) -> Result<FenPosition, String>
[INFO] [stdout]    |                                              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub fn fen_to_bitboards<FenPosition>(fen: &str) -> Result<FenPosition, String>
[INFO] [stdout]    |                        +++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `FenPosition` in this scope
[INFO] [stdout]   --> src/parser.rs:52:46
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub fn fen_to_bitboards(fen: &str) -> Result<FenPosition, String>
[INFO] [stdout]    |                                              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub fn fen_to_bitboards<FenPosition>(fen: &str) -> Result<FenPosition, String>
[INFO] [stdout]    |                        +++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `GameSession` has no field named `en_passant`
[INFO] [stdout]    --> src/parser.rs:133:3
[INFO] [stdout]     |
[INFO] [stdout] 133 |         en_passant,
[INFO] [stdout]     |         ^^^^^^^^^^ `GameSession` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `id`, `mode`, `ep_target`, `piece_selected`, `selected` ... and 2 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `GameSession` has no field named `en_passant`
[INFO] [stdout]    --> src/parser.rs:133:3
[INFO] [stdout]     |
[INFO] [stdout] 133 |         en_passant,
[INFO] [stdout]     |         ^^^^^^^^^^ `GameSession` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `id`, `mode`, `ep_target`, `piece_selected`, `selected` ... and 2 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: lifetime may not live long enough
[INFO] [stdout]   --> src/evaluator/MIN_MAX.rs:35:4
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub fn min_max(mut alpha: f64, mut beta: f64, role: i8, curr: &mut Node_Min_Max, depth: usize) -> f64
[INFO] [stdout]    |                                                         ----  - let's call the lifetime of this reference `'1`
[INFO] [stdout]    |                                                         |
[INFO] [stdout]    |                                                         has type `&mut Node_Min_Max<'2, '_>`
[INFO] [stdout] ...
[INFO] [stdout] 35 |             curr.next_best_move = Option::Some(&child);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assignment requires that `'1` must outlive `'2`
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing a named lifetime parameter
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub fn min_max<'a>(mut alpha: f64, mut beta: f64, role: i8, curr: &'a mut Node_Min_Max<'a, 'a>, depth: usize) -> f64
[INFO] [stdout]    |               ++++                                                 ++                 ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: lifetime may not live long enough
[INFO] [stdout]   --> src/evaluator/MIN_MAX.rs:35:4
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub fn min_max(mut alpha: f64, mut beta: f64, role: i8, curr: &mut Node_Min_Max, depth: usize) -> f64
[INFO] [stdout]    |                                                         ----
[INFO] [stdout]    |                                                         |
[INFO] [stdout]    |                                                         has type `&mut Node_Min_Max<'2, '_>`
[INFO] [stdout]    |                                                         has type `&mut Node_Min_Max<'_, '3>`
[INFO] [stdout] ...
[INFO] [stdout] 35 |             curr.next_best_move = Option::Some(&child);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assignment requires that `'2` must outlive `'3`
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing a named lifetime parameter
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub fn min_max<'a>(mut alpha: f64, mut beta: f64, role: i8, curr: &mut Node_Min_Max<'a, 'a>, depth: usize) -> f64
[INFO] [stdout]    |               ++++                                                                 ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: lifetime may not live long enough
[INFO] [stdout]   --> src/evaluator/MIN_MAX.rs:35:4
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub fn min_max(mut alpha: f64, mut beta: f64, role: i8, curr: &mut Node_Min_Max, depth: usize) -> f64
[INFO] [stdout]    |                                                         ----  - let's call the lifetime of this reference `'1`
[INFO] [stdout]    |                                                         |
[INFO] [stdout]    |                                                         has type `&mut Node_Min_Max<'2, '_>`
[INFO] [stdout] ...
[INFO] [stdout] 35 |             curr.next_best_move = Option::Some(&child);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assignment requires that `'1` must outlive `'2`
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing a named lifetime parameter
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub fn min_max<'a>(mut alpha: f64, mut beta: f64, role: i8, curr: &'a mut Node_Min_Max<'a, 'a>, depth: usize) -> f64
[INFO] [stdout]    |               ++++                                                 ++                 ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0597]: `child` does not live long enough
[INFO] [stdout]   --> src/evaluator/MIN_MAX.rs:35:39
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub fn min_max(mut alpha: f64, mut beta: f64, role: i8, curr: &mut Node_Min_Max, depth: usize) -> f64
[INFO] [stdout]    |                                                         ---- has type `&mut Node_Min_Max<'_, '3>`
[INFO] [stdout] ...
[INFO] [stdout] 28 |     for child in curr.children.iter_mut()
[INFO] [stdout]    |         ----- binding `child` declared here
[INFO] [stdout] ...
[INFO] [stdout] 35 |             curr.next_best_move = Option::Some(&child);
[INFO] [stdout]    |             -----------------------------------^^^^^^-
[INFO] [stdout]    |             |                                  |
[INFO] [stdout]    |             |                                  borrowed value does not live long enough
[INFO] [stdout]    |             assignment requires that `child` is borrowed for `'3`
[INFO] [stdout] ...
[INFO] [stdout] 47 |     }
[INFO] [stdout]    |     - `child` dropped here while still borrowed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: lifetime may not live long enough
[INFO] [stdout]   --> src/evaluator/MIN_MAX.rs:35:4
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub fn min_max(mut alpha: f64, mut beta: f64, role: i8, curr: &mut Node_Min_Max, depth: usize) -> f64
[INFO] [stdout]    |                                                         ----
[INFO] [stdout]    |                                                         |
[INFO] [stdout]    |                                                         has type `&mut Node_Min_Max<'2, '_>`
[INFO] [stdout]    |                                                         has type `&mut Node_Min_Max<'_, '3>`
[INFO] [stdout] ...
[INFO] [stdout] 35 |             curr.next_best_move = Option::Some(&child);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assignment requires that `'2` must outlive `'3`
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing a named lifetime parameter
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub fn min_max<'a>(mut alpha: f64, mut beta: f64, role: i8, curr: &mut Node_Min_Max<'a, 'a>, depth: usize) -> f64
[INFO] [stdout]    |               ++++                                                                 ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0597]: `child` does not live long enough
[INFO] [stdout]   --> src/evaluator/MIN_MAX.rs:35:39
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub fn min_max(mut alpha: f64, mut beta: f64, role: i8, curr: &mut Node_Min_Max, depth: usize) -> f64
[INFO] [stdout]    |                                                         ---- has type `&mut Node_Min_Max<'_, '3>`
[INFO] [stdout] ...
[INFO] [stdout] 28 |     for child in curr.children.iter_mut()
[INFO] [stdout]    |         ----- binding `child` declared here
[INFO] [stdout] ...
[INFO] [stdout] 35 |             curr.next_best_move = Option::Some(&child);
[INFO] [stdout]    |             -----------------------------------^^^^^^-
[INFO] [stdout]    |             |                                  |
[INFO] [stdout]    |             |                                  borrowed value does not live long enough
[INFO] [stdout]    |             assignment requires that `child` is borrowed for `'3`
[INFO] [stdout] ...
[INFO] [stdout] 47 |     }
[INFO] [stdout]    |     - `child` dropped here while still borrowed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0560, E0597.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0560, E0597.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `chess_engine` (lib) due to 5 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `chess_engine` (lib test) due to 5 previous errors
[INFO] running `Command { std: "docker" "inspect" "ec7e4e823b3f0294b53da3e99e4cc0f4e8d5f4a35254899c056d66bf3f6f7505", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ec7e4e823b3f0294b53da3e99e4cc0f4e8d5f4a35254899c056d66bf3f6f7505", kill_on_drop: false }`
[INFO] [stdout] ec7e4e823b3f0294b53da3e99e4cc0f4e8d5f4a35254899c056d66bf3f6f7505
