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