[INFO] cloning repository https://github.com/kijimaD/digger_rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kijimaD/digger_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FkijimaD%2Fdigger_rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FkijimaD%2Fdigger_rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5804eb99182f3f21b733a7d0d0e34ca610b286c6
[INFO] checking kijimaD/digger_rs against master#4eb62535fc12dd1a63fd43a4173e224e79313c4d for pr-158816
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FkijimaD%2Fdigger_rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/kijimaD/digger_rs
[INFO] finished tweaking git repo https://github.com/kijimaD/digger_rs
[INFO] tweaked toml for git repo https://github.com/kijimaD/digger_rs written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kijimaD/digger_rs on toolchain 4eb62535fc12dd1a63fd43a4173e224e79313c4d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/kijimaD/digger_rs 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" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded quote v1.0.20
[INFO] [stderr]   Downloaded shrev v1.1.3
[INFO] [stderr]   Downloaded either v1.7.0
[INFO] [stderr]   Downloaded itoa v1.0.2
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.83
[INFO] [stderr]   Downloaded pkg-config v0.3.25
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.83
[INFO] [stderr]   Downloaded unicode-ident v1.0.2
[INFO] [stderr]   Downloaded proc-macro2 v1.0.42
[INFO] [stderr]   Downloaded crossbeam-deque v0.8.2
[INFO] [stderr]   Downloaded once_cell v1.13.0
[INFO] [stderr]   Downloaded smallvec v1.9.0
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.83
[INFO] [stderr]   Downloaded wasm-bindgen-backend v0.2.83
[INFO] [stderr]   Downloaded serde_derive v1.0.140
[INFO] [stderr]   Downloaded bytemuck v1.11.0
[INFO] [stderr]   Downloaded crossbeam-utils v0.8.11
[INFO] [stderr]   Downloaded crossbeam-epoch v0.9.10
[INFO] [stderr]   Downloaded ryu v1.0.10
[INFO] [stderr]   Downloaded lock_api v0.4.7
[INFO] [stderr]   Downloaded bumpalo v3.10.0
[INFO] [stderr]   Downloaded miniz_oxide v0.5.3
[INFO] [stderr]   Downloaded anyhow v1.0.58
[INFO] [stderr]   Downloaded syn v1.0.98
[INFO] [stderr]   Downloaded js-sys v0.3.59
[INFO] [stderr]   Downloaded flate2 v1.0.24
[INFO] [stderr]   Downloaded rayon-core v1.9.3
[INFO] [stderr]   Downloaded serde v1.0.140
[INFO] [stderr]   Downloaded crossbeam-channel v0.5.6
[INFO] [stderr]   Downloaded rayon v1.5.3
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.83
[INFO] [stderr]   Downloaded serde_json v1.0.82
[INFO] [stderr]   Downloaded libc v0.2.126
[INFO] [stderr]   Downloaded web-sys v0.3.59
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 74e1af83a54dbebc31dc44129e0230b7af4f7c976c0d7584bf0f5d69a727626f
[INFO] running `Command { std: "docker" "start" "74e1af83a54dbebc31dc44129e0230b7af4f7c976c0d7584bf0f5d69a727626f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "74e1af83a54dbebc31dc44129e0230b7af4f7c976c0d7584bf0f5d69a727626f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "74e1af83a54dbebc31dc44129e0230b7af4f7c976c0d7584bf0f5d69a727626f" "/opt/rustwide/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "74e1af83a54dbebc31dc44129e0230b7af4f7c976c0d7584bf0f5d69a727626f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "74e1af83a54dbebc31dc44129e0230b7af4f7c976c0d7584bf0f5d69a727626f" "/opt/rustwide/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling proc-macro2 v1.0.42
[INFO] [stderr]    Compiling unicode-ident v1.0.2
[INFO] [stderr]    Compiling quote v1.0.20
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling xml-rs v0.8.4
[INFO] [stderr]     Checking once_cell v1.13.0
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]     Checking smallvec v1.9.0
[INFO] [stderr]    Compiling pkg-config v0.3.25
[INFO] [stderr]    Compiling syn v1.0.98
[INFO] [stderr]    Compiling serde_derive v1.0.140
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling serde v1.0.140
[INFO] [stderr]     Checking libloading v0.7.3
[INFO] [stderr]    Compiling khronos_api v3.1.0
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]     Checking bytemuck v1.11.0
[INFO] [stderr]     Checking dlib v0.5.0
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]     Checking scoped-tls v1.0.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.11
[INFO] [stderr]     Checking downcast-rs v1.2.0
[INFO] [stderr]     Checking instant v0.1.12
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling slab v0.4.7
[INFO] [stderr]    Compiling nix v0.18.0
[INFO] [stderr]     Checking ttf-parser v0.6.2
[INFO] [stderr]     Checking safe_arch v0.5.2
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.10
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]     Checking ab_glyph_rasterizer v0.1.5
[INFO] [stderr]     Checking walkdir v2.3.2
[INFO] [stderr]     Checking libloading v0.6.7
[INFO] [stderr]    Compiling rayon-core v1.9.3
[INFO] [stderr]    Compiling wayland-sys v0.28.6
[INFO] [stderr]    Compiling x11-dl v2.19.1
[INFO] [stderr]     Checking cty v0.2.2
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]     Checking wide v0.6.5
[INFO] [stderr]     Checking adler32 v1.2.0
[INFO] [stderr]     Checking raw-window-handle v0.4.3
[INFO] [stderr]     Checking dlib v0.4.2
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]     Checking lazycell v1.3.0
[INFO] [stderr]    Compiling nom v5.1.2
[INFO] [stderr]    Compiling wayland-scanner v0.28.6
[INFO] [stderr]     Checking crossbeam-channel v0.5.6
[INFO] [stderr]     Checking deflate v0.8.6
[INFO] [stderr]     Checking miniz_oxide v0.3.7
[INFO] [stderr]    Compiling rayon v1.5.3
[INFO] [stderr]     Checking regex-syntax v0.6.27
[INFO] [stderr]     Checking adler v1.0.2
[INFO] [stderr]     Checking crossbeam-deque v0.8.2
[INFO] [stderr]     Checking percent-encoding v2.1.0
[INFO] [stderr]    Compiling anyhow v1.0.58
[INFO] [stderr]     Checking nom v7.1.1
[INFO] [stderr]     Checking nix v0.20.0
[INFO] [stderr]     Checking dirs-sys v0.3.7
[INFO] [stderr]     Checking getrandom v0.2.7
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking dirs v4.0.0
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking net2 v0.2.37
[INFO] [stderr]    Compiling glutin_egl_sys v0.1.5
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]     Checking xdg v2.4.1
[INFO] [stderr]    Compiling glutin_glx_sys v0.1.7
[INFO] [stderr]     Checking owned_ttf_parser v0.6.0
[INFO] [stderr]     Checking rusttype v0.9.2
[INFO] [stderr]     Checking memmap2 v0.1.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]     Checking shared_library v0.1.9
[INFO] [stderr]     Checking andrew v0.3.1
[INFO] [stderr]     Checking raw-window-handle v0.3.4
[INFO] [stderr]     Checking aho-corasick v0.7.18
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking osmesa-sys v0.1.2
[INFO] [stderr]     Checking png v0.16.8
[INFO] [stderr]     Checking mio-extras v2.0.6
[INFO] [stderr]     Checking miniz_oxide v0.5.3
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling wayland-client v0.28.6
[INFO] [stderr]    Compiling wayland-protocols v0.28.6
[INFO] [stderr]    Compiling hashbrown v0.7.2
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]     Checking ultraviolet v0.8.1
[INFO] [stderr]     Checking either v1.7.0
[INFO] [stderr]     Checking jpeg-decoder v0.1.22
[INFO] [stderr]     Checking object-pool v0.5.4
[INFO] [stderr]     Checking ahash v0.3.8
[INFO] [stderr]     Checking glow v0.10.0
[INFO] [stderr]     Checking flate2 v1.0.24
[INFO] [stderr]     Checking image v0.23.14
[INFO] [stderr]     Checking regex v1.6.0
[INFO] [stderr]     Checking atom v0.3.6
[INFO] [stderr]     Checking arrayvec v0.5.2
[INFO] [stderr]     Checking mopa v0.2.2
[INFO] [stderr]    Compiling serde_json v1.0.82
[INFO] [stderr]     Checking crossbeam-queue v0.2.3
[INFO] [stderr]     Checking itoa v1.0.2
[INFO] [stderr]     Checking ryu v1.0.10
[INFO] [stderr]     Checking tuple_utils v0.3.0
[INFO] [stderr]     Checking shrev v1.1.3
[INFO] [stderr]     Checking xcursor v0.3.4
[INFO] [stderr]    Compiling specs-derive v0.4.1
[INFO] [stderr]     Checking tynm v0.1.6
[INFO] [stderr]     Checking calloop v0.6.5
[INFO] [stderr]     Checking hibitset v0.6.3
[INFO] [stderr]     Checking shred v0.10.2
[INFO] [stderr]     Checking wayland-commons v0.28.6
[INFO] [stderr]     Checking wayland-cursor v0.28.6
[INFO] [stderr]     Checking wayland-egl v0.28.6
[INFO] [stderr]     Checking bracket-geometry v0.8.3
[INFO] [stderr]     Checking rand_xorshift v0.3.0
[INFO] [stderr]     Checking bracket-color v0.8.2
[INFO] [stderr]     Checking specs v0.16.1
[INFO] [stderr]     Checking bracket-random v0.8.2
[INFO] [stderr]     Checking bracket-algorithm-traits v0.8.2
[INFO] [stderr]     Checking bracket-pathfinding v0.8.4
[INFO] [stderr]     Checking bracket-noise v0.8.2
[INFO] [stderr]     Checking smithay-client-toolkit v0.12.3
[INFO] [stderr]     Checking winit v0.24.0
[INFO] [stderr]     Checking glutin v0.26.0
[INFO] [stderr]     Checking bracket-terminal v0.8.5
[INFO] [stderr]     Checking bracket-lib v0.8.1
[INFO] [stderr]     Checking rltk v0.8.1
[INFO] [stderr]     Checking digger_rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `tile_opaque`
[INFO] [stdout]  --> src/map/mod.rs:6:31
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use tiletype::{tile_cost, tile_opaque, tile_walkable, TileType};
[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: `chase_ai_system::ChaseAI`
[INFO] [stdout]   --> src/ai/mod.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub use chase_ai_system::ChaseAI;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `specs::prelude::*`
[INFO] [stdout]  --> src/effects/damage.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use specs::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `specs::prelude::*`
[INFO] [stdout]  --> src/effects/hunger.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use specs::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `specs::prelude::*`
[INFO] [stdout]  --> src/effects/movement.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use specs::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `specs::prelude::*`
[INFO] [stdout]  --> src/effects/particles.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use specs::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `specs::prelude::*`
[INFO] [stdout]  --> src/effects/triggers.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use specs::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `LogType` and `log_display`
[INFO] [stdout]  --> src/gamelog/mod.rs:6:27
[INFO] [stdout]   |
[INFO] [stdout] 6 |     clear_log, clone_log, log_display, print_log, restore_log, LogType, BATTLE_LOG, FIELD_LOG,
[INFO] [stdout]   |                           ^^^^^^^^^^^                          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tooltips::*`
[INFO] [stdout]   --> src/gui/mod.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub use tooltips::*;
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]   --> src/gui/battle_result.rs:53:17
[INFO] [stdout]    |
[INFO] [stdout] 53 |         None => (BattleWinResult::NoResponse),
[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] 53 -         None => (BattleWinResult::NoResponse),
[INFO] [stdout] 53 +         None => BattleWinResult::NoResponse,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]   --> src/gui/battle_result.rs:55:39
[INFO] [stdout]    |
[INFO] [stdout] 55 |             VirtualKeyCode::Return => (BattleWinResult::Enter),
[INFO] [stdout]    |                                       ^                      ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 55 -             VirtualKeyCode::Return => (BattleWinResult::Enter),
[INFO] [stdout] 55 +             VirtualKeyCode::Return => BattleWinResult::Enter,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tile_opaque`
[INFO] [stdout]  --> src/map/mod.rs:6:31
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use tiletype::{tile_cost, tile_opaque, tile_walkable, TileType};
[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: `chase_ai_system::ChaseAI`
[INFO] [stdout]   --> src/ai/mod.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub use chase_ai_system::ChaseAI;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `specs::prelude::*`
[INFO] [stdout]  --> src/effects/damage.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use specs::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `specs::prelude::*`
[INFO] [stdout]  --> src/effects/hunger.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use specs::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `specs::prelude::*`
[INFO] [stdout]  --> src/effects/movement.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use specs::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `specs::prelude::*`
[INFO] [stdout]  --> src/effects/particles.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use specs::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `specs::prelude::*`
[INFO] [stdout]  --> src/effects/triggers.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use specs::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `LogType` and `log_display`
[INFO] [stdout]  --> src/gamelog/mod.rs:6:27
[INFO] [stdout]   |
[INFO] [stdout] 6 |     clear_log, clone_log, log_display, print_log, restore_log, LogType, BATTLE_LOG, FIELD_LOG,
[INFO] [stdout]   |                           ^^^^^^^^^^^                          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tooltips::*`
[INFO] [stdout]   --> src/gui/mod.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub use tooltips::*;
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]   --> src/gui/battle_result.rs:53:17
[INFO] [stdout]    |
[INFO] [stdout] 53 |         None => (BattleWinResult::NoResponse),
[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] 53 -         None => (BattleWinResult::NoResponse),
[INFO] [stdout] 53 +         None => BattleWinResult::NoResponse,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]   --> src/gui/battle_result.rs:55:39
[INFO] [stdout]    |
[INFO] [stdout] 55 |             VirtualKeyCode::Return => (BattleWinResult::Enter),
[INFO] [stdout]    |                                       ^                      ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 55 -             VirtualKeyCode::Return => (BattleWinResult::Enter),
[INFO] [stdout] 55 +             VirtualKeyCode::Return => BattleWinResult::Enter,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `specs::prelude`
[INFO] [stdout]  --> src/gui/menus.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use specs::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `specs::prelude`
[INFO] [stdout]  --> src/gui/main_menu.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use specs::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `specs::prelude`
[INFO] [stdout]  --> src/map/mod.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use specs::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `specs::prelude`
[INFO] [stdout]  --> src/gui/menus.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use specs::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `specs::prelude`
[INFO] [stdout]  --> src/gui/main_menu.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use specs::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `specs::prelude`
[INFO] [stdout]  --> src/map/mod.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use specs::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `map`
[INFO] [stdout]    --> src/ai/adjacent_ai_system.rs:104:5
[INFO] [stdout]     |
[INFO] [stdout] 104 |     map: &Map,
[INFO] [stdout]     |     ^^^ help: if this is intentional, prefix it with an underscore: `_map`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `map`
[INFO] [stdout]   --> src/ai/visible_ai_system.rs:82:5
[INFO] [stdout]    |
[INFO] [stdout] 82 |     map: &Map,
[INFO] [stdout]    |     ^^^ help: if this is intentional, prefix it with an underscore: `_map`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/ai/default_move_system.rs:23:27
[INFO] [stdout]    |
[INFO] [stdout] 23 |         for (entity, pos, mut mode, _myturn) in
[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: `entity`
[INFO] [stdout]   --> src/ai/encumbrance_system.rs:85:29
[INFO] [stdout]    |
[INFO] [stdout] 85 |         for (item, carried, entity) in (&items, &backpacks, &entities).join() {
[INFO] [stdout]    |                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/damage_system.rs:90:17
[INFO] [stdout]    |
[INFO] [stdout] 90 |             let mut party = parties.get_mut(*player_entity).unwrap();
[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/effects/damage.rs:87:21
[INFO] [stdout]    |
[INFO] [stdout] 87 |                 let mut on_battle = on_battles.get_mut(*player_entity).unwrap();
[INFO] [stdout]    |                     ----^^^^^^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `map`
[INFO] [stdout]    --> src/ai/adjacent_ai_system.rs:104:5
[INFO] [stdout]     |
[INFO] [stdout] 104 |     map: &Map,
[INFO] [stdout]     |     ^^^ help: if this is intentional, prefix it with an underscore: `_map`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `map`
[INFO] [stdout]   --> src/ai/visible_ai_system.rs:82:5
[INFO] [stdout]    |
[INFO] [stdout] 82 |     map: &Map,
[INFO] [stdout]    |     ^^^ help: if this is intentional, prefix it with an underscore: `_map`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/ai/default_move_system.rs:23:27
[INFO] [stdout]    |
[INFO] [stdout] 23 |         for (entity, pos, mut mode, _myturn) in
[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: `entity`
[INFO] [stdout]   --> src/ai/encumbrance_system.rs:85:29
[INFO] [stdout]    |
[INFO] [stdout] 85 |         for (item, carried, entity) in (&items, &backpacks, &entities).join() {
[INFO] [stdout]    |                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/damage_system.rs:90:17
[INFO] [stdout]    |
[INFO] [stdout] 90 |             let mut party = parties.get_mut(*player_entity).unwrap();
[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/effects/damage.rs:87:21
[INFO] [stdout]    |
[INFO] [stdout] 87 |                 let mut on_battle = on_battles.get_mut(*player_entity).unwrap();
[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/systems/movement_system.rs:72:32
[INFO] [stdout]    |
[INFO] [stdout] 72 |         for (entity, movement, mut pos) in (&entities, &apply_move, &mut position).join() {
[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/systems/hunger_system.rs:19:22
[INFO] [stdout]    |
[INFO] [stdout] 19 |         for (entity, mut clock, _myturn) in (&entities, &mut hunger_clock, &turns).join() {
[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/systems/particle_system.rs:25:22
[INFO] [stdout]    |
[INFO] [stdout] 25 |         for (entity, mut particle) in (&entities, &mut particles).join() {
[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/main.rs:627:29
[INFO] [stdout]     |
[INFO] [stdout] 627 |                         let mut player_pools = pools.get_mut(*player).unwrap();
[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/main.rs:641:29
[INFO] [stdout]     |
[INFO] [stdout] 641 |                         let mut party = parties.get_mut(*player).unwrap();
[INFO] [stdout]     |                             ----^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item_entity`
[INFO] [stdout]    --> src/main.rs:451:29
[INFO] [stdout]     |
[INFO] [stdout] 451 |                         let item_entity = result.1.unwrap();
[INFO] [stdout]     |                             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_entity`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `monsters` and `drops` are never read
[INFO] [stdout]    --> src/components.rs:208:9
[INFO] [stdout]     |
[INFO] [stdout] 206 | pub struct OnBattle {
[INFO] [stdout]     |            -------- fields in this struct
[INFO] [stdout] 207 |     pub monster: Entity,
[INFO] [stdout] 208 |     pub monsters: Vec<Entity>,
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 211 |     pub drops: Vec<Entity>,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `OnBattle` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `clear_content_index` is never used
[INFO] [stdout]   --> src/map/mod.rs:45:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl Map {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 45 |     pub fn clear_content_index(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `tile_opaque` is never used
[INFO] [stdout]   --> src/map/tiletype.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub fn tile_opaque(tt: TileType) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ChaseAI` is never constructed
[INFO] [stdout]  --> src/ai/chase_ai_system.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct ChaseAI {}
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `TargetList` and `Tiles` are never constructed
[INFO] [stdout]   --> src/effects/mod.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub enum Targets {
[INFO] [stdout]    |          ------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 34 |     TargetList { targets: Vec<Entity> },
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 35 |     Tile { tile_idx: i32 },
[INFO] [stdout] 36 |     Tiles { tiles: Vec<i32> },
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Targets` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `append_fragment` is never used
[INFO] [stdout]   --> src/gamelog/logstore.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn append_fragment(fragment: LogFragment) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `log_display` is never used
[INFO] [stdout]   --> src/gamelog/logstore.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub fn log_display() -> TextBuilder {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `hp` and `sp` are never read
[INFO] [stdout]   --> src/raws/fighter_structs.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub struct Fighter {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |     pub hp: Option<i32>,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 13 |     pub sp: Option<i32>,
[INFO] [stdout]    |         ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Fighter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement
[INFO] [stdout]    --> src/player.rs:353:21
[INFO] [stdout]     |
[INFO] [stdout] 353 |                     (&entities, &combatants, &players).join().nth(0)
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(for_loops_over_fallibles)]` on by default
[INFO] [stdout] help: to check pattern in a loop use `while let`
[INFO] [stdout]     |
[INFO] [stdout] 352 -                 for (entity, _combatant, _player) in
[INFO] [stdout] 353 -                     (&entities, &combatants, &players).join().nth(0)
[INFO] [stdout] 352 +                 while let Some((entity, _combatant, _player)) = (&entities, &combatants, &players).join().nth(0)
[INFO] [stdout]     |
[INFO] [stdout] help: consider using `if let` to clear intent
[INFO] [stdout]     |
[INFO] [stdout] 352 -                 for (entity, _combatant, _player) in
[INFO] [stdout] 353 -                     (&entities, &combatants, &players).join().nth(0)
[INFO] [stdout] 352 +                 if let Some((entity, _combatant, _player)) = (&entities, &combatants, &players).join().nth(0)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement
[INFO] [stdout]    --> src/gui/equip_item_menu.rs:244:9
[INFO] [stdout]     |
[INFO] [stdout] 244 |         (&entities, &combatants, &players).join().nth((index + direction) as usize)
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: to check pattern in a loop use `while let`
[INFO] [stdout]     |
[INFO] [stdout] 243 -     for (entity, _combatant, _player) in
[INFO] [stdout] 244 -         (&entities, &combatants, &players).join().nth((index + direction) as usize)
[INFO] [stdout] 243 +     while let Some((entity, _combatant, _player)) = (&entities, &combatants, &players).join().nth((index + direction) as usize)
[INFO] [stdout]     |
[INFO] [stdout] help: consider using `if let` to clear intent
[INFO] [stdout]     |
[INFO] [stdout] 243 -     for (entity, _combatant, _player) in
[INFO] [stdout] 244 -         (&entities, &combatants, &players).join().nth((index + direction) as usize)
[INFO] [stdout] 243 +     if let Some((entity, _combatant, _player)) = (&entities, &combatants, &players).join().nth((index + direction) as usize)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/map_builders/maze.rs:78:42
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn new(width: i32, height: i32, rng: &mut RandomNumberGenerator) -> Grid {
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^     ^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                          |
[INFO] [stdout]    |                                          the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn new(width: i32, height: i32, rng: &mut RandomNumberGenerator) -> Grid<'_> {
[INFO] [stdout]    |                                                                             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/systems/movement_system.rs:72:32
[INFO] [stdout]    |
[INFO] [stdout] 72 |         for (entity, movement, mut pos) in (&entities, &apply_move, &mut position).join() {
[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/systems/hunger_system.rs:19:22
[INFO] [stdout]    |
[INFO] [stdout] 19 |         for (entity, mut clock, _myturn) in (&entities, &mut hunger_clock, &turns).join() {
[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/systems/particle_system.rs:25:22
[INFO] [stdout]    |
[INFO] [stdout] 25 |         for (entity, mut particle) in (&entities, &mut particles).join() {
[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/main.rs:627:29
[INFO] [stdout]     |
[INFO] [stdout] 627 |                         let mut player_pools = pools.get_mut(*player).unwrap();
[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/main.rs:641:29
[INFO] [stdout]     |
[INFO] [stdout] 641 |                         let mut party = parties.get_mut(*player).unwrap();
[INFO] [stdout]     |                             ----^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item_entity`
[INFO] [stdout]    --> src/main.rs:451:29
[INFO] [stdout]     |
[INFO] [stdout] 451 |                         let item_entity = result.1.unwrap();
[INFO] [stdout]     |                             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_entity`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `monsters` and `drops` are never read
[INFO] [stdout]    --> src/components.rs:208:9
[INFO] [stdout]     |
[INFO] [stdout] 206 | pub struct OnBattle {
[INFO] [stdout]     |            -------- fields in this struct
[INFO] [stdout] 207 |     pub monster: Entity,
[INFO] [stdout] 208 |     pub monsters: Vec<Entity>,
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 211 |     pub drops: Vec<Entity>,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `OnBattle` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `clear_content_index` is never used
[INFO] [stdout]   --> src/map/mod.rs:45:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl Map {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 45 |     pub fn clear_content_index(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `tile_opaque` is never used
[INFO] [stdout]   --> src/map/tiletype.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub fn tile_opaque(tt: TileType) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ChaseAI` is never constructed
[INFO] [stdout]  --> src/ai/chase_ai_system.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct ChaseAI {}
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `TargetList` and `Tiles` are never constructed
[INFO] [stdout]   --> src/effects/mod.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub enum Targets {
[INFO] [stdout]    |          ------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 34 |     TargetList { targets: Vec<Entity> },
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 35 |     Tile { tile_idx: i32 },
[INFO] [stdout] 36 |     Tiles { tiles: Vec<i32> },
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Targets` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `append_fragment` is never used
[INFO] [stdout]   --> src/gamelog/logstore.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn append_fragment(fragment: LogFragment) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `log_display` is never used
[INFO] [stdout]   --> src/gamelog/logstore.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub fn log_display() -> TextBuilder {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `hp` and `sp` are never read
[INFO] [stdout]   --> src/raws/fighter_structs.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub struct Fighter {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |     pub hp: Option<i32>,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 13 |     pub sp: Option<i32>,
[INFO] [stdout]    |         ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Fighter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement
[INFO] [stdout]    --> src/player.rs:353:21
[INFO] [stdout]     |
[INFO] [stdout] 353 |                     (&entities, &combatants, &players).join().nth(0)
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(for_loops_over_fallibles)]` on by default
[INFO] [stdout] help: to check pattern in a loop use `while let`
[INFO] [stdout]     |
[INFO] [stdout] 352 -                 for (entity, _combatant, _player) in
[INFO] [stdout] 353 -                     (&entities, &combatants, &players).join().nth(0)
[INFO] [stdout] 352 +                 while let Some((entity, _combatant, _player)) = (&entities, &combatants, &players).join().nth(0)
[INFO] [stdout]     |
[INFO] [stdout] help: consider using `if let` to clear intent
[INFO] [stdout]     |
[INFO] [stdout] 352 -                 for (entity, _combatant, _player) in
[INFO] [stdout] 353 -                     (&entities, &combatants, &players).join().nth(0)
[INFO] [stdout] 352 +                 if let Some((entity, _combatant, _player)) = (&entities, &combatants, &players).join().nth(0)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement
[INFO] [stdout]    --> src/gui/equip_item_menu.rs:244:9
[INFO] [stdout]     |
[INFO] [stdout] 244 |         (&entities, &combatants, &players).join().nth((index + direction) as usize)
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: to check pattern in a loop use `while let`
[INFO] [stdout]     |
[INFO] [stdout] 243 -     for (entity, _combatant, _player) in
[INFO] [stdout] 244 -         (&entities, &combatants, &players).join().nth((index + direction) as usize)
[INFO] [stdout] 243 +     while let Some((entity, _combatant, _player)) = (&entities, &combatants, &players).join().nth((index + direction) as usize)
[INFO] [stdout]     |
[INFO] [stdout] help: consider using `if let` to clear intent
[INFO] [stdout]     |
[INFO] [stdout] 243 -     for (entity, _combatant, _player) in
[INFO] [stdout] 244 -         (&entities, &combatants, &players).join().nth((index + direction) as usize)
[INFO] [stdout] 243 +     if let Some((entity, _combatant, _player)) = (&entities, &combatants, &players).join().nth((index + direction) as usize)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/map_builders/maze.rs:78:42
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn new(width: i32, height: i32, rng: &mut RandomNumberGenerator) -> Grid {
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^     ^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                          |
[INFO] [stdout]    |                                          the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn new(width: i32, height: i32, rng: &mut RandomNumberGenerator) -> Grid<'_> {
[INFO] [stdout]    |                                                                             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.94s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "74e1af83a54dbebc31dc44129e0230b7af4f7c976c0d7584bf0f5d69a727626f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "74e1af83a54dbebc31dc44129e0230b7af4f7c976c0d7584bf0f5d69a727626f", kill_on_drop: false }`
[INFO] [stdout] 74e1af83a54dbebc31dc44129e0230b7af4f7c976c0d7584bf0f5d69a727626f
