[INFO] cloning repository https://github.com/daffyd-jones/rust_dungeon [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/daffyd-jones/rust_dungeon" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaffyd-jones%2Frust_dungeon", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaffyd-jones%2Frust_dungeon'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b41a6c56290632bd322695f93083f9eb1157aa87 [INFO] checking daffyd-jones/rust_dungeon against try#2278ef25f90817c20d6dd0d2da58a990eb6f53cb for pr-145108-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaffyd-jones%2Frust_dungeon" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/daffyd-jones/rust_dungeon [INFO] finished tweaking git repo https://github.com/daffyd-jones/rust_dungeon [INFO] tweaked toml for git repo https://github.com/daffyd-jones/rust_dungeon written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/daffyd-jones/rust_dungeon on toolchain 2278ef25f90817c20d6dd0d2da58a990eb6f53cb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2278ef25f90817c20d6dd0d2da58a990eb6f53cb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/daffyd-jones/rust_dungeon 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" "+2278ef25f90817c20d6dd0d2da58a990eb6f53cb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2278ef25f90817c20d6dd0d2da58a990eb6f53cb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b9e5a6ee385628395e425a16d9a155d1fe33123d2b76f6cb7f896a191fe5dc75 [INFO] running `Command { std: "docker" "start" "-a" "b9e5a6ee385628395e425a16d9a155d1fe33123d2b76f6cb7f896a191fe5dc75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b9e5a6ee385628395e425a16d9a155d1fe33123d2b76f6cb7f896a191fe5dc75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9e5a6ee385628395e425a16d9a155d1fe33123d2b76f6cb7f896a191fe5dc75", kill_on_drop: false }` [INFO] [stdout] b9e5a6ee385628395e425a16d9a155d1fe33123d2b76f6cb7f896a191fe5dc75 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2278ef25f90817c20d6dd0d2da58a990eb6f53cb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b2cecc9d2eb150f1780993d3c7cfc0fb9cb3b8740cb84e43346ff49e5445ecf [INFO] running `Command { std: "docker" "start" "-a" "1b2cecc9d2eb150f1780993d3c7cfc0fb9cb3b8740cb84e43346ff49e5445ecf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Checking lru v0.12.3 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking signal-hook v0.3.17 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking unicode-truncate v1.0.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking rust-embed-utils v8.7.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling strum_macros v0.26.3 [INFO] [stderr] Compiling serde_derive v1.0.208 [INFO] [stderr] Compiling instability v0.3.2 [INFO] [stderr] Compiling rust-embed-impl v8.7.2 [INFO] [stderr] Checking rust-embed v8.7.2 [INFO] [stderr] Checking strum v0.26.2 [INFO] [stderr] Checking ratatui v0.28.0 [INFO] [stderr] Checking dungeon v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find derive macro `Embed` in this scope [INFO] [stdout] --> src/assets.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Embed)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Embed` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/assets.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rust_embed::Embed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Embed` in this scope [INFO] [stdout] --> src/assets.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Embed)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Embed` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/assets.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rust_embed::Embed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `folder` in this scope [INFO] [stdout] --> src/assets.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[folder = "assets/"] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `folder` is an attribute that can be used by the derive macro `RustEmbed`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 7 + #[derive(RustEmbed)] [INFO] [stdout] 8 | struct Asset; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prefix` in this scope [INFO] [stdout] --> src/assets.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[prefix = "prefix/"] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `prefix` is an attribute that can be used by the derive macro `RustEmbed`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 7 + #[derive(RustEmbed)] [INFO] [stdout] 8 | struct Asset; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `folder` in this scope [INFO] [stdout] --> src/assets.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[folder = "assets/"] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `folder` is an attribute that can be used by the derive macro `RustEmbed`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 7 + #[derive(RustEmbed)] [INFO] [stdout] 8 | struct Asset; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prefix` in this scope [INFO] [stdout] --> src/assets.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[prefix = "prefix/"] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `prefix` is an attribute that can be used by the derive macro `RustEmbed`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 7 + #[derive(RustEmbed)] [INFO] [stdout] 8 | struct Asset; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ratatui::text::ToLine` [INFO] [stdout] --> src/assets.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ratatui::text::ToLine; [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: `rand::Rng` [INFO] [stdout] --> src/assets.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::StreamDeserializer` [INFO] [stdout] --> src/assets.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use serde_json::StreamDeserializer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::enums::Cells` [INFO] [stdout] --> src/enemy.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::enums::Cells; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TaskNPC` [INFO] [stdout] --> src/enums.rs:5:64 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::npc::{BaseNPC, CommNPC, ConvNPC, ShopNPC, SpawnNPC, TaskNPC, TradeNPC}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Door` and `Items` [INFO] [stdout] --> src/features.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::enums::{Cells, Door, EnvInter, FeatureType, Items, NPCWrap, ShopItem}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parse_map` [INFO] [stdout] --> src/features.rs:9:34 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::parsing::{ch_to_enum, parse_map}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::prelude::SliceRandom` [INFO] [stdout] --> src/features.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use rand::prelude::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/features.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Door` and `FeatureType` [INFO] [stdout] --> src/features/abandoned_shacks.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::enums::{Cells, Door, EnvInter, FeatureType, NPCWrap}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand_hermit_item` [INFO] [stdout] --> src/features/abandoned_shacks.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::item::{rand_hermit_item, Item}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Convo`, `ShopConvos`, `ShopData`, `new_comm_npc`, `new_conv_npc`, and `new_shop_npc` [INFO] [stdout] --> src/features/abandoned_shacks.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::npc::{new_comm_npc, new_conv_npc, new_shop_npc, Convo, ShopConvos, ShopData}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tile_to_chars` [INFO] [stdout] --> src/features/abandoned_shacks.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::parsing::{parse_map, tile_to_chars}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/features/abandoned_shacks.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Door` and `FeatureType` [INFO] [stdout] --> src/features/construction.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::enums::{Cells, Door, EnvInter, FeatureType, NPCWrap}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand_hermit_item` [INFO] [stdout] --> src/features/construction.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::item::{rand_hermit_item, Item}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Convo`, `ShopConvos`, `ShopData`, `new_comm_npc`, `new_conv_npc`, and `new_shop_npc` [INFO] [stdout] --> src/features/construction.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::npc::{new_comm_npc, new_conv_npc, new_shop_npc, Convo, ShopConvos, ShopData}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tile_to_chars` [INFO] [stdout] --> src/features/construction.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::parsing::{parse_map, tile_to_chars}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/features/construction.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Door` and `FeatureType` [INFO] [stdout] --> src/features/field.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::enums::{Cells, Door, EnvInter, FeatureType, NPCWrap}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand_hermit_item` [INFO] [stdout] --> src/features/field.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::item::{rand_hermit_item, Item}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Convo`, `ShopConvos`, `ShopData`, `new_comm_npc`, `new_conv_npc`, and `new_shop_npc` [INFO] [stdout] --> src/features/field.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::npc::{new_comm_npc, new_conv_npc, new_shop_npc, Convo, ShopConvos, ShopData}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/features/field.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f64::consts` [INFO] [stdout] --> src/features/field.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::f64::consts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/features/field.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/features/field.rs:268:14 [INFO] [stdout] | [INFO] [stdout] 268 | for j in (0..temp.len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 268 - for j in (0..temp.len()) { [INFO] [stdout] 268 + for j in 0..temp.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/features/field.rs:269:18 [INFO] [stdout] | [INFO] [stdout] 269 | for i in (0..temp[0].len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 269 - for i in (0..temp[0].len()) { [INFO] [stdout] 269 + for i in 0..temp[0].len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Door` and `FeatureType` [INFO] [stdout] --> src/features/pond.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::enums::{Cells, Door, EnvInter, FeatureType, NPCWrap}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand_hermit_item` [INFO] [stdout] --> src/features/pond.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::item::{rand_hermit_item, Item}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tile_to_chars` [INFO] [stdout] --> src/features/pond.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::parsing::{parse_map, tile_to_chars}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/features/pond.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Door` and `FeatureType` [INFO] [stdout] --> src/features/ruin.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::enums::{Cells, Door, EnvInter, FeatureType, NPCWrap}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand_hermit_item` [INFO] [stdout] --> src/features/ruin.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::item::{rand_hermit_item, Item}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Convo`, `ShopConvos`, `ShopData`, `new_comm_npc`, `new_conv_npc`, and `new_shop_npc` [INFO] [stdout] --> src/features/ruin.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::npc::{new_comm_npc, new_conv_npc, new_shop_npc, Convo, ShopConvos, ShopData}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tile_to_chars` [INFO] [stdout] --> src/features/ruin.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::parsing::{parse_map, tile_to_chars}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/features/ruin.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Door` and `FeatureType` [INFO] [stdout] --> src/features/streams.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::enums::{Cells, Door, EnvInter, FeatureType, NPCWrap}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand_hermit_item` [INFO] [stdout] --> src/features/streams.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::item::{rand_hermit_item, Item}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/features/streams.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/features/streams.rs:186:14 [INFO] [stdout] | [INFO] [stdout] 186 | for j in (0..temp.len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 186 - for j in (0..temp.len()) { [INFO] [stdout] 186 + for j in 0..temp.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/features/streams.rs:187:18 [INFO] [stdout] | [INFO] [stdout] 187 | for i in (0..temp[0].len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 187 - for i in (0..temp[0].len()) { [INFO] [stdout] 187 + for i in 0..temp[0].len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/features.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | for j in (0..self.map.len() - 6) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 71 - for j in (0..self.map.len() - 6) { [INFO] [stdout] 71 + for j in 0..self.map.len() - 6 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/features.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | for i in (0..self.map[0].len() - 10) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 72 - for i in (0..self.map[0].len() - 10) { [INFO] [stdout] 72 + for i in 0..self.map[0].len() - 10 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::stats::WorldStats` [INFO] [stdout] --> src/gui.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::stats::WorldStats; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::enemy::Enemy` [INFO] [stdout] --> src/gui/npc_interactions.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::enemy::Enemy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EncOpt`, `EnvInter`, `Equip`, `InterOpt`, `Interactable`, `ItemEffect`, `NPCWrap`, and `Plants` [INFO] [stdout] --> src/gui/npc_interactions.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | EncOpt, EnvInter, Equip, InterOpt, Interactable, ItemEffect, Items, NPCWrap, Plants, [INFO] [stdout] | ^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EnvInter`, `Equip`, `InterOpt`, `Interactable`, `ItemEffect`, `NPCWrap`, and `Plants` [INFO] [stdout] --> src/gui/enemy_encounters.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | EncOpt, EnvInter, Equip, InterOpt, Interactable, ItemEffect, Items, NPCWrap, Plants, [INFO] [stdout] | ^^^^^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::npc::NPC` [INFO] [stdout] --> src/gui/enemy_encounters.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::npc::NPC; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ratatui::text::Line` [INFO] [stdout] --> src/gui/enemy_encounters.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use ratatui::text::Line; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env::current_dir` [INFO] [stdout] --> src/gui/environment_interactions.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env::current_dir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ratatui::crossterm::style::PrintStyledContent` [INFO] [stdout] --> src/gui.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use ratatui::crossterm::style::PrintStyledContent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Modifier` [INFO] [stdout] --> src/gui.rs:22:29 [INFO] [stdout] | [INFO] [stdout] 22 | use ratatui::style::{Color, Modifier, Style, Stylize}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/gui_utils.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Constraint`, `Direction`, `Layout`, and `Margin` [INFO] [stdout] --> src/gui_utils.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | use ratatui::layout::{Constraint, Direction, Layout, Margin}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ratatui::prelude::Alignment` [INFO] [stdout] --> src/gui_utils.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use ratatui::prelude::Alignment; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ratatui::widgets::Cell` [INFO] [stdout] --> src/gui_utils.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use ratatui::widgets::Cell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ratatui::widgets::Row` [INFO] [stdout] --> src/gui_utils.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use ratatui::widgets::Row; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ratatui::widgets::Table` [INFO] [stdout] --> src/gui_utils.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use ratatui::widgets::Table; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/gui_utils.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/item.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread_rng` [INFO] [stdout] --> src/map.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | use rand::{prelude::SliceRandom, thread_rng}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/map.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FeatureType` [INFO] [stdout] --> src/nodemap.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::enums::{FeatureType, NodeType}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::features::Feature` [INFO] [stdout] --> src/nodemap.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::features::Feature; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/notebook.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::default` [INFO] [stdout] --> src/npc.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::default; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `get_ascii`, `get_shop_convos`, and `get_shops` [INFO] [stdout] --> src/parsing.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | get_ascii, get_comm, get_convo, get_npc_name, get_shop_convos, get_shops, Comms, Convos, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Convo` [INFO] [stdout] --> src/parsing.rs:6:46 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::npc::{new_comm_npc, new_conv_npc, Convo}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/parsing.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/player.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/puzzle.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/puzzle.rs:712:14 [INFO] [stdout] | [INFO] [stdout] 712 | for j in (0..temp.len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 712 - for j in (0..temp.len()) { [INFO] [stdout] 712 + for j in 0..temp.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/puzzle.rs:713:18 [INFO] [stdout] | [INFO] [stdout] 713 | for i in (0..temp[0].len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 713 - for i in (0..temp[0].len()) { [INFO] [stdout] 713 + for i in 0..temp[0].len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rng` and `seq::SliceRandom` [INFO] [stdout] --> src/puzzles.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::{seq::SliceRandom, Rng}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/puzzles.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_ascii` [INFO] [stdout] --> src/settlement.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | get_ascii, get_comm, get_convo, get_npc_name, get_shop_convos, get_shops, Comms, Convos, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CommDialogue`, `ConvoDialogue`, `load_comms`, and `load_convos` [INFO] [stdout] --> src/settlement.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::dialogue::{load_comms, load_convos, CommDialogue, ConvoDialogue}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Convo`, `ShopConvos`, and `ShopData` [INFO] [stdout] --> src/settlement.rs:9:60 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::npc::{new_comm_npc, new_conv_npc, new_shop_npc, Convo, ShopConvos, ShopData, ShopNPC}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CommDialogue`, `ConvoDialogue`, `load_comms`, and `load_convos` [INFO] [stdout] --> src/settlement/guild_settle.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::dialogue::{load_comms, load_convos, CommDialogue, ConvoDialogue}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Door` and `Settle` [INFO] [stdout] --> src/settlement/guild_settle.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::enums::{Cells, Door, EnvInter, NPCWrap, Settle}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Convo`, `ShopConvos`, `ShopData`, `new_comm_npc`, `new_conv_npc`, and `new_shop_npc` [INFO] [stdout] --> src/settlement/guild_settle.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::npc::{new_comm_npc, new_conv_npc, new_shop_npc, Convo, ShopConvos, ShopData, ShopNPC}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::npc_utils::box_npc` [INFO] [stdout] --> src/settlement/guild_settle.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::npc_utils::box_npc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::shop::Shop` [INFO] [stdout] --> src/settlement/guild_settle.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::shop::Shop; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/settlement/guild_settle.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Door` and `Settle` [INFO] [stdout] --> src/settlement/med_settle.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::enums::{Cells, Door, EnvInter, NPCWrap, Settle}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/settlement/med_settle.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/settlement/med_settle.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Door` and `Settle` [INFO] [stdout] --> src/settlement/obsidian_settle.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::enums::{Cells, Door, EnvInter, NPCWrap, Settle}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Door` and `Settle` [INFO] [stdout] --> src/settlement/sm_settle.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::enums::{Cells, Door, EnvInter, NPCWrap, Settle}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/settlement/sm_settle.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TaskType` [INFO] [stdout] --> src/settlements.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::tasks::{Task, TaskType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/settlements.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NPCWrap` [INFO] [stdout] --> src/shop.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::enums::{NPCWrap, ShopItem, Shops}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::item::Item` [INFO] [stdout] --> src/shop.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::item::Item; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/shop.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/tasks.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Location` and `ToggleState` [INFO] [stdout] --> src/tasks.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::enums::{Items, Location, ToggleState}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `get_ascii`, `get_comm`, `get_convo`, and `get_npc_name` [INFO] [stdout] --> src/gamestate.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::assets::{get_ascii, get_comm, get_convo, get_npc_name}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dialogue::Dialogue` [INFO] [stdout] --> src/gamestate.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::dialogue::Dialogue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Enemies` and `Items` [INFO] [stdout] --> src/gamestate.rs:6:39 [INFO] [stdout] | [INFO] [stdout] 6 | Cells, CompMode, EncMode, EncOpt, Enemies, EnvInter, FightSteps, GameMode, Interactable, Items, [INFO] [stdout] | ^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::npc::Convo` [INFO] [stdout] --> src/gamestate.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::npc::Convo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Task` [INFO] [stdout] --> src/gamestate.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::tasks::{Task, Tasks}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gen_broken_range` [INFO] [stdout] --> src/gamestate.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::utils::{gen_broken_range, in_range, loc_shop_items}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Comms`, `Convos`, `Npcs`, `get_comm`, `get_convo`, `get_npc_name`, `get_shop_convos`, `get_shops`, and `self` [INFO] [stdout] --> src/gamestate/enemy_encounter.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | self, get_ascii, get_comm, get_convo, get_npc_name, get_shop_convos, get_shops, Ascii, Comms, [INFO] [stdout] | ^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ [INFO] [stdout] 4 | Convos, Npcs, [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Enemies` [INFO] [stdout] --> src/gamestate/enemy_encounter.rs:9:42 [INFO] [stdout] | [INFO] [stdout] 9 | AniType, EncMode, EncOpt, EncResult, Enemies, Equip, ExpType, FightSteps, GameMode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DisplayStats` [INFO] [stdout] --> src/gamestate/enemy_encounter.rs:13:35 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::gui_utils::{Animation, DisplayStats, GuiArgs}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ratatui::text::ToLine` [INFO] [stdout] --> src/assets.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ratatui::text::ToLine; [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: `rand::Rng` [INFO] [stdout] --> src/assets.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::StreamDeserializer` [INFO] [stdout] --> src/assets.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use serde_json::StreamDeserializer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::enums::Cells` [INFO] [stdout] --> src/enemy.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::enums::Cells; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TaskNPC` [INFO] [stdout] --> src/enums.rs:5:64 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::npc::{BaseNPC, CommNPC, ConvNPC, ShopNPC, SpawnNPC, TaskNPC, TradeNPC}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ascii` [INFO] [stdout] --> src/gamestate/enemy_encounter.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use core::ascii; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Comms`, `Convos`, `get_comm`, `get_convo`, `get_npc_name`, `get_shop_convos`, and `get_shops` [INFO] [stdout] --> src/gamestate/environment_interactions.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | get_ascii, get_comm, get_convo, get_hermit_convo, get_npc_name, get_shop_convos, get_shops, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 4 | Ascii, Comms, Convos, Npcs, [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DisplayStats` [INFO] [stdout] --> src/gamestate/environment_interactions.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::gui_utils::{DisplayStats, GuiArgs}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::shop::Shop` [INFO] [stdout] --> src/gamestate/environment_interactions.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::shop::Shop; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Door` and `Items` [INFO] [stdout] --> src/features.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::enums::{Cells, Door, EnvInter, FeatureType, Items, NPCWrap, ShopItem}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TaskType` and `self` [INFO] [stdout] --> src/gamestate/environment_interactions.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::tasks::{self, Task, TaskType}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GUIMode` [INFO] [stdout] --> src/gamestate/inventory_state.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::enums::{GUIMode, GameMode, InterOpt, ItemOpt}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DisplayStats` [INFO] [stdout] --> src/gamestate/npc_interactions.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::gui_utils::{DisplayStats, GuiArgs}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parse_map` [INFO] [stdout] --> src/features.rs:9:34 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::parsing::{ch_to_enum, parse_map}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_shops` [INFO] [stdout] --> src/gamestate/npcs.rs:2:40 [INFO] [stdout] | [INFO] [stdout] 2 | get_comm, get_convo, get_npc_name, get_shops, get_spawn_comm, get_spawn_convo, get_trade_convo, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::prelude::SliceRandom` [INFO] [stdout] --> src/features.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use rand::prelude::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cells`, `CompMode`, `GUIMode`, `GameMode`, `Interactable`, and `NPCWrap` [INFO] [stdout] --> src/gamestate/puzzle_state.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::enums::{Cells, CompMode, GUIMode, GameMode, Interactable, Location, NPCWrap}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/features.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::gui_utils::GuiArgs` [INFO] [stdout] --> src/gamestate/puzzle_state.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::gui_utils::GuiArgs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::settlement::Settlement` [INFO] [stdout] --> src/gamestate/puzzle_state.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::settlement::Settlement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Door` and `FeatureType` [INFO] [stdout] --> src/features/abandoned_shacks.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::enums::{Cells, Door, EnvInter, FeatureType, NPCWrap}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::item::Item` [INFO] [stdout] --> src/gamestate/puzzle_state.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::item::Item; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/gamestate/puzzle_state.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand_hermit_item` [INFO] [stdout] --> src/features/abandoned_shacks.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::item::{rand_hermit_item, Item}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::gamestate::in_range` [INFO] [stdout] --> src/gamestate/puzzle_state.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::gamestate::in_range; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::gamestate::loc_shop_items` [INFO] [stdout] --> src/gamestate/puzzle_state.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::gamestate::loc_shop_items; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::npc_utils::box_npc` [INFO] [stdout] --> src/gamestate/puzzle_state.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::npc_utils::box_npc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::npc_utils::wrap_nbox` [INFO] [stdout] --> src/gamestate/puzzle_state.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::npc_utils::wrap_nbox; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Event`, `KeyCode`, `poll`, and `read` [INFO] [stdout] --> src/gamestate/puzzle_state.rs:17:33 [INFO] [stdout] | [INFO] [stdout] 17 | use ratatui::crossterm::event::{poll, read, Event, KeyCode}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/gamestate/puzzle_state.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NPCWrap` [INFO] [stdout] --> src/gamestate/settle_state.rs:4:63 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::enums::{GUIMode, GameMode, Interactable, Location, NPCWrap, ShopItem}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ShopNPC` [INFO] [stdout] --> src/gamestate/settle_state.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::npc::{ShopNPC, NPC}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::item::Item` [INFO] [stdout] --> src/gamestate/settle_state.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::item::Item; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/gamestate.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/gamestate.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Convo`, `ShopConvos`, `ShopData`, `new_comm_npc`, `new_conv_npc`, and `new_shop_npc` [INFO] [stdout] --> src/features/abandoned_shacks.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::npc::{new_comm_npc, new_conv_npc, new_shop_npc, Convo, ShopConvos, ShopData}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tile_to_chars` [INFO] [stdout] --> src/features/abandoned_shacks.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::parsing::{parse_map, tile_to_chars}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/features/abandoned_shacks.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Door` and `FeatureType` [INFO] [stdout] --> src/features/construction.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::enums::{Cells, Door, EnvInter, FeatureType, NPCWrap}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand_hermit_item` [INFO] [stdout] --> src/features/construction.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::item::{rand_hermit_item, Item}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Convo`, `ShopConvos`, `ShopData`, `new_comm_npc`, `new_conv_npc`, and `new_shop_npc` [INFO] [stdout] --> src/features/construction.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::npc::{new_comm_npc, new_conv_npc, new_shop_npc, Convo, ShopConvos, ShopData}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tile_to_chars` [INFO] [stdout] --> src/features/construction.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::parsing::{parse_map, tile_to_chars}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/features/construction.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Door` and `FeatureType` [INFO] [stdout] --> src/features/field.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::enums::{Cells, Door, EnvInter, FeatureType, NPCWrap}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand_hermit_item` [INFO] [stdout] --> src/features/field.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::item::{rand_hermit_item, Item}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Convo`, `ShopConvos`, `ShopData`, `new_comm_npc`, `new_conv_npc`, and `new_shop_npc` [INFO] [stdout] --> src/features/field.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::npc::{new_comm_npc, new_conv_npc, new_shop_npc, Convo, ShopConvos, ShopData}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/features/field.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f64::consts` [INFO] [stdout] --> src/features/field.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::f64::consts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/features/field.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/features/field.rs:268:14 [INFO] [stdout] | [INFO] [stdout] 268 | for j in (0..temp.len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 268 - for j in (0..temp.len()) { [INFO] [stdout] 268 + for j in 0..temp.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/features/field.rs:269:18 [INFO] [stdout] | [INFO] [stdout] 269 | for i in (0..temp[0].len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 269 - for i in (0..temp[0].len()) { [INFO] [stdout] 269 + for i in 0..temp[0].len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Door` and `FeatureType` [INFO] [stdout] --> src/features/pond.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::enums::{Cells, Door, EnvInter, FeatureType, NPCWrap}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand_hermit_item` [INFO] [stdout] --> src/features/pond.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::item::{rand_hermit_item, Item}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tile_to_chars` [INFO] [stdout] --> src/features/pond.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::parsing::{parse_map, tile_to_chars}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/features/pond.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Door` and `FeatureType` [INFO] [stdout] --> src/features/ruin.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::enums::{Cells, Door, EnvInter, FeatureType, NPCWrap}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand_hermit_item` [INFO] [stdout] --> src/features/ruin.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::item::{rand_hermit_item, Item}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Convo`, `ShopConvos`, `ShopData`, `new_comm_npc`, `new_conv_npc`, and `new_shop_npc` [INFO] [stdout] --> src/features/ruin.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::npc::{new_comm_npc, new_conv_npc, new_shop_npc, Convo, ShopConvos, ShopData}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tile_to_chars` [INFO] [stdout] --> src/features/ruin.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::parsing::{parse_map, tile_to_chars}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/features/ruin.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Door` and `FeatureType` [INFO] [stdout] --> src/features/streams.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::enums::{Cells, Door, EnvInter, FeatureType, NPCWrap}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand_hermit_item` [INFO] [stdout] --> src/features/streams.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::item::{rand_hermit_item, Item}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/features/streams.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/features/streams.rs:186:14 [INFO] [stdout] | [INFO] [stdout] 186 | for j in (0..temp.len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 186 - for j in (0..temp.len()) { [INFO] [stdout] 186 + for j in 0..temp.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/features/streams.rs:187:18 [INFO] [stdout] | [INFO] [stdout] 187 | for i in (0..temp[0].len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 187 - for i in (0..temp[0].len()) { [INFO] [stdout] 187 + for i in 0..temp[0].len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/features.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | for j in (0..self.map.len() - 6) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 71 - for j in (0..self.map.len() - 6) { [INFO] [stdout] 71 + for j in 0..self.map.len() - 6 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/features.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | for i in (0..self.map[0].len() - 10) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 72 - for i in (0..self.map[0].len() - 10) { [INFO] [stdout] 72 + for i in 0..self.map[0].len() - 10 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::stats::WorldStats` [INFO] [stdout] --> src/gui.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::stats::WorldStats; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::enemy::Enemy` [INFO] [stdout] --> src/gui/npc_interactions.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::enemy::Enemy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EncOpt`, `EnvInter`, `Equip`, `InterOpt`, `Interactable`, `ItemEffect`, `NPCWrap`, and `Plants` [INFO] [stdout] --> src/gui/npc_interactions.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | EncOpt, EnvInter, Equip, InterOpt, Interactable, ItemEffect, Items, NPCWrap, Plants, [INFO] [stdout] | ^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EnvInter`, `Equip`, `InterOpt`, `Interactable`, `ItemEffect`, `NPCWrap`, and `Plants` [INFO] [stdout] --> src/gui/enemy_encounters.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | EncOpt, EnvInter, Equip, InterOpt, Interactable, ItemEffect, Items, NPCWrap, Plants, [INFO] [stdout] | ^^^^^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::npc::NPC` [INFO] [stdout] --> src/gui/enemy_encounters.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::npc::NPC; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ratatui::text::Line` [INFO] [stdout] --> src/gui/enemy_encounters.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use ratatui::text::Line; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env::current_dir` [INFO] [stdout] --> src/gui/environment_interactions.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env::current_dir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ratatui::crossterm::style::PrintStyledContent` [INFO] [stdout] --> src/gui.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use ratatui::crossterm::style::PrintStyledContent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Modifier` [INFO] [stdout] --> src/gui.rs:22:29 [INFO] [stdout] | [INFO] [stdout] 22 | use ratatui::style::{Color, Modifier, Style, Stylize}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/gui_utils.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Constraint`, `Direction`, `Layout`, and `Margin` [INFO] [stdout] --> src/gui_utils.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | use ratatui::layout::{Constraint, Direction, Layout, Margin}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ratatui::prelude::Alignment` [INFO] [stdout] --> src/gui_utils.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use ratatui::prelude::Alignment; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ratatui::widgets::Cell` [INFO] [stdout] --> src/gui_utils.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use ratatui::widgets::Cell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ratatui::widgets::Row` [INFO] [stdout] --> src/gui_utils.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use ratatui::widgets::Row; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ratatui::widgets::Table` [INFO] [stdout] --> src/gui_utils.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use ratatui::widgets::Table; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/gui_utils.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/item.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread_rng` [INFO] [stdout] --> src/map.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | use rand::{prelude::SliceRandom, thread_rng}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/map.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FeatureType` [INFO] [stdout] --> src/nodemap.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::enums::{FeatureType, NodeType}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::features::Feature` [INFO] [stdout] --> src/nodemap.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::features::Feature; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/notebook.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::default` [INFO] [stdout] --> src/npc.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::default; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `get_ascii`, `get_shop_convos`, and `get_shops` [INFO] [stdout] --> src/parsing.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | get_ascii, get_comm, get_convo, get_npc_name, get_shop_convos, get_shops, Comms, Convos, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Convo` [INFO] [stdout] --> src/parsing.rs:6:46 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::npc::{new_comm_npc, new_conv_npc, Convo}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/parsing.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/player.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/puzzle.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/puzzle.rs:712:14 [INFO] [stdout] | [INFO] [stdout] 712 | for j in (0..temp.len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 712 - for j in (0..temp.len()) { [INFO] [stdout] 712 + for j in 0..temp.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/puzzle.rs:713:18 [INFO] [stdout] | [INFO] [stdout] 713 | for i in (0..temp[0].len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 713 - for i in (0..temp[0].len()) { [INFO] [stdout] 713 + for i in 0..temp[0].len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rng` and `seq::SliceRandom` [INFO] [stdout] --> src/puzzles.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::{seq::SliceRandom, Rng}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/puzzles.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_ascii` [INFO] [stdout] --> src/settlement.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | get_ascii, get_comm, get_convo, get_npc_name, get_shop_convos, get_shops, Comms, Convos, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CommDialogue`, `ConvoDialogue`, `load_comms`, and `load_convos` [INFO] [stdout] --> src/settlement.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::dialogue::{load_comms, load_convos, CommDialogue, ConvoDialogue}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Convo`, `ShopConvos`, and `ShopData` [INFO] [stdout] --> src/settlement.rs:9:60 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::npc::{new_comm_npc, new_conv_npc, new_shop_npc, Convo, ShopConvos, ShopData, ShopNPC}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CommDialogue`, `ConvoDialogue`, `load_comms`, and `load_convos` [INFO] [stdout] --> src/settlement/guild_settle.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::dialogue::{load_comms, load_convos, CommDialogue, ConvoDialogue}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Door` and `Settle` [INFO] [stdout] --> src/settlement/guild_settle.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::enums::{Cells, Door, EnvInter, NPCWrap, Settle}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Convo`, `ShopConvos`, `ShopData`, `new_comm_npc`, `new_conv_npc`, and `new_shop_npc` [INFO] [stdout] --> src/settlement/guild_settle.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::npc::{new_comm_npc, new_conv_npc, new_shop_npc, Convo, ShopConvos, ShopData, ShopNPC}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::npc_utils::box_npc` [INFO] [stdout] --> src/settlement/guild_settle.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::npc_utils::box_npc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::shop::Shop` [INFO] [stdout] --> src/settlement/guild_settle.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::shop::Shop; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/settlement/guild_settle.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Door` and `Settle` [INFO] [stdout] --> src/settlement/med_settle.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::enums::{Cells, Door, EnvInter, NPCWrap, Settle}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/settlement/med_settle.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/settlement/med_settle.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Door` and `Settle` [INFO] [stdout] --> src/settlement/obsidian_settle.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::enums::{Cells, Door, EnvInter, NPCWrap, Settle}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Door` and `Settle` [INFO] [stdout] --> src/settlement/sm_settle.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::enums::{Cells, Door, EnvInter, NPCWrap, Settle}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/settlement/sm_settle.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TaskType` [INFO] [stdout] --> src/settlements.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::tasks::{Task, TaskType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/settlements.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NPCWrap` [INFO] [stdout] --> src/shop.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::enums::{NPCWrap, ShopItem, Shops}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::item::Item` [INFO] [stdout] --> src/shop.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::item::Item; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/shop.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/tasks.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Location` and `ToggleState` [INFO] [stdout] --> src/tasks.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::enums::{Items, Location, ToggleState}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `get_ascii`, `get_comm`, `get_convo`, and `get_npc_name` [INFO] [stdout] --> src/gamestate.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::assets::{get_ascii, get_comm, get_convo, get_npc_name}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dialogue::Dialogue` [INFO] [stdout] --> src/gamestate.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::dialogue::Dialogue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Enemies` and `Items` [INFO] [stdout] --> src/gamestate.rs:6:39 [INFO] [stdout] | [INFO] [stdout] 6 | Cells, CompMode, EncMode, EncOpt, Enemies, EnvInter, FightSteps, GameMode, Interactable, Items, [INFO] [stdout] | ^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::npc::Convo` [INFO] [stdout] --> src/gamestate.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::npc::Convo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Task` [INFO] [stdout] --> src/gamestate.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::tasks::{Task, Tasks}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gen_broken_range` [INFO] [stdout] --> src/gamestate.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::utils::{gen_broken_range, in_range, loc_shop_items}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Comms`, `Convos`, `Npcs`, `get_comm`, `get_convo`, `get_npc_name`, `get_shop_convos`, `get_shops`, and `self` [INFO] [stdout] --> src/gamestate/enemy_encounter.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | self, get_ascii, get_comm, get_convo, get_npc_name, get_shop_convos, get_shops, Ascii, Comms, [INFO] [stdout] | ^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ [INFO] [stdout] 4 | Convos, Npcs, [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Enemies` [INFO] [stdout] --> src/gamestate/enemy_encounter.rs:9:42 [INFO] [stdout] | [INFO] [stdout] 9 | AniType, EncMode, EncOpt, EncResult, Enemies, Equip, ExpType, FightSteps, GameMode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DisplayStats` [INFO] [stdout] --> src/gamestate/enemy_encounter.rs:13:35 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::gui_utils::{Animation, DisplayStats, GuiArgs}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ascii` [INFO] [stdout] --> src/gamestate/enemy_encounter.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use core::ascii; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Comms`, `Convos`, `get_comm`, `get_convo`, `get_npc_name`, `get_shop_convos`, and `get_shops` [INFO] [stdout] --> src/gamestate/environment_interactions.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | get_ascii, get_comm, get_convo, get_hermit_convo, get_npc_name, get_shop_convos, get_shops, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 4 | Ascii, Comms, Convos, Npcs, [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DisplayStats` [INFO] [stdout] --> src/gamestate/environment_interactions.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::gui_utils::{DisplayStats, GuiArgs}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::shop::Shop` [INFO] [stdout] --> src/gamestate/environment_interactions.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::shop::Shop; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TaskType` and `self` [INFO] [stdout] --> src/gamestate/environment_interactions.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::tasks::{self, Task, TaskType}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GUIMode` [INFO] [stdout] --> src/gamestate/inventory_state.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::enums::{GUIMode, GameMode, InterOpt, ItemOpt}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DisplayStats` [INFO] [stdout] --> src/gamestate/npc_interactions.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::gui_utils::{DisplayStats, GuiArgs}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_shops` [INFO] [stdout] --> src/gamestate/npcs.rs:2:40 [INFO] [stdout] | [INFO] [stdout] 2 | get_comm, get_convo, get_npc_name, get_shops, get_spawn_comm, get_spawn_convo, get_trade_convo, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cells`, `CompMode`, `GUIMode`, `GameMode`, `Interactable`, and `NPCWrap` [INFO] [stdout] --> src/gamestate/puzzle_state.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::enums::{Cells, CompMode, GUIMode, GameMode, Interactable, Location, NPCWrap}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::gui_utils::GuiArgs` [INFO] [stdout] --> src/gamestate/puzzle_state.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::gui_utils::GuiArgs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::settlement::Settlement` [INFO] [stdout] --> src/gamestate/puzzle_state.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::settlement::Settlement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::item::Item` [INFO] [stdout] --> src/gamestate/puzzle_state.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::item::Item; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/gamestate/puzzle_state.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::gamestate::in_range` [INFO] [stdout] --> src/gamestate/puzzle_state.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::gamestate::in_range; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::gamestate::loc_shop_items` [INFO] [stdout] --> src/gamestate/puzzle_state.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::gamestate::loc_shop_items; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::npc_utils::box_npc` [INFO] [stdout] --> src/gamestate/puzzle_state.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::npc_utils::box_npc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::npc_utils::wrap_nbox` [INFO] [stdout] --> src/gamestate/puzzle_state.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::npc_utils::wrap_nbox; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Event`, `KeyCode`, `poll`, and `read` [INFO] [stdout] --> src/gamestate/puzzle_state.rs:17:33 [INFO] [stdout] | [INFO] [stdout] 17 | use ratatui::crossterm::event::{poll, read, Event, KeyCode}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/gamestate/puzzle_state.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NPCWrap` [INFO] [stdout] --> src/gamestate/settle_state.rs:4:63 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::enums::{GUIMode, GameMode, Interactable, Location, NPCWrap, ShopItem}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ShopNPC` [INFO] [stdout] --> src/gamestate/settle_state.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::npc::{ShopNPC, NPC}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::item::Item` [INFO] [stdout] --> src/gamestate/settle_state.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::item::Item; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/gamestate.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/gamestate.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:100:29 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 100 | let name_asset = Asset::get("prefix/npcs/npc_names.json").unwrap(); [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:114:35 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 114 | Comms::CaveCity => Asset::get("prefix/npcs/cave/comms_city.json").unwrap(), [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:115:37 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 115 | Comms::CaveEngine => Asset::get("prefix/npcs/cave/comms_engine.json").unwrap(), [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:116:36 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 116 | Comms::CaveGuild => Asset::get("prefix/npcs/cave/comms_guild.json").unwrap(), [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:117:40 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 117 | Comms::CaveObsidians => Asset::get("prefix/npcs/cave/comms_cult.json").unwrap(), [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:118:36 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 118 | Comms::GuildCity => Asset::get("prefix/npcs/guild/comms_city.json").unwrap(), [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:119:38 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 119 | Comms::GuildEngine => Asset::get("prefix/npcs/guild/comms_engine.json").unwrap(), [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:120:37 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 120 | Comms::GuildGuild => Asset::get("prefix/npcs/guild/comms_guild.json").unwrap(), [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:121:41 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 121 | Comms::GuildObsidians => Asset::get("prefix/npcs/guild/comms_cult.json").unwrap(), [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:122:39 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 122 | Comms::ObsidianCity => Asset::get("prefix/npcs/cult/comms_city.json").unwrap(), [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:123:41 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 123 | Comms::ObsidianEngine => Asset::get("prefix/npcs/cult/comms_engine.json").unwrap(), [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:124:40 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 124 | Comms::ObsidianGuild => Asset::get("prefix/npcs/cult/comms_guild.json").unwrap(), [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:125:44 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 125 | Comms::ObsidianObsidians => Asset::get("prefix/npcs/cult/comms_cult.json").unwrap(), [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:141:36 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 141 | Convos::CaveCity => Asset::get("prefix/npcs/cave/convos_city.json").unwrap(), [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:142:38 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 142 | Convos::CaveEngine => Asset::get("prefix/npcs/cave/convos_engine.json").unwrap(), [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:143:37 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 143 | Convos::CaveGuild => Asset::get("prefix/npcs/cave/convos_guild.json").unwrap(), [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:144:41 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 144 | Convos::CaveObsidians => Asset::get("prefix/npcs/cave/convos_cult.json").unwrap(), [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:145:37 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 145 | Convos::GuildCity => Asset::get("prefix/npcs/guild/convos_city.json").unwrap(), [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:146:39 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 146 | Convos::GuildEngine => Asset::get("prefix/npcs/guild/convos_engine.json").unwrap(), [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:147:38 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 147 | Convos::GuildGuild => Asset::get("prefix/npcs/guild/convos_guild.json").unwrap(), [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:148:42 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 148 | Convos::GuildObsidians => Asset::get("prefix/npcs/guild/convos_cult.json").unwrap(), [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:149:40 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 149 | Convos::ObsidianCity => Asset::get("prefix/npcs/cult/convos_city.json").unwrap(), [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:150:42 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 150 | Convos::ObsidianEngine => Asset::get("prefix/npcs/cult/convos_engine.json").unwrap(), [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:151:41 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 151 | Convos::ObsidianGuild => Asset::get("prefix/npcs/cult/convos_guild.json").unwrap(), [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:152:45 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 152 | Convos::ObsidianObsidians => Asset::get("prefix/npcs/cult/convos_cult.json").unwrap(), [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:167:29 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 167 | let comm_asset = Asset::get("prefix/npcs/npc_spawn_comms.json").unwrap(); [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:181:30 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 181 | let convo_asset = Asset::get("prefix/npcs/npc_spawn_convos.json").unwrap(); [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:195:30 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 195 | let convo_asset = Asset::get("prefix/npcs/npc_hermit.json").unwrap(); [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:209:30 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 209 | let trade_asset = Asset::get("prefix/npcs/npc_trade.json").unwrap(); [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:223:29 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 223 | let shop_asset = Asset::get("prefix/npcs/npc_shops.json").unwrap(); [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:240:30 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 240 | let trade_asset = Asset::get("prefix/npcs/npc_trade.json").unwrap(); [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:253:29 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 253 | let shop_asset = Asset::get("prefix/npcs/npc_shop_convos.json").unwrap(); [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:410:34 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 410 | Ascii::Npcs(_) => Asset::get("prefix/ascii/npc_asciis.json").unwrap(), [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:411:37 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 411 | Ascii::Enemies(_) => Asset::get("prefix/ascii/enemy_asciis.json").unwrap(), [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:412:35 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 412 | Ascii::Items(_) => Asset::get("prefix/ascii/item_asciis.json").unwrap(), [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:413:38 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 413 | Ascii::EnvInter(_) => Asset::get("prefix/ascii/env_inter_asciis.json").unwrap(), [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:100:29 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 100 | let name_asset = Asset::get("prefix/npcs/npc_names.json").unwrap(); [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:114:35 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 114 | Comms::CaveCity => Asset::get("prefix/npcs/cave/comms_city.json").unwrap(), [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:115:37 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 115 | Comms::CaveEngine => Asset::get("prefix/npcs/cave/comms_engine.json").unwrap(), [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:116:36 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 116 | Comms::CaveGuild => Asset::get("prefix/npcs/cave/comms_guild.json").unwrap(), [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:117:40 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 117 | Comms::CaveObsidians => Asset::get("prefix/npcs/cave/comms_cult.json").unwrap(), [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:118:36 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 118 | Comms::GuildCity => Asset::get("prefix/npcs/guild/comms_city.json").unwrap(), [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:119:38 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 119 | Comms::GuildEngine => Asset::get("prefix/npcs/guild/comms_engine.json").unwrap(), [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:120:37 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 120 | Comms::GuildGuild => Asset::get("prefix/npcs/guild/comms_guild.json").unwrap(), [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:121:41 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 121 | Comms::GuildObsidians => Asset::get("prefix/npcs/guild/comms_cult.json").unwrap(), [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:122:39 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 122 | Comms::ObsidianCity => Asset::get("prefix/npcs/cult/comms_city.json").unwrap(), [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:123:41 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 123 | Comms::ObsidianEngine => Asset::get("prefix/npcs/cult/comms_engine.json").unwrap(), [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:124:40 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 124 | Comms::ObsidianGuild => Asset::get("prefix/npcs/cult/comms_guild.json").unwrap(), [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:125:44 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 125 | Comms::ObsidianObsidians => Asset::get("prefix/npcs/cult/comms_cult.json").unwrap(), [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:141:36 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 141 | Convos::CaveCity => Asset::get("prefix/npcs/cave/convos_city.json").unwrap(), [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:142:38 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 142 | Convos::CaveEngine => Asset::get("prefix/npcs/cave/convos_engine.json").unwrap(), [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:143:37 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 143 | Convos::CaveGuild => Asset::get("prefix/npcs/cave/convos_guild.json").unwrap(), [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:144:41 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 144 | Convos::CaveObsidians => Asset::get("prefix/npcs/cave/convos_cult.json").unwrap(), [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:145:37 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 145 | Convos::GuildCity => Asset::get("prefix/npcs/guild/convos_city.json").unwrap(), [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:146:39 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 146 | Convos::GuildEngine => Asset::get("prefix/npcs/guild/convos_engine.json").unwrap(), [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:147:38 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 147 | Convos::GuildGuild => Asset::get("prefix/npcs/guild/convos_guild.json").unwrap(), [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:148:42 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 148 | Convos::GuildObsidians => Asset::get("prefix/npcs/guild/convos_cult.json").unwrap(), [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:149:40 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 149 | Convos::ObsidianCity => Asset::get("prefix/npcs/cult/convos_city.json").unwrap(), [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:150:42 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 150 | Convos::ObsidianEngine => Asset::get("prefix/npcs/cult/convos_engine.json").unwrap(), [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:151:41 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 151 | Convos::ObsidianGuild => Asset::get("prefix/npcs/cult/convos_guild.json").unwrap(), [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:152:45 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 152 | Convos::ObsidianObsidians => Asset::get("prefix/npcs/cult/convos_cult.json").unwrap(), [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:167:29 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 167 | let comm_asset = Asset::get("prefix/npcs/npc_spawn_comms.json").unwrap(); [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:181:30 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 181 | let convo_asset = Asset::get("prefix/npcs/npc_spawn_convos.json").unwrap(); [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:195:30 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 195 | let convo_asset = Asset::get("prefix/npcs/npc_hermit.json").unwrap(); [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:209:30 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 209 | let trade_asset = Asset::get("prefix/npcs/npc_trade.json").unwrap(); [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:223:29 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 223 | let shop_asset = Asset::get("prefix/npcs/npc_shops.json").unwrap(); [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:240:30 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 240 | let trade_asset = Asset::get("prefix/npcs/npc_trade.json").unwrap(); [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:253:29 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 253 | let shop_asset = Asset::get("prefix/npcs/npc_shop_convos.json").unwrap(); [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:410:34 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 410 | Ascii::Npcs(_) => Asset::get("prefix/ascii/npc_asciis.json").unwrap(), [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:411:37 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 411 | Ascii::Enemies(_) => Asset::get("prefix/ascii/enemy_asciis.json").unwrap(), [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:412:35 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 412 | Ascii::Items(_) => Asset::get("prefix/ascii/item_asciis.json").unwrap(), [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:413:38 [INFO] [stdout] | [INFO] [stdout] 7 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 413 | Ascii::EnvInter(_) => Asset::get("prefix/ascii/env_inter_asciis.json").unwrap(), [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stylize` [INFO] [stdout] --> src/gui_utils.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | use ratatui::style::{Color, Style, Stylize}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::npc::NPC` [INFO] [stdout] --> src/gamestate/puzzle_state.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::npc::NPC; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NPC` [INFO] [stdout] --> src/gamestate/settle_state.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::npc::{ShopNPC, NPC}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `door` [INFO] [stdout] --> src/assets.rs:387:24 [INFO] [stdout] | [INFO] [stdout] 387 | EnvInter::Door(door) => "door".to_string(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_door` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `task_env` [INFO] [stdout] --> src/assets.rs:402:27 [INFO] [stdout] | [INFO] [stdout] 402 | EnvInter::TaskEnv(task_env) => "settler".to_string(), [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_task_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left` [INFO] [stdout] --> src/features/field.rs:275:26 [INFO] [stdout] | [INFO] [stdout] 275 | (up, left) if j == temp.len() - 1 && i == temp[0].len() - 1 => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chunks` [INFO] [stdout] --> src/gui/gui_man_draw.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | let chunks = Layout::default() [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_chunks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area` [INFO] [stdout] --> src/gui/gui_man_draw.rs:46:26 [INFO] [stdout] | [INFO] [stdout] 46 | let [area] = vertical.areas(a); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area` [INFO] [stdout] --> src/gui/gui_man_draw.rs:185:26 [INFO] [stdout] | [INFO] [stdout] 185 | let [area] = vertical.areas(a); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area` [INFO] [stdout] --> src/gui/npc_interactions.rs:165:26 [INFO] [stdout] | [INFO] [stdout] 165 | let [area] = vertical.areas(a); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area` [INFO] [stdout] --> src/gui/npc_interactions.rs:596:26 [INFO] [stdout] | [INFO] [stdout] 596 | let [area] = vertical.areas(a); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area` [INFO] [stdout] --> src/gui/environment_interactions.rs:194:22 [INFO] [stdout] | [INFO] [stdout] 194 | let [area] = vertical.areas(a); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area` [INFO] [stdout] --> src/gui/environment_interactions.rs:354:22 [INFO] [stdout] | [INFO] [stdout] 354 | let [area] = vertical.areas(a); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area` [INFO] [stdout] --> src/gui/environment_interactions.rs:780:22 [INFO] [stdout] | [INFO] [stdout] 780 | let [area] = vertical.areas(a); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area` [INFO] [stdout] --> src/gui/environment_interactions.rs:956:22 [INFO] [stdout] | [INFO] [stdout] 956 | let [area] = vertical.areas(a); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `in_h` [INFO] [stdout] --> src/gui.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let in_h = inner_area.height as usize; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 93 | let _in_h = inner_area.height as usize; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `INVENTORY_MAX` [INFO] [stdout] | [INFO] [stdout] 93 - let in_h = inner_area.height as usize; [INFO] [stdout] 93 + let player::INVENTORY_MAX = inner_area.height as usize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `in_w` [INFO] [stdout] --> src/gui.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | let in_w = inner_area.width as usize; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 94 | let _in_w = inner_area.width as usize; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `INVENTORY_MAX` [INFO] [stdout] | [INFO] [stdout] 94 - let in_w = inner_area.width as usize; [INFO] [stdout] 94 + let player::INVENTORY_MAX = inner_area.width as usize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/gui.rs:1301:21 [INFO] [stdout] | [INFO] [stdout] 1301 | let b = Block::bordered(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area` [INFO] [stdout] --> src/gui.rs:1306:26 [INFO] [stdout] | [INFO] [stdout] 1306 | let [area] = vertical.areas(a); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env_col` [INFO] [stdout] --> src/gui_utils.rs:228:25 [INFO] [stdout] | [INFO] [stdout] 228 | let env_col = { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_env_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stylize` [INFO] [stdout] --> src/gui_utils.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | use ratatui::style::{Color, Style, Stylize}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::npc::NPC` [INFO] [stdout] --> src/gamestate/puzzle_state.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::npc::NPC; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NPC` [INFO] [stdout] --> src/gamestate/settle_state.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::npc::{ShopNPC, NPC}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `door` [INFO] [stdout] --> src/assets.rs:387:24 [INFO] [stdout] | [INFO] [stdout] 387 | EnvInter::Door(door) => "door".to_string(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_door` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `task_env` [INFO] [stdout] --> src/assets.rs:402:27 [INFO] [stdout] | [INFO] [stdout] 402 | EnvInter::TaskEnv(task_env) => "settler".to_string(), [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_task_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `px` is never read [INFO] [stdout] --> src/map.rs:246:17 [INFO] [stdout] | [INFO] [stdout] 246 | let mut px = 0; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `py` is never read [INFO] [stdout] --> src/map.rs:247:17 [INFO] [stdout] | [INFO] [stdout] 247 | let mut py = 0; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left` [INFO] [stdout] --> src/features/field.rs:275:26 [INFO] [stdout] | [INFO] [stdout] 275 | (up, left) if j == temp.len() - 1 && i == temp[0].len() - 1 => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `def_name` [INFO] [stdout] --> src/parsing.rs:204:21 [INFO] [stdout] | [INFO] [stdout] 204 | let def_name = "Kevthony".to_string(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_def_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chunks` [INFO] [stdout] --> src/gui/gui_man_draw.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | let chunks = Layout::default() [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_chunks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area` [INFO] [stdout] --> src/gui/gui_man_draw.rs:46:26 [INFO] [stdout] | [INFO] [stdout] 46 | let [area] = vertical.areas(a); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rooms` [INFO] [stdout] --> src/puzzle.rs:1286:20 [INFO] [stdout] | [INFO] [stdout] 1286 | let (ruin_map, rooms): (String, Vec>) = build_ruin(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rooms` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area` [INFO] [stdout] --> src/gui/gui_man_draw.rs:185:26 [INFO] [stdout] | [INFO] [stdout] 185 | let [area] = vertical.areas(a); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env_inters` [INFO] [stdout] --> src/puzzle.rs:1350:32 [INFO] [stdout] | [INFO] [stdout] 1350 | let (map, npcs, items, env_inters) = make_ruin(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_env_inters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cells` [INFO] [stdout] --> src/settlement/guild_settle.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | let cells = vec![vec![Cells::Empty; 128]; 52]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cells` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `essential` [INFO] [stdout] --> src/settlement/med_settle.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | let essential = vec![ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_essential` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/settlement/obsidian_settle.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | _ => todo!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/settlement/obsidian_settle.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 245 | true => OBSIDIAN_WALLS_BOTTOM, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 246 | false => OBSIDIAN_WALLS_BOTTOM, [INFO] [stdout] | ----- matches some of the same values [INFO] [stdout] 247 | // false => GUILD_WALLS_RIGHT, [INFO] [stdout] 248 | _ => todo!(), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area` [INFO] [stdout] --> src/gui/npc_interactions.rs:165:26 [INFO] [stdout] | [INFO] [stdout] 165 | let [area] = vertical.areas(a); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `def_name` [INFO] [stdout] --> src/settlement.rs:324:21 [INFO] [stdout] | [INFO] [stdout] 324 | let def_name = "Kevthony".to_string(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_def_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area` [INFO] [stdout] --> src/gui/npc_interactions.rs:596:26 [INFO] [stdout] | [INFO] [stdout] 596 | let [area] = vertical.areas(a); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `npcs` [INFO] [stdout] --> src/settlement.rs:784:41 [INFO] [stdout] | [INFO] [stdout] 784 | pub fn demo_settle(pos: (i16, i16), npcs: HashMap<(usize, usize), NPCWrap>) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_npcs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/settlement.rs:987:28 [INFO] [stdout] | [INFO] [stdout] 987 | .filter(|&(p, e)| e == EnvInter::TaskEnv(TaskEnv::Null)) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `task` [INFO] [stdout] --> src/settlements.rs:137:37 [INFO] [stdout] | [INFO] [stdout] 137 | fn set_pass_item_content(&self, task: Task) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_task` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `task` [INFO] [stdout] --> src/settlements.rs:141:36 [INFO] [stdout] | [INFO] [stdout] 141 | fn set_pass_msg_content(&self, task: Task) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_task` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `null_comms` [INFO] [stdout] --> src/tasks.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | let null_comms = vec!["Hey there."]; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_null_comms` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area` [INFO] [stdout] --> src/gui/environment_interactions.rs:194:22 [INFO] [stdout] | [INFO] [stdout] 194 | let [area] = vertical.areas(a); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/gamestate/enemy_encounter.rs:107:29 [INFO] [stdout] | [INFO] [stdout] 107 | let res = self.enc_key(event.code); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/gamestate/enemy_encounter.rs:161:29 [INFO] [stdout] | [INFO] [stdout] 161 | let res = self.enc_key(event.code); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area` [INFO] [stdout] --> src/gui/environment_interactions.rs:354:22 [INFO] [stdout] | [INFO] [stdout] 354 | let [area] = vertical.areas(a); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `turn` [INFO] [stdout] --> src/gamestate/enemy_encounter.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | let turn = self.enemy_turn(enemy.clone()); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_turn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lturn` [INFO] [stdout] --> src/gamestate/enemy_encounter.rs:190:13 [INFO] [stdout] | [INFO] [stdout] 190 | let lturn = self.player.get_last_turn(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lturn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area` [INFO] [stdout] --> src/gui/environment_interactions.rs:780:22 [INFO] [stdout] | [INFO] [stdout] 780 | let [area] = vertical.areas(a); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gamestate/environment_interactions.rs:897:39 [INFO] [stdout] | [INFO] [stdout] 897 | fn retrieve_item_final(&mut self, mut task: Task) { [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: unused variable: `area` [INFO] [stdout] --> src/gui/environment_interactions.rs:956:22 [INFO] [stdout] | [INFO] [stdout] 956 | let [area] = vertical.areas(a); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/gamestate/interactions.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | _ => todo!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/gamestate/interactions.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 75 | Interactable::Item(item) => { [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 79 | Interactable::ShopItem(sitem) => {} [INFO] [stdout] | ----------------------------- matches some of the same values [INFO] [stdout] 80 | Interactable::Enemy(enemy) => {} [INFO] [stdout] | -------------------------- matches some of the same values [INFO] [stdout] 81 | Interactable::NPC(npc) => {} [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 84 | _ => todo!(), [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `st` [INFO] [stdout] --> src/gamestate/interactions.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | let (pos, st) = self.gui.get_interactee(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_st` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sitem` [INFO] [stdout] --> src/gamestate/interactions.rs:79:36 [INFO] [stdout] | [INFO] [stdout] 79 | Interactable::ShopItem(sitem) => {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_sitem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enemy` [INFO] [stdout] --> src/gamestate/interactions.rs:80:33 [INFO] [stdout] | [INFO] [stdout] 80 | Interactable::Enemy(enemy) => {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_enemy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `npc` [INFO] [stdout] --> src/gamestate/interactions.rs:81:31 [INFO] [stdout] | [INFO] [stdout] 81 | Interactable::NPC(npc) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_npc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env_inter` [INFO] [stdout] --> src/gamestate/interactions.rs:82:36 [INFO] [stdout] | [INFO] [stdout] 82 | Interactable::EnvInter(env_inter) => {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_env_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `itm` [INFO] [stdout] --> src/gamestate/interactions.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | if let Some(itm) = self.items.remove(&(item.x, item.y)) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_itm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/gamestate/interactions.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | _ => todo!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/gamestate/interactions.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 180 | Interactable::Item(_) => self.item_interaction(), [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] 181 | Interactable::ShopItem(si) => self.shop_item_interaction(si), [INFO] [stdout] | -------------------------- matches some of the same values [INFO] [stdout] 182 | Interactable::NPC(_) => self.npc_interaction(), [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] 183 | Interactable::Enemy(e) => { [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 189 | _ => todo!(), [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `in_h` [INFO] [stdout] --> src/gui.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let in_h = inner_area.height as usize; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 93 | let _in_h = inner_area.height as usize; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `INVENTORY_MAX` [INFO] [stdout] | [INFO] [stdout] 93 - let in_h = inner_area.height as usize; [INFO] [stdout] 93 + let player::INVENTORY_MAX = inner_area.height as usize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `in_w` [INFO] [stdout] --> src/gui.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | let in_w = inner_area.width as usize; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 94 | let _in_w = inner_area.width as usize; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `INVENTORY_MAX` [INFO] [stdout] | [INFO] [stdout] 94 - let in_w = inner_area.width as usize; [INFO] [stdout] 94 + let player::INVENTORY_MAX = inner_area.width as usize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/gui.rs:1301:21 [INFO] [stdout] | [INFO] [stdout] 1301 | let b = Block::bordered(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/gamestate/locations.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | _ => false, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/gamestate/locations.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 165 | Location::Null => false, [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] 166 | Location::Settlement(mut settle) => { [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 171 | Location::Puzzle(mut puzzle) => { [INFO] [stdout] | ---------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 176 | Location::Feature(puzzle) => { [INFO] [stdout] | ------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 181 | _ => false, [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area` [INFO] [stdout] --> src/gui.rs:1306:26 [INFO] [stdout] | [INFO] [stdout] 1306 | let [area] = vertical.areas(a); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gamestate/npc_interactions.rs:380:48 [INFO] [stdout] | [INFO] [stdout] 380 | Interactable::NPC(NPCWrap::ShopNPC(mut shop_npc)) => { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/gamestate/npcs.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gamestate/npcs.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `def_name` [INFO] [stdout] --> src/gamestate/npcs.rs:144:21 [INFO] [stdout] | [INFO] [stdout] 144 | let def_name = "Kevthony".to_string(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_def_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gamestate/settle_state.rs:29:42 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn get_shop_from_item(&mut self, mut item: ShopItem) -> Shop { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gamestate/settle_state.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 33 | Location::Settlement(mut settle) => match item { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gamestate/settle_state.rs:77:31 [INFO] [stdout] | [INFO] [stdout] 77 | Location::Feature(mut feat) => match item { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/gamestate/settle_state.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | _ => todo!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/gamestate/settle_state.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 143 | ShopItem::Item(itm) => itm, [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] 144 | ShopItem::Herbalist(item) => item, [INFO] [stdout] | ------------------------- matches some of the same values [INFO] [stdout] 145 | ShopItem::Weapon(item) => item, [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] 146 | ShopItem::Armor(item) => item, [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 153 | _ => todo!(), [INFO] [stdout] | ^ ...and 6 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rem` [INFO] [stdout] --> src/gamestate/settle_state.rs:163:25 [INFO] [stdout] | [INFO] [stdout] 163 | let rem = shop.stock.remove(&((ipos.0) as usize, (ipos.1) as usize)); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rem` [INFO] [stdout] --> src/gamestate/settle_state.rs:168:25 [INFO] [stdout] | [INFO] [stdout] 168 | let rem = shop.stock.remove(&((ipos.0) as usize, (ipos.1) as usize)); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gamestate/settle_state.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | let mut sitem = { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `buy_item` is never read [INFO] [stdout] --> src/gamestate/settle_state.rs:253:17 [INFO] [stdout] | [INFO] [stdout] 253 | let mut buy_item = false; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gamestate/settle_state.rs:228:45 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn shop_item_interaction(&mut self, mut sitem: ShopItem) -> bool { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l_rate` [INFO] [stdout] --> src/gamestate.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | let l_rate = 100 as u64; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_l_rate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gamestate.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 233 | let mut tasks = Tasks::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `day` [INFO] [stdout] --> src/gamestate.rs:421:13 [INFO] [stdout] | [INFO] [stdout] 421 | let day = self.stats.world_stats.date.day; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_day` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `month` [INFO] [stdout] --> src/gamestate.rs:422:13 [INFO] [stdout] | [INFO] [stdout] 422 | let month = self.stats.world_stats.date.month; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_month` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `year` [INFO] [stdout] --> src/gamestate.rs:423:13 [INFO] [stdout] | [INFO] [stdout] 423 | let year = self.stats.world_stats.date.year; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_year` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env_col` [INFO] [stdout] --> src/gui_utils.rs:228:25 [INFO] [stdout] | [INFO] [stdout] 228 | let env_col = { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_env_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dungeon` (bin "dungeon" test) due to 39 previous errors; 196 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: value assigned to `px` is never read [INFO] [stdout] --> src/map.rs:246:17 [INFO] [stdout] | [INFO] [stdout] 246 | let mut px = 0; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `py` is never read [INFO] [stdout] --> src/map.rs:247:17 [INFO] [stdout] | [INFO] [stdout] 247 | let mut py = 0; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `def_name` [INFO] [stdout] --> src/parsing.rs:204:21 [INFO] [stdout] | [INFO] [stdout] 204 | let def_name = "Kevthony".to_string(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_def_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rooms` [INFO] [stdout] --> src/puzzle.rs:1286:20 [INFO] [stdout] | [INFO] [stdout] 1286 | let (ruin_map, rooms): (String, Vec>) = build_ruin(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rooms` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env_inters` [INFO] [stdout] --> src/puzzle.rs:1350:32 [INFO] [stdout] | [INFO] [stdout] 1350 | let (map, npcs, items, env_inters) = make_ruin(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_env_inters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cells` [INFO] [stdout] --> src/settlement/guild_settle.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | let cells = vec![vec![Cells::Empty; 128]; 52]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cells` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `essential` [INFO] [stdout] --> src/settlement/med_settle.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | let essential = vec![ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_essential` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/settlement/obsidian_settle.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | _ => todo!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/settlement/obsidian_settle.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 245 | true => OBSIDIAN_WALLS_BOTTOM, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 246 | false => OBSIDIAN_WALLS_BOTTOM, [INFO] [stdout] | ----- matches some of the same values [INFO] [stdout] 247 | // false => GUILD_WALLS_RIGHT, [INFO] [stdout] 248 | _ => todo!(), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `def_name` [INFO] [stdout] --> src/settlement.rs:324:21 [INFO] [stdout] | [INFO] [stdout] 324 | let def_name = "Kevthony".to_string(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_def_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `npcs` [INFO] [stdout] --> src/settlement.rs:784:41 [INFO] [stdout] | [INFO] [stdout] 784 | pub fn demo_settle(pos: (i16, i16), npcs: HashMap<(usize, usize), NPCWrap>) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_npcs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/settlement.rs:987:28 [INFO] [stdout] | [INFO] [stdout] 987 | .filter(|&(p, e)| e == EnvInter::TaskEnv(TaskEnv::Null)) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `task` [INFO] [stdout] --> src/settlements.rs:137:37 [INFO] [stdout] | [INFO] [stdout] 137 | fn set_pass_item_content(&self, task: Task) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_task` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `task` [INFO] [stdout] --> src/settlements.rs:141:36 [INFO] [stdout] | [INFO] [stdout] 141 | fn set_pass_msg_content(&self, task: Task) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_task` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `null_comms` [INFO] [stdout] --> src/tasks.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | let null_comms = vec!["Hey there."]; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_null_comms` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/gamestate/enemy_encounter.rs:107:29 [INFO] [stdout] | [INFO] [stdout] 107 | let res = self.enc_key(event.code); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/gamestate/enemy_encounter.rs:161:29 [INFO] [stdout] | [INFO] [stdout] 161 | let res = self.enc_key(event.code); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `turn` [INFO] [stdout] --> src/gamestate/enemy_encounter.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | let turn = self.enemy_turn(enemy.clone()); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_turn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lturn` [INFO] [stdout] --> src/gamestate/enemy_encounter.rs:190:13 [INFO] [stdout] | [INFO] [stdout] 190 | let lturn = self.player.get_last_turn(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lturn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gamestate/environment_interactions.rs:897:39 [INFO] [stdout] | [INFO] [stdout] 897 | fn retrieve_item_final(&mut self, mut task: Task) { [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: unreachable pattern [INFO] [stdout] --> src/gamestate/interactions.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | _ => todo!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/gamestate/interactions.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 75 | Interactable::Item(item) => { [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 79 | Interactable::ShopItem(sitem) => {} [INFO] [stdout] | ----------------------------- matches some of the same values [INFO] [stdout] 80 | Interactable::Enemy(enemy) => {} [INFO] [stdout] | -------------------------- matches some of the same values [INFO] [stdout] 81 | Interactable::NPC(npc) => {} [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 84 | _ => todo!(), [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `st` [INFO] [stdout] --> src/gamestate/interactions.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | let (pos, st) = self.gui.get_interactee(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_st` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sitem` [INFO] [stdout] --> src/gamestate/interactions.rs:79:36 [INFO] [stdout] | [INFO] [stdout] 79 | Interactable::ShopItem(sitem) => {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_sitem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enemy` [INFO] [stdout] --> src/gamestate/interactions.rs:80:33 [INFO] [stdout] | [INFO] [stdout] 80 | Interactable::Enemy(enemy) => {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_enemy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `npc` [INFO] [stdout] --> src/gamestate/interactions.rs:81:31 [INFO] [stdout] | [INFO] [stdout] 81 | Interactable::NPC(npc) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_npc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env_inter` [INFO] [stdout] --> src/gamestate/interactions.rs:82:36 [INFO] [stdout] | [INFO] [stdout] 82 | Interactable::EnvInter(env_inter) => {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_env_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `itm` [INFO] [stdout] --> src/gamestate/interactions.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | if let Some(itm) = self.items.remove(&(item.x, item.y)) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_itm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/gamestate/interactions.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | _ => todo!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/gamestate/interactions.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 180 | Interactable::Item(_) => self.item_interaction(), [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] 181 | Interactable::ShopItem(si) => self.shop_item_interaction(si), [INFO] [stdout] | -------------------------- matches some of the same values [INFO] [stdout] 182 | Interactable::NPC(_) => self.npc_interaction(), [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] 183 | Interactable::Enemy(e) => { [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 189 | _ => todo!(), [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/gamestate/locations.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | _ => false, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/gamestate/locations.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 165 | Location::Null => false, [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] 166 | Location::Settlement(mut settle) => { [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 171 | Location::Puzzle(mut puzzle) => { [INFO] [stdout] | ---------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 176 | Location::Feature(puzzle) => { [INFO] [stdout] | ------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 181 | _ => false, [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gamestate/npc_interactions.rs:380:48 [INFO] [stdout] | [INFO] [stdout] 380 | Interactable::NPC(NPCWrap::ShopNPC(mut shop_npc)) => { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/gamestate/npcs.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gamestate/npcs.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `def_name` [INFO] [stdout] --> src/gamestate/npcs.rs:144:21 [INFO] [stdout] | [INFO] [stdout] 144 | let def_name = "Kevthony".to_string(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_def_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gamestate/settle_state.rs:29:42 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn get_shop_from_item(&mut self, mut item: ShopItem) -> Shop { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gamestate/settle_state.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 33 | Location::Settlement(mut settle) => match item { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gamestate/settle_state.rs:77:31 [INFO] [stdout] | [INFO] [stdout] 77 | Location::Feature(mut feat) => match item { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/gamestate/settle_state.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | _ => todo!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/gamestate/settle_state.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 143 | ShopItem::Item(itm) => itm, [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] 144 | ShopItem::Herbalist(item) => item, [INFO] [stdout] | ------------------------- matches some of the same values [INFO] [stdout] 145 | ShopItem::Weapon(item) => item, [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] 146 | ShopItem::Armor(item) => item, [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 153 | _ => todo!(), [INFO] [stdout] | ^ ...and 6 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rem` [INFO] [stdout] --> src/gamestate/settle_state.rs:163:25 [INFO] [stdout] | [INFO] [stdout] 163 | let rem = shop.stock.remove(&((ipos.0) as usize, (ipos.1) as usize)); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rem` [INFO] [stdout] --> src/gamestate/settle_state.rs:168:25 [INFO] [stdout] | [INFO] [stdout] 168 | let rem = shop.stock.remove(&((ipos.0) as usize, (ipos.1) as usize)); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gamestate/settle_state.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | let mut sitem = { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `buy_item` is never read [INFO] [stdout] --> src/gamestate/settle_state.rs:253:17 [INFO] [stdout] | [INFO] [stdout] 253 | let mut buy_item = false; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gamestate/settle_state.rs:228:45 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn shop_item_interaction(&mut self, mut sitem: ShopItem) -> bool { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l_rate` [INFO] [stdout] --> src/gamestate.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | let l_rate = 100 as u64; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_l_rate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gamestate.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 233 | let mut tasks = Tasks::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `day` [INFO] [stdout] --> src/gamestate.rs:421:13 [INFO] [stdout] | [INFO] [stdout] 421 | let day = self.stats.world_stats.date.day; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_day` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `month` [INFO] [stdout] --> src/gamestate.rs:422:13 [INFO] [stdout] | [INFO] [stdout] 422 | let month = self.stats.world_stats.date.month; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_month` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `year` [INFO] [stdout] --> src/gamestate.rs:423:13 [INFO] [stdout] | [INFO] [stdout] 423 | let year = self.stats.world_stats.date.year; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_year` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dungeon` (bin "dungeon") due to 39 previous errors; 196 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1b2cecc9d2eb150f1780993d3c7cfc0fb9cb3b8740cb84e43346ff49e5445ecf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b2cecc9d2eb150f1780993d3c7cfc0fb9cb3b8740cb84e43346ff49e5445ecf", kill_on_drop: false }` [INFO] [stdout] 1b2cecc9d2eb150f1780993d3c7cfc0fb9cb3b8740cb84e43346ff49e5445ecf