[INFO] cloning repository https://github.com/tylervipond/tell-lands-roguelike [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tylervipond/tell-lands-roguelike" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftylervipond%2Ftell-lands-roguelike", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftylervipond%2Ftell-lands-roguelike'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 83ca41499009fc1920b2d08049e4e0a9372be726 [INFO] building tylervipond/tell-lands-roguelike against master#461e8078010433ff7de2db2aaae8a3cfb0847215 for pr-94962 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftylervipond%2Ftell-lands-roguelike" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 7% (32/419) Updating files: 8% (34/419) Updating files: 9% (38/419) Updating files: 10% (42/419) Updating files: 11% (47/419) Updating files: 12% (51/419) Updating files: 13% (55/419) Updating files: 14% (59/419) Updating files: 15% (63/419) Updating files: 16% (68/419) Updating files: 17% (72/419) Updating files: 18% (76/419) Updating files: 19% (80/419) Updating files: 20% (84/419) Updating files: 21% (88/419) Updating files: 22% (93/419) Updating files: 23% (97/419) Updating files: 24% (101/419) Updating files: 25% (105/419) Updating files: 26% (109/419) Updating files: 27% (114/419) Updating files: 28% (118/419) Updating files: 29% (122/419) Updating files: 30% (126/419) Updating files: 31% (130/419) Updating files: 32% (135/419) Updating files: 33% (139/419) Updating files: 34% (143/419) Updating files: 35% (147/419) Updating files: 36% (151/419) Updating files: 37% (156/419) Updating files: 38% (160/419) Updating files: 39% (164/419) Updating files: 40% (168/419) Updating files: 41% (172/419) Updating files: 42% (176/419) Updating files: 43% (181/419) Updating files: 44% (185/419) Updating files: 45% (189/419) Updating files: 46% (193/419) Updating files: 47% (197/419) Updating files: 48% (202/419) Updating files: 49% (206/419) Updating files: 50% (210/419) Updating files: 51% (214/419) Updating files: 52% (218/419) Updating files: 53% (223/419) Updating files: 54% (227/419) Updating files: 55% (231/419) Updating files: 56% (235/419) Updating files: 57% (239/419) Updating files: 58% (244/419) Updating files: 59% (248/419) Updating files: 60% (252/419) Updating files: 61% (256/419) Updating files: 62% (260/419) Updating files: 63% (264/419) Updating files: 64% (269/419) Updating files: 65% (273/419) Updating files: 66% (277/419) Updating files: 67% (281/419) Updating files: 68% (285/419) Updating files: 69% (290/419) Updating files: 70% (294/419) Updating files: 71% (298/419) Updating files: 72% (302/419) Updating files: 73% (306/419) Updating files: 74% (311/419) Updating files: 75% (315/419) Updating files: 76% (319/419) Updating files: 77% (323/419) Updating files: 78% (327/419) Updating files: 79% (332/419) Updating files: 80% (336/419) Updating files: 81% (340/419) Updating files: 82% (344/419) Updating files: 83% (348/419) Updating files: 84% (352/419) Updating files: 85% (357/419) Updating files: 86% (361/419) Updating files: 87% (365/419) Updating files: 88% (369/419) Updating files: 89% (373/419) Updating files: 90% (378/419) Updating files: 91% (382/419) Updating files: 92% (386/419) Updating files: 93% (390/419) Updating files: 94% (394/419) Updating files: 95% (399/419) Updating files: 96% (403/419) Updating files: 97% (407/419) Updating files: 98% (411/419) Updating files: 99% (415/419) Updating files: 100% (419/419) Updating files: 100% (419/419), done. [INFO] validating manifest of git repo https://github.com/tylervipond/tell-lands-roguelike on toolchain 461e8078010433ff7de2db2aaae8a3cfb0847215 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+461e8078010433ff7de2db2aaae8a3cfb0847215" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tylervipond/tell-lands-roguelike [INFO] finished tweaking git repo https://github.com/tylervipond/tell-lands-roguelike [INFO] tweaked toml for git repo https://github.com/tylervipond/tell-lands-roguelike written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/tylervipond/tell-lands-roguelike already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+461e8078010433ff7de2db2aaae8a3cfb0847215" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/tylervipond/simple-astar` [INFO] [stderr] Updating git repository `https://github.com/tylervipond/stamp-rs` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded derivative v1.0.4 [INFO] [stderr] Downloaded shred v0.9.4 [INFO] [stderr] Downloaded atom v0.3.6 [INFO] [stderr] Downloaded specs v0.15.1 [INFO] [stderr] Downloaded rltk v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+461e8078010433ff7de2db2aaae8a3cfb0847215" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9ce096ab7079ee15f3d48132e5ce290aa8170c755b126e3c3acfe9822cddbd16 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9ce096ab7079ee15f3d48132e5ce290aa8170c755b126e3c3acfe9822cddbd16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ce096ab7079ee15f3d48132e5ce290aa8170c755b126e3c3acfe9822cddbd16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ce096ab7079ee15f3d48132e5ce290aa8170c755b126e3c3acfe9822cddbd16", kill_on_drop: false }` [INFO] [stdout] 9ce096ab7079ee15f3d48132e5ce290aa8170c755b126e3c3acfe9822cddbd16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+461e8078010433ff7de2db2aaae8a3cfb0847215" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 41402ea4be113a820b7d707b653d7aff314a8e9353d961b4487a09efff733630 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "41402ea4be113a820b7d707b653d7aff314a8e9353d961b4487a09efff733630", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.75 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling bumpalo v3.7.0 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling wasm-bindgen v0.2.75 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling anyhow v1.0.42 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling futures-sink v0.3.16 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling cpal v0.13.3 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling futures-io v0.3.16 [INFO] [stderr] Compiling glow v0.10.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling mopa v0.2.2 [INFO] [stderr] Compiling atom v0.3.6 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling basedrop v0.1.2 [INFO] [stderr] Compiling tuple_utils v0.3.0 [INFO] [stderr] Compiling shrev v1.1.1 [INFO] [stderr] Compiling hound v3.4.0 [INFO] [stderr] Compiling claxon v0.4.3 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling ogg v0.8.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling safe_arch v0.5.2 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling atomic v0.5.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling tinyvec v1.3.1 [INFO] [stderr] Compiling ringbuf v0.2.6 [INFO] [stderr] Compiling hashbrown v0.6.3 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling simple_astar v0.1.0 (https://github.com/tylervipond/simple-astar#969419d7) [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling wide v0.6.5 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling lewton v0.10.2 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling const-random-macro v0.1.13 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling slice-deque v0.3.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling ultraviolet v0.8.1 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling const-random v0.1.13 [INFO] [stderr] Compiling xcursor v0.3.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling object-pool v0.5.4 [INFO] [stderr] Compiling ahash v0.2.19 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.75 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling alsa v0.5.0 [INFO] [stderr] Compiling derivative v1.0.4 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.75 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling specs-derive v0.4.1 [INFO] [stderr] Compiling hibitset v0.6.3 [INFO] [stderr] Compiling shred v0.9.4 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.75 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling wayland-egl v0.28.6 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling minimp3 v0.5.1 [INFO] [stderr] Compiling kira v0.5.3 [INFO] [stderr] Compiling js-sys v0.3.52 [INFO] [stderr] Compiling futures-executor v0.3.16 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.3 [INFO] [stderr] Compiling futures v0.3.16 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.25 [INFO] [stderr] Compiling web-sys v0.3.52 [INFO] [stderr] Compiling bracket-geometry v0.8.3 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling winit v0.24.0 [INFO] [stderr] Compiling bracket-color v0.8.2 [INFO] [stderr] Compiling ron v0.6.4 [INFO] [stderr] Compiling specs v0.15.1 [INFO] [stderr] Compiling stamp-rs v0.5.3 (https://github.com/tylervipond/stamp-rs#adc6cd3f) [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 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.0 [INFO] [stderr] Compiling apprentice v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/components/combat_stats.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | (self.hp as f32 / self.max_hp as f32) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 54 - (self.hp as f32 / self.max_hp as f32) [INFO] [stdout] 54 + self.hp as f32 / self.max_hp as f32 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BEvent`, `Rltk`, `VirtualKeyCode` [INFO] [stdout] --> src/mouse.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use rltk::{BEvent, Rltk, VirtualKeyCode, INPUT}; [INFO] [stdout] | ^^^^^^ ^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SCREEN_WIDTH` [INFO] [stdout] --> src/screens/create_character_screen.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | SCREEN_PADDING, SCREEN_WIDTH, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SCREEN_WIDTH` [INFO] [stdout] --> src/screens/create_item_menu_screen.rs:4:43 [INFO] [stdout] | [INFO] [stdout] 4 | use super::{create_screen::create_screen, SCREEN_WIDTH}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LIGHT_GREEN` [INFO] [stdout] --> src/screens/utils.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | use rltk::{GREY, LIGHT_GREEN, ORANGE, RGB}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/services/corpse_spawner.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BLUE2` [INFO] [stdout] --> src/services/sound_effect_spawner.rs:2:92 [INFO] [stdout] | [INFO] [stdout] 2 | use rltk::{DARKGREY, DARKORANGE, DARKRED, DARKSLATEGREY, RGB, LIGHTSEAGREEN, DARKSEAGREEN, BLUE2, BLUEVIOLET}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/state.rs:2296:32 [INFO] [stdout] | [INFO] [stdout] 2296 | ... if (id == 1 && !has_save_game) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2296 - if (id == 1 && !has_save_game) { [INFO] [stdout] 2296 + if id == 1 && !has_save_game { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::components::causes_light::LightType` [INFO] [stdout] --> src/systems/fire_spread_system.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::components::causes_light::LightType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ReadExpect` [INFO] [stdout] --> src/systems/map_indexing_system.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | use specs::{Entities, Entity, Join, ReadExpect, ReadStorage, System, WriteExpect}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `level_utils` [INFO] [stdout] --> src/systems/open_door_system.rs:2:40 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::dungeon::{dungeon::Dungeon, level_utils, tile_type::TileType}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/control.rs:170:17 [INFO] [stdout] | [INFO] [stdout] 170 | Self::Key(VirtualKeyCode::Period) => ".", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/control.rs:180:17 [INFO] [stdout] | [INFO] [stdout] 180 | Self::Key(VirtualKeyCode::Slash) => "/", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/control.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | Self::Key(VirtualKeyCode::Minus) => "Minus", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/control.rs:235:17 [INFO] [stdout] | [INFO] [stdout] 235 | _ => None, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mouse_pos` [INFO] [stdout] --> src/screens/create_item_menu_screen.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | mouse_pos: (i32, i32), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mouse_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/close_door_system.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | let mut level = dungeon.get_level_mut(&door_position.level).unwrap(); [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: variable does not need to be mutable [INFO] [stdout] --> src/systems/open_door_system.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | let mut level = dungeon.get_level_mut(&door_position.level).unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CTA_INTERACT` [INFO] [stdout] --> src/copy.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / pub const CTA_INTERACT: &str = [INFO] [stdout] 2 | | "Press LEFT and RIGHT to select a target to interact with, ESC to cancel"; [INFO] [stdout] | |______________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CTA_INTERACT_GRAB` [INFO] [stdout] --> src/copy.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / pub const CTA_INTERACT_GRAB: &str = [INFO] [stdout] 4 | | "Press LEFT and RIGHT to select a target to grab, ESC to cancel"; [INFO] [stdout] | |_____________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CTA_INTERACT_ATTACK` [INFO] [stdout] --> src/copy.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / pub const CTA_INTERACT_ATTACK: &str = [INFO] [stdout] 6 | | "Press LEFT and RIGHT to select an enemy to attack, ESC to cancel"; [INFO] [stdout] | |_______________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CTA_INTERACT_DOUSE` [INFO] [stdout] --> src/copy.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub const CTA_INTERACT_DOUSE: &str = [INFO] [stdout] 8 | | "Press LEFT and RIGHT to select a light source to douse, ESC to cancel"; [INFO] [stdout] | |____________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CTA_INTERACT_LIGHT` [INFO] [stdout] --> src/copy.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / pub const CTA_INTERACT_LIGHT: &str = [INFO] [stdout] 10 | | "Press LEFT and RIGHT to select a light source to light, ESC to cancel"; [INFO] [stdout] | |____________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CTA_INTERACT_PICKUP` [INFO] [stdout] --> src/copy.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / pub const CTA_INTERACT_PICKUP: &str = [INFO] [stdout] 12 | | "Press LEFT and RIGHT to select an item to pick up, ESC to cancel"; [INFO] [stdout] | |_______________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CTA_INTERACT_HIDE` [INFO] [stdout] --> src/copy.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / pub const CTA_INTERACT_HIDE: &str = [INFO] [stdout] 14 | | "Press LEFT and RIGHT to select a hiding spot to hide in, ESC to cancel"; [INFO] [stdout] | |_____________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CTA_INTERACT_DISARM` [INFO] [stdout] --> src/copy.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / pub const CTA_INTERACT_DISARM: &str = [INFO] [stdout] 16 | | "Press LEFT and RIGHT to select a trap to disarm, ESC to cancel"; [INFO] [stdout] | |_____________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CTA_INTERACT_ARM` [INFO] [stdout] --> src/copy.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub const CTA_INTERACT_ARM: &str = "Press LEFT and RIGHT to select a trap to arm, ESC to cancel"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CTA_INTERACT_OPEN_CONTAINER` [INFO] [stdout] --> src/copy.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / pub const CTA_INTERACT_OPEN_CONTAINER: &str = [INFO] [stdout] 19 | | "Press LEFT and RIGHT to select a container to open, ESC to cancel"; [INFO] [stdout] | |________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CTA_INTERACT_OPEN_DOOR` [INFO] [stdout] --> src/copy.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / pub const CTA_INTERACT_OPEN_DOOR: &str = [INFO] [stdout] 21 | | "Press LEFT and RIGHT to select a door to open, ESC to cancel"; [INFO] [stdout] | |___________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OpenContainer` [INFO] [stdout] --> src/run_state.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | OpenContainer, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TargetIntent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/run_state.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(PartialEq, Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Grab` [INFO] [stdout] --> src/run_state.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Grab, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TargetIntent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/run_state.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(PartialEq, Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Disarm` [INFO] [stdout] --> src/run_state.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Disarm, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TargetIntent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/run_state.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(PartialEq, Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Arm` [INFO] [stdout] --> src/run_state.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | Arm, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `TargetIntent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/run_state.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(PartialEq, Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HideIn` [INFO] [stdout] --> src/run_state.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | HideIn, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TargetIntent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/run_state.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(PartialEq, Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Pickup` [INFO] [stdout] --> src/run_state.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Pickup, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TargetIntent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/run_state.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(PartialEq, Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OpenDoor` [INFO] [stdout] --> src/run_state.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | OpenDoor, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TargetIntent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/run_state.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(PartialEq, Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Attack` [INFO] [stdout] --> src/run_state.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Attack, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TargetIntent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/run_state.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(PartialEq, Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Light` [INFO] [stdout] --> src/run_state.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Light, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TargetIntent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/run_state.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(PartialEq, Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Douse` [INFO] [stdout] --> src/run_state.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Douse, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TargetIntent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/run_state.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(PartialEq, Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `spawn_boots_of_antelope` [INFO] [stdout] --> src/spawner.rs:174:4 [INFO] [stdout] | [INFO] [stdout] 174 | fn spawn_boots_of_antelope(world: &mut World) -> Entity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `spawn_cloak_of_depths` [INFO] [stdout] --> src/spawner.rs:254:4 [INFO] [stdout] | [INFO] [stdout] 254 | fn spawn_cloak_of_depths(world: &mut World) -> Entity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `spawn_mithril_thread_cloak` [INFO] [stdout] --> src/spawner.rs:307:4 [INFO] [stdout] | [INFO] [stdout] 307 | fn spawn_mithril_thread_cloak(world: &mut World) -> Entity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `spawn_helm_of_bat` [INFO] [stdout] --> src/spawner.rs:402:4 [INFO] [stdout] | [INFO] [stdout] 402 | fn spawn_helm_of_bat(world: &mut World) -> Entity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `spawn_helm_of_squid` [INFO] [stdout] --> src/spawner.rs:457:4 [INFO] [stdout] | [INFO] [stdout] 457 | fn spawn_helm_of_squid(world: &mut World) -> Entity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `select_next_idx` [INFO] [stdout] --> src/utils.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn select_next_idx(idx: usize, length: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `select_previous_idx` [INFO] [stdout] --> src/utils.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn select_previous_idx(idx: usize, length: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Flee` [INFO] [stdout] --> src/ai/action.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Flee(usize), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Action` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ai/action.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_top_floor_number` [INFO] [stdout] --> src/dungeon/dungeon.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn get_top_floor_number(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_bottom_floor_number` [INFO] [stdout] --> src/dungeon/dungeon.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn get_bottom_floor_number(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `intersects_rect` [INFO] [stdout] --> src/dungeon/rect.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn intersects_rect(&self, other: &Self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_room_with_room_part_at_coords` [INFO] [stdout] --> src/dungeon/room.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn update_room_with_room_part_at_coords( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `audio_manager` [INFO] [stdout] --> src/music/not_wasm.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | audio_manager: AudioManager, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `request_explosion_sound` [INFO] [stdout] --> src/services/sound_spawner.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn request_explosion_sound(&mut self, idx: usize, level: i32, volume: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `audio_manager` [INFO] [stdout] --> src/sounds/not_wasm.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | audio_manager: AudioManager, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INTERNAL_PADDING` [INFO] [stdout] --> src/ui_components/constants.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub const INTERNAL_PADDING: u8 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_text_line_cta` [INFO] [stdout] --> src/ui_components/create_text_line_cta.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn create_text_line_cta(position: (i32, i32), text: String, id: Option) -> UI { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 56 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6m 05s [INFO] running `Command { std: "docker" "inspect" "41402ea4be113a820b7d707b653d7aff314a8e9353d961b4487a09efff733630", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41402ea4be113a820b7d707b653d7aff314a8e9353d961b4487a09efff733630", kill_on_drop: false }` [INFO] [stdout] 41402ea4be113a820b7d707b653d7aff314a8e9353d961b4487a09efff733630 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+461e8078010433ff7de2db2aaae8a3cfb0847215" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 729aa219893edcdf6b410e0d0737ab3f22a735f2db3582aa78359704e133fc94 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "729aa219893edcdf6b410e0d0737ab3f22a735f2db3582aa78359704e133fc94", kill_on_drop: false }` [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/components/combat_stats.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | (self.hp as f32 / self.max_hp as f32) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 54 - (self.hp as f32 / self.max_hp as f32) [INFO] [stdout] 54 + self.hp as f32 / self.max_hp as f32 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BEvent`, `Rltk`, `VirtualKeyCode` [INFO] [stdout] --> src/mouse.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use rltk::{BEvent, Rltk, VirtualKeyCode, INPUT}; [INFO] [stdout] | ^^^^^^ ^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SCREEN_WIDTH` [INFO] [stdout] --> src/screens/create_character_screen.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | SCREEN_PADDING, SCREEN_WIDTH, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SCREEN_WIDTH` [INFO] [stdout] --> src/screens/create_item_menu_screen.rs:4:43 [INFO] [stdout] | [INFO] [stdout] 4 | use super::{create_screen::create_screen, SCREEN_WIDTH}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LIGHT_GREEN` [INFO] [stdout] --> src/screens/utils.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | use rltk::{GREY, LIGHT_GREEN, ORANGE, RGB}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/services/corpse_spawner.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BLUE2` [INFO] [stdout] --> src/services/sound_effect_spawner.rs:2:92 [INFO] [stdout] | [INFO] [stdout] 2 | use rltk::{DARKGREY, DARKORANGE, DARKRED, DARKSLATEGREY, RGB, LIGHTSEAGREEN, DARKSEAGREEN, BLUE2, BLUEVIOLET}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/state.rs:2296:32 [INFO] [stdout] | [INFO] [stdout] 2296 | ... if (id == 1 && !has_save_game) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2296 - if (id == 1 && !has_save_game) { [INFO] [stdout] 2296 + if id == 1 && !has_save_game { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::components::causes_light::LightType` [INFO] [stdout] --> src/systems/fire_spread_system.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::components::causes_light::LightType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ReadExpect` [INFO] [stdout] --> src/systems/map_indexing_system.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | use specs::{Entities, Entity, Join, ReadExpect, ReadStorage, System, WriteExpect}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `level_utils` [INFO] [stdout] --> src/systems/open_door_system.rs:2:40 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::dungeon::{dungeon::Dungeon, level_utils, tile_type::TileType}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/control.rs:170:17 [INFO] [stdout] | [INFO] [stdout] 170 | Self::Key(VirtualKeyCode::Period) => ".", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/control.rs:180:17 [INFO] [stdout] | [INFO] [stdout] 180 | Self::Key(VirtualKeyCode::Slash) => "/", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/control.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | Self::Key(VirtualKeyCode::Minus) => "Minus", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/control.rs:235:17 [INFO] [stdout] | [INFO] [stdout] 235 | _ => None, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mouse_pos` [INFO] [stdout] --> src/screens/create_item_menu_screen.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | mouse_pos: (i32, i32), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mouse_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/close_door_system.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | let mut level = dungeon.get_level_mut(&door_position.level).unwrap(); [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: variable does not need to be mutable [INFO] [stdout] --> src/systems/open_door_system.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | let mut level = dungeon.get_level_mut(&door_position.level).unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CTA_INTERACT` [INFO] [stdout] --> src/copy.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / pub const CTA_INTERACT: &str = [INFO] [stdout] 2 | | "Press LEFT and RIGHT to select a target to interact with, ESC to cancel"; [INFO] [stdout] | |______________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CTA_INTERACT_GRAB` [INFO] [stdout] --> src/copy.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / pub const CTA_INTERACT_GRAB: &str = [INFO] [stdout] 4 | | "Press LEFT and RIGHT to select a target to grab, ESC to cancel"; [INFO] [stdout] | |_____________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CTA_INTERACT_ATTACK` [INFO] [stdout] --> src/copy.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / pub const CTA_INTERACT_ATTACK: &str = [INFO] [stdout] 6 | | "Press LEFT and RIGHT to select an enemy to attack, ESC to cancel"; [INFO] [stdout] | |_______________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CTA_INTERACT_DOUSE` [INFO] [stdout] --> src/copy.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub const CTA_INTERACT_DOUSE: &str = [INFO] [stdout] 8 | | "Press LEFT and RIGHT to select a light source to douse, ESC to cancel"; [INFO] [stdout] | |____________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CTA_INTERACT_LIGHT` [INFO] [stdout] --> src/copy.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / pub const CTA_INTERACT_LIGHT: &str = [INFO] [stdout] 10 | | "Press LEFT and RIGHT to select a light source to light, ESC to cancel"; [INFO] [stdout] | |____________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CTA_INTERACT_PICKUP` [INFO] [stdout] --> src/copy.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / pub const CTA_INTERACT_PICKUP: &str = [INFO] [stdout] 12 | | "Press LEFT and RIGHT to select an item to pick up, ESC to cancel"; [INFO] [stdout] | |_______________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CTA_INTERACT_HIDE` [INFO] [stdout] --> src/copy.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / pub const CTA_INTERACT_HIDE: &str = [INFO] [stdout] 14 | | "Press LEFT and RIGHT to select a hiding spot to hide in, ESC to cancel"; [INFO] [stdout] | |_____________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CTA_INTERACT_DISARM` [INFO] [stdout] --> src/copy.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / pub const CTA_INTERACT_DISARM: &str = [INFO] [stdout] 16 | | "Press LEFT and RIGHT to select a trap to disarm, ESC to cancel"; [INFO] [stdout] | |_____________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CTA_INTERACT_ARM` [INFO] [stdout] --> src/copy.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub const CTA_INTERACT_ARM: &str = "Press LEFT and RIGHT to select a trap to arm, ESC to cancel"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CTA_INTERACT_OPEN_CONTAINER` [INFO] [stdout] --> src/copy.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / pub const CTA_INTERACT_OPEN_CONTAINER: &str = [INFO] [stdout] 19 | | "Press LEFT and RIGHT to select a container to open, ESC to cancel"; [INFO] [stdout] | |________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CTA_INTERACT_OPEN_DOOR` [INFO] [stdout] --> src/copy.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / pub const CTA_INTERACT_OPEN_DOOR: &str = [INFO] [stdout] 21 | | "Press LEFT and RIGHT to select a door to open, ESC to cancel"; [INFO] [stdout] | |___________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OpenContainer` [INFO] [stdout] --> src/run_state.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | OpenContainer, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TargetIntent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/run_state.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(PartialEq, Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Grab` [INFO] [stdout] --> src/run_state.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Grab, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TargetIntent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/run_state.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(PartialEq, Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Disarm` [INFO] [stdout] --> src/run_state.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Disarm, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TargetIntent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/run_state.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(PartialEq, Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Arm` [INFO] [stdout] --> src/run_state.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | Arm, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `TargetIntent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/run_state.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(PartialEq, Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HideIn` [INFO] [stdout] --> src/run_state.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | HideIn, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TargetIntent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/run_state.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(PartialEq, Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Pickup` [INFO] [stdout] --> src/run_state.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Pickup, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TargetIntent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/run_state.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(PartialEq, Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OpenDoor` [INFO] [stdout] --> src/run_state.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | OpenDoor, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TargetIntent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/run_state.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(PartialEq, Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Attack` [INFO] [stdout] --> src/run_state.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Attack, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TargetIntent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/run_state.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(PartialEq, Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Light` [INFO] [stdout] --> src/run_state.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Light, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TargetIntent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/run_state.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(PartialEq, Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Douse` [INFO] [stdout] --> src/run_state.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Douse, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TargetIntent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/run_state.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(PartialEq, Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `spawn_boots_of_antelope` [INFO] [stdout] --> src/spawner.rs:174:4 [INFO] [stdout] | [INFO] [stdout] 174 | fn spawn_boots_of_antelope(world: &mut World) -> Entity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `spawn_cloak_of_depths` [INFO] [stdout] --> src/spawner.rs:254:4 [INFO] [stdout] | [INFO] [stdout] 254 | fn spawn_cloak_of_depths(world: &mut World) -> Entity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `spawn_mithril_thread_cloak` [INFO] [stdout] --> src/spawner.rs:307:4 [INFO] [stdout] | [INFO] [stdout] 307 | fn spawn_mithril_thread_cloak(world: &mut World) -> Entity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `spawn_helm_of_bat` [INFO] [stdout] --> src/spawner.rs:402:4 [INFO] [stdout] | [INFO] [stdout] 402 | fn spawn_helm_of_bat(world: &mut World) -> Entity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `spawn_helm_of_squid` [INFO] [stdout] --> src/spawner.rs:457:4 [INFO] [stdout] | [INFO] [stdout] 457 | fn spawn_helm_of_squid(world: &mut World) -> Entity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `select_next_idx` [INFO] [stdout] --> src/utils.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn select_next_idx(idx: usize, length: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `select_previous_idx` [INFO] [stdout] --> src/utils.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn select_previous_idx(idx: usize, length: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Flee` [INFO] [stdout] --> src/ai/action.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Flee(usize), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Action` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ai/action.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_top_floor_number` [INFO] [stdout] --> src/dungeon/dungeon.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn get_top_floor_number(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_bottom_floor_number` [INFO] [stdout] --> src/dungeon/dungeon.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn get_bottom_floor_number(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `intersects_rect` [INFO] [stdout] --> src/dungeon/rect.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn intersects_rect(&self, other: &Self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_room_with_room_part_at_coords` [INFO] [stdout] --> src/dungeon/room.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn update_room_with_room_part_at_coords( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `audio_manager` [INFO] [stdout] --> src/music/not_wasm.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | audio_manager: AudioManager, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `request_explosion_sound` [INFO] [stdout] --> src/services/sound_spawner.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn request_explosion_sound(&mut self, idx: usize, level: i32, volume: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `audio_manager` [INFO] [stdout] --> src/sounds/not_wasm.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | audio_manager: AudioManager, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INTERNAL_PADDING` [INFO] [stdout] --> src/ui_components/constants.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub const INTERNAL_PADDING: u8 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_text_line_cta` [INFO] [stdout] --> src/ui_components/create_text_line_cta.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn create_text_line_cta(position: (i32, i32), text: String, id: Option) -> UI { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 56 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pretty_assertions v0.7.2 [INFO] [stderr] Compiling apprentice v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/components/combat_stats.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | (self.hp as f32 / self.max_hp as f32) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 54 - (self.hp as f32 / self.max_hp as f32) [INFO] [stdout] 54 + self.hp as f32 / self.max_hp as f32 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BEvent`, `Rltk`, `VirtualKeyCode` [INFO] [stdout] --> src/mouse.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use rltk::{BEvent, Rltk, VirtualKeyCode, INPUT}; [INFO] [stdout] | ^^^^^^ ^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SCREEN_WIDTH` [INFO] [stdout] --> src/screens/create_character_screen.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | SCREEN_PADDING, SCREEN_WIDTH, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SCREEN_WIDTH` [INFO] [stdout] --> src/screens/create_item_menu_screen.rs:4:43 [INFO] [stdout] | [INFO] [stdout] 4 | use super::{create_screen::create_screen, SCREEN_WIDTH}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LIGHT_GREEN` [INFO] [stdout] --> src/screens/utils.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | use rltk::{GREY, LIGHT_GREEN, ORANGE, RGB}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/services/corpse_spawner.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BLUE2` [INFO] [stdout] --> src/services/sound_effect_spawner.rs:2:92 [INFO] [stdout] | [INFO] [stdout] 2 | use rltk::{DARKGREY, DARKORANGE, DARKRED, DARKSLATEGREY, RGB, LIGHTSEAGREEN, DARKSEAGREEN, BLUE2, BLUEVIOLET}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/state.rs:2296:32 [INFO] [stdout] | [INFO] [stdout] 2296 | ... if (id == 1 && !has_save_game) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2296 - if (id == 1 && !has_save_game) { [INFO] [stdout] 2296 + if id == 1 && !has_save_game { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::components::causes_light::LightType` [INFO] [stdout] --> src/systems/fire_spread_system.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::components::causes_light::LightType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ReadExpect` [INFO] [stdout] --> src/systems/map_indexing_system.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | use specs::{Entities, Entity, Join, ReadExpect, ReadStorage, System, WriteExpect}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `level_utils` [INFO] [stdout] --> src/systems/open_door_system.rs:2:40 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::dungeon::{dungeon::Dungeon, level_utils, tile_type::TileType}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/control.rs:170:17 [INFO] [stdout] | [INFO] [stdout] 170 | Self::Key(VirtualKeyCode::Period) => ".", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/control.rs:180:17 [INFO] [stdout] | [INFO] [stdout] 180 | Self::Key(VirtualKeyCode::Slash) => "/", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/control.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | Self::Key(VirtualKeyCode::Minus) => "Minus", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/control.rs:235:17 [INFO] [stdout] | [INFO] [stdout] 235 | _ => None, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mouse_pos` [INFO] [stdout] --> src/screens/create_item_menu_screen.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | mouse_pos: (i32, i32), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mouse_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/close_door_system.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | let mut level = dungeon.get_level_mut(&door_position.level).unwrap(); [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: variable does not need to be mutable [INFO] [stdout] --> src/systems/open_door_system.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | let mut level = dungeon.get_level_mut(&door_position.level).unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CTA_INTERACT` [INFO] [stdout] --> src/copy.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / pub const CTA_INTERACT: &str = [INFO] [stdout] 2 | | "Press LEFT and RIGHT to select a target to interact with, ESC to cancel"; [INFO] [stdout] | |______________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CTA_INTERACT_GRAB` [INFO] [stdout] --> src/copy.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / pub const CTA_INTERACT_GRAB: &str = [INFO] [stdout] 4 | | "Press LEFT and RIGHT to select a target to grab, ESC to cancel"; [INFO] [stdout] | |_____________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CTA_INTERACT_ATTACK` [INFO] [stdout] --> src/copy.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / pub const CTA_INTERACT_ATTACK: &str = [INFO] [stdout] 6 | | "Press LEFT and RIGHT to select an enemy to attack, ESC to cancel"; [INFO] [stdout] | |_______________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CTA_INTERACT_DOUSE` [INFO] [stdout] --> src/copy.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub const CTA_INTERACT_DOUSE: &str = [INFO] [stdout] 8 | | "Press LEFT and RIGHT to select a light source to douse, ESC to cancel"; [INFO] [stdout] | |____________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CTA_INTERACT_LIGHT` [INFO] [stdout] --> src/copy.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / pub const CTA_INTERACT_LIGHT: &str = [INFO] [stdout] 10 | | "Press LEFT and RIGHT to select a light source to light, ESC to cancel"; [INFO] [stdout] | |____________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CTA_INTERACT_PICKUP` [INFO] [stdout] --> src/copy.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / pub const CTA_INTERACT_PICKUP: &str = [INFO] [stdout] 12 | | "Press LEFT and RIGHT to select an item to pick up, ESC to cancel"; [INFO] [stdout] | |_______________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CTA_INTERACT_HIDE` [INFO] [stdout] --> src/copy.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / pub const CTA_INTERACT_HIDE: &str = [INFO] [stdout] 14 | | "Press LEFT and RIGHT to select a hiding spot to hide in, ESC to cancel"; [INFO] [stdout] | |_____________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CTA_INTERACT_DISARM` [INFO] [stdout] --> src/copy.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / pub const CTA_INTERACT_DISARM: &str = [INFO] [stdout] 16 | | "Press LEFT and RIGHT to select a trap to disarm, ESC to cancel"; [INFO] [stdout] | |_____________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CTA_INTERACT_ARM` [INFO] [stdout] --> src/copy.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub const CTA_INTERACT_ARM: &str = "Press LEFT and RIGHT to select a trap to arm, ESC to cancel"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CTA_INTERACT_OPEN_CONTAINER` [INFO] [stdout] --> src/copy.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / pub const CTA_INTERACT_OPEN_CONTAINER: &str = [INFO] [stdout] 19 | | "Press LEFT and RIGHT to select a container to open, ESC to cancel"; [INFO] [stdout] | |________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CTA_INTERACT_OPEN_DOOR` [INFO] [stdout] --> src/copy.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / pub const CTA_INTERACT_OPEN_DOOR: &str = [INFO] [stdout] 21 | | "Press LEFT and RIGHT to select a door to open, ESC to cancel"; [INFO] [stdout] | |___________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OpenContainer` [INFO] [stdout] --> src/run_state.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | OpenContainer, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TargetIntent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/run_state.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(PartialEq, Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Grab` [INFO] [stdout] --> src/run_state.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Grab, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TargetIntent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/run_state.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(PartialEq, Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Disarm` [INFO] [stdout] --> src/run_state.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Disarm, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TargetIntent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/run_state.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(PartialEq, Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Arm` [INFO] [stdout] --> src/run_state.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | Arm, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `TargetIntent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/run_state.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(PartialEq, Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HideIn` [INFO] [stdout] --> src/run_state.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | HideIn, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TargetIntent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/run_state.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(PartialEq, Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Pickup` [INFO] [stdout] --> src/run_state.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Pickup, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TargetIntent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/run_state.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(PartialEq, Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OpenDoor` [INFO] [stdout] --> src/run_state.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | OpenDoor, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TargetIntent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/run_state.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(PartialEq, Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Attack` [INFO] [stdout] --> src/run_state.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Attack, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TargetIntent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/run_state.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(PartialEq, Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Light` [INFO] [stdout] --> src/run_state.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Light, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TargetIntent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/run_state.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(PartialEq, Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Douse` [INFO] [stdout] --> src/run_state.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Douse, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TargetIntent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/run_state.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(PartialEq, Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `spawn_boots_of_antelope` [INFO] [stdout] --> src/spawner.rs:174:4 [INFO] [stdout] | [INFO] [stdout] 174 | fn spawn_boots_of_antelope(world: &mut World) -> Entity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `spawn_cloak_of_depths` [INFO] [stdout] --> src/spawner.rs:254:4 [INFO] [stdout] | [INFO] [stdout] 254 | fn spawn_cloak_of_depths(world: &mut World) -> Entity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `spawn_mithril_thread_cloak` [INFO] [stdout] --> src/spawner.rs:307:4 [INFO] [stdout] | [INFO] [stdout] 307 | fn spawn_mithril_thread_cloak(world: &mut World) -> Entity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `spawn_helm_of_bat` [INFO] [stdout] --> src/spawner.rs:402:4 [INFO] [stdout] | [INFO] [stdout] 402 | fn spawn_helm_of_bat(world: &mut World) -> Entity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `spawn_helm_of_squid` [INFO] [stdout] --> src/spawner.rs:457:4 [INFO] [stdout] | [INFO] [stdout] 457 | fn spawn_helm_of_squid(world: &mut World) -> Entity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `select_next_idx` [INFO] [stdout] --> src/utils.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn select_next_idx(idx: usize, length: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `select_previous_idx` [INFO] [stdout] --> src/utils.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn select_previous_idx(idx: usize, length: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Flee` [INFO] [stdout] --> src/ai/action.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Flee(usize), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Action` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ai/action.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_top_floor_number` [INFO] [stdout] --> src/dungeon/dungeon.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn get_top_floor_number(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_bottom_floor_number` [INFO] [stdout] --> src/dungeon/dungeon.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn get_bottom_floor_number(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `intersects_rect` [INFO] [stdout] --> src/dungeon/rect.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn intersects_rect(&self, other: &Self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_room_with_room_part_at_coords` [INFO] [stdout] --> src/dungeon/room.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn update_room_with_room_part_at_coords( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `audio_manager` [INFO] [stdout] --> src/music/not_wasm.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | audio_manager: AudioManager, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `request_explosion_sound` [INFO] [stdout] --> src/services/sound_spawner.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn request_explosion_sound(&mut self, idx: usize, level: i32, volume: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `audio_manager` [INFO] [stdout] --> src/sounds/not_wasm.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | audio_manager: AudioManager, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INTERNAL_PADDING` [INFO] [stdout] --> src/ui_components/constants.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub const INTERNAL_PADDING: u8 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_text_line_cta` [INFO] [stdout] --> src/ui_components/create_text_line_cta.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn create_text_line_cta(position: (i32, i32), text: String, id: Option) -> UI { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 56 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 22.22s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/apprentice_lib-47bc9b6d660d9097) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/apprentice-ec1700e3b99eb994) [INFO] running `Command { std: "docker" "inspect" "729aa219893edcdf6b410e0d0737ab3f22a735f2db3582aa78359704e133fc94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "729aa219893edcdf6b410e0d0737ab3f22a735f2db3582aa78359704e133fc94", kill_on_drop: false }` [INFO] [stdout] 729aa219893edcdf6b410e0d0737ab3f22a735f2db3582aa78359704e133fc94