[INFO] cloning repository https://github.com/masterRevillo/bracketlib-roguelike [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/masterRevillo/bracketlib-roguelike" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmasterRevillo%2Fbracketlib-roguelike", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmasterRevillo%2Fbracketlib-roguelike'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a9c88d669a8e93af89933b495f679eeb27f93ddf [INFO] building masterRevillo/bracketlib-roguelike against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmasterRevillo%2Fbracketlib-roguelike" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/masterRevillo/bracketlib-roguelike [INFO] finished tweaking git repo https://github.com/masterRevillo/bracketlib-roguelike [INFO] tweaked toml for git repo https://github.com/masterRevillo/bracketlib-roguelike written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/masterRevillo/bracketlib-roguelike on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/masterRevillo/bracketlib-roguelike already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tuple_utils v0.4.0 [INFO] [stderr] Downloaded shrev v1.1.3 [INFO] [stderr] Downloaded shred v0.15.0 [INFO] [stderr] Downloaded atomic_refcell v0.1.13 [INFO] [stderr] Downloaded xml-rs v0.8.20 [INFO] [stderr] Downloaded core-graphics v0.23.2 [INFO] [stderr] Downloaded crossbeam-utils v0.8.19 [INFO] [stderr] Downloaded instant v0.1.12 [INFO] [stderr] Downloaded specs v0.20.0 [INFO] [stderr] Downloaded num_enum v0.5.11 [INFO] [stderr] Downloaded proc-macro-crate v1.3.1 [INFO] [stderr] Downloaded downcast-rs v1.2.1 [INFO] [stderr] Downloaded bracket-rex v0.8.7 [INFO] [stderr] Downloaded glutin_egl_sys v0.1.6 [INFO] [stderr] Downloaded ndk-context v0.1.1 [INFO] [stderr] Downloaded tynm v0.1.10 [INFO] [stderr] Downloaded libloading v0.7.4 [INFO] [stderr] Downloaded cgl v0.3.2 [INFO] [stderr] Downloaded bracket-pathfinding v0.8.7 [INFO] [stderr] Downloaded bracket-noise v0.8.7 [INFO] [stderr] Downloaded bracket-algorithm-traits v0.8.7 [INFO] [stderr] Downloaded num-rational v0.4.1 [INFO] [stderr] Downloaded glow v0.11.2 [INFO] [stderr] Downloaded toml_datetime v0.6.5 [INFO] [stderr] Downloaded ndk-sys v0.2.2 [INFO] [stderr] Downloaded futures v0.1.31 [INFO] [stderr] Downloaded minimal-lexical v0.2.1 [INFO] [stderr] Downloaded winit v0.26.1 [INFO] [stderr] Downloaded winit v0.27.5 [INFO] [stderr] Downloaded safe_arch v0.5.2 [INFO] [stderr] Downloaded ndk-sys v0.4.1+23.1.7779620 [INFO] [stderr] Downloaded jpeg-decoder v0.3.1 [INFO] [stderr] Downloaded bracket-embedding v0.8.7 [INFO] [stderr] Downloaded flate2 v1.0.28 [INFO] [stderr] Downloaded smithay-client-toolkit v0.15.4 [INFO] [stderr] Downloaded nix v0.25.1 [INFO] [stderr] Downloaded expat-sys v2.1.6 [INFO] [stderr] Downloaded nix v0.22.3 [INFO] [stderr] Downloaded web-sys v0.3.69 [INFO] [stderr] Downloaded windows_i686_msvc v0.36.1 [INFO] [stderr] Downloaded windows_i686_gnu v0.36.1 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.36.1 [INFO] [stderr] Downloaded png v0.17.13 [INFO] [stderr] Downloaded nix v0.24.3 [INFO] [stderr] Downloaded nom v7.1.3 [INFO] [stderr] Downloaded parking_lot_core v0.9.9 [INFO] [stderr] Downloaded freetype-rs v0.26.0 [INFO] [stderr] Downloaded tiny-skia-path v0.7.0 [INFO] [stderr] Downloaded cocoa v0.25.0 [INFO] [stderr] Downloaded core-foundation-sys v0.8.6 [INFO] [stderr] Downloaded crossfont v0.5.2 [INFO] [stderr] Downloaded arrayref v0.3.7 [INFO] [stderr] Downloaded crossbeam-queue v0.3.11 [INFO] [stderr] Downloaded nougat v0.2.4 [INFO] [stderr] Downloaded core-text v20.1.0 [INFO] [stderr] Downloaded bytemuck v1.15.0 [INFO] [stderr] Downloaded wayland-sys v0.29.5 [INFO] [stderr] Downloaded wasm-bindgen v0.2.92 [INFO] [stderr] Downloaded arrayvec v0.7.4 [INFO] [stderr] Downloaded num-traits v0.2.18 [INFO] [stderr] Downloaded safe_arch v0.7.1 [INFO] [stderr] Downloaded cocoa v0.24.1 [INFO] [stderr] Downloaded parking_lot v0.12.1 [INFO] [stderr] Downloaded toml_edit v0.19.15 [INFO] [stderr] Downloaded cc v1.0.94 [INFO] [stderr] Downloaded tiny-skia v0.7.0 [INFO] [stderr] Downloaded cocoa-foundation v0.1.2 [INFO] [stderr] Downloaded winnow v0.5.40 [INFO] [stderr] Downloaded fdeflate v0.3.4 [INFO] [stderr] Downloaded x11-dl v2.21.0 [INFO] [stderr] Downloaded hibitset v0.6.4 [INFO] [stderr] Downloaded macro_rules_attribute-proc_macro v0.1.3 [INFO] [stderr] Downloaded nougat-proc_macros v0.2.4 [INFO] [stderr] Downloaded either v1.11.0 [INFO] [stderr] Downloaded crossbeam-deque v0.8.5 [INFO] [stderr] Downloaded dispatch v0.2.0 [INFO] [stderr] Downloaded servo-fontconfig-sys v5.1.0 [INFO] [stderr] Downloaded libc v0.2.153 [INFO] [stderr] Downloaded anyhow v1.0.82 [INFO] [stderr] Downloaded bracket-color v0.8.7 [INFO] [stderr] Downloaded ultraviolet v0.9.2 [INFO] [stderr] Downloaded crossbeam-utils v0.7.2 [INFO] [stderr] Downloaded tokio-timer v0.2.13 [INFO] [stderr] Downloaded core-foundation v0.7.0 [INFO] [stderr] Downloaded core-video-sys v0.1.4 [INFO] [stderr] Downloaded memmap2 v0.3.1 [INFO] [stderr] Downloaded jni-sys v0.3.0 [INFO] [stderr] Downloaded ndk-glue v0.7.0 [INFO] [stderr] Downloaded wio v0.2.2 [INFO] [stderr] Downloaded dwrote v0.11.0 [INFO] [stderr] Downloaded servo-fontconfig v0.5.1 [INFO] [stderr] Downloaded bracket-terminal v0.8.7 [INFO] [stderr] Downloaded simd-adler32 v0.3.7 [INFO] [stderr] Downloaded slotmap v1.0.7 [INFO] [stderr] Downloaded thiserror-impl v1.0.58 [INFO] [stderr] Downloaded calloop v0.10.6 [INFO] [stderr] Downloaded wayland-client v0.29.5 [INFO] [stderr] Downloaded rand_xorshift v0.3.0 [INFO] [stderr] Downloaded glutin v0.29.1 [INFO] [stderr] Downloaded windows-sys v0.36.1 [INFO] [stderr] Downloaded color_quant v1.1.0 [INFO] [stderr] Downloaded strum_macros v0.26.4 [INFO] [stderr] Downloaded send_wrapper v0.2.0 [INFO] [stderr] Downloaded tokio-executor v0.1.10 [INFO] [stderr] Downloaded core-graphics v0.19.2 [INFO] [stderr] Downloaded parking_lot_core v0.8.6 [INFO] [stderr] Downloaded calloop v0.9.3 [INFO] [stderr] Downloaded ndk-macro v0.3.0 [INFO] [stderr] Downloaded lock_api v0.4.11 [INFO] [stderr] Downloaded redox_syscall v0.4.1 [INFO] [stderr] Downloaded cty v0.2.2 [INFO] [stderr] Downloaded raw-window-handle v0.5.2 [INFO] [stderr] Downloaded core-graphics-types v0.1.3 [INFO] [stderr] Downloaded foreign-types-macros v0.2.3 [INFO] [stderr] Downloaded foreign-types-shared v0.3.1 [INFO] [stderr] Downloaded foreign-types v0.5.0 [INFO] [stderr] Downloaded cmake v0.1.50 [INFO] [stderr] Downloaded sctk-adwaita v0.4.3 [INFO] [stderr] Downloaded smithay-client-toolkit v0.16.1 [INFO] [stderr] Downloaded libloading v0.8.3 [INFO] [stderr] Downloaded dlib v0.5.2 [INFO] [stderr] Downloaded wayland-commons v0.29.5 [INFO] [stderr] Downloaded wayland-scanner v0.29.5 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.92 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.92 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.36.1 [INFO] [stderr] Downloaded macro_rules_attribute v0.1.3 [INFO] [stderr] Downloaded bracket-random v0.8.7 [INFO] [stderr] Downloaded glutin_glx_sys v0.1.8 [INFO] [stderr] Downloaded freetype-sys v0.13.1 [INFO] [stderr] Downloaded gl_generator v0.14.0 [INFO] [stderr] Downloaded glutin_wgl_sys v0.1.5 [INFO] [stderr] Downloaded wayland-egl v0.29.5 [INFO] [stderr] Downloaded wasm-timer v0.1.3 [INFO] [stderr] Downloaded ndk v0.5.0 [INFO] [stderr] Downloaded bracket-lib v0.8.7 [INFO] [stderr] Downloaded redox_syscall v0.2.16 [INFO] [stderr] Downloaded raw-window-handle v0.4.3 [INFO] [stderr] Downloaded thiserror v1.0.58 [INFO] [stderr] Downloaded xcursor v0.3.5 [INFO] [stderr] Downloaded wayland-cursor v0.29.5 [INFO] [stderr] Downloaded memoffset v0.6.5 [INFO] [stderr] Downloaded wayland-protocols v0.29.5 [INFO] [stderr] Downloaded bracket-geometry v0.8.7 [INFO] [stderr] Downloaded wide v0.7.16 [INFO] [stderr] Downloaded ndk-glue v0.5.2 [INFO] [stderr] Downloaded ndk v0.7.0 [INFO] [stderr] Downloaded hashbrown v0.14.3 [INFO] [stderr] Downloaded objc v0.2.7 [INFO] [stderr] Downloaded js-sys v0.3.69 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.92 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.36.1 [INFO] [stderr] Downloaded glutin_gles2_sys v0.1.5 [INFO] [stderr] Downloaded core-foundation-sys v0.7.0 [INFO] [stderr] Downloaded parking_lot v0.11.2 [INFO] [stderr] Downloaded core-graphics v0.22.3 [INFO] [stderr] Downloaded num_enum_derive v0.5.11 [INFO] [stderr] Downloaded specs-derive v0.4.1 [INFO] [stderr] Downloaded heck v0.5.0 [INFO] [stderr] Downloaded strum v0.26.3 [INFO] [stderr] Downloaded object-pool v0.5.4 [INFO] [stderr] Downloaded image v0.24.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c58310d42a190a0abb99c466c8cf84b44c731dc0fb002bdc3f790997ec258d64 [INFO] running `Command { std: "docker" "start" "-a" "c58310d42a190a0abb99c466c8cf84b44c731dc0fb002bdc3f790997ec258d64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c58310d42a190a0abb99c466c8cf84b44c731dc0fb002bdc3f790997ec258d64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c58310d42a190a0abb99c466c8cf84b44c731dc0fb002bdc3f790997ec258d64", kill_on_drop: false }` [INFO] [stdout] c58310d42a190a0abb99c466c8cf84b44c731dc0fb002bdc3f790997ec258d64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5bc6186a3b70c96499bfc772e94d43ba17401ac3924b6fe4e112f2882585b94 [INFO] running `Command { std: "docker" "start" "-a" "c5bc6186a3b70c96499bfc772e94d43ba17401ac3924b6fe4e112f2882585b94", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling xml-rs v0.8.20 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling cc v1.0.94 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling bytemuck v1.15.0 [INFO] [stderr] Compiling serde v1.0.200 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling safe_arch v0.7.1 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Compiling crossfont v0.5.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling foreign-types-shared v0.3.1 [INFO] [stderr] Compiling xcursor v0.3.5 [INFO] [stderr] Compiling tiny-skia-path v0.7.0 [INFO] [stderr] Compiling wide v0.7.16 [INFO] [stderr] Compiling safe_arch v0.5.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling freetype-rs v0.26.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling servo-fontconfig v0.5.1 [INFO] [stderr] Compiling tiny-skia v0.7.0 [INFO] [stderr] Compiling ultraviolet v0.9.2 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling bracket-embedding v0.8.7 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.1.3 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling macro_rules_attribute v0.1.3 [INFO] [stderr] Compiling object-pool v0.5.4 [INFO] [stderr] Compiling glow v0.11.2 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling atomic_refcell v0.1.13 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling shrev v1.1.3 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling tuple_utils v0.4.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling tynm v0.1.10 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling wayland-egl v0.29.5 [INFO] [stderr] Compiling hibitset v0.6.4 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling shred v0.15.0 [INFO] [stderr] Compiling nougat-proc_macros v0.2.4 [INFO] [stderr] Compiling specs-derive v0.4.1 [INFO] [stderr] Compiling serde_derive v1.0.200 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling foreign-types-macros v0.2.3 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling nougat v0.2.4 [INFO] [stderr] Compiling foreign-types v0.5.0 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling bracket-geometry v0.8.7 [INFO] [stderr] Compiling bracket-color v0.8.7 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling specs v0.20.0 [INFO] [stderr] Compiling bracket-random v0.8.7 [INFO] [stderr] Compiling bracket-noise v0.8.7 [INFO] [stderr] Compiling bracket-rex v0.8.7 [INFO] [stderr] Compiling bracket-algorithm-traits v0.8.7 [INFO] [stderr] Compiling bracket-pathfinding v0.8.7 [INFO] [stderr] Compiling sctk-adwaita v0.4.3 [INFO] [stderr] Compiling winit v0.27.5 [INFO] [stderr] Compiling glutin v0.29.1 [INFO] [stderr] Compiling bracket-terminal v0.8.7 [INFO] [stderr] Compiling bracket-lib v0.8.7 [INFO] [stderr] Compiling bracketlib-rougelike v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `console` [INFO] [stdout] --> src/main.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | use bracket_lib::prelude::{console, main_loop, BError, BTerm, BTermBuilder, GameState, Point}; [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: `crate::gui::ItemMenuResult::NoResponse` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::gui::ItemMenuResult::NoResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Any` [INFO] [stdout] --> src/map_builders/mod.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::{Any, type_name_of_val}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::map_builders::bsp_interior::BspInteriorBuilder` [INFO] [stdout] --> src/map_builders/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::map_builders::bsp_interior::BspInteriorBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::map_builders::simple_map::SimpleMapBuilder` [INFO] [stdout] --> src/map_builders/mod.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use crate::map_builders::simple_map::SimpleMapBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bracket_lib::prelude::console` [INFO] [stdout] --> src/map_builders/bsp_dungeon.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use bracket_lib::prelude::console; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TileType` [INFO] [stdout] --> src/map_builders/waveform_collapse/solver.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::map::{Map, TileType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::map_builders::waveform_collapse::constraints::build_patterns` [INFO] [stdout] --> src/map_builders/waveform_collapse/solver.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::map_builders::waveform_collapse::constraints::build_patterns; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/map_builders/town.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/spawner.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/camera.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `console` [INFO] [stdout] --> src/camera.rs:3:76 [INFO] [stdout] | [INFO] [stdout] 3 | use bracket_lib::prelude::{BTerm, CHOCOLATE, Point, SADDLEBROWN, to_cp437, console}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/camera.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | / /// Use the screen dimensions to offset where the camera is looking. This is to preserve the [INFO] [stdout] 120 | | /// viewport with the addition of the GUI [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] 121 | let (x_chars, y_chars) = ((SCREEN_X as f32 * 0.7) as i32, (SCREEN_Y as f32 * 0.7) as i32) ; [INFO] [stdout] | ------------------------------------------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bracket_lib::color::RGB` [INFO] [stdout] --> src/map/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use bracket_lib::color::RGB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTerm` and `to_cp437` [INFO] [stdout] --> src/map/mod.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | use bracket_lib::prelude::{to_cp437, BTerm, FontCharType}; [INFO] [stdout] | ^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:297:20 [INFO] [stdout] | [INFO] [stdout] 297 | if (SHOW_MAPGEN_VISUALIZATION) { [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] 297 - if (SHOW_MAPGEN_VISUALIZATION) { [INFO] [stdout] 297 + if SHOW_MAPGEN_VISUALIZATION { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `specs::error::NoError`: Use std::convert::Infallible instead [INFO] [stdout] --> src/components.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use specs::error::NoError; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `specs::error::NoError`: Use std::convert::Infallible instead [INFO] [stdout] --> src/saveload_system.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | use specs::error::NoError; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `specs::error::NoError`: Use std::convert::Infallible instead [INFO] [stdout] --> src/saveload_system.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | SerializeComponents::>::serialize( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | / serialize_individually! ( [INFO] [stdout] 56 | | ecs, serializer, data, [INFO] [stdout] 57 | | Position, [INFO] [stdout] 58 | | Renderable, [INFO] [stdout] ... | [INFO] [stdout] 101 | | NaturalAttackDefense [INFO] [stdout] 102 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `serialize_individually` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `specs::error::NoError`: Use std::convert::Infallible instead [INFO] [stdout] --> src/saveload_system.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | DeserializeComponents::::deserialize( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | / deserialize_individually!( [INFO] [stdout] 132 | | ecs, de, d, [INFO] [stdout] 133 | | Position, [INFO] [stdout] 134 | | Renderable, [INFO] [stdout] ... | [INFO] [stdout] 177 | | NaturalAttackDefense [INFO] [stdout] 178 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `deserialize_individually` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Join` [INFO] [stdout] --> src/components.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use specs::{Join, WriteStorage}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `specs::WorldExt` [INFO] [stdout] --> src/map_builders/cellular_automata.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use specs::WorldExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `specs::prelude` [INFO] [stdout] --> src/map_builders/simple_map.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use specs::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Builder` [INFO] [stdout] --> src/map_builders/mod.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use specs::{Builder, World}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ecs` [INFO] [stdout] --> src/gui.rs:552:16 [INFO] [stdout] | [INFO] [stdout] 552 | pub fn draw_ui(ecs: &World, ctx: &mut BTerm) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ecs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/map_builders/simple_map.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | for i in 0..MAX_ROOMS { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 29 | for _i in 0..MAX_ROOMS { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `SCREEN_Y` [INFO] [stdout] | [INFO] [stdout] 29 - for i in 0..MAX_ROOMS { [INFO] [stdout] 29 + for SCREEN_Y in 0..MAX_ROOMS { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/map_builders/prefab_builder/mod.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | let mut string_vec = PrefabBuilder::read_ascii_to_vec(level.template); [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: `rng` [INFO] [stdout] --> src/map_builders/mod.rs:181:33 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn town_builder(depth: i32, rng: &mut RandomNumberGenerator, width: i32, height: i32) -> BuilderChain { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/camera.rs:116:39 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn get_screen_bounds(ecs: &World, ctx: &mut BTerm) -> (i32, i32, i32, i32){ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/raws/rawmaster.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let mut eb = new_entity; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_hollow_box` is never used [INFO] [stdout] --> src/gui.rs:529:8 [INFO] [stdout] | [INFO] [stdout] 529 | pub fn draw_hollow_box( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_ui` is never used [INFO] [stdout] --> src/gui.rs:552:8 [INFO] [stdout] | [INFO] [stdout] 552 | pub fn draw_ui(ecs: &World, ctx: &mut BTerm) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_shape_builder` is never used [INFO] [stdout] --> src/map_builders/mod.rs:259:4 [INFO] [stdout] | [INFO] [stdout] 259 | fn random_shape_builder(rng: &mut RandomNumberGenerator, builder: &mut BuilderChain) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MIN_ROOM_SIZE` is never used [INFO] [stdout] --> src/map_builders/bsp_interior.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const MIN_ROOM_SIZE: i32 = 10; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BspInteriorBuilder` is never constructed [INFO] [stdout] --> src/map_builders/bsp_interior.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct BspInteriorBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `build`, and `add_subrects` are never used [INFO] [stdout] --> src/map_builders/bsp_interior.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl BspInteriorBuilder { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 21 | pub fn new() -> Box { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn build(&mut self, rng: &mut RandomNumberGenerator, build_data: &mut BuilderMap) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn add_subrects(&mut self, rect: Rect, rng: &mut RandomNumberGenerator) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CellularAutomataBuilder` is never constructed [INFO] [stdout] --> src/map_builders/cellular_automata.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct CellularAutomataBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `build`, and `apply_iteration` are never used [INFO] [stdout] --> src/map_builders/cellular_automata.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl CellularAutomataBuilder { [INFO] [stdout] | ---------------------------- associated items in this implementation [INFO] [stdout] 23 | pub fn new() -> Box { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn build(&mut self, rng: &mut RandomNumberGenerator, build_data: &mut BuilderMap) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | fn apply_iteration(&mut self, build_data: &mut BuilderMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Horizontal`, `Vertical`, and `Both` are never constructed [INFO] [stdout] --> src/map_builders/common.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 58 | pub enum Symmetry { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 59 | None, [INFO] [stdout] 60 | Horizontal, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 61 | Vertical, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 62 | Both, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Symmetry` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `WalkInwards` and `CentralAttractor` are never constructed [INFO] [stdout] --> src/map_builders/dla.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum DLAAlgoritm { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 14 | WalkInwards, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 15 | WalkOutwards, [INFO] [stdout] 16 | CentralAttractor, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DLAAlgoritm` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/map_builders/dla.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl DLABuilder { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn walk_inward() -> Box { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn heavy_erosion() -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn walk_outward() -> Box { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn central_attractor() -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn insectoid() -> Box { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn walk_inwards_symmetry() -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn walk_outward_symmetry() -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DrunkSpawnMode` is never used [INFO] [stdout] --> src/map_builders/drunkards.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum DrunkSpawnMode { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DrunkardSettings` is never constructed [INFO] [stdout] --> src/map_builders/drunkards.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct DrunkardSettings { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DrunkardsWalkBuilder` is never constructed [INFO] [stdout] --> src/map_builders/drunkards.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct DrunkardsWalkBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/map_builders/drunkards.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl DrunkardsWalkBuilder { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 41 | pub fn open_area() -> Box { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn open_halls() -> Box { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn fat_passages() -> Box { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn winding_passages() -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn symmetrical_passages() -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn crazy_beer_goggles() -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | fn build(&mut self, rng: &mut RandomNumberGenerator, build_data: &mut BuilderMap) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TOP` is never used [INFO] [stdout] --> src/map_builders/maze.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const TOP: usize = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RIGHT` is never used [INFO] [stdout] --> src/map_builders/maze.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const RIGHT: usize = 1; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BOTTOM` is never used [INFO] [stdout] --> src/map_builders/maze.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const BOTTOM: usize = 2; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LEFT` is never used [INFO] [stdout] --> src/map_builders/maze.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const LEFT: usize = 3; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cell` is never constructed [INFO] [stdout] --> src/map_builders/maze.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct Cell { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `remove_walls` are never used [INFO] [stdout] --> src/map_builders/maze.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Cell { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 22 | pub fn new(row: i32, col: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | fn remove_walls(&mut self, next: &mut Cell) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Grid` is never constructed [INFO] [stdout] --> src/map_builders/maze.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | struct Grid<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `calculate_index`, `get_available_neighbors`, `find_next_cell`, `generate_maze`, and `copy_to_map` are never used [INFO] [stdout] --> src/map_builders/maze.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 60 | impl<'a> Grid<'a> { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 61 | pub fn new(width: i32, height: i32, rng: &'a mut RandomNumberGenerator) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn calculate_index(&self, row: i32, col: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | fn get_available_neighbors(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | fn find_next_cell(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | fn generate_maze(&mut self, build_data: &mut BuilderMap) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | fn copy_to_map(&self, map: &mut Map) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MazeBuilder` is never constructed [INFO] [stdout] --> src/map_builders/maze.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 184 | pub struct MazeBuilder { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `build` are never used [INFO] [stdout] --> src/map_builders/maze.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 193 | impl MazeBuilder { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 194 | pub fn new() -> Box { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | fn build(&mut self, rng: &mut RandomNumberGenerator, build_data: &mut BuilderMap) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SimpleMapBuilder` is never constructed [INFO] [stdout] --> src/map_builders/simple_map.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct SimpleMapBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `build_rooms` are never used [INFO] [stdout] --> src/map_builders/simple_map.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl SimpleMapBuilder { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 18 | pub fn new() -> Box { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | fn build_rooms(&mut self, rng: &mut RandomNumberGenerator, build_data: &mut BuilderMap) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DistanceAlgorithm` is never used [INFO] [stdout] --> src/map_builders/voronoi.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum DistanceAlgorithm { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VoronoiCellBuilder` is never constructed [INFO] [stdout] --> src/map_builders/voronoi.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct VoronoiCellBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `pythagoras`, `manhattan`, `chebyshev`, and `build` are never used [INFO] [stdout] --> src/map_builders/voronoi.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl VoronoiCellBuilder { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 27 | pub fn pythagoras() -> Box { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn manhattan() -> Box { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn chebyshev() -> Box { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn build(&mut self, rng: &mut RandomNumberGenerator, build_data: &mut BuilderMap) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `WaveformMode` is never used [INFO] [stdout] --> src/map_builders/waveform_collapse/mod.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum WaveformMode { TestMap, Derived } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `RexLevel`, `Constant`, and `RoomVaults` are never constructed [INFO] [stdout] --> src/map_builders/prefab_builder/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum PrefabMode { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 19 | RexLevel { template: &'static str }, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | Constant { level: PrefabLevel }, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 21 | Sectional { section: PrefabSection }, [INFO] [stdout] 22 | RoomVaults, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PrefabMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `rex_level`, `constant`, and `vaults` are never used [INFO] [stdout] --> src/map_builders/prefab_builder/mod.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl PrefabBuilder { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 42 | pub fn new() -> Box { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn rex_level(template: &'static str) -> Box { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn constant(level: PrefabLevel) -> Box { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn vaults() -> Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WFC_POPULATED` is never used [INFO] [stdout] --> src/map_builders/prefab_builder/prefab_levels.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const WFC_POPULATED: PrefabLevel = PrefabLevel { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LEVEL_MAP` is never used [INFO] [stdout] --> src/map_builders/prefab_builder/prefab_levels.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const LEVEL_MAP: &str = "\ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Left` and `Center` are never constructed [INFO] [stdout] --> src/map_builders/prefab_builder/prefab_sections.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum HorizontalPlacement{ Left, Center, Right} [INFO] [stdout] | ------------------- ^^^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | variants in this enum [INFO] [stdout] | [INFO] [stdout] = note: `HorizontalPlacement` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Center` and `Bottom` are never constructed [INFO] [stdout] --> src/map_builders/prefab_builder/prefab_sections.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum VerticalPlacement{ Top, Center, Bottom } [INFO] [stdout] | ----------------- ^^^^^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | variants in this enum [INFO] [stdout] | [INFO] [stdout] = note: `VerticalPlacement` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NESTED_ROOMS` is never used [INFO] [stdout] --> src/map_builders/prefab_builder/prefab_sections.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub const NESTED_ROOMS: PrefabSection = PrefabSection{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nested_rooms` is never used [INFO] [stdout] --> src/map_builders/prefab_builder/prefab_sections.rs:78:7 [INFO] [stdout] | [INFO] [stdout] 78 | const nested_rooms: &str = "\ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DoorPlacement` is never constructed [INFO] [stdout] --> src/map_builders/door_placement.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct DoorPlacement {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `door`, and `door_possible` are never used [INFO] [stdout] --> src/map_builders/door_placement.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl DoorPlacement { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 15 | pub fn new() -> Box { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | fn door(&mut self, rng: &mut RandomNumberGenerator, build_data: &mut BuilderMap) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn door_possible(&self, build_data: &mut BuilderMap, x: usize, y: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `level_builder` is never used [INFO] [stdout] --> src/map_builders/town.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn level_builder(new_depth: i32, rng: &mut RandomNumberGenerator, width: i32, height: i32) -> BuilderChain { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_map` is never used [INFO] [stdout] --> src/camera.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn render_map(map: &Map, ctx: &mut BTerm) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `range` is never read [INFO] [stdout] --> src/raws/item_structs.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Weapon { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 32 | pub range: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Weapon` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `effects` is never read [INFO] [stdout] --> src/raws/item_structs.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Artefact { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 47 | pub effects: HashMap [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Artefact` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hp` and `mana` are never read [INFO] [stdout] --> src/raws/mob_structs.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Mob { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub hp: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 18 | pub mana: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mob` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `wall_glyph` and `is_revealed_and_wall` are never used [INFO] [stdout] --> src/map/mod.rs:184:8 [INFO] [stdout] | [INFO] [stdout] 100 | impl Map { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 184 | fn wall_glyph(&self, x: i32, y: i32) -> FontCharType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | fn is_revealed_and_wall(&self, x: i32, y: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nested_rooms` should have an upper case name [INFO] [stdout] --> src/map_builders/prefab_builder/prefab_sections.rs:78:7 [INFO] [stdout] | [INFO] [stdout] 78 | const nested_rooms: &str = "\ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 78 - const nested_rooms: &str = "\ [INFO] [stdout] 78 + const NESTED_ROOMS: &str = "\ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 50s [INFO] running `Command { std: "docker" "inspect" "c5bc6186a3b70c96499bfc772e94d43ba17401ac3924b6fe4e112f2882585b94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5bc6186a3b70c96499bfc772e94d43ba17401ac3924b6fe4e112f2882585b94", kill_on_drop: false }` [INFO] [stdout] c5bc6186a3b70c96499bfc772e94d43ba17401ac3924b6fe4e112f2882585b94 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b78e1a8867aab9dc4bf9ea0aeba0ac5c259da9a47faba4c7118c9e77ace29a34 [INFO] running `Command { std: "docker" "start" "-a" "b78e1a8867aab9dc4bf9ea0aeba0ac5c259da9a47faba4c7118c9e77ace29a34", kill_on_drop: false }` [INFO] [stderr] Compiling bracketlib-rougelike v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `console` [INFO] [stdout] --> src/main.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | use bracket_lib::prelude::{console, main_loop, BError, BTerm, BTermBuilder, GameState, Point}; [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: `crate::gui::ItemMenuResult::NoResponse` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::gui::ItemMenuResult::NoResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Any` [INFO] [stdout] --> src/map_builders/mod.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::{Any, type_name_of_val}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::map_builders::bsp_interior::BspInteriorBuilder` [INFO] [stdout] --> src/map_builders/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::map_builders::bsp_interior::BspInteriorBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::map_builders::simple_map::SimpleMapBuilder` [INFO] [stdout] --> src/map_builders/mod.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use crate::map_builders::simple_map::SimpleMapBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bracket_lib::prelude::console` [INFO] [stdout] --> src/map_builders/bsp_dungeon.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use bracket_lib::prelude::console; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TileType` [INFO] [stdout] --> src/map_builders/waveform_collapse/solver.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::map::{Map, TileType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::map_builders::waveform_collapse::constraints::build_patterns` [INFO] [stdout] --> src/map_builders/waveform_collapse/solver.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::map_builders::waveform_collapse::constraints::build_patterns; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/map_builders/town.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/spawner.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/camera.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `console` [INFO] [stdout] --> src/camera.rs:3:76 [INFO] [stdout] | [INFO] [stdout] 3 | use bracket_lib::prelude::{BTerm, CHOCOLATE, Point, SADDLEBROWN, to_cp437, console}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/camera.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | / /// Use the screen dimensions to offset where the camera is looking. This is to preserve the [INFO] [stdout] 120 | | /// viewport with the addition of the GUI [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] 121 | let (x_chars, y_chars) = ((SCREEN_X as f32 * 0.7) as i32, (SCREEN_Y as f32 * 0.7) as i32) ; [INFO] [stdout] | ------------------------------------------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bracket_lib::color::RGB` [INFO] [stdout] --> src/map/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use bracket_lib::color::RGB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTerm` and `to_cp437` [INFO] [stdout] --> src/map/mod.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | use bracket_lib::prelude::{to_cp437, BTerm, FontCharType}; [INFO] [stdout] | ^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:297:20 [INFO] [stdout] | [INFO] [stdout] 297 | if (SHOW_MAPGEN_VISUALIZATION) { [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] 297 - if (SHOW_MAPGEN_VISUALIZATION) { [INFO] [stdout] 297 + if SHOW_MAPGEN_VISUALIZATION { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `specs::error::NoError`: Use std::convert::Infallible instead [INFO] [stdout] --> src/components.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use specs::error::NoError; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `specs::error::NoError`: Use std::convert::Infallible instead [INFO] [stdout] --> src/saveload_system.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | use specs::error::NoError; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `specs::error::NoError`: Use std::convert::Infallible instead [INFO] [stdout] --> src/saveload_system.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | SerializeComponents::>::serialize( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | / serialize_individually! ( [INFO] [stdout] 56 | | ecs, serializer, data, [INFO] [stdout] 57 | | Position, [INFO] [stdout] 58 | | Renderable, [INFO] [stdout] ... | [INFO] [stdout] 101 | | NaturalAttackDefense [INFO] [stdout] 102 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `serialize_individually` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `specs::error::NoError`: Use std::convert::Infallible instead [INFO] [stdout] --> src/saveload_system.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | DeserializeComponents::::deserialize( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | / deserialize_individually!( [INFO] [stdout] 132 | | ecs, de, d, [INFO] [stdout] 133 | | Position, [INFO] [stdout] 134 | | Renderable, [INFO] [stdout] ... | [INFO] [stdout] 177 | | NaturalAttackDefense [INFO] [stdout] 178 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `deserialize_individually` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Join` [INFO] [stdout] --> src/components.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use specs::{Join, WriteStorage}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `specs::WorldExt` [INFO] [stdout] --> src/map_builders/cellular_automata.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use specs::WorldExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `specs::prelude` [INFO] [stdout] --> src/map_builders/simple_map.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use specs::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Builder` [INFO] [stdout] --> src/map_builders/mod.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use specs::{Builder, World}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ecs` [INFO] [stdout] --> src/gui.rs:552:16 [INFO] [stdout] | [INFO] [stdout] 552 | pub fn draw_ui(ecs: &World, ctx: &mut BTerm) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ecs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/map_builders/simple_map.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | for i in 0..MAX_ROOMS { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 29 | for _i in 0..MAX_ROOMS { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `SCREEN_Y` [INFO] [stdout] | [INFO] [stdout] 29 - for i in 0..MAX_ROOMS { [INFO] [stdout] 29 + for SCREEN_Y in 0..MAX_ROOMS { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/map_builders/prefab_builder/mod.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | let mut string_vec = PrefabBuilder::read_ascii_to_vec(level.template); [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: `rng` [INFO] [stdout] --> src/map_builders/mod.rs:181:33 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn town_builder(depth: i32, rng: &mut RandomNumberGenerator, width: i32, height: i32) -> BuilderChain { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/camera.rs:116:39 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn get_screen_bounds(ecs: &World, ctx: &mut BTerm) -> (i32, i32, i32, i32){ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/raws/rawmaster.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let mut eb = new_entity; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_hollow_box` is never used [INFO] [stdout] --> src/gui.rs:529:8 [INFO] [stdout] | [INFO] [stdout] 529 | pub fn draw_hollow_box( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_ui` is never used [INFO] [stdout] --> src/gui.rs:552:8 [INFO] [stdout] | [INFO] [stdout] 552 | pub fn draw_ui(ecs: &World, ctx: &mut BTerm) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_shape_builder` is never used [INFO] [stdout] --> src/map_builders/mod.rs:259:4 [INFO] [stdout] | [INFO] [stdout] 259 | fn random_shape_builder(rng: &mut RandomNumberGenerator, builder: &mut BuilderChain) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MIN_ROOM_SIZE` is never used [INFO] [stdout] --> src/map_builders/bsp_interior.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const MIN_ROOM_SIZE: i32 = 10; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BspInteriorBuilder` is never constructed [INFO] [stdout] --> src/map_builders/bsp_interior.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct BspInteriorBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `build`, and `add_subrects` are never used [INFO] [stdout] --> src/map_builders/bsp_interior.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl BspInteriorBuilder { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 21 | pub fn new() -> Box { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn build(&mut self, rng: &mut RandomNumberGenerator, build_data: &mut BuilderMap) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn add_subrects(&mut self, rect: Rect, rng: &mut RandomNumberGenerator) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CellularAutomataBuilder` is never constructed [INFO] [stdout] --> src/map_builders/cellular_automata.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct CellularAutomataBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `build`, and `apply_iteration` are never used [INFO] [stdout] --> src/map_builders/cellular_automata.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl CellularAutomataBuilder { [INFO] [stdout] | ---------------------------- associated items in this implementation [INFO] [stdout] 23 | pub fn new() -> Box { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn build(&mut self, rng: &mut RandomNumberGenerator, build_data: &mut BuilderMap) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | fn apply_iteration(&mut self, build_data: &mut BuilderMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Horizontal`, `Vertical`, and `Both` are never constructed [INFO] [stdout] --> src/map_builders/common.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 58 | pub enum Symmetry { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 59 | None, [INFO] [stdout] 60 | Horizontal, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 61 | Vertical, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 62 | Both, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Symmetry` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `WalkInwards` and `CentralAttractor` are never constructed [INFO] [stdout] --> src/map_builders/dla.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum DLAAlgoritm { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 14 | WalkInwards, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 15 | WalkOutwards, [INFO] [stdout] 16 | CentralAttractor, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DLAAlgoritm` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/map_builders/dla.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl DLABuilder { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn walk_inward() -> Box { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn heavy_erosion() -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn walk_outward() -> Box { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn central_attractor() -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn insectoid() -> Box { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn walk_inwards_symmetry() -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn walk_outward_symmetry() -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DrunkSpawnMode` is never used [INFO] [stdout] --> src/map_builders/drunkards.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum DrunkSpawnMode { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DrunkardSettings` is never constructed [INFO] [stdout] --> src/map_builders/drunkards.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct DrunkardSettings { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DrunkardsWalkBuilder` is never constructed [INFO] [stdout] --> src/map_builders/drunkards.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct DrunkardsWalkBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/map_builders/drunkards.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl DrunkardsWalkBuilder { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 41 | pub fn open_area() -> Box { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn open_halls() -> Box { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn fat_passages() -> Box { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn winding_passages() -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn symmetrical_passages() -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn crazy_beer_goggles() -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | fn build(&mut self, rng: &mut RandomNumberGenerator, build_data: &mut BuilderMap) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TOP` is never used [INFO] [stdout] --> src/map_builders/maze.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const TOP: usize = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RIGHT` is never used [INFO] [stdout] --> src/map_builders/maze.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const RIGHT: usize = 1; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BOTTOM` is never used [INFO] [stdout] --> src/map_builders/maze.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const BOTTOM: usize = 2; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LEFT` is never used [INFO] [stdout] --> src/map_builders/maze.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const LEFT: usize = 3; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cell` is never constructed [INFO] [stdout] --> src/map_builders/maze.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct Cell { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `remove_walls` are never used [INFO] [stdout] --> src/map_builders/maze.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Cell { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 22 | pub fn new(row: i32, col: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | fn remove_walls(&mut self, next: &mut Cell) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Grid` is never constructed [INFO] [stdout] --> src/map_builders/maze.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | struct Grid<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `calculate_index`, `get_available_neighbors`, `find_next_cell`, `generate_maze`, and `copy_to_map` are never used [INFO] [stdout] --> src/map_builders/maze.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 60 | impl<'a> Grid<'a> { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 61 | pub fn new(width: i32, height: i32, rng: &'a mut RandomNumberGenerator) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn calculate_index(&self, row: i32, col: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | fn get_available_neighbors(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | fn find_next_cell(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | fn generate_maze(&mut self, build_data: &mut BuilderMap) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | fn copy_to_map(&self, map: &mut Map) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MazeBuilder` is never constructed [INFO] [stdout] --> src/map_builders/maze.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 184 | pub struct MazeBuilder { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `build` are never used [INFO] [stdout] --> src/map_builders/maze.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 193 | impl MazeBuilder { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 194 | pub fn new() -> Box { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | fn build(&mut self, rng: &mut RandomNumberGenerator, build_data: &mut BuilderMap) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SimpleMapBuilder` is never constructed [INFO] [stdout] --> src/map_builders/simple_map.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct SimpleMapBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `build_rooms` are never used [INFO] [stdout] --> src/map_builders/simple_map.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl SimpleMapBuilder { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 18 | pub fn new() -> Box { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | fn build_rooms(&mut self, rng: &mut RandomNumberGenerator, build_data: &mut BuilderMap) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DistanceAlgorithm` is never used [INFO] [stdout] --> src/map_builders/voronoi.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum DistanceAlgorithm { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VoronoiCellBuilder` is never constructed [INFO] [stdout] --> src/map_builders/voronoi.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct VoronoiCellBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `pythagoras`, `manhattan`, `chebyshev`, and `build` are never used [INFO] [stdout] --> src/map_builders/voronoi.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl VoronoiCellBuilder { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 27 | pub fn pythagoras() -> Box { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn manhattan() -> Box { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn chebyshev() -> Box { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn build(&mut self, rng: &mut RandomNumberGenerator, build_data: &mut BuilderMap) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `WaveformMode` is never used [INFO] [stdout] --> src/map_builders/waveform_collapse/mod.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum WaveformMode { TestMap, Derived } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `RexLevel`, `Constant`, and `RoomVaults` are never constructed [INFO] [stdout] --> src/map_builders/prefab_builder/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum PrefabMode { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 19 | RexLevel { template: &'static str }, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | Constant { level: PrefabLevel }, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 21 | Sectional { section: PrefabSection }, [INFO] [stdout] 22 | RoomVaults, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PrefabMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `rex_level`, `constant`, and `vaults` are never used [INFO] [stdout] --> src/map_builders/prefab_builder/mod.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl PrefabBuilder { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 42 | pub fn new() -> Box { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn rex_level(template: &'static str) -> Box { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn constant(level: PrefabLevel) -> Box { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn vaults() -> Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WFC_POPULATED` is never used [INFO] [stdout] --> src/map_builders/prefab_builder/prefab_levels.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const WFC_POPULATED: PrefabLevel = PrefabLevel { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LEVEL_MAP` is never used [INFO] [stdout] --> src/map_builders/prefab_builder/prefab_levels.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const LEVEL_MAP: &str = "\ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Left` and `Center` are never constructed [INFO] [stdout] --> src/map_builders/prefab_builder/prefab_sections.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum HorizontalPlacement{ Left, Center, Right} [INFO] [stdout] | ------------------- ^^^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | variants in this enum [INFO] [stdout] | [INFO] [stdout] = note: `HorizontalPlacement` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Center` and `Bottom` are never constructed [INFO] [stdout] --> src/map_builders/prefab_builder/prefab_sections.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum VerticalPlacement{ Top, Center, Bottom } [INFO] [stdout] | ----------------- ^^^^^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | variants in this enum [INFO] [stdout] | [INFO] [stdout] = note: `VerticalPlacement` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NESTED_ROOMS` is never used [INFO] [stdout] --> src/map_builders/prefab_builder/prefab_sections.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub const NESTED_ROOMS: PrefabSection = PrefabSection{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nested_rooms` is never used [INFO] [stdout] --> src/map_builders/prefab_builder/prefab_sections.rs:78:7 [INFO] [stdout] | [INFO] [stdout] 78 | const nested_rooms: &str = "\ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DoorPlacement` is never constructed [INFO] [stdout] --> src/map_builders/door_placement.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct DoorPlacement {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `door`, and `door_possible` are never used [INFO] [stdout] --> src/map_builders/door_placement.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl DoorPlacement { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 15 | pub fn new() -> Box { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | fn door(&mut self, rng: &mut RandomNumberGenerator, build_data: &mut BuilderMap) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn door_possible(&self, build_data: &mut BuilderMap, x: usize, y: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `level_builder` is never used [INFO] [stdout] --> src/map_builders/town.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn level_builder(new_depth: i32, rng: &mut RandomNumberGenerator, width: i32, height: i32) -> BuilderChain { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_map` is never used [INFO] [stdout] --> src/camera.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn render_map(map: &Map, ctx: &mut BTerm) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `range` is never read [INFO] [stdout] --> src/raws/item_structs.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Weapon { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 32 | pub range: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Weapon` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `effects` is never read [INFO] [stdout] --> src/raws/item_structs.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Artefact { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 47 | pub effects: HashMap [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Artefact` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hp` and `mana` are never read [INFO] [stdout] --> src/raws/mob_structs.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Mob { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub hp: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 18 | pub mana: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mob` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `wall_glyph` and `is_revealed_and_wall` are never used [INFO] [stdout] --> src/map/mod.rs:184:8 [INFO] [stdout] | [INFO] [stdout] 100 | impl Map { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 184 | fn wall_glyph(&self, x: i32, y: i32) -> FontCharType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | fn is_revealed_and_wall(&self, x: i32, y: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nested_rooms` should have an upper case name [INFO] [stdout] --> src/map_builders/prefab_builder/prefab_sections.rs:78:7 [INFO] [stdout] | [INFO] [stdout] 78 | const nested_rooms: &str = "\ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 78 - const nested_rooms: &str = "\ [INFO] [stdout] 78 + const NESTED_ROOMS: &str = "\ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.51s [INFO] running `Command { std: "docker" "inspect" "b78e1a8867aab9dc4bf9ea0aeba0ac5c259da9a47faba4c7118c9e77ace29a34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b78e1a8867aab9dc4bf9ea0aeba0ac5c259da9a47faba4c7118c9e77ace29a34", kill_on_drop: false }` [INFO] [stdout] b78e1a8867aab9dc4bf9ea0aeba0ac5c259da9a47faba4c7118c9e77ace29a34