[INFO] cloning repository https://github.com/brettsvoid/rust-roguelike [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/brettsvoid/rust-roguelike" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrettsvoid%2Frust-roguelike", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrettsvoid%2Frust-roguelike'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e4194002c2ebe6166a11e8b95f9ef4245786f189 [INFO] checking brettsvoid/rust-roguelike against try#50d7e48beb74b48bd17c3749bfb73843c9ae0166 for pr-151102 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrettsvoid%2Frust-roguelike" "/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/brettsvoid/rust-roguelike [INFO] finished tweaking git repo https://github.com/brettsvoid/rust-roguelike [INFO] tweaked toml for git repo https://github.com/brettsvoid/rust-roguelike written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/brettsvoid/rust-roguelike on toolchain 50d7e48beb74b48bd17c3749bfb73843c9ae0166 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+50d7e48beb74b48bd17c3749bfb73843c9ae0166" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/brettsvoid/rust-roguelike 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" "+50d7e48beb74b48bd17c3749bfb73843c9ae0166" "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] 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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+50d7e48beb74b48bd17c3749bfb73843c9ae0166" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] faf5b7bc763bc4bac01365346f4bfcf109eec96042503b86dbefa30e5d3ec464 [INFO] running `Command { std: "docker" "start" "-a" "faf5b7bc763bc4bac01365346f4bfcf109eec96042503b86dbefa30e5d3ec464", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "faf5b7bc763bc4bac01365346f4bfcf109eec96042503b86dbefa30e5d3ec464", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "faf5b7bc763bc4bac01365346f4bfcf109eec96042503b86dbefa30e5d3ec464", kill_on_drop: false }` [INFO] [stdout] faf5b7bc763bc4bac01365346f4bfcf109eec96042503b86dbefa30e5d3ec464 [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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+50d7e48beb74b48bd17c3749bfb73843c9ae0166" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d7cc8d719496a8b07b54903b7e536e5450e190562ecafcff5aad1eb94fb9903 [INFO] running `Command { std: "docker" "start" "-a" "5d7cc8d719496a8b07b54903b7e536e5450e190562ecafcff5aad1eb94fb9903", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling winnow v0.7.1 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling typeid v1.0.2 [INFO] [stderr] Checking log v0.4.25 [INFO] [stderr] Checking bevy_ptr v0.15.2 [INFO] [stderr] Checking bevy_tasks v0.15.2 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling cc v1.2.13 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling toml_edit v0.22.23 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Compiling uuid v1.12.1 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking tinyvec v1.8.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking miniz_oxide v0.8.3 [INFO] [stderr] Checking ash v0.38.0+1.3.281 [INFO] [stderr] Checking khronos-egl v6.0.0 [INFO] [stderr] Compiling document-features v0.2.10 [INFO] [stderr] Checking sysinfo v0.32.1 [INFO] [stderr] Checking flate2 v1.0.35 [INFO] [stderr] Checking offset-allocator v0.2.0 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking ryu v1.0.19 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking fontdb v0.16.2 [INFO] [stderr] Checking lewton v0.10.2 [INFO] [stderr] Compiling bevy_macro_utils v0.15.2 [INFO] [stderr] Compiling encase_derive_impl v0.10.0 [INFO] [stderr] Compiling blake3 v1.5.5 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling bytemuck_derive v1.8.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling bevy_utils_proc_macros v0.15.2 [INFO] [stderr] Compiling bevy_reflect_derive v0.15.2 [INFO] [stderr] Compiling assert_type_match v0.1.1 [INFO] [stderr] Compiling bevy_ecs_macros v0.15.2 [INFO] [stderr] Compiling bevy_derive v0.15.2 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking bytemuck v1.21.0 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Compiling encase_derive v0.10.0 [INFO] [stderr] Compiling bevy_asset_macros v0.15.2 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking image v0.25.5 [INFO] [stderr] Compiling bevy_render_macros v0.15.2 [INFO] [stderr] Compiling bevy_encase_derive v0.15.2 [INFO] [stderr] Checking font-types v0.7.3 [INFO] [stderr] Checking read-fonts v0.22.7 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Compiling gltf-derive v1.4.1 [INFO] [stderr] Compiling bevy_gizmos_macros v0.15.2 [INFO] [stderr] Compiling bevy_state_macros v0.15.2 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking skrifa v0.22.3 [INFO] [stderr] Checking bitflags v2.8.0 [INFO] [stderr] Checking glam v0.29.2 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking bevy_utils v0.15.2 [INFO] [stderr] Checking erased-serde v0.4.5 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking nix v0.29.0 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking wgpu-types v23.0.0 [INFO] [stderr] Checking naga v23.1.0 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Checking ctrlc v3.4.5 [INFO] [stderr] Checking gpu-descriptor v0.3.1 [INFO] [stderr] Checking bevy_reflect v0.15.2 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking encase v0.10.0 [INFO] [stderr] Checking bevy_mikktspace v0.15.2 [INFO] [stderr] Checking hexasphere v15.1.0 [INFO] [stderr] Checking rustix v0.38.44 [INFO] [stderr] Checking swash v0.1.19 [INFO] [stderr] Checking alsa v0.9.1 [INFO] [stderr] Checking inotify v0.11.0 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking rustybuzz v0.14.1 [INFO] [stderr] Checking gilrs-core v0.6.2 [INFO] [stderr] Checking gilrs v0.11.0 [INFO] [stderr] Checking cpal v0.15.3 [INFO] [stderr] Checking rodio v0.19.0 [INFO] [stderr] Checking gltf-json v1.4.1 [INFO] [stderr] Checking cosmic-text v0.12.1 [INFO] [stderr] Checking gltf v1.4.1 [INFO] [stderr] Checking bevy_ecs v0.15.2 [INFO] [stderr] Checking bevy_math v0.15.2 [INFO] [stderr] Checking polling v3.7.4 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking wgpu-hal v23.0.1 [INFO] [stderr] Checking naga_oil v0.16.0 [INFO] [stderr] Checking winit v0.30.9 [INFO] [stderr] Checking wgpu-core v23.0.1 [INFO] [stderr] Checking accesskit_winit v0.23.1 [INFO] [stderr] Checking bevy_color v0.15.3 [INFO] [stderr] Checking bevy_app v0.15.2 [INFO] [stderr] Checking bevy_core v0.15.2 [INFO] [stderr] Checking bevy_asset v0.15.2 [INFO] [stderr] Checking bevy_time v0.15.2 [INFO] [stderr] Checking bevy_a11y v0.15.2 [INFO] [stderr] Checking bevy_log v0.15.2 [INFO] [stderr] Checking bevy_hierarchy v0.15.2 [INFO] [stderr] Checking bevy_input v0.15.2 [INFO] [stderr] Checking bevy_diagnostic v0.15.2 [INFO] [stderr] Checking wgpu v23.0.1 [INFO] [stderr] Checking bevy_transform v0.15.2 [INFO] [stderr] Checking bevy_state v0.15.2 [INFO] [stderr] Checking bevy_window v0.15.2 [INFO] [stderr] Checking bevy_gilrs v0.15.2 [INFO] [stderr] Checking bevy_image v0.15.2 [INFO] [stderr] Checking bevy_audio v0.15.2 [INFO] [stderr] Checking bevy_mesh v0.15.2 [INFO] [stderr] Checking bevy_winit v0.15.2 [INFO] [stderr] Checking bevy_render v0.15.2 [INFO] [stderr] Checking bevy_core_pipeline v0.15.2 [INFO] [stderr] Checking bevy_picking v0.15.2 [INFO] [stderr] Checking bevy_scene v0.15.2 [INFO] [stderr] Checking bevy_animation v0.15.2 [INFO] [stderr] Checking bevy_sprite v0.15.2 [INFO] [stderr] Checking bevy_pbr v0.15.2 [INFO] [stderr] Checking bevy_text v0.15.2 [INFO] [stderr] Checking bevy_ui v0.15.2 [INFO] [stderr] Checking bevy_gltf v0.15.2 [INFO] [stderr] Checking bevy_gizmos v0.15.2 [INFO] [stderr] Checking bevy_internal v0.15.2 [INFO] [stderr] Checking bevy_dylib v0.15.2 [INFO] [stderr] Checking bevy v0.15.2 [INFO] [stderr] Checking rust-roguelike v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `CorridorSpawner` [INFO] [stdout] --> src/map_builders/mod.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | pub use corridors::{BspCorridors, CorridorSpawner, DoglegCorridors, NearestCorridors, StraightLineCorridors}; [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: `PrefabBuilder` [INFO] [stdout] --> src/map_builders/mod.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | pub use prefab::{PrefabBuilder, PrefabMetaBuilder, CORNER_FORT}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RoomDrawer` and `RoomShape` [INFO] [stdout] --> src/map_builders/mod.rs:42:45 [INFO] [stdout] | [INFO] [stdout] 42 | pub use room_modifiers::{RoomCornerRounder, RoomDrawer, RoomExploder, RoomShape}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CorridorSpawner` [INFO] [stdout] --> src/map_builders/mod.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | pub use corridors::{BspCorridors, CorridorSpawner, DoglegCorridors, NearestCorridors, StraightLineCorridors}; [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: `PrefabBuilder` [INFO] [stdout] --> src/map_builders/mod.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | pub use prefab::{PrefabBuilder, PrefabMetaBuilder, CORNER_FORT}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RoomDrawer` and `RoomShape` [INFO] [stdout] --> src/map_builders/mod.rs:42:45 [INFO] [stdout] | [INFO] [stdout] 42 | pub use room_modifiers::{RoomCornerRounder, RoomDrawer, RoomExploder, RoomShape}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seed_idx` [INFO] [stdout] --> src/map_builders/area_based.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let seed_idx = build_data.map.xy_idx(seed_x, seed_y); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seed_idx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seed_idx` [INFO] [stdout] --> src/map_builders/area_based.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let seed_idx = build_data.map.xy_idx(seed_x, seed_y); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seed_idx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/ui/menu.rs:241:25 [INFO] [stdout] | [INFO] [stdout] 241 | if let Some(key) = item.key { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_loop` is never used [INFO] [stdout] --> src/main.rs:821:4 [INFO] [stdout] | [INFO] [stdout] 821 | fn run_loop(mut app: App) -> AppExit { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `in_bounds` is never used [INFO] [stdout] --> src/camera.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Camera { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn in_bounds(&self, x: i32, y: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_builder` is never used [INFO] [stdout] --> src/map_builders/mod.rs:432:8 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn random_builder(depth: i32, rng: &mut GameRng) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_room_builder` is never used [INFO] [stdout] --> src/map_builders/mod.rs:453:4 [INFO] [stdout] | [INFO] [stdout] 453 | fn random_room_builder(depth: i32, rng: &mut GameRng) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_modified_room_builder` is never used [INFO] [stdout] --> src/map_builders/mod.rs:494:4 [INFO] [stdout] | [INFO] [stdout] 494 | fn random_modified_room_builder(depth: i32, rng: &mut GameRng) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_eroded_builder` is never used [INFO] [stdout] --> src/map_builders/mod.rs:523:4 [INFO] [stdout] | [INFO] [stdout] 523 | fn random_eroded_builder(depth: i32, rng: &mut GameRng) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_complex_builder` is never used [INFO] [stdout] --> src/map_builders/mod.rs:553:4 [INFO] [stdout] | [INFO] [stdout] 553 | fn random_complex_builder(depth: i32, rng: &mut GameRng) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Left` and `Right` are never constructed [INFO] [stdout] --> src/map_builders/area_based.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum XStart { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 12 | Left, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | Center, [INFO] [stdout] 14 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Top` and `Bottom` are never constructed [INFO] [stdout] --> src/map_builders/area_based.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum YStart { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 18 | Top, [INFO] [stdout] | ^^^ [INFO] [stdout] 19 | Center, [INFO] [stdout] 20 | Bottom, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rects` is never read [INFO] [stdout] --> src/map_builders/bsp_dungeon.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct BspDungeonBuilder { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | rects: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Vertical` is never constructed [INFO] [stdout] --> src/map_builders/common.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Symmetry { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 8 | Vertical, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Symmetry` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bresenham_line` is never used [INFO] [stdout] --> src/map_builders/common.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn bresenham_line(x1: i32, y1: i32, x2: i32, y2: i32) -> Vec<(i32, i32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_corridor_bresenham` is never used [INFO] [stdout] --> src/map_builders/common.rs:151:8 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn draw_corridor_bresenham(map: &mut Map, x1: i32, y1: i32, x2: i32, y2: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BspCorridors` is never constructed [INFO] [stdout] --> src/map_builders/corridors.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct BspCorridors; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/map_builders/corridors.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl BspCorridors { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 56 | pub fn new() -> Box { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StraightLineCorridors` is never constructed [INFO] [stdout] --> src/map_builders/corridors.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct StraightLineCorridors; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/map_builders/corridors.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 98 | impl StraightLineCorridors { [INFO] [stdout] | -------------------------- associated function in this implementation [INFO] [stdout] 99 | pub fn new() -> Box { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NearestCorridors` is never constructed [INFO] [stdout] --> src/map_builders/corridors.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | pub struct NearestCorridors; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/map_builders/corridors.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 130 | impl NearestCorridors { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 131 | pub fn new() -> Box { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CorridorSpawner` is never constructed [INFO] [stdout] --> src/map_builders/corridors.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 178 | pub struct CorridorSpawner; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/map_builders/corridors.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 180 | impl CorridorSpawner { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 181 | pub fn new() -> Box { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CellularAutomataEroder` is never constructed [INFO] [stdout] --> src/map_builders/erosion.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct CellularAutomataEroder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `with_iterations`, and `count_wall_neighbors` are never used [INFO] [stdout] --> src/map_builders/erosion.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl CellularAutomataEroder { [INFO] [stdout] | --------------------------- associated functions in this implementation [INFO] [stdout] 18 | pub fn new() -> Box { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn with_iterations(iterations: i32) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fn count_wall_neighbors(map: &Map, x: i32, y: i32) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DrunkardsWalkEroder` is never constructed [INFO] [stdout] --> src/map_builders/erosion.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct DrunkardsWalkEroder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/map_builders/erosion.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 86 | impl DrunkardsWalkEroder { [INFO] [stdout] | ------------------------ associated functions in this implementation [INFO] [stdout] 87 | pub fn new() -> Box { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn light() -> Box { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn heavy() -> Box { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn symmetric() -> Box { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | fn count_floors(map: &Map) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | fn paint_tile(map: &mut Map, brush_size: i32, x: i32, y: i32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | fn paint_with_symmetry(map: &mut Map, symmetry: Symmetry, brush_size: i32, x: i32, y: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Left` and `Center` are never constructed [INFO] [stdout] --> src/map_builders/prefab.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum HorizontalPlacement { [INFO] [stdout] | ------------------- variants in this enum [INFO] [stdout] 17 | Left, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | Center, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HorizontalPlacement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Center` and `Bottom` are never constructed [INFO] [stdout] --> src/map_builders/prefab.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum VerticalPlacement { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 24 | Top, [INFO] [stdout] 25 | Center, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 26 | Bottom, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VerticalPlacement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `vaults`, and `sectional` are never used [INFO] [stdout] --> src/map_builders/prefab.rs:200:8 [INFO] [stdout] | [INFO] [stdout] 199 | impl PrefabBuilder { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 200 | fn new(depth: i32, builder: Box, mode: PrefabMode) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn vaults(depth: i32, builder: Box) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn sectional(depth: i32, builder: Box, section: PrefabSection) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RoomExploder` is never constructed [INFO] [stdout] --> src/map_builders/room_modifiers.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct RoomExploder; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/map_builders/room_modifiers.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl RoomExploder { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 16 | pub fn new() -> Box { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RoomCornerRounder` is never constructed [INFO] [stdout] --> src/map_builders/room_modifiers.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct RoomCornerRounder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `fill_if_corner` are never used [INFO] [stdout] --> src/map_builders/room_modifiers.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 60 | impl RoomCornerRounder { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 61 | pub fn new() -> Box { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | fn fill_if_corner(&self, build_data: &mut BuilderMap, x: i32, y: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RoomShape` is never used [INFO] [stdout] --> src/map_builders/room_modifiers.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | pub enum RoomShape { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RoomDrawer` is never constructed [INFO] [stdout] --> src/map_builders/room_modifiers.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | pub struct RoomDrawer { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `circles`, `draw_rectangle`, and `draw_circle` are never used [INFO] [stdout] --> src/map_builders/room_modifiers.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 125 | impl RoomDrawer { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] 126 | pub fn new() -> Box { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn circles() -> Box { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | fn draw_rectangle(map: &mut Map, room: &Rect) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | fn draw_circle(map: &mut Map, room: &Rect) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Leftmost`, `Rightmost`, `Topmost`, and `Bottommost` are never constructed [INFO] [stdout] --> src/map_builders/room_sorter.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum RoomSort { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 12 | /// Sort by leftmost x coordinate (x1) [INFO] [stdout] 13 | Leftmost, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | /// Sort by rightmost x coordinate (x2, descending) [INFO] [stdout] 15 | Rightmost, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 16 | /// Sort by topmost y coordinate (y1) [INFO] [stdout] 17 | Topmost, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | /// Sort by bottommost y coordinate (y2, descending) [INFO] [stdout] 19 | Bottommost, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RoomSort` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `depth` is never read [INFO] [stdout] --> src/map_builders/rooms_only.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct SimpleMapRoomsBuilder { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 19 | depth: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BspRoomsBuilder` is never constructed [INFO] [stdout] --> src/map_builders/rooms_only.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct BspRoomsBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `add_subrects`, `get_random_rect`, `get_random_sub_rect`, and `is_possible` are never used [INFO] [stdout] --> src/map_builders/rooms_only.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl BspRoomsBuilder { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] 63 | pub fn new(depth: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | fn add_subrects(rects: &mut Vec, rect: Rect) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | fn get_random_rect(rects: &[Rect], rng: &mut GameRng) -> Rect { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | fn get_random_sub_rect(rect: &Rect, rng: &mut GameRng) -> Rect { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | fn is_possible(map: &Map, rect: &Rect) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BspDungeon`, `BspInterior`, and `Dla` are never constructed [INFO] [stdout] --> src/map_builders/wfc.rs:444:5 [INFO] [stdout] | [INFO] [stdout] 442 | pub enum WfcSourceType { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 443 | CellularAutomata, [INFO] [stdout] 444 | BspDungeon, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 445 | BspInterior, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 446 | Dla, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WfcSourceType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `cellular_automata`, `bsp_dungeon`, `bsp_interior`, and `dla` are never used [INFO] [stdout] --> src/map_builders/wfc.rs:480:12 [INFO] [stdout] | [INFO] [stdout] 463 | impl WfcBuilder { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 480 | pub fn cellular_automata(depth: i32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 484 | pub fn bsp_dungeon(depth: i32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 488 | pub fn bsp_interior(depth: i32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 492 | pub fn dla(depth: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `a_star` is never used [INFO] [stdout] --> src/pathfinding.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn a_star(map: &Map, start: usize, end: usize) -> Option> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `seeded` is never used [INFO] [stdout] --> src/rng.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl GameRng { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 14 | pub fn seeded(seed: u64) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `action` is never read [INFO] [stdout] --> src/ui/menu.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct MenuItem { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | pub action: MenuAction, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MenuItem` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ui/menu.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | SelectIndex(usize), [INFO] [stdout] | ----------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MenuAction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 45 - SelectIndex(usize), [INFO] [stdout] 45 + SelectIndex(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `StateTransition` and `None` are never constructed [INFO] [stdout] --> src/ui/menu.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub enum MenuAction { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 42 | /// Transition to a different RunState [INFO] [stdout] 43 | StateTransition(RunState), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MenuAction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `title_color` is never read [INFO] [stdout] --> src/ui/menu.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct MenuStyle { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 56 | pub title_color: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MenuStyle` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/ui/menu.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 81 | impl ModalMenuBuilder { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn item(mut self, label: impl Into, key: char, action: MenuAction) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn items(mut self, items: I) -> Self [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn background_color(mut self, color: Color) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn border_color(mut self, color: Color) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn text_color(mut self, color: Color) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn background_image(mut self, image: Handle) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | pub fn padding(mut self, padding: f32) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | pub fn font_size(mut self, size: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `despawn_modal_menu` is never used [INFO] [stdout] --> src/ui/menu.rs:330:8 [INFO] [stdout] | [INFO] [stdout] 330 | pub fn despawn_modal_menu( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_modal_menu_input` is never used [INFO] [stdout] --> src/ui/menu.rs:392:8 [INFO] [stdout] | [INFO] [stdout] 392 | pub fn handle_modal_menu_input( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/ui/menu.rs:241:25 [INFO] [stdout] | [INFO] [stdout] 241 | if let Some(key) = item.key { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_loop` is never used [INFO] [stdout] --> src/main.rs:821:4 [INFO] [stdout] | [INFO] [stdout] 821 | fn run_loop(mut app: App) -> AppExit { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `in_bounds` is never used [INFO] [stdout] --> src/camera.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Camera { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn in_bounds(&self, x: i32, y: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_builder` is never used [INFO] [stdout] --> src/map_builders/mod.rs:432:8 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn random_builder(depth: i32, rng: &mut GameRng) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_room_builder` is never used [INFO] [stdout] --> src/map_builders/mod.rs:453:4 [INFO] [stdout] | [INFO] [stdout] 453 | fn random_room_builder(depth: i32, rng: &mut GameRng) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_modified_room_builder` is never used [INFO] [stdout] --> src/map_builders/mod.rs:494:4 [INFO] [stdout] | [INFO] [stdout] 494 | fn random_modified_room_builder(depth: i32, rng: &mut GameRng) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_eroded_builder` is never used [INFO] [stdout] --> src/map_builders/mod.rs:523:4 [INFO] [stdout] | [INFO] [stdout] 523 | fn random_eroded_builder(depth: i32, rng: &mut GameRng) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_complex_builder` is never used [INFO] [stdout] --> src/map_builders/mod.rs:553:4 [INFO] [stdout] | [INFO] [stdout] 553 | fn random_complex_builder(depth: i32, rng: &mut GameRng) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Left` and `Right` are never constructed [INFO] [stdout] --> src/map_builders/area_based.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum XStart { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 12 | Left, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | Center, [INFO] [stdout] 14 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Top` and `Bottom` are never constructed [INFO] [stdout] --> src/map_builders/area_based.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum YStart { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 18 | Top, [INFO] [stdout] | ^^^ [INFO] [stdout] 19 | Center, [INFO] [stdout] 20 | Bottom, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rects` is never read [INFO] [stdout] --> src/map_builders/bsp_dungeon.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct BspDungeonBuilder { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | rects: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Vertical` is never constructed [INFO] [stdout] --> src/map_builders/common.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Symmetry { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 8 | Vertical, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Symmetry` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bresenham_line` is never used [INFO] [stdout] --> src/map_builders/common.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn bresenham_line(x1: i32, y1: i32, x2: i32, y2: i32) -> Vec<(i32, i32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_corridor_bresenham` is never used [INFO] [stdout] --> src/map_builders/common.rs:151:8 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn draw_corridor_bresenham(map: &mut Map, x1: i32, y1: i32, x2: i32, y2: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BspCorridors` is never constructed [INFO] [stdout] --> src/map_builders/corridors.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct BspCorridors; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/map_builders/corridors.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl BspCorridors { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 56 | pub fn new() -> Box { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StraightLineCorridors` is never constructed [INFO] [stdout] --> src/map_builders/corridors.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct StraightLineCorridors; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/map_builders/corridors.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 98 | impl StraightLineCorridors { [INFO] [stdout] | -------------------------- associated function in this implementation [INFO] [stdout] 99 | pub fn new() -> Box { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NearestCorridors` is never constructed [INFO] [stdout] --> src/map_builders/corridors.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | pub struct NearestCorridors; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/map_builders/corridors.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 130 | impl NearestCorridors { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 131 | pub fn new() -> Box { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CorridorSpawner` is never constructed [INFO] [stdout] --> src/map_builders/corridors.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 178 | pub struct CorridorSpawner; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/map_builders/corridors.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 180 | impl CorridorSpawner { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 181 | pub fn new() -> Box { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CellularAutomataEroder` is never constructed [INFO] [stdout] --> src/map_builders/erosion.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct CellularAutomataEroder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `with_iterations`, and `count_wall_neighbors` are never used [INFO] [stdout] --> src/map_builders/erosion.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl CellularAutomataEroder { [INFO] [stdout] | --------------------------- associated functions in this implementation [INFO] [stdout] 18 | pub fn new() -> Box { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn with_iterations(iterations: i32) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fn count_wall_neighbors(map: &Map, x: i32, y: i32) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DrunkardsWalkEroder` is never constructed [INFO] [stdout] --> src/map_builders/erosion.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct DrunkardsWalkEroder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/map_builders/erosion.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 86 | impl DrunkardsWalkEroder { [INFO] [stdout] | ------------------------ associated functions in this implementation [INFO] [stdout] 87 | pub fn new() -> Box { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn light() -> Box { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn heavy() -> Box { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn symmetric() -> Box { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | fn count_floors(map: &Map) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | fn paint_tile(map: &mut Map, brush_size: i32, x: i32, y: i32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | fn paint_with_symmetry(map: &mut Map, symmetry: Symmetry, brush_size: i32, x: i32, y: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Left` and `Center` are never constructed [INFO] [stdout] --> src/map_builders/prefab.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum HorizontalPlacement { [INFO] [stdout] | ------------------- variants in this enum [INFO] [stdout] 17 | Left, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | Center, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HorizontalPlacement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Center` and `Bottom` are never constructed [INFO] [stdout] --> src/map_builders/prefab.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum VerticalPlacement { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 24 | Top, [INFO] [stdout] 25 | Center, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 26 | Bottom, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VerticalPlacement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `vaults`, and `sectional` are never used [INFO] [stdout] --> src/map_builders/prefab.rs:200:8 [INFO] [stdout] | [INFO] [stdout] 199 | impl PrefabBuilder { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 200 | fn new(depth: i32, builder: Box, mode: PrefabMode) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn vaults(depth: i32, builder: Box) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn sectional(depth: i32, builder: Box, section: PrefabSection) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RoomExploder` is never constructed [INFO] [stdout] --> src/map_builders/room_modifiers.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct RoomExploder; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/map_builders/room_modifiers.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl RoomExploder { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 16 | pub fn new() -> Box { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RoomCornerRounder` is never constructed [INFO] [stdout] --> src/map_builders/room_modifiers.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct RoomCornerRounder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `fill_if_corner` are never used [INFO] [stdout] --> src/map_builders/room_modifiers.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 60 | impl RoomCornerRounder { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 61 | pub fn new() -> Box { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | fn fill_if_corner(&self, build_data: &mut BuilderMap, x: i32, y: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RoomShape` is never used [INFO] [stdout] --> src/map_builders/room_modifiers.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | pub enum RoomShape { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RoomDrawer` is never constructed [INFO] [stdout] --> src/map_builders/room_modifiers.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | pub struct RoomDrawer { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `circles`, `draw_rectangle`, and `draw_circle` are never used [INFO] [stdout] --> src/map_builders/room_modifiers.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 125 | impl RoomDrawer { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] 126 | pub fn new() -> Box { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn circles() -> Box { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | fn draw_rectangle(map: &mut Map, room: &Rect) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | fn draw_circle(map: &mut Map, room: &Rect) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Leftmost`, `Rightmost`, `Topmost`, and `Bottommost` are never constructed [INFO] [stdout] --> src/map_builders/room_sorter.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum RoomSort { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 12 | /// Sort by leftmost x coordinate (x1) [INFO] [stdout] 13 | Leftmost, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | /// Sort by rightmost x coordinate (x2, descending) [INFO] [stdout] 15 | Rightmost, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 16 | /// Sort by topmost y coordinate (y1) [INFO] [stdout] 17 | Topmost, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | /// Sort by bottommost y coordinate (y2, descending) [INFO] [stdout] 19 | Bottommost, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RoomSort` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `depth` is never read [INFO] [stdout] --> src/map_builders/rooms_only.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct SimpleMapRoomsBuilder { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 19 | depth: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BspRoomsBuilder` is never constructed [INFO] [stdout] --> src/map_builders/rooms_only.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct BspRoomsBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `add_subrects`, `get_random_rect`, `get_random_sub_rect`, and `is_possible` are never used [INFO] [stdout] --> src/map_builders/rooms_only.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl BspRoomsBuilder { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] 63 | pub fn new(depth: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | fn add_subrects(rects: &mut Vec, rect: Rect) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | fn get_random_rect(rects: &[Rect], rng: &mut GameRng) -> Rect { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | fn get_random_sub_rect(rect: &Rect, rng: &mut GameRng) -> Rect { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | fn is_possible(map: &Map, rect: &Rect) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BspDungeon`, `BspInterior`, and `Dla` are never constructed [INFO] [stdout] --> src/map_builders/wfc.rs:444:5 [INFO] [stdout] | [INFO] [stdout] 442 | pub enum WfcSourceType { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 443 | CellularAutomata, [INFO] [stdout] 444 | BspDungeon, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 445 | BspInterior, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 446 | Dla, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WfcSourceType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `cellular_automata`, `bsp_dungeon`, `bsp_interior`, and `dla` are never used [INFO] [stdout] --> src/map_builders/wfc.rs:480:12 [INFO] [stdout] | [INFO] [stdout] 463 | impl WfcBuilder { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 480 | pub fn cellular_automata(depth: i32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 484 | pub fn bsp_dungeon(depth: i32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 488 | pub fn bsp_interior(depth: i32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 492 | pub fn dla(depth: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `a_star` is never used [INFO] [stdout] --> src/pathfinding.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn a_star(map: &Map, start: usize, end: usize) -> Option> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `seeded` is never used [INFO] [stdout] --> src/rng.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl GameRng { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 14 | pub fn seeded(seed: u64) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `action` is never read [INFO] [stdout] --> src/ui/menu.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct MenuItem { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | pub action: MenuAction, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MenuItem` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ui/menu.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | SelectIndex(usize), [INFO] [stdout] | ----------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MenuAction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 45 - SelectIndex(usize), [INFO] [stdout] 45 + SelectIndex(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `StateTransition` and `None` are never constructed [INFO] [stdout] --> src/ui/menu.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub enum MenuAction { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 42 | /// Transition to a different RunState [INFO] [stdout] 43 | StateTransition(RunState), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MenuAction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `title_color` is never read [INFO] [stdout] --> src/ui/menu.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct MenuStyle { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 56 | pub title_color: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MenuStyle` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/ui/menu.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 81 | impl ModalMenuBuilder { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn item(mut self, label: impl Into, key: char, action: MenuAction) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn items(mut self, items: I) -> Self [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn background_color(mut self, color: Color) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn border_color(mut self, color: Color) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn text_color(mut self, color: Color) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn background_image(mut self, image: Handle) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | pub fn padding(mut self, padding: f32) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | pub fn font_size(mut self, size: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `despawn_modal_menu` is never used [INFO] [stdout] --> src/ui/menu.rs:330:8 [INFO] [stdout] | [INFO] [stdout] 330 | pub fn despawn_modal_menu( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_modal_menu_input` is never used [INFO] [stdout] --> src/ui/menu.rs:392:8 [INFO] [stdout] | [INFO] [stdout] 392 | pub fn handle_modal_menu_input( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 8m 27s [INFO] running `Command { std: "docker" "inspect" "5d7cc8d719496a8b07b54903b7e536e5450e190562ecafcff5aad1eb94fb9903", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d7cc8d719496a8b07b54903b7e536e5450e190562ecafcff5aad1eb94fb9903", kill_on_drop: false }` [INFO] [stdout] 5d7cc8d719496a8b07b54903b7e536e5450e190562ecafcff5aad1eb94fb9903