[INFO] cloning repository https://github.com/TanBread/minecraft-dungeons-ai [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TanBread/minecraft-dungeons-ai" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTanBread%2Fminecraft-dungeons-ai", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTanBread%2Fminecraft-dungeons-ai'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2a9478548ccf3f56ca2642bc56b712975f7269b3 [INFO] checking TanBread/minecraft-dungeons-ai against 0cefa27fe3deee26fc98ee44249406358d9f0d26 for pr-164789 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTanBread%2Fminecraft-dungeons-ai" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/TanBread/minecraft-dungeons-ai [INFO] finished tweaking git repo https://github.com/TanBread/minecraft-dungeons-ai [INFO] tweaked toml for git repo https://github.com/TanBread/minecraft-dungeons-ai written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/TanBread/minecraft-dungeons-ai on toolchain 0cefa27fe3deee26fc98ee44249406358d9f0d26 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0cefa27fe3deee26fc98ee44249406358d9f0d26" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/TanBread/minecraft-dungeons-ai 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" "+0cefa27fe3deee26fc98ee44249406358d9f0d26" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded egui_plot v0.30.0 [INFO] [stderr] Downloaded zerovec-derive v0.11.4 [INFO] [stderr] Downloaded immutable-chunkmap v2.1.3 [INFO] [stderr] Downloaded naga v23.1.0 [INFO] [stderr] Downloaded macro_rules_attribute-proc_macro v0.2.3 [INFO] [stderr] Downloaded macro_rules_attribute v0.2.3 [INFO] [stderr] Downloaded cudarc v0.19.9 [INFO] [stderr] Downloaded candle-kernels v0.11.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:c0af3998e971868164375a7dfb646c9933ddd1a3bdb00fa2041266763dc1eeab" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 65c38cfaf5addad0c028b80314ba3a88c9eef4f3796b71e1f859707f7b2fa90d [INFO] running `Command { std: "docker" "start" "65c38cfaf5addad0c028b80314ba3a88c9eef4f3796b71e1f859707f7b2fa90d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "65c38cfaf5addad0c028b80314ba3a88c9eef4f3796b71e1f859707f7b2fa90d", 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" "65c38cfaf5addad0c028b80314ba3a88c9eef4f3796b71e1f859707f7b2fa90d" "/opt/rustwide/cargo-home/bin/cargo" "+0cefa27fe3deee26fc98ee44249406358d9f0d26" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "65c38cfaf5addad0c028b80314ba3a88c9eef4f3796b71e1f859707f7b2fa90d", 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" "65c38cfaf5addad0c028b80314ba3a88c9eef4f3796b71e1f859707f7b2fa90d" "/opt/rustwide/cargo-home/bin/cargo" "+0cefa27fe3deee26fc98ee44249406358d9f0d26" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.189 [INFO] [stderr] Checking bitflags v2.13.1 [INFO] [stderr] Compiling zerocopy v0.8.56 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling proc-macro2 v1.0.107 [INFO] [stderr] Compiling serde_core v1.0.229 [INFO] [stderr] Compiling find-msvc-tools v0.1.11 [INFO] [stderr] Compiling wayland-sys v0.31.11 [INFO] [stderr] Compiling cfg_aliases v0.2.2 [INFO] [stderr] Compiling toml_edit v0.25.13+spec-1.1.0 [INFO] [stderr] Checking either v1.17.0 [INFO] [stderr] Compiling wayland-client v0.31.15 [INFO] [stderr] Compiling serde v1.0.229 [INFO] [stderr] Checking futures-io v0.3.34 [INFO] [stderr] Checking arrayvec v0.7.8 [INFO] [stderr] Checking event-listener v5.4.2 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling pulp v0.22.3 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking raw-cpuid v11.6.0 [INFO] [stderr] Checking futures-lite v2.6.1 [INFO] [stderr] Compiling cc v1.4.3 [INFO] [stderr] Checking rayon v1.12.0 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking pulp-wasm-simd-flag v0.1.1 [INFO] [stderr] Checking piper v0.2.5 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking async-channel v2.5.0 [INFO] [stderr] Checking async-lock v3.4.2 [INFO] [stderr] Checking sha1 v0.10.7 [INFO] [stderr] Checking async-broadcast v0.7.2 [INFO] [stderr] Checking ordered-stream v0.2.0 [INFO] [stderr] Compiling proc-macro-crate v3.5.0 [INFO] [stderr] Compiling xml-rs v0.8.29 [INFO] [stderr] Checking cursor-icon v1.2.0 [INFO] [stderr] Checking xcursor v0.3.11 [INFO] [stderr] Compiling quote v1.0.47 [INFO] [stderr] Compiling syn v2.0.119 [INFO] [stderr] Compiling syn v3.0.3 [INFO] [stderr] Checking rustix v0.38.44 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Compiling wayland-scanner v0.31.11 [INFO] [stderr] Checking num-integer v0.1.47 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking blocking v1.6.2 [INFO] [stderr] Checking async-executor v1.14.0 [INFO] [stderr] Checking accesskit v0.17.1 [INFO] [stderr] Checking regex-automata v0.4.18 [INFO] [stderr] Checking async-fs v2.2.0 [INFO] [stderr] Compiling rustversion v1.0.23 [INFO] [stderr] Compiling wayland-backend v0.3.17 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling onig_sys v69.9.3 [INFO] [stderr] Checking num-bigint v0.4.8 [INFO] [stderr] Compiling serde_json v1.0.151 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking memmap2 v0.9.11 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking xdg-home v1.3.0 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking immutable-chunkmap v2.1.3 [INFO] [stderr] Compiling winit v0.30.13 [INFO] [stderr] Checking as-slice v0.2.1 [INFO] [stderr] Compiling esaxx-rs v0.1.10 [INFO] [stderr] Compiling built v0.8.1 [INFO] [stderr] Compiling av-scenechange v0.14.1 [INFO] [stderr] Checking epaint_default_fonts v0.30.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking accesskit_consumer v0.26.0 [INFO] [stderr] Checking aligned v0.4.3 [INFO] [stderr] Checking castaway v0.2.4 [INFO] [stderr] Compiling glutin_glx_sys v0.6.1 [INFO] [stderr] Compiling glutin_egl_sys v0.7.1 [INFO] [stderr] Checking getrandom v0.4.3 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling rav1e v0.8.1 [INFO] [stderr] Checking nom v8.0.0 [INFO] [stderr] Checking no_std_io2 v0.9.4 [INFO] [stderr] Checking y4m v0.8.0 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.2.3 [INFO] [stderr] Compiling pastey v0.1.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.20.0 [INFO] [stderr] Checking dpi v0.1.2 [INFO] [stderr] Checking regex v1.13.1 [INFO] [stderr] Compiling pastey v0.2.3 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Checking bitstream-io v4.10.0 [INFO] [stderr] Checking rayon-cond v0.4.0 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Checking macro_rules_attribute v0.2.3 [INFO] [stderr] Checking flate2 v1.1.9 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling glutin v0.32.3 [INFO] [stderr] Checking unicode-normalization-alignments v0.1.12 [INFO] [stderr] Checking zune-core v0.5.3 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking imgref v1.12.2 [INFO] [stderr] Checking zip v8.6.0 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking zune-jpeg v0.5.15 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking avif-serialize v0.8.9 [INFO] [stderr] Compiling glutin-winit v0.5.0 [INFO] [stderr] Compiling matrixmultiply v0.3.11 [INFO] [stderr] Checking bit_field v0.10.3 [INFO] [stderr] Checking fax v0.2.7 [INFO] [stderr] Checking polling v3.11.0 [INFO] [stderr] Checking gethostname v1.1.0 [INFO] [stderr] Checking tempfile v3.27.0 [INFO] [stderr] Checking rgb v0.8.53 [INFO] [stderr] Checking x11rb v0.13.2 [INFO] [stderr] Checking lebe v0.5.3 [INFO] [stderr] Checking async-io v2.6.0 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking moxcms v0.8.1 [INFO] [stderr] Checking png v0.18.1 [INFO] [stderr] Checking gif v0.14.2 [INFO] [stderr] Checking jiff-core v0.1.0 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Checking clap_builder v4.6.6 [INFO] [stderr] Checking fancy-regex v0.18.0 [INFO] [stderr] Checking env_filter v2.0.0 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking onig v6.5.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zvariant_utils v2.1.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Checking arboard v3.6.1 [INFO] [stderr] Checking jiff v0.2.35 [INFO] [stderr] Compiling serde_derive v1.0.229 [INFO] [stderr] Compiling bytemuck_derive v1.12.0 [INFO] [stderr] Compiling zerovec-derive v0.11.4 [INFO] [stderr] Compiling thiserror-impl v2.0.20 [INFO] [stderr] Checking wayland-protocols v0.32.13 [INFO] [stderr] Compiling displaydoc v0.2.7 [INFO] [stderr] Compiling futures-macro v0.3.34 [INFO] [stderr] Compiling serde_repr v0.1.21 [INFO] [stderr] Compiling async-trait v0.1.92 [INFO] [stderr] Checking wayland-cursor v0.31.14 [INFO] [stderr] Compiling clap_derive v4.6.4 [INFO] [stderr] Compiling zerocopy-derive v0.8.56 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling zvariant_derive v4.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Checking thiserror v2.0.20 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking futures-util v0.3.34 [INFO] [stderr] Checking bytemuck v1.25.2 [INFO] [stderr] Compiling zbus_macros v4.4.0 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking dyn-stack v0.13.2 [INFO] [stderr] Compiling profiling-procmacros v1.0.18 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Checking profiling v1.0.18 [INFO] [stderr] Checking zerofrom v0.1.8 [INFO] [stderr] Checking emath v0.30.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking yoke v0.8.3 [INFO] [stderr] Checking ecolor v0.30.0 [INFO] [stderr] Checking equator v0.4.2 [INFO] [stderr] Checking zerovec v0.11.7 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking zerotrie v0.2.5 [INFO] [stderr] Compiling monostate-impl v0.1.18 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking aligned-vec v0.6.4 [INFO] [stderr] Checking calloop v0.14.4 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking v_frame v0.3.9 [INFO] [stderr] Checking monostate v0.1.18 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [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 qoi v0.4.1 [INFO] [stderr] Checking av1-grain v0.2.5 [INFO] [stderr] Checking env_logger v0.11.11 [INFO] [stderr] Checking clap v4.6.6 [INFO] [stderr] Checking ndarray v0.16.1 [INFO] [stderr] Checking calloop-wayland-source v0.4.1 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking icu_provider v2.3.0 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Checking icu_normalizer v2.3.0 [INFO] [stderr] Checking icu_properties v2.3.0 [INFO] [stderr] Checking enumflags2 v0.7.12 [INFO] [stderr] Checking quick-xml v0.30.0 [INFO] [stderr] Checking compact_str v0.9.1 [INFO] [stderr] Checking dary_heap v0.3.9 [INFO] [stderr] Checking spm_precompiled v0.1.4 [INFO] [stderr] Checking safetensors v0.8.0 [INFO] [stderr] Checking serde_plain v1.0.2 [INFO] [stderr] Checking zvariant v4.2.0 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Checking idna_adapter v1.2.2 [INFO] [stderr] Checking derive_builder v0.20.2 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking webbrowser v1.2.4 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.12 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.12 [INFO] [stderr] Checking wayland-protocols-misc v0.3.12 [INFO] [stderr] Checking wayland-protocols-experimental v20250721.0.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking epaint v0.30.0 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking zbus_names v3.0.0 [INFO] [stderr] Checking rand v0.9.5 [INFO] [stderr] Checking rand v0.8.7 [INFO] [stderr] Checking smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking zbus_xml v4.0.0 [INFO] [stderr] Checking egui v0.30.0 [INFO] [stderr] Checking zbus-lockstep v0.4.4 [INFO] [stderr] Checking rand_distr v0.5.1 [INFO] [stderr] Checking tokenizers v0.22.2 [INFO] [stderr] Checking zbus v4.4.0 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking ravif v0.13.0 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking gemm-common v0.19.0 [INFO] [stderr] Checking float8 v0.7.0 [INFO] [stderr] Checking tiff v0.11.3 [INFO] [stderr] Checking exr v1.74.2 [INFO] [stderr] Checking smithay-clipboard v0.7.3 [INFO] [stderr] Compiling zbus-lockstep-macros v0.4.4 [INFO] [stderr] Checking gemm-f32 v0.19.0 [INFO] [stderr] Checking gemm-c32 v0.19.0 [INFO] [stderr] Checking gemm-c64 v0.19.0 [INFO] [stderr] Checking gemm-f64 v0.19.0 [INFO] [stderr] Checking gemm-f16 v0.19.0 [INFO] [stderr] Checking gemm v0.19.0 [INFO] [stderr] Checking egui_glow v0.30.0 [INFO] [stderr] Checking egui_plot v0.30.0 [INFO] [stderr] Checking image v0.25.10 [INFO] [stderr] Checking candle-core v0.11.0 [INFO] [stderr] Checking atspi-common v0.6.0 [INFO] [stderr] Checking candle-nn v0.11.0 [INFO] [stderr] Checking atspi-proxies v0.6.0 [INFO] [stderr] Checking accesskit_atspi_common v0.10.1 [INFO] [stderr] Checking candle-transformers v0.11.0 [INFO] [stderr] Checking atspi-connection v0.6.0 [INFO] [stderr] Checking atspi v0.22.0 [INFO] [stderr] Checking accesskit_unix v0.13.1 [INFO] [stderr] Checking accesskit_winit v0.23.1 [INFO] [stderr] Checking egui-winit v0.30.0 [INFO] [stderr] Checking eframe v0.30.0 [INFO] [stderr] Checking minecraft-dungeons-ai v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `in_channels` [INFO] [stdout] --> src/model/cnn.rs:40:29 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn flat_size(&self, in_channels: usize, h: usize, w: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_channels` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `in_channels` [INFO] [stdout] --> src/model/cnn.rs:40:29 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn flat_size(&self, in_channels: usize, h: usize, w: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_channels` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | let mut envs: Vec = (0..tc.num_envs) [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | let mut trainer = train::PPOTrainer::new( [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `game` is never read [INFO] [stdout] --> src/config.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 5 | #[serde(default = "default_game")] [INFO] [stdout] 6 | pub game: GameConfig, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `process_name` and `window_title` are never read [INFO] [stdout] --> src/config.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct GameConfig { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 17 | #[serde(default = "default_process_name")] [INFO] [stdout] 18 | pub process_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 19 | #[serde(default = "default_window_title")] [INFO] [stdout] 20 | pub window_title: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `target_fps` is never read [INFO] [stdout] --> src/config.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct CaptureConfig { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 25 | #[serde(default = "default_target_fps")] [INFO] [stdout] 26 | pub target_fps: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CaptureConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `save_freq`, `log_dir`, `model_dir`, and `cpu_cores` are never read [INFO] [stdout] --> src/config.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct TrainingConfig { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 78 | pub save_freq: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 79 | #[serde(default)] [INFO] [stdout] 80 | pub log_dir: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 81 | #[serde(default)] [INFO] [stdout] 82 | pub model_dir: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub cpu_cores: Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrainingConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_room` is never used [INFO] [stdout] --> src/sim/dungeon.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl DungeonGenerator { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn get_room(&self, _x: f32, _y: f32) -> isize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/sim/dungeon.rs:551:9 [INFO] [stdout] | [INFO] [stdout] 550 | pub struct StepInfo { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 551 | pub step: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 552 | pub hp: f32, [INFO] [stdout] | ^^ [INFO] [stdout] 553 | pub kills: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 554 | pub total_kills: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 555 | pub victory: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 556 | pub items_collected: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 557 | pub total_items: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 558 | pub exit_dist: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StepInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_u8` is never used [INFO] [stdout] --> src/sim/entities.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Tile { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 11 | pub fn from_u8(v: u8) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `max_hp` and `attack_cooldown` are never read [INFO] [stdout] --> src/sim/entities.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct Enemy { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 56 | pub max_hp: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub attack_cooldown: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Enemy` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `fog_mask` and `in_range` are never read [INFO] [stdout] --> src/sim/renderer.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Renderer { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | fog_mask: Vec>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 31 | fog_mask_up: Vec>, [INFO] [stdout] 32 | in_range: Vec>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_room` is never used [INFO] [stdout] --> src/sim/generator.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl MapGenerator { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn get_room(&self, x: f32, y: f32) -> isize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_room` is never used [INFO] [stdout] --> src/sim/generator.rs:204:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl RealMapGenerator { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 204 | pub fn get_room(&self, x: f32, y: f32) -> isize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `num_enemies_phase1` is never read [INFO] [stdout] --> src/env/dungeon_env.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct DungeonEnv { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | pub num_enemies_phase1: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `total_reward`, `phase`, `map_num`, and `wins_on_map` are never read [INFO] [stdout] --> src/env/dungeon_env.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 227 | pub struct Info { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 228 | pub step: u32, [INFO] [stdout] 229 | pub total_reward: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | pub phase: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 235 | pub map_num: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 236 | pub wins_on_map: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VecEnv` is never constructed [INFO] [stdout] --> src/env/vec_env.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct VecEnv { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `reset_all`, `step_all`, and `num_envs` are never used [INFO] [stdout] --> src/env/vec_env.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl VecEnv { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 9 | pub fn new(envs: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn reset_all(&mut self) -> Vec<(Observation, Info)> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn step_all(&mut self, actions: Vec) -> Vec<(Observation, f32, bool, bool, Info)> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn num_envs(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `flat_size` is never used [INFO] [stdout] --> src/model/cnn.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl CNNFeatureExtractor { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn flat_size(&self, in_channels: usize, h: usize, w: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_grad_norm` is never read [INFO] [stdout] --> src/train/ppo.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct PPOTrainer { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub max_grad_norm: f32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `load` is never used [INFO] [stdout] --> src/train/ppo.rs:294:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl PPOTrainer { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 294 | pub fn load(&mut self, path: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `learning_rate` is never read [INFO] [stdout] --> src/train/ppo.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 299 | pub struct UpdateStats { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 303 | pub learning_rate: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `reserve` and `clear_and_shrink` are never used [INFO] [stdout] --> src/train/buffer.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl RolloutBuffer { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn reserve(&mut self, n_envs: usize, n_steps: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn clear_and_shrink(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_checkpoint` is never used [INFO] [stdout] --> src/train/checkpoint.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn load_checkpoint(policy: &mut MinecraftDungeonsPolicy, path: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_main_view` is never used [INFO] [stdout] --> src/viewer/panels.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn render_main_view(ui: &mut egui::Ui, _app: &mut ViewerApp) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | let mut envs: Vec = (0..tc.num_envs) [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | let mut trainer = train::PPOTrainer::new( [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `game` is never read [INFO] [stdout] --> src/config.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 5 | #[serde(default = "default_game")] [INFO] [stdout] 6 | pub game: GameConfig, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `process_name` and `window_title` are never read [INFO] [stdout] --> src/config.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct GameConfig { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 17 | #[serde(default = "default_process_name")] [INFO] [stdout] 18 | pub process_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 19 | #[serde(default = "default_window_title")] [INFO] [stdout] 20 | pub window_title: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `target_fps` is never read [INFO] [stdout] --> src/config.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct CaptureConfig { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 25 | #[serde(default = "default_target_fps")] [INFO] [stdout] 26 | pub target_fps: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CaptureConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `save_freq`, `log_dir`, `model_dir`, and `cpu_cores` are never read [INFO] [stdout] --> src/config.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct TrainingConfig { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 78 | pub save_freq: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 79 | #[serde(default)] [INFO] [stdout] 80 | pub log_dir: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 81 | #[serde(default)] [INFO] [stdout] 82 | pub model_dir: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub cpu_cores: Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrainingConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_room` is never used [INFO] [stdout] --> src/sim/dungeon.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl DungeonGenerator { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn get_room(&self, _x: f32, _y: f32) -> isize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/sim/dungeon.rs:551:9 [INFO] [stdout] | [INFO] [stdout] 550 | pub struct StepInfo { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 551 | pub step: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 552 | pub hp: f32, [INFO] [stdout] | ^^ [INFO] [stdout] 553 | pub kills: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 554 | pub total_kills: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 555 | pub victory: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 556 | pub items_collected: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 557 | pub total_items: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 558 | pub exit_dist: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StepInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_u8` is never used [INFO] [stdout] --> src/sim/entities.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Tile { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 11 | pub fn from_u8(v: u8) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `max_hp` and `attack_cooldown` are never read [INFO] [stdout] --> src/sim/entities.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct Enemy { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 56 | pub max_hp: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub attack_cooldown: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Enemy` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `fog_mask` and `in_range` are never read [INFO] [stdout] --> src/sim/renderer.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Renderer { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | fog_mask: Vec>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 31 | fog_mask_up: Vec>, [INFO] [stdout] 32 | in_range: Vec>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_room` is never used [INFO] [stdout] --> src/sim/generator.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl MapGenerator { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn get_room(&self, x: f32, y: f32) -> isize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_room` is never used [INFO] [stdout] --> src/sim/generator.rs:204:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl RealMapGenerator { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 204 | pub fn get_room(&self, x: f32, y: f32) -> isize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `num_enemies_phase1` is never read [INFO] [stdout] --> src/env/dungeon_env.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct DungeonEnv { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | pub num_enemies_phase1: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `total_reward`, `phase`, `map_num`, and `wins_on_map` are never read [INFO] [stdout] --> src/env/dungeon_env.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 227 | pub struct Info { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 228 | pub step: u32, [INFO] [stdout] 229 | pub total_reward: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | pub phase: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 235 | pub map_num: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 236 | pub wins_on_map: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VecEnv` is never constructed [INFO] [stdout] --> src/env/vec_env.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct VecEnv { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `reset_all`, `step_all`, and `num_envs` are never used [INFO] [stdout] --> src/env/vec_env.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl VecEnv { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 9 | pub fn new(envs: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn reset_all(&mut self) -> Vec<(Observation, Info)> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn step_all(&mut self, actions: Vec) -> Vec<(Observation, f32, bool, bool, Info)> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn num_envs(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `flat_size` is never used [INFO] [stdout] --> src/model/cnn.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl CNNFeatureExtractor { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn flat_size(&self, in_channels: usize, h: usize, w: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_grad_norm` is never read [INFO] [stdout] --> src/train/ppo.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct PPOTrainer { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub max_grad_norm: f32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `load` is never used [INFO] [stdout] --> src/train/ppo.rs:294:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl PPOTrainer { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 294 | pub fn load(&mut self, path: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `learning_rate` is never read [INFO] [stdout] --> src/train/ppo.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 299 | pub struct UpdateStats { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 303 | pub learning_rate: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `reserve` and `clear_and_shrink` are never used [INFO] [stdout] --> src/train/buffer.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl RolloutBuffer { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn reserve(&mut self, n_envs: usize, n_steps: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn clear_and_shrink(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_checkpoint` is never used [INFO] [stdout] --> src/train/checkpoint.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn load_checkpoint(policy: &mut MinecraftDungeonsPolicy, path: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_main_view` is never used [INFO] [stdout] --> src/viewer/panels.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn render_main_view(ui: &mut egui::Ui, _app: &mut ViewerApp) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `candle-transformers` [INFO] [stderr] --> Cargo.toml:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | candle-transformers = "0.11" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `candle-transformers` [INFO] [stderr] warning: unused dependency `egui_plot` [INFO] [stderr] --> Cargo.toml:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | egui_plot = "0.30" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `egui_plot` [INFO] [stderr] warning: `minecraft-dungeons-ai` (manifest) generated 2 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 41s [INFO] running `Command { std: "docker" "inspect" "65c38cfaf5addad0c028b80314ba3a88c9eef4f3796b71e1f859707f7b2fa90d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65c38cfaf5addad0c028b80314ba3a88c9eef4f3796b71e1f859707f7b2fa90d", kill_on_drop: false }` [INFO] [stdout] 65c38cfaf5addad0c028b80314ba3a88c9eef4f3796b71e1f859707f7b2fa90d