[INFO] cloning repository https://github.com/panicfrog/tui_games [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/panicfrog/tui_games" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpanicfrog%2Ftui_games", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpanicfrog%2Ftui_games'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 515f922921999968a66608abdd4591472b0d4c0b [INFO] testing panicfrog/tui_games against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpanicfrog%2Ftui_games" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/panicfrog/tui_games [INFO] finished tweaking git repo https://github.com/panicfrog/tui_games [INFO] tweaked toml for git repo https://github.com/panicfrog/tui_games written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/panicfrog/tui_games on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/panicfrog/tui_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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bd5b156eeabab5a9b891bfaf1a3717cc1caff397f2eff03cfad9a0ca757426cb [INFO] running `Command { std: "docker" "start" "-a" "bd5b156eeabab5a9b891bfaf1a3717cc1caff397f2eff03cfad9a0ca757426cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd5b156eeabab5a9b891bfaf1a3717cc1caff397f2eff03cfad9a0ca757426cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd5b156eeabab5a9b891bfaf1a3717cc1caff397f2eff03cfad9a0ca757426cb", kill_on_drop: false }` [INFO] [stdout] bd5b156eeabab5a9b891bfaf1a3717cc1caff397f2eff03cfad9a0ca757426cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d5c3e4761ab6b006e632005c7da73bccf739c8b02d2ec79ff4f8c10e02680e1 [INFO] running `Command { std: "docker" "start" "-a" "6d5c3e4761ab6b006e632005c7da73bccf739c8b02d2ec79ff4f8c10e02680e1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling reborrow v0.5.5 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling seq-macro v0.3.6 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling pulp v0.21.5 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling raw-cpuid v10.7.0 [INFO] [stderr] Compiling raw-cpuid v11.5.0 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling zip v1.1.4 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling memmap2 v0.9.5 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling rand_distr v0.5.1 [INFO] [stderr] Compiling env v0.1.0 (/opt/rustwide/workdir/env) [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling bytemuck_derive v1.9.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling num_enum_derive v0.7.3 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling crossterm v0.29.0 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling num_enum v0.7.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling bytemuck v1.23.0 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling dyn-stack v0.13.0 [INFO] [stderr] Compiling dyn-stack v0.10.0 [INFO] [stderr] Compiling instability v0.3.7 [INFO] [stderr] Compiling pulp v0.18.22 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling ratatui v0.29.0 [INFO] [stderr] Compiling gemm-common v0.17.1 [INFO] [stderr] Compiling gemm-f32 v0.17.1 [INFO] [stderr] Compiling gemm-c32 v0.17.1 [INFO] [stderr] Compiling gemm-c64 v0.17.1 [INFO] [stderr] Compiling gemm-f64 v0.17.1 [INFO] [stderr] Compiling gemm-f16 v0.17.1 [INFO] [stderr] Compiling gemm-common v0.18.2 [INFO] [stderr] Compiling gemm v0.17.1 [INFO] [stderr] Compiling gemm-f32 v0.18.2 [INFO] [stderr] Compiling gemm-c32 v0.18.2 [INFO] [stderr] Compiling gemm-c64 v0.18.2 [INFO] [stderr] Compiling gemm-f64 v0.18.2 [INFO] [stderr] Compiling gemm-f16 v0.18.2 [INFO] [stderr] Compiling gemm v0.18.2 [INFO] [stderr] Compiling safetensors v0.4.5 [INFO] [stderr] Compiling ug v0.4.0 [INFO] [stderr] Compiling candle-core v0.9.1 [INFO] [stderr] Compiling candle-nn v0.9.1 [INFO] [stderr] Compiling machine_learning v0.1.0 (/opt/rustwide/workdir/machine_learning) [INFO] [stdout] warning: field `learning_rate` is never read [INFO] [stdout] --> machine_learning/src/q_learning/deep_q_learning.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct DQNAgent, AD: ActionDecoder> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 119 | learning_rate: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling games v0.1.0 (/opt/rustwide/workdir/games) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> games/src/maze/game.rs:108:19 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn render(&self) -> (Text, &'static str) { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 108 | pub fn render(&self) -> (Text<'_>, &'static str) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> games/src/maze/game.rs:116:20 [INFO] [stdout] | [INFO] [stdout] 116 | fn render_maze(&self) -> Text { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 116 | fn render_maze(&self) -> Text<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> games/src/maze/game.rs:145:30 [INFO] [stdout] | [INFO] [stdout] 145 | fn render_victory_screen(&self) -> Text { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 145 | fn render_victory_screen(&self) -> Text<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling playground v0.1.0 (/opt/rustwide/workdir/playground) [INFO] [stdout] warning: unused import: `rayon_parallel_q_learning` [INFO] [stdout] --> playground/src/main.rs:4:42 [INFO] [stdout] | [INFO] [stdout] 4 | use machine_learning::q_learning::{self, rayon_parallel_q_learning}; [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 import: `Experience` [INFO] [stdout] --> playground/src/main.rs:6:69 [INFO] [stdout] | [INFO] [stdout] 6 | deep_q_learning, replay_best_path_dqn, ActionDecoder, DQNAgent, Experience, StateEncoder, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 30s [INFO] running `Command { std: "docker" "inspect" "6d5c3e4761ab6b006e632005c7da73bccf739c8b02d2ec79ff4f8c10e02680e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d5c3e4761ab6b006e632005c7da73bccf739c8b02d2ec79ff4f8c10e02680e1", kill_on_drop: false }` [INFO] [stdout] 6d5c3e4761ab6b006e632005c7da73bccf739c8b02d2ec79ff4f8c10e02680e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad0b946073d4a1ffa6679b4ec617e17ca87f8321250230d813ddc4d28c39e028 [INFO] running `Command { std: "docker" "start" "-a" "ad0b946073d4a1ffa6679b4ec617e17ca87f8321250230d813ddc4d28c39e028", kill_on_drop: false }` [INFO] [stderr] Compiling env v0.1.0 (/opt/rustwide/workdir/env) [INFO] [stderr] Compiling machine_learning v0.1.0 (/opt/rustwide/workdir/machine_learning) [INFO] [stdout] warning: field `learning_rate` is never read [INFO] [stdout] --> machine_learning/src/q_learning/deep_q_learning.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct DQNAgent, AD: ActionDecoder> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 119 | learning_rate: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> games/src/maze/game.rs:108:19 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn render(&self) -> (Text, &'static str) { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 108 | pub fn render(&self) -> (Text<'_>, &'static str) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> games/src/maze/game.rs:116:20 [INFO] [stdout] | [INFO] [stdout] 116 | fn render_maze(&self) -> Text { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 116 | fn render_maze(&self) -> Text<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> games/src/maze/game.rs:145:30 [INFO] [stdout] | [INFO] [stdout] 145 | fn render_victory_screen(&self) -> Text { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 145 | fn render_victory_screen(&self) -> Text<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling games v0.1.0 (/opt/rustwide/workdir/games) [INFO] [stderr] Compiling playground v0.1.0 (/opt/rustwide/workdir/playground) [INFO] [stdout] warning: unused import: `rayon_parallel_q_learning` [INFO] [stdout] --> playground/src/main.rs:4:42 [INFO] [stdout] | [INFO] [stdout] 4 | use machine_learning::q_learning::{self, rayon_parallel_q_learning}; [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 import: `Experience` [INFO] [stdout] --> playground/src/main.rs:6:69 [INFO] [stdout] | [INFO] [stdout] 6 | deep_q_learning, replay_best_path_dqn, ActionDecoder, DQNAgent, Experience, StateEncoder, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> games/src/maze/game.rs:108:19 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn render(&self) -> (Text, &'static str) { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 108 | pub fn render(&self) -> (Text<'_>, &'static str) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> games/src/maze/game.rs:116:20 [INFO] [stdout] | [INFO] [stdout] 116 | fn render_maze(&self) -> Text { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 116 | fn render_maze(&self) -> Text<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> games/src/maze/game.rs:145:30 [INFO] [stdout] | [INFO] [stdout] 145 | fn render_victory_screen(&self) -> Text { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 145 | fn render_victory_screen(&self) -> Text<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `learning_rate` is never read [INFO] [stdout] --> machine_learning/src/q_learning/deep_q_learning.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct DQNAgent, AD: ActionDecoder> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 119 | learning_rate: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.37s [INFO] running `Command { std: "docker" "inspect" "ad0b946073d4a1ffa6679b4ec617e17ca87f8321250230d813ddc4d28c39e028", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad0b946073d4a1ffa6679b4ec617e17ca87f8321250230d813ddc4d28c39e028", kill_on_drop: false }` [INFO] [stdout] ad0b946073d4a1ffa6679b4ec617e17ca87f8321250230d813ddc4d28c39e028 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c1a813b65ef946682c9fac31150005fbf82a3fa1f5488743ba132353db6a375e [INFO] running `Command { std: "docker" "start" "-a" "c1a813b65ef946682c9fac31150005fbf82a3fa1f5488743ba132353db6a375e", kill_on_drop: false }` [INFO] [stderr] warning: field `learning_rate` is never read [INFO] [stderr] --> machine_learning/src/q_learning/deep_q_learning.rs:119:5 [INFO] [stderr] | [INFO] [stderr] 101 | pub struct DQNAgent, AD: ActionDecoder> { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 119 | learning_rate: f64, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `machine_learning` (lib) generated 1 warning [INFO] [stderr] warning: `machine_learning` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> games/src/maze/game.rs:108:19 [INFO] [stderr] | [INFO] [stderr] 108 | pub fn render(&self) -> (Text, &'static str) { [INFO] [stderr] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 108 | pub fn render(&self) -> (Text<'_>, &'static str) { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> games/src/maze/game.rs:116:20 [INFO] [stderr] | [INFO] [stderr] 116 | fn render_maze(&self) -> Text { [INFO] [stderr] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 116 | fn render_maze(&self) -> Text<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> games/src/maze/game.rs:145:30 [INFO] [stderr] | [INFO] [stderr] 145 | fn render_victory_screen(&self) -> Text { [INFO] [stderr] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 145 | fn render_victory_screen(&self) -> Text<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `games` (lib) generated 3 warnings (run `cargo fix --lib -p games` to apply 3 suggestions) [INFO] [stderr] warning: `games` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] warning: unused import: `rayon_parallel_q_learning` [INFO] [stderr] --> playground/src/main.rs:4:42 [INFO] [stderr] | [INFO] [stderr] 4 | use machine_learning::q_learning::{self, rayon_parallel_q_learning}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Experience` [INFO] [stderr] --> playground/src/main.rs:6:69 [INFO] [stderr] | [INFO] [stderr] 6 | deep_q_learning, replay_best_path_dqn, ActionDecoder, DQNAgent, Experience, StateEncoder, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `playground` (bin "playground" test) generated 2 warnings (run `cargo fix --bin "playground" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/env-ae7692bd0b48a7e8) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/games-67d5e2365e93c6cf) [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/machine_learning-104889013c222531) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/playground-84ce515020dbe8e4) [INFO] [stderr] Doc-tests env [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests games [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests machine_learning [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test machine_learning/src/q_learning/deep_q_learning.rs - q_learning::deep_q_learning::DQNAgent::select_best_legal_action (line 420) ... ignored [INFO] [stdout] test machine_learning/src/q_learning/deep_q_learning.rs - q_learning::deep_q_learning::DQNAgent::update_target_network_hard (line 488) ... ignored [INFO] [stdout] test machine_learning/src/q_learning/deep_q_learning.rs - q_learning::deep_q_learning::DQNAgent::update_target_network_soft (line 508) ... ignored [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 3 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c1a813b65ef946682c9fac31150005fbf82a3fa1f5488743ba132353db6a375e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1a813b65ef946682c9fac31150005fbf82a3fa1f5488743ba132353db6a375e", kill_on_drop: false }` [INFO] [stdout] c1a813b65ef946682c9fac31150005fbf82a3fa1f5488743ba132353db6a375e