[INFO] cloning repository https://github.com/Extbech/RL-Games
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Extbech/RL-Games" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FExtbech%2FRL-Games", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FExtbech%2FRL-Games'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 18f76ac75533f1f7e743d21dfd7d2eb657674f44
[INFO] testing Extbech/RL-Games against 1.97.0-beta.1 for beta-1.97-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FExtbech%2FRL-Games" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Extbech/RL-Games
[INFO] finished tweaking git repo https://github.com/Extbech/RL-Games
[INFO] tweaked toml for git repo https://github.com/Extbech/RL-Games written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Extbech/RL-Games on toolchain 1.97.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Extbech/RL-Games 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" "+1.97.0-beta.1" "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 dwrote v0.11.3
[INFO] [stderr]   Downloaded pathfinder_simd v0.5.5
[INFO] [stderr]   Downloaded cc v1.2.23
[INFO] [stderr]   Downloaded redox_users v0.5.0
[INFO] [stderr]   Downloaded font-kit v0.14.3
[INFO] [stderr]   Downloaded libredox v0.1.8
[INFO] [stderr]   Downloaded actix-web v4.11.0
[INFO] [stderr]   Downloaded bytestring v1.4.0
[INFO] [stderr]   Downloaded tokio v1.45.0
[INFO] [stderr]   Downloaded actix-http v3.11.0
[INFO] [stderr]   Downloaded actix-cors v0.7.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c83dd6915eb11a6041c8a191214b9a876bfb06b95a248df625ced159f3569cc6
[INFO] running `Command { std: "docker" "start" "-a" "c83dd6915eb11a6041c8a191214b9a876bfb06b95a248df625ced159f3569cc6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c83dd6915eb11a6041c8a191214b9a876bfb06b95a248df625ced159f3569cc6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c83dd6915eb11a6041c8a191214b9a876bfb06b95a248df625ced159f3569cc6", kill_on_drop: false }`
[INFO] [stdout] c83dd6915eb11a6041c8a191214b9a876bfb06b95a248df625ced159f3569cc6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d57f595e6be439a75f30d4741160d3bfb6c427043bd7d1bf2663ad7263c30c4a
[INFO] running `Command { std: "docker" "start" "-a" "d57f595e6be439a75f30d4741160d3bfb6c427043bd7d1bf2663ad7263c30c4a", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling smallvec v1.15.0
[INFO] [stderr]    Compiling simd-adler32 v0.3.7
[INFO] [stderr]    Compiling adler2 v2.0.0
[INFO] [stderr]    Compiling semver v1.0.26
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling crc32fast v1.4.2
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling local-waker v0.1.4
[INFO] [stderr]    Compiling bitflags v2.9.1
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling yeslogic-fontconfig-sys v6.0.0
[INFO] [stderr]    Compiling miniz_oxide v0.8.8
[INFO] [stderr]    Compiling regex-lite v0.1.6
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling time-core v0.1.4
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]    Compiling powerfmt v0.2.0
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]    Compiling time-macros v0.2.22
[INFO] [stderr]    Compiling indexmap v2.9.0
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling bytestring v1.4.0
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling deranged v0.4.0
[INFO] [stderr]    Compiling pathfinder_simd v0.5.5
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling actix-utils v3.0.1
[INFO] [stderr]    Compiling fdeflate v0.3.7
[INFO] [stderr]    Compiling actix-service v2.0.3
[INFO] [stderr]    Compiling libloading v0.8.8
[INFO] [stderr]    Compiling flate2 v1.1.1
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]    Compiling color_quant v1.1.0
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling jobserver v0.1.33
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling socket2 v0.5.9
[INFO] [stderr]    Compiling signal-hook-registry v1.4.5
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling cc v1.2.23
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling png v0.17.16
[INFO] [stderr]    Compiling actix-router v0.5.3
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling dirs-sys v0.5.0
[INFO] [stderr]    Compiling dlib v0.5.2
[INFO] [stderr]    Compiling brotli v8.0.1
[INFO] [stderr]    Compiling tokio v1.45.0
[INFO] [stderr]    Compiling time v0.3.41
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling local-channel v0.1.5
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling language-tags v0.3.2
[INFO] [stderr]    Compiling bytemuck v1.23.1
[INFO] [stderr]    Compiling jpeg-decoder v0.3.2
[INFO] [stderr]    Compiling portable-atomic v1.11.0
[INFO] [stderr]    Compiling rand v0.9.1
[INFO] [stderr]    Compiling weezl v0.1.10
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling font-kit v0.14.3
[INFO] [stderr]    Compiling plotters-backend v0.3.7
[INFO] [stderr]    Compiling pathfinder_geometry v0.5.1
[INFO] [stderr]    Compiling dirs v6.0.0
[INFO] [stderr]    Compiling gif v0.12.0
[INFO] [stderr]    Compiling float-ord v0.3.2
[INFO] [stderr]    Compiling impl-more v0.1.9
[INFO] [stderr]    Compiling unicode-width v0.2.0
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling plotters-svg v0.3.7
[INFO] [stderr]    Compiling image v0.24.9
[INFO] [stderr]    Compiling console v0.15.11
[INFO] [stderr]    Compiling ttf-parser v0.20.0
[INFO] [stderr]    Compiling number_prefix v0.4.0
[INFO] [stderr]    Compiling ordered-float v5.0.0
[INFO] [stderr]    Compiling zstd-sys v2.0.15+zstd.1.5.7
[INFO] [stderr]    Compiling freetype-sys v0.20.1
[INFO] [stderr]    Compiling indicatif v0.17.11
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling plotters-bitmap v0.3.7
[INFO] [stderr]    Compiling plotters v0.3.7
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling derive_more-impl v2.0.1
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]    Compiling tokio-util v0.7.15
[INFO] [stderr]    Compiling actix-rt v2.10.0
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling actix-codec v0.5.2
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling actix-server v2.6.0
[INFO] [stderr]    Compiling zerovec v0.11.2
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling derive_more v2.0.1
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.2
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling zstd v0.13.3
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling actix-http v3.11.0
[INFO] [stderr]    Compiling actix-web v4.11.0
[INFO] [stderr]    Compiling actix-cors v0.7.1
[INFO] [stderr]    Compiling rust_rl v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find value `layer_index` in this scope
[INFO] [stdout]    --> src/agents/network/nn.rs:241:16
[INFO] [stdout]     |
[INFO] [stdout] 241 |             if layer_index > 0 {
[INFO] [stdout]     |                ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `layer_index` in this scope
[INFO] [stdout]    --> src/agents/network/nn.rs:242:59
[INFO] [stdout]     |
[INFO] [stdout] 242 |                 let mut new_delta = vec![0.0; self.layers[layer_index - 1].weights.len()];
[INFO] [stdout]     |                                                           ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `layer_index` in this scope
[INFO] [stdout]    --> src/agents/network/nn.rs:245:64
[INFO] [stdout]     |
[INFO] [stdout] 245 |                         new_delta[k] += delta[j] * self.layers[layer_index].weights[j][k];
[INFO] [stdout]     |                                                                ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/train.rs:78:9
[INFO] [stdout]    |
[INFO] [stdout] 77 |         todo!("Implement DQN training logic here");
[INFO] [stdout]    |         ------------------------------------------ any code following this expression is unreachable
[INFO] [stdout] 78 |         pb.set_position(episode);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `agent`
[INFO] [stdout]   --> src/train.rs:67:5
[INFO] [stdout]    |
[INFO] [stdout] 67 |     agent: &mut dyn Agent<E>,
[INFO] [stdout]    |     ^^^^^ help: if this is intentional, prefix it with an underscore: `_agent`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `episode`
[INFO] [stdout]   --> src/train.rs:76:9
[INFO] [stdout]    |
[INFO] [stdout] 76 |     for episode in 1..=episodes {
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_episode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_rl` (lib) due to 3 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "d57f595e6be439a75f30d4741160d3bfb6c427043bd7d1bf2663ad7263c30c4a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d57f595e6be439a75f30d4741160d3bfb6c427043bd7d1bf2663ad7263c30c4a", kill_on_drop: false }`
[INFO] [stdout] d57f595e6be439a75f30d4741160d3bfb6c427043bd7d1bf2663ad7263c30c4a
