[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 try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FkijimaD%2Fdigger_rs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-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-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kijimaD/digger_rs on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 418c1355cb8be77681ee4de2d5b35a1e674caddfd6f67f4a33cc61a61253e437 [INFO] running `Command { std: "docker" "start" "-a" "418c1355cb8be77681ee4de2d5b35a1e674caddfd6f67f4a33cc61a61253e437", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "418c1355cb8be77681ee4de2d5b35a1e674caddfd6f67f4a33cc61a61253e437", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "418c1355cb8be77681ee4de2d5b35a1e674caddfd6f67f4a33cc61a61253e437", kill_on_drop: false }` [INFO] [stdout] 418c1355cb8be77681ee4de2d5b35a1e674caddfd6f67f4a33cc61a61253e437 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 09199c080ba1295218688ef71cb00868d247d44c21e5bde9b6c09523993eac53 [INFO] running `Command { std: "docker" "start" "-a" "09199c080ba1295218688ef71cb00868d247d44c21e5bde9b6c09523993eac53", 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] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling memchr v2.5.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] Compiling serde v1.0.140 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling bytemuck v1.11.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling safe_arch v0.5.2 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling crossbeam-epoch v0.9.10 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.5 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling wide v0.6.5 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling xdg v2.4.1 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling ultraviolet v0.8.1 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.2 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling raw-window-handle v0.3.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling crossbeam-channel v0.5.6 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling hashbrown v0.7.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling either v1.7.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling flate2 v1.0.24 [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 mopa v0.2.2 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling atom v0.3.6 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling shrev v1.1.3 [INFO] [stderr] Compiling tuple_utils v0.3.0 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling specs-derive v0.4.1 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling wayland-egl v0.28.6 [INFO] [stderr] Compiling tynm v0.1.6 [INFO] [stderr] Compiling shred v0.10.2 [INFO] [stderr] Compiling hibitset v0.6.3 [INFO] [stderr] Compiling bracket-geometry v0.8.3 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling bracket-color v0.8.2 [INFO] [stderr] Compiling specs v0.16.1 [INFO] [stderr] Compiling bracket-random v0.8.2 [INFO] [stderr] Compiling bracket-noise v0.8.2 [INFO] [stderr] Compiling bracket-algorithm-traits v0.8.2 [INFO] [stderr] Compiling bracket-pathfinding v0.8.4 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.3 [INFO] [stderr] Compiling winit v0.24.0 [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)]` 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)]` 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)]` 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)]` 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: 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: 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: 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, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | pub drops: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OnBattle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` 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 }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 35 | Tile { tile_idx: i32 }, [INFO] [stdout] 36 | Tiles { tiles: Vec }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Targets` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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, [INFO] [stdout] | ^^ [INFO] [stdout] 13 | pub sp: Option, [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] 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] 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] 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] 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 78 | fn new(width: i32, height: i32, rng: &mut RandomNumberGenerator) -> Grid<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustc5UZIn4/symbols.o" "<17 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libserde_json-29df92c1720d65d2.rlib,libryu-9675aeb4e0982d6b.rlib,libitoa-95e5ea577b522801.rlib,libspecs-f7d0191d756c49b2.rlib,libcrossbeam_queue-f4f760f814501213.rlib,libcrossbeam_utils-1b2d31a2bd72b0bd.rlib,libmaybe_uninit-56cae5b1ed8837f0.rlib,libtuple_utils-7cc8520065de2727.rlib,libshrev-b5c5ca22c3d30725.rlib,libshred-9bb783a2ec40c766.rlib,libtynm-130a714956619fdc.rlib,libnom-509158dfea46f109.rlib,libmopa-197ba19539bd9705.rlib,libarrayvec-535b07a27f919199.rlib,libhashbrown-125ce51cdc4331f1.rlib,libahash-f6ae872fb175a688.rlib,libhibitset-d12cde04cff1093e.rlib,librayon-43232e3aff2d7fd3.rlib,librayon_core-d339750163ec4e37.rlib,libnum_cpus-1845633b7679e1b6.rlib,libcrossbeam_deque-a0dfb91be084f029.rlib,libcrossbeam_epoch-c661ab813b04044c.rlib,libmemoffset-9acda8b838fa5d0e.rlib,libcrossbeam_channel-648eb5cf24d28710.rlib,libcrossbeam_utils-7eb5aa9f6fc5aa33.rlib,libeither-6d630fb060af2013.rlib,libatom-ce1a10b8b3e18c30.rlib,librltk-9abe3d318e5d922a.rlib,libbracket_lib-355e04c948bfc072.rlib,libbracket_terminal-d6a3b960829080a4.rlib,libanyhow-eed28ff9edbfa8cf.rlib,libflate2-f0eca4d888450c59.rlib,libminiz_oxide-3a826a4debd45fea.rlib,libadler-b32dea79b2f05ffd.rlib,libglutin-5bcedc070242d0ca.rlib,libwayland_egl-6381a5e7848640d2.rlib,libosmesa_sys-b259212737f8ec42.rlib,libshared_library-73653c143756215a.rlib,libwinit-834b5e25c00f215e.rlib,libmio_extras-6907d67676e3d97a.rlib,libmio-7aef3781fd08c777.rlib,libslab-793d2e028b450ee7.rlib,libiovec-3b3f4e7404d2cd0a.rlib,libnet2-d5078694330b9614.rlib,liblazycell-eedb34e0c1f475b4.rlib,libpercent_encoding-3f452dc5e318e927.rlib,libsmithay_client_toolkit-c09bcb69803d45eb.rlib,libandrew-41c80aa0f0045d3d.rlib,libxml-2dc9518b220164ad.rlib,libxdg-efcc47e708f9b226.rlib,libdirs-4c7cf9726a96e45b.rlib,libdirs_sys-9ab9801ceeddc7c6.rlib,libwalkdir-6da7a998d20d0502.rlib,libsame_file-ebfa63be59ead6ba.rlib,librusttype-990d7681c81c5a10.rlib,libab_glyph_rasterizer-7c792a6342ebc267.rlib,libowned_ttf_parser-5733f77f04a884f8.rlib,libttf_parser-6494604512d55a58.rlib,libwayland_cursor-fbdaa8ebe0642bb4.rlib,libxcursor-dc26af2c8b5bc1b4.rlib,libnom-2d9372b3a75fa5fb.rlib,libmemmap2-f9c5925a0ad5b12b.rlib,libwayland_protocols-2164c20370682812.rlib,libwayland_client-a07c1c3ca2cc1566.rlib,libscoped_tls-c773acb8a8b535a4.rlib,libwayland_commons-458951cca483f9ed.rlib,libonce_cell-734862852b790e74.rlib,libnix-f2b3faafef838935.rlib,libwayland_sys-a9a25062884da2a3.rlib,libdlib-46aadee49dd46aae.rlib,liblibloading-9bcc23d3cb2d4dff.rlib}.rlib" "-ldl" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libcalloop-3993bbb9a43c0651.rlib,libnix-ae627b40bb8098a4.rlib,libcfg_if-2d17986ae484e939.rlib,libdlib-13ac18e771e0262c.rlib,liblibloading-308597874b178daa.rlib}.rlib" "-ldl" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libraw_window_handle-cdebcde77a47ff5d.rlib,libraw_window_handle-56b95ac57c38091c.rlib,libcty-5091860036d7fdf6.rlib,libglutin_glx_sys-f28ae6c760b16798.rlib,libx11_dl-1732a6153b11f94a.rlib}.rlib" "-ldl" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libglutin_egl_sys-e719bc5f0e92f42d.rlib,liblog-fc4b0167ad2190de.rlib,libimage-67e220b9e155f833.rlib,libcolor_quant-fd36927056f4d79f.rlib,libpng-041017762db448b0.rlib,libminiz_oxide-dd3230b304bd21da.rlib,libcrc32fast-8f2d6020cd2aee51.rlib,libdeflate-c52f7037696141fd.rlib,libadler32-5cb8e62306edda0a.rlib,libbitflags-e274cd04b58a060d.rlib,libnum_rational-49698a452cf0bb5a.rlib,libnum_iter-6b1f39f2b6d09022.rlib,libnum_integer-d2cf829730df7cfd.rlib,libjpeg_decoder-62d7b2e4007957d2.rlib,libnum_traits-3cb65ae8623d94f1.rlib,libglow-5e4b7ca15dbe2fb0.rlib,libobject_pool-d0fd340ceff9ed51.rlib,libbracket_pathfinding-b0918360fd5807db.rlib,libbracket_noise-e66e5ed3e0fb6150.rlib,libbracket_random-6a4edf70abdcde34.rlib,libregex-e48831e5296da2df.rlib,libaho_corasick-58fecb70af583198.rlib,libmemchr-95b9fe95d0c424cf.rlib,libregex_syntax-463d0c7d8345154b.rlib,librand_xorshift-5866d1d77bb18cba.rlib,librand-ff591cc98266fccd.rlib,librand_chacha-53928831d42418ac.rlib,libppv_lite86-a9f3c9ee76597f1e.rlib,librand_core-ea96c38a2f1cb820.rlib,libgetrandom-a3f310b76475aa53.rlib,libbracket_color-b70214607eb136a6.rlib,libbyteorder-c7092f68299ac016.rlib,libparking_lot-1d33ea62b41b7184.rlib,libparking_lot_core-d256cdfba65f83c8.rlib,liblibc-05aac8d2dbdac7df.rlib,liblock_api-05ccfdad17814006.rlib,libscopeguard-73056285f12cb829.rlib,libinstant-e23fa3fb52ce1101.rlib,libcfg_if-66d55f6b302e88c8.rlib,libbracket_algorithm_traits-ead348eb1cfc2dbc.rlib,libsmallvec-cccb44d9dce4cf27.rlib,libbracket_geometry-eea1e1deb502f595.rlib,libultraviolet-ebb51342ac99476d.rlib,libwide-a0df9db996f2ce47.rlib,libsafe_arch-9dc475bc15bd647f.rlib,libbytemuck-dff1e1d49edf9f8f.rlib,liblazy_static-4b136fc9bfbd2c4b.rlib,libserde-7dcebefddb990ea7.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustc5UZIn4/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/digger_rs-4e909ab51574839b" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgetrandom-a3f310b76475aa53.rlib(getrandom-a3f310b76475aa53.getrandom.daa40941425275da-cgu.0.rcgu.o): in function `getrandom::util_libc::open_readonly': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.2.7/src/util_libc.rs:150:(.text._ZN9getrandom9util_libc13open_readonly17h9d3bf2e7c1b9c6f6E+0xbc): undefined reference to `open64' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `digger_rs` (bin "digger_rs") due to 1 previous error; 37 warnings emitted [INFO] running `Command { std: "docker" "inspect" "09199c080ba1295218688ef71cb00868d247d44c21e5bde9b6c09523993eac53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09199c080ba1295218688ef71cb00868d247d44c21e5bde9b6c09523993eac53", kill_on_drop: false }` [INFO] [stdout] 09199c080ba1295218688ef71cb00868d247d44c21e5bde9b6c09523993eac53