[INFO] cloning repository https://github.com/alula/doukutsu-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alula/doukutsu-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falula%2Fdoukutsu-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falula%2Fdoukutsu-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7db891f5a19993b79a4f9d0ca5e314e89b9204e3 [INFO] checking alula/doukutsu-rs against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falula%2Fdoukutsu-rs" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alula/doukutsu-rs on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-13/source/.cargo/config [INFO] started tweaking git repo https://github.com/alula/doukutsu-rs [INFO] finished tweaking git repo https://github.com/alula/doukutsu-rs [INFO] tweaked toml for git repo https://github.com/alula/doukutsu-rs written to /workspace/builds/worker-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/doukutsu-rs/cpal.git` [INFO] [stderr] Updating git repository `https://github.com/doukutsu-rs/gfx.git` [INFO] [stderr] Updating git repository `https://github.com/doukutsu-rs/ggez.git` [INFO] [stderr] Updating git repository `https://github.com/doukutsu-rs/glutin.git` [INFO] [stderr] Updating git repository `https://github.com/JMS55/imgui-rs.git` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 799720e7802972b13ad8e9dadc4618007f6c2734c4d216bfdb069bd8e8b9f160 [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" "799720e7802972b13ad8e9dadc4618007f6c2734c4d216bfdb069bd8e8b9f160", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "799720e7802972b13ad8e9dadc4618007f6c2734c4d216bfdb069bd8e8b9f160", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "799720e7802972b13ad8e9dadc4618007f6c2734c4d216bfdb069bd8e8b9f160", kill_on_drop: false }` [INFO] [stdout] 799720e7802972b13ad8e9dadc4618007f6c2734c4d216bfdb069bd8e8b9f160 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 760a0fbbe83f8c3eb114c42c37f2ac2cd383874a551e245725cc20f36e1021d9 [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" "760a0fbbe83f8c3eb114c42c37f2ac2cd383874a551e245725cc20f36e1021d9", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking ttf-parser v0.6.2 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling pulldown-cmark v0.2.0 [INFO] [stderr] Compiling cc v1.0.62 [INFO] [stderr] Compiling object v0.22.0 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling winit v0.23.0 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling bytecount v0.6.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking xi-unicode v0.2.1 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling cpal v0.12.1 (https://github.com/doukutsu-rs/cpal.git?branch=android-support#3ff99ff4) [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking mint v0.5.6 [INFO] [stderr] Compiling imgui-gfx-renderer v0.5.0 (https://github.com/JMS55/imgui-rs.git#a5222843) [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking ahash v0.4.6 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking radium v0.3.0 [INFO] [stderr] Checking strum v0.18.0 [INFO] [stderr] Checking vec_mut_scan v0.3.0 [INFO] [stderr] Compiling paste v1.0.3 [INFO] [stderr] Checking webbrowser v0.5.5 [INFO] [stderr] Checking libloading v0.6.5 [INFO] [stderr] Checking instant v0.1.8 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking matrixmultiply v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking bitvec v0.17.4 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking rusttype v0.9.2 [INFO] [stderr] Compiling wayland-sys v0.28.2 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling alsa-sys v0.3.0 [INFO] [stderr] Compiling addr2line v0.14.0 [INFO] [stderr] Checking draw_state v0.8.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking lru v0.6.1 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling wayland-scanner v0.28.2 [INFO] [stderr] Checking gfx_core v0.9.2 [INFO] [stderr] Checking case_insensitive_hashmap v1.0.0 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking png v0.15.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking directories v3.0.1 [INFO] [stderr] Checking directories v2.0.2 [INFO] [stderr] Checking euclid v0.20.14 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking ordered-float v1.1.0 [INFO] [stderr] Compiling backtrace v0.3.54 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking xcursor v0.3.2 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking sid v0.5.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling imgui-sys v0.5.0 (https://github.com/JMS55/imgui-rs.git#a5222843) [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking lyon_geom v0.14.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking gilrs-core v0.2.6 [INFO] [stderr] Checking alsa v0.4.3 [INFO] [stderr] Checking wayland-commons v0.28.2 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Checking image v0.22.5 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 (https://github.com/doukutsu-rs/glutin.git?branch=android-support#44aa1211) [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 (https://github.com/doukutsu-rs/glutin.git?branch=android-support#44aa1211) [INFO] [stderr] Compiling gfx_gl v0.6.1 [INFO] [stderr] Checking gfx v0.18.2 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Checking gilrs v0.7.4 [INFO] [stderr] Checking lyon_path v0.14.0 [INFO] [stderr] Checking twox-hash v1.6.0 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Checking glyph_brush_layout v0.1.9 [INFO] [stderr] Checking lyon_algorithms v0.14.0 [INFO] [stderr] Checking lyon_tessellation v0.14.2 [INFO] [stderr] Checking glyph_brush v0.6.3 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Checking simba v0.1.5 [INFO] [stderr] Checking lyon v0.14.2 [INFO] [stderr] Checking nalgebra v0.21.1 [INFO] [stderr] Compiling wayland-client v0.28.2 [INFO] [stderr] Compiling wayland-protocols v0.28.2 [INFO] [stderr] Checking gfx_device_gl v0.16.0 (https://github.com/doukutsu-rs/gfx.git?branch=pre-ll#8c538f73) [INFO] [stderr] Checking wayland-cursor v0.28.2 [INFO] [stderr] Checking wayland-egl v0.28.2 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling smart-default v0.6.0 [INFO] [stderr] Compiling strum_macros v0.18.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking smithay-client-toolkit v0.12.0 [INFO] [stderr] Checking thiserror v1.0.22 [INFO] [stderr] Checking glutin v0.25.0 (https://github.com/doukutsu-rs/glutin.git?branch=android-support#44aa1211) [INFO] [stderr] Checking imgui v0.5.0 (https://github.com/JMS55/imgui-rs.git#a5222843) [INFO] [stderr] Compiling cargo_metadata v0.10.0 [INFO] [stderr] Checking imgui-winit-support v0.6.0 (https://github.com/JMS55/imgui-rs.git#a5222843) [INFO] [stderr] Compiling skeptic v0.13.5 [INFO] [stderr] Compiling ggez v0.5.1 (https://github.com/doukutsu-rs/ggez.git?rev=aad56b0d173ca9f4aeb28599075b5af49ab9214e#aad56b0d) [INFO] [stderr] Checking doukutsu-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `filesystem` [INFO] [stdout] --> src/lib.rs:11:37 [INFO] [stdout] | [INFO] [stdout] 11 | use ggez::{Context, ContextBuilder, filesystem, GameError, GameResult}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `filesystem` [INFO] [stdout] --> src/lib.rs:11:37 [INFO] [stdout] | [INFO] [stdout] 11 | use ggez::{Context, ContextBuilder, filesystem, GameError, GameResult}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TouchPhase` [INFO] [stdout] --> src/lib.rs:23:56 [INFO] [stdout] | [INFO] [stdout] 23 | use winit::event::{ElementState, Event, KeyboardInput, TouchPhase, WindowEvent}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameError` [INFO] [stdout] --> src/builtin_fs.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use ggez::{GameError, GameResult}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::read_to_string` [INFO] [stdout] --> src/caret.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::read_to_string; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::bitfield` [INFO] [stdout] --> src/caret.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::bitfield; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::player::Player` [INFO] [stdout] --> src/frame.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::player::Player; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ErrorKind`, `Error` [INFO] [stdout] --> src/map.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{Error, ErrorKind}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::DerefMut` [INFO] [stdout] --> src/npc/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ops::DerefMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fix9_scale` [INFO] [stdout] --> src/npc/mod.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::common::{Condition, fix9_scale, interpolate_fix9_scale, Rect}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `abs` [INFO] [stdout] --> src/npc/first_cave.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use num_traits::{abs, clamp}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `abs` [INFO] [stdout] --> src/npc/maze.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use num_traits::{abs, clamp}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `abs` [INFO] [stdout] --> src/npc/pickups.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use num_traits::{abs, clamp}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `abs`, `clamp` [INFO] [stdout] --> src/npc/weapon_trail.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use num_traits::{abs, clamp}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::Direction` [INFO] [stdout] --> src/npc/weapon_trail.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::common::Direction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::profile::GameProfile` [INFO] [stdout] --> src/text_script.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::profile::GameProfile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Color` [INFO] [stdout] --> src/texture_set.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use ggez::graphics::{Color, Drawable, DrawMode, DrawParam, FilterMode, Image, Mesh, Rect, mint}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TouchPhase` [INFO] [stdout] --> src/lib.rs:23:56 [INFO] [stdout] | [INFO] [stdout] 23 | use winit::event::{ElementState, Event, KeyboardInput, TouchPhase, WindowEvent}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameError` [INFO] [stdout] --> src/builtin_fs.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use ggez::{GameError, GameResult}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::read_to_string` [INFO] [stdout] --> src/caret.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::read_to_string; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::bitfield` [INFO] [stdout] --> src/caret.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::bitfield; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::player::Player` [INFO] [stdout] --> src/frame.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::player::Player; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ErrorKind`, `Error` [INFO] [stdout] --> src/map.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{Error, ErrorKind}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::DerefMut` [INFO] [stdout] --> src/npc/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ops::DerefMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fix9_scale` [INFO] [stdout] --> src/npc/mod.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::common::{Condition, fix9_scale, interpolate_fix9_scale, Rect}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `abs` [INFO] [stdout] --> src/npc/first_cave.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use num_traits::{abs, clamp}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `abs` [INFO] [stdout] --> src/npc/maze.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use num_traits::{abs, clamp}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `abs` [INFO] [stdout] --> src/npc/pickups.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use num_traits::{abs, clamp}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `abs`, `clamp` [INFO] [stdout] --> src/npc/weapon_trail.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use num_traits::{abs, clamp}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::Direction` [INFO] [stdout] --> src/npc/weapon_trail.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::common::Direction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::profile::GameProfile` [INFO] [stdout] --> src/text_script.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::profile::GameProfile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Color` [INFO] [stdout] --> src/texture_set.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use ggez::graphics::{Color, Drawable, DrawMode, DrawParam, FilterMode, Image, Mesh, Rect, mint}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `winit::event::KeyboardInput::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged [INFO] [stdout] --> src/lib.rs:395:29 [INFO] [stdout] | [INFO] [stdout] 395 | ... modifiers, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `winit::event::KeyboardInput::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged [INFO] [stdout] --> src/lib.rs:395:29 [INFO] [stdout] | [INFO] [stdout] 395 | ... modifiers, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::real::Real` [INFO] [stdout] --> src/common.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use num_traits::real::Real; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::real::Real` [INFO] [stdout] --> src/npc/misc.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use num_traits::real::Real; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::FromPrimitive` [INFO] [stdout] --> src/player.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use num_traits::FromPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::real::Real` [INFO] [stdout] --> src/sound/playback.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use num_traits::real::Real; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::real::Real` [INFO] [stdout] --> src/common.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use num_traits::real::Real; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::real::Real` [INFO] [stdout] --> src/npc/misc.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use num_traits::real::Real; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::FromPrimitive` [INFO] [stdout] --> src/player.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use num_traits::FromPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::real::Real` [INFO] [stdout] --> src/sound/playback.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use num_traits::real::Real; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/lib.rs:376:34 [INFO] [stdout] | [INFO] [stdout] 376 | ... let (w, h) = graphics::drawable_size(ctx); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/lib.rs:376:37 [INFO] [stdout] | [INFO] [stdout] 376 | ... let (w, h) = graphics::drawable_size(ctx); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/lib.rs:333:33 [INFO] [stdout] | [INFO] [stdout] 333 | event_loop.run(move |event, target, flow| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `context` is never read [INFO] [stdout] --> src/lib.rs:315:9 [INFO] [stdout] | [INFO] [stdout] 315 | let mut context: Option = None; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ext` [INFO] [stdout] --> src/bmfont_renderer.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | let (zeros, ext, format) = FILE_TYPES [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `format` [INFO] [stdout] --> src/bmfont_renderer.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 29 | let (zeros, ext, format) = FILE_TYPES [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/builtin_fs.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | fn write(&mut self, buf: &[u8]) -> io::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/bullet.rs:558:35 [INFO] [stdout] | [INFO] [stdout] 558 | fn judge_hit_block(&mut self, state: &mut SharedGameState, x: isize, y: isize) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/components/boss_life_bar.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | fn tick(&mut self, state: &mut SharedGameState, npc_map: &NPCMap) -> GameResult<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `rect` is never read [INFO] [stdout] --> src/menu.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let mut rect = Rect::new(0, 0, 0, 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `rect2` is never read [INFO] [stdout] --> src/menu.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | let mut rect2 = Rect::new(0, 0, 0, 0); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/npc/boss/mod.rs:50:62 [INFO] [stdout] | [INFO] [stdout] 50 | fn tick(&mut self, state: &mut SharedGameState, (player, map, stage): (&mut Player, &BTreeMap>, &mut Stage)) -> Gam... [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stage` [INFO] [stdout] --> src/npc/boss/mod.rs:50:67 [INFO] [stdout] | [INFO] [stdout] 50 | ...haredGameState, (player, map, stage): (&mut Player, &BTreeMap>, &mut Stage)) -> GameResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/npc/misc.rs:531:51 [INFO] [stdout] | [INFO] [stdout] 531 | pub(crate) fn tick_n046_hv_trigger(&mut self, state: &mut SharedGameState, player: &Player) -> GameResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/player.rs:479:33 [INFO] [stdout] | [INFO] [stdout] 479 | fn tick_ironhead(&mut self, state: &mut SharedGameState) -> GameResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scale` [INFO] [stdout] --> src/scene/game_scene.rs:326:13 [INFO] [stdout] | [INFO] [stdout] 326 | let scale = state.scale; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scale` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scale` [INFO] [stdout] --> src/scene/game_scene.rs:376:13 [INFO] [stdout] | [INFO] [stdout] 376 | let scale = state.scale; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scale` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/scene/game_scene.rs:477:31 [INFO] [stdout] | [INFO] [stdout] 477 | fn draw_black_bars(&self, state: &mut SharedGameState, ctx: &mut Context) -> GameResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/scene/game_scene.rs:477:60 [INFO] [stdout] | [INFO] [stdout] 477 | fn draw_black_bars(&self, state: &mut SharedGameState, ctx: &mut Context) -> GameResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/scene/game_scene.rs:1403:58 [INFO] [stdout] | [INFO] [stdout] 1403 | fn draw_tick(&mut self, state: &mut SharedGameState, ctx: &mut Context) -> GameResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/shared_game_state.rs:234:22 [INFO] [stdout] | [INFO] [stdout] 234 | fn load_settings(ctx: &mut Context) -> GameResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scale` [INFO] [stdout] --> src/touch_controls.rs:24:43 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn process_winit_event(&mut self, scale: f32, key_state: &mut KeyState, touch: winit::event::Touch) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scale` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_state` [INFO] [stdout] --> src/touch_controls.rs:24:55 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn process_winit_event(&mut self, scale: f32, key_state: &mut KeyState, touch: winit::event::Touch) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:276:13 [INFO] [stdout] | [INFO] [stdout] 276 | let mut ctx = ContextBuilder::new("doukutsu-rs") [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/lib.rs:376:34 [INFO] [stdout] | [INFO] [stdout] 376 | ... let (w, h) = graphics::drawable_size(ctx); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/lib.rs:376:37 [INFO] [stdout] | [INFO] [stdout] 376 | ... let (w, h) = graphics::drawable_size(ctx); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/lib.rs:333:33 [INFO] [stdout] | [INFO] [stdout] 333 | event_loop.run(move |event, target, flow| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `context` is never read [INFO] [stdout] --> src/lib.rs:315:9 [INFO] [stdout] | [INFO] [stdout] 315 | let mut context: Option = None; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ext` [INFO] [stdout] --> src/bmfont_renderer.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | let (zeros, ext, format) = FILE_TYPES [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `format` [INFO] [stdout] --> src/bmfont_renderer.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 29 | let (zeros, ext, format) = FILE_TYPES [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/builtin_fs.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | fn write(&mut self, buf: &[u8]) -> io::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/bullet.rs:558:35 [INFO] [stdout] | [INFO] [stdout] 558 | fn judge_hit_block(&mut self, state: &mut SharedGameState, x: isize, y: isize) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/components/boss_life_bar.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | fn tick(&mut self, state: &mut SharedGameState, npc_map: &NPCMap) -> GameResult<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `rect` is never read [INFO] [stdout] --> src/menu.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let mut rect = Rect::new(0, 0, 0, 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `rect2` is never read [INFO] [stdout] --> src/menu.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | let mut rect2 = Rect::new(0, 0, 0, 0); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/npc/boss/mod.rs:50:62 [INFO] [stdout] | [INFO] [stdout] 50 | fn tick(&mut self, state: &mut SharedGameState, (player, map, stage): (&mut Player, &BTreeMap>, &mut Stage)) -> Gam... [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stage` [INFO] [stdout] --> src/npc/boss/mod.rs:50:67 [INFO] [stdout] | [INFO] [stdout] 50 | ...haredGameState, (player, map, stage): (&mut Player, &BTreeMap>, &mut Stage)) -> GameResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/npc/misc.rs:531:51 [INFO] [stdout] | [INFO] [stdout] 531 | pub(crate) fn tick_n046_hv_trigger(&mut self, state: &mut SharedGameState, player: &Player) -> GameResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/player.rs:479:33 [INFO] [stdout] | [INFO] [stdout] 479 | fn tick_ironhead(&mut self, state: &mut SharedGameState) -> GameResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scale` [INFO] [stdout] --> src/scene/game_scene.rs:326:13 [INFO] [stdout] | [INFO] [stdout] 326 | let scale = state.scale; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scale` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scale` [INFO] [stdout] --> src/scene/game_scene.rs:376:13 [INFO] [stdout] | [INFO] [stdout] 376 | let scale = state.scale; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scale` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/scene/game_scene.rs:477:31 [INFO] [stdout] | [INFO] [stdout] 477 | fn draw_black_bars(&self, state: &mut SharedGameState, ctx: &mut Context) -> GameResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/scene/game_scene.rs:477:60 [INFO] [stdout] | [INFO] [stdout] 477 | fn draw_black_bars(&self, state: &mut SharedGameState, ctx: &mut Context) -> GameResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/scene/game_scene.rs:1403:58 [INFO] [stdout] | [INFO] [stdout] 1403 | fn draw_tick(&mut self, state: &mut SharedGameState, ctx: &mut Context) -> GameResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/shared_game_state.rs:234:22 [INFO] [stdout] | [INFO] [stdout] 234 | fn load_settings(ctx: &mut Context) -> GameResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scale` [INFO] [stdout] --> src/touch_controls.rs:24:43 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn process_winit_event(&mut self, scale: f32, key_state: &mut KeyState, touch: winit::event::Touch) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scale` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_state` [INFO] [stdout] --> src/touch_controls.rs:24:55 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn process_winit_event(&mut self, scale: f32, key_state: &mut KeyState, touch: winit::event::Touch) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:276:13 [INFO] [stdout] | [INFO] [stdout] 276 | let mut ctx = ContextBuilder::new("doukutsu-rs") [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/npc/mod.rs:523:17 [INFO] [stdout] | [INFO] [stdout] 523 | let mut npc = npc_cell.borrow(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/profile.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | let mut something = [0u8; 0x80]; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scene/game_scene.rs:1157:25 [INFO] [stdout] | [INFO] [stdout] 1157 | let mut npc = npc_cell.borrow(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/npc/mod.rs:523:17 [INFO] [stdout] | [INFO] [stdout] 523 | let mut npc = npc_cell.borrow(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `count_bullets` [INFO] [stdout] --> src/bullet.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn count_bullets(&self, btype: u16) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_snack_destroy` [INFO] [stdout] --> src/macros.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / } [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | (@field $(#[$attribute:meta])* ($($vis:tt)*) $t:ty, $from:ty, $into:ty, $getter:ident, _: $msb:expr, [INFO] [stdout] 52 | | $lsb:expr, $count:expr) => { [INFO] [stdout] ... | [INFO] [stdout] 135 | | $($rest:tt)*) => { [INFO] [stdout] 136 | | bitfield_fields!{@field $(#[$attribute])* (pub) $default_ty, $default_ty, $default_ty, $getter, $setter: [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/common.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / bitfield! { [INFO] [stdout] 13 | | #[derive(Clone, Copy)] [INFO] [stdout] 14 | | pub struct Flag(u32); [INFO] [stdout] 15 | | impl Debug; [INFO] [stdout] ... | [INFO] [stdout] 36 | | pub hit_right_bigger_half, set_hit_right_bigger_half: 19; // 0x80000 [INFO] [stdout] 37 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_flag_x80` [INFO] [stdout] --> src/macros.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / } [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | (@field $(#[$attribute:meta])* ($($vis:tt)*) $t:ty, $from:ty, $into:ty, $getter:ident, _: $msb:expr, [INFO] [stdout] 52 | | $lsb:expr, $count:expr) => { [INFO] [stdout] ... | [INFO] [stdout] 135 | | $($rest:tt)*) => { [INFO] [stdout] 136 | | bitfield_fields!{@field $(#[$attribute])* (pub) $default_ty, $default_ty, $default_ty, $getter, $setter: [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/common.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / bitfield! { [INFO] [stdout] 13 | | #[derive(Clone, Copy)] [INFO] [stdout] 14 | | pub struct Flag(u32); [INFO] [stdout] 15 | | impl Debug; [INFO] [stdout] ... | [INFO] [stdout] 36 | | pub hit_right_bigger_half, set_hit_right_bigger_half: 19; // 0x80000 [INFO] [stdout] 37 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_water_splash_facing_right` [INFO] [stdout] --> src/macros.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / } [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | (@field $(#[$attribute:meta])* ($($vis:tt)*) $t:ty, $from:ty, $into:ty, $getter:ident, _: $msb:expr, [INFO] [stdout] 52 | | $lsb:expr, $count:expr) => { [INFO] [stdout] ... | [INFO] [stdout] 135 | | $($rest:tt)*) => { [INFO] [stdout] 136 | | bitfield_fields!{@field $(#[$attribute])* (pub) $default_ty, $default_ty, $default_ty, $getter, $setter: [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/common.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / bitfield! { [INFO] [stdout] 13 | | #[derive(Clone, Copy)] [INFO] [stdout] 14 | | pub struct Flag(u32); [INFO] [stdout] 15 | | impl Debug; [INFO] [stdout] ... | [INFO] [stdout] 36 | | pub hit_right_bigger_half, set_hit_right_bigger_half: 19; // 0x80000 [INFO] [stdout] 37 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_booster_0_8` [INFO] [stdout] --> src/macros.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / } [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | (@field $(#[$attribute:meta])* ($($vis:tt)*) $t:ty, $from:ty, $into:ty, $getter:ident, _: $msb:expr, [INFO] [stdout] 52 | | $lsb:expr, $count:expr) => { [INFO] [stdout] ... | [INFO] [stdout] 135 | | $($rest:tt)*) => { [INFO] [stdout] 136 | | bitfield_fields!{@field $(#[$attribute])* (pub) $default_ty, $default_ty, $default_ty, $getter, $setter: [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/common.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / bitfield! { [INFO] [stdout] 40 | | #[derive(Clone, Copy)] [INFO] [stdout] 41 | | pub struct Equipment(u16); [INFO] [stdout] 42 | | impl Debug; [INFO] [stdout] ... | [INFO] [stdout] 61 | | pub unused_7, set_unused_7: 15; // 0x8000 / P768 [INFO] [stdout] 62 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_map` [INFO] [stdout] --> src/macros.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / } [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | (@field $(#[$attribute:meta])* ($($vis:tt)*) $t:ty, $from:ty, $into:ty, $getter:ident, _: $msb:expr, [INFO] [stdout] 52 | | $lsb:expr, $count:expr) => { [INFO] [stdout] ... | [INFO] [stdout] 135 | | $($rest:tt)*) => { [INFO] [stdout] 136 | | bitfield_fields!{@field $(#[$attribute])* (pub) $default_ty, $default_ty, $default_ty, $getter, $setter: [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/common.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / bitfield! { [INFO] [stdout] 40 | | #[derive(Clone, Copy)] [INFO] [stdout] 41 | | pub struct Equipment(u16); [INFO] [stdout] 42 | | impl Debug; [INFO] [stdout] ... | [INFO] [stdout] 61 | | pub unused_7, set_unused_7: 15; // 0x8000 / P768 [INFO] [stdout] 62 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_arms_barrier` [INFO] [stdout] --> src/macros.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / } [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | (@field $(#[$attribute:meta])* ($($vis:tt)*) $t:ty, $from:ty, $into:ty, $getter:ident, _: $msb:expr, [INFO] [stdout] 52 | | $lsb:expr, $count:expr) => { [INFO] [stdout] ... | [INFO] [stdout] 135 | | $($rest:tt)*) => { [INFO] [stdout] 136 | | bitfield_fields!{@field $(#[$attribute])* (pub) $default_ty, $default_ty, $default_ty, $getter, $setter: [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/common.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / bitfield! { [INFO] [stdout] 40 | | #[derive(Clone, Copy)] [INFO] [stdout] 41 | | pub struct Equipment(u16); [INFO] [stdout] 42 | | impl Debug; [INFO] [stdout] ... | [INFO] [stdout] 61 | | pub unused_7, set_unused_7: 15; // 0x8000 / P768 [INFO] [stdout] 62 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_turbocharge` [INFO] [stdout] --> src/macros.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / } [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | (@field $(#[$attribute:meta])* ($($vis:tt)*) $t:ty, $from:ty, $into:ty, $getter:ident, _: $msb:expr, [INFO] [stdout] 52 | | $lsb:expr, $count:expr) => { [INFO] [stdout] ... | [INFO] [stdout] 135 | | $($rest:tt)*) => { [INFO] [stdout] 136 | | bitfield_fields!{@field $(#[$attribute])* (pub) $default_ty, $default_ty, $default_ty, $getter, $setter: [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/common.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / bitfield! { [INFO] [stdout] 40 | | #[derive(Clone, Copy)] [INFO] [stdout] 41 | | pub struct Equipment(u16); [INFO] [stdout] 42 | | impl Debug; [INFO] [stdout] ... | [INFO] [stdout] 61 | | pub unused_7, set_unused_7: 15; // 0x8000 / P768 [INFO] [stdout] 62 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_air_tank` [INFO] [stdout] --> src/macros.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / } [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | (@field $(#[$attribute:meta])* ($($vis:tt)*) $t:ty, $from:ty, $into:ty, $getter:ident, _: $msb:expr, [INFO] [stdout] 52 | | $lsb:expr, $count:expr) => { [INFO] [stdout] ... | [INFO] [stdout] 135 | | $($rest:tt)*) => { [INFO] [stdout] 136 | | bitfield_fields!{@field $(#[$attribute])* (pub) $default_ty, $default_ty, $default_ty, $getter, $setter: [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/common.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / bitfield! { [INFO] [stdout] 40 | | #[derive(Clone, Copy)] [INFO] [stdout] 41 | | pub struct Equipment(u16); [INFO] [stdout] 42 | | impl Debug; [INFO] [stdout] ... | [INFO] [stdout] 61 | | pub unused_7, set_unused_7: 15; // 0x8000 / P768 [INFO] [stdout] 62 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_booster_2_0` [INFO] [stdout] --> src/macros.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / } [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | (@field $(#[$attribute:meta])* ($($vis:tt)*) $t:ty, $from:ty, $into:ty, $getter:ident, _: $msb:expr, [INFO] [stdout] 52 | | $lsb:expr, $count:expr) => { [INFO] [stdout] ... | [INFO] [stdout] 135 | | $($rest:tt)*) => { [INFO] [stdout] 136 | | bitfield_fields!{@field $(#[$attribute])* (pub) $default_ty, $default_ty, $default_ty, $getter, $setter: [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/common.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / bitfield! { [INFO] [stdout] 40 | | #[derive(Clone, Copy)] [INFO] [stdout] 41 | | pub struct Equipment(u16); [INFO] [stdout] 42 | | impl Debug; [INFO] [stdout] ... | [INFO] [stdout] 61 | | pub unused_7, set_unused_7: 15; // 0x8000 / P768 [INFO] [stdout] 62 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_mimiga_mask` [INFO] [stdout] --> src/macros.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / } [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | (@field $(#[$attribute:meta])* ($($vis:tt)*) $t:ty, $from:ty, $into:ty, $getter:ident, _: $msb:expr, [INFO] [stdout] 52 | | $lsb:expr, $count:expr) => { [INFO] [stdout] ... | [INFO] [stdout] 135 | | $($rest:tt)*) => { [INFO] [stdout] 136 | | bitfield_fields!{@field $(#[$attribute])* (pub) $default_ty, $default_ty, $default_ty, $getter, $setter: [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/common.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / bitfield! { [INFO] [stdout] 40 | | #[derive(Clone, Copy)] [INFO] [stdout] 41 | | pub struct Equipment(u16); [INFO] [stdout] 42 | | impl Debug; [INFO] [stdout] ... | [INFO] [stdout] 61 | | pub unused_7, set_unused_7: 15; // 0x8000 / P768 [INFO] [stdout] 62 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_whimsical_star` [INFO] [stdout] --> src/macros.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / } [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | (@field $(#[$attribute:meta])* ($($vis:tt)*) $t:ty, $from:ty, $into:ty, $getter:ident, _: $msb:expr, [INFO] [stdout] 52 | | $lsb:expr, $count:expr) => { [INFO] [stdout] ... | [INFO] [stdout] 135 | | $($rest:tt)*) => { [INFO] [stdout] 136 | | bitfield_fields!{@field $(#[$attribute])* (pub) $default_ty, $default_ty, $default_ty, $getter, $setter: [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/common.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / bitfield! { [INFO] [stdout] 40 | | #[derive(Clone, Copy)] [INFO] [stdout] 41 | | pub struct Equipment(u16); [INFO] [stdout] 42 | | impl Debug; [INFO] [stdout] ... | [INFO] [stdout] 61 | | pub unused_7, set_unused_7: 15; // 0x8000 / P768 [INFO] [stdout] 62 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_nikumaru` [INFO] [stdout] --> src/macros.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / } [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | (@field $(#[$attribute:meta])* ($($vis:tt)*) $t:ty, $from:ty, $into:ty, $getter:ident, _: $msb:expr, [INFO] [stdout] 52 | | $lsb:expr, $count:expr) => { [INFO] [stdout] ... | [INFO] [stdout] 135 | | $($rest:tt)*) => { [INFO] [stdout] 136 | | bitfield_fields!{@field $(#[$attribute])* (pub) $default_ty, $default_ty, $default_ty, $getter, $setter: [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/common.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / bitfield! { [INFO] [stdout] 40 | | #[derive(Clone, Copy)] [INFO] [stdout] 41 | | pub struct Equipment(u16); [INFO] [stdout] 42 | | impl Debug; [INFO] [stdout] ... | [INFO] [stdout] 61 | | pub unused_7, set_unused_7: 15; // 0x8000 / P768 [INFO] [stdout] 62 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_unused_1` [INFO] [stdout] --> src/macros.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / } [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | (@field $(#[$attribute:meta])* ($($vis:tt)*) $t:ty, $from:ty, $into:ty, $getter:ident, _: $msb:expr, [INFO] [stdout] 52 | | $lsb:expr, $count:expr) => { [INFO] [stdout] ... | [INFO] [stdout] 135 | | $($rest:tt)*) => { [INFO] [stdout] 136 | | bitfield_fields!{@field $(#[$attribute])* (pub) $default_ty, $default_ty, $default_ty, $getter, $setter: [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/common.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / bitfield! { [INFO] [stdout] 40 | | #[derive(Clone, Copy)] [INFO] [stdout] 41 | | pub struct Equipment(u16); [INFO] [stdout] 42 | | impl Debug; [INFO] [stdout] ... | [INFO] [stdout] 61 | | pub unused_7, set_unused_7: 15; // 0x8000 / P768 [INFO] [stdout] 62 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_unused_2` [INFO] [stdout] --> src/macros.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / } [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | (@field $(#[$attribute:meta])* ($($vis:tt)*) $t:ty, $from:ty, $into:ty, $getter:ident, _: $msb:expr, [INFO] [stdout] 52 | | $lsb:expr, $count:expr) => { [INFO] [stdout] ... | [INFO] [stdout] 135 | | $($rest:tt)*) => { [INFO] [stdout] 136 | | bitfield_fields!{@field $(#[$attribute])* (pub) $default_ty, $default_ty, $default_ty, $getter, $setter: [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/common.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / bitfield! { [INFO] [stdout] 40 | | #[derive(Clone, Copy)] [INFO] [stdout] 41 | | pub struct Equipment(u16); [INFO] [stdout] 42 | | impl Debug; [INFO] [stdout] ... | [INFO] [stdout] 61 | | pub unused_7, set_unused_7: 15; // 0x8000 / P768 [INFO] [stdout] 62 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_unused_3` [INFO] [stdout] --> src/macros.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / } [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | (@field $(#[$attribute:meta])* ($($vis:tt)*) $t:ty, $from:ty, $into:ty, $getter:ident, _: $msb:expr, [INFO] [stdout] 52 | | $lsb:expr, $count:expr) => { [INFO] [stdout] ... | [INFO] [stdout] 135 | | $($rest:tt)*) => { [INFO] [stdout] 136 | | bitfield_fields!{@field $(#[$attribute])* (pub) $default_ty, $default_ty, $default_ty, $getter, $setter: [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/common.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / bitfield! { [INFO] [stdout] 40 | | #[derive(Clone, Copy)] [INFO] [stdout] 41 | | pub struct Equipment(u16); [INFO] [stdout] 42 | | impl Debug; [INFO] [stdout] ... | [INFO] [stdout] 61 | | pub unused_7, set_unused_7: 15; // 0x8000 / P768 [INFO] [stdout] 62 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_unused_4` [INFO] [stdout] --> src/macros.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / } [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | (@field $(#[$attribute:meta])* ($($vis:tt)*) $t:ty, $from:ty, $into:ty, $getter:ident, _: $msb:expr, [INFO] [stdout] 52 | | $lsb:expr, $count:expr) => { [INFO] [stdout] ... | [INFO] [stdout] 135 | | $($rest:tt)*) => { [INFO] [stdout] 136 | | bitfield_fields!{@field $(#[$attribute])* (pub) $default_ty, $default_ty, $default_ty, $getter, $setter: [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/common.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / bitfield! { [INFO] [stdout] 40 | | #[derive(Clone, Copy)] [INFO] [stdout] 41 | | pub struct Equipment(u16); [INFO] [stdout] 42 | | impl Debug; [INFO] [stdout] ... | [INFO] [stdout] 61 | | pub unused_7, set_unused_7: 15; // 0x8000 / P768 [INFO] [stdout] 62 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_unused_5` [INFO] [stdout] --> src/macros.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / } [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | (@field $(#[$attribute:meta])* ($($vis:tt)*) $t:ty, $from:ty, $into:ty, $getter:ident, _: $msb:expr, [INFO] [stdout] 52 | | $lsb:expr, $count:expr) => { [INFO] [stdout] ... | [INFO] [stdout] 135 | | $($rest:tt)*) => { [INFO] [stdout] 136 | | bitfield_fields!{@field $(#[$attribute])* (pub) $default_ty, $default_ty, $default_ty, $getter, $setter: [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/common.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / bitfield! { [INFO] [stdout] 40 | | #[derive(Clone, Copy)] [INFO] [stdout] 41 | | pub struct Equipment(u16); [INFO] [stdout] 42 | | impl Debug; [INFO] [stdout] ... | [INFO] [stdout] 61 | | pub unused_7, set_unused_7: 15; // 0x8000 / P768 [INFO] [stdout] 62 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_unused_6` [INFO] [stdout] --> src/macros.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / } [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | (@field $(#[$attribute:meta])* ($($vis:tt)*) $t:ty, $from:ty, $into:ty, $getter:ident, _: $msb:expr, [INFO] [stdout] 52 | | $lsb:expr, $count:expr) => { [INFO] [stdout] ... | [INFO] [stdout] 135 | | $($rest:tt)*) => { [INFO] [stdout] 136 | | bitfield_fields!{@field $(#[$attribute])* (pub) $default_ty, $default_ty, $default_ty, $getter, $setter: [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/common.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / bitfield! { [INFO] [stdout] 40 | | #[derive(Clone, Copy)] [INFO] [stdout] 41 | | pub struct Equipment(u16); [INFO] [stdout] 42 | | impl Debug; [INFO] [stdout] ... | [INFO] [stdout] 61 | | pub unused_7, set_unused_7: 15; // 0x8000 / P768 [INFO] [stdout] 62 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_unused_7` [INFO] [stdout] --> src/macros.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / } [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | (@field $(#[$attribute:meta])* ($($vis:tt)*) $t:ty, $from:ty, $into:ty, $getter:ident, _: $msb:expr, [INFO] [stdout] 52 | | $lsb:expr, $count:expr) => { [INFO] [stdout] ... | [INFO] [stdout] 135 | | $($rest:tt)*) => { [INFO] [stdout] 136 | | bitfield_fields!{@field $(#[$attribute])* (pub) $default_ty, $default_ty, $default_ty, $getter, $setter: [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/common.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / bitfield! { [INFO] [stdout] 40 | | #[derive(Clone, Copy)] [INFO] [stdout] 41 | | pub struct Equipment(u16); [INFO] [stdout] 42 | | impl Debug; [INFO] [stdout] ... | [INFO] [stdout] 61 | | pub unused_7, set_unused_7: 15; // 0x8000 / P768 [INFO] [stdout] 62 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_cond_x40` [INFO] [stdout] --> src/macros.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / } [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | (@field $(#[$attribute:meta])* ($($vis:tt)*) $t:ty, $from:ty, $into:ty, $getter:ident, _: $msb:expr, [INFO] [stdout] 52 | | $lsb:expr, $count:expr) => { [INFO] [stdout] ... | [INFO] [stdout] 135 | | $($rest:tt)*) => { [INFO] [stdout] 136 | | bitfield_fields!{@field $(#[$attribute])* (pub) $default_ty, $default_ty, $default_ty, $getter, $setter: [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/common.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | / bitfield! { [INFO] [stdout] 65 | | #[derive(Clone, Copy)] [INFO] [stdout] 66 | | pub struct Condition(u16); [INFO] [stdout] 67 | | impl Debug; [INFO] [stdout] ... | [INFO] [stdout] 81 | | pub drs_destroyed, set_drs_destroyed: 15; [INFO] [stdout] 82 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_map` [INFO] [stdout] --> src/macros.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / } [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | (@field $(#[$attribute:meta])* ($($vis:tt)*) $t:ty, $from:ty, $into:ty, $getter:ident, _: $msb:expr, [INFO] [stdout] 52 | | $lsb:expr, $count:expr) => { [INFO] [stdout] ... | [INFO] [stdout] 135 | | $($rest:tt)*) => { [INFO] [stdout] 136 | | bitfield_fields!{@field $(#[$attribute])* (pub) $default_ty, $default_ty, $default_ty, $getter, $setter: [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/common.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | / bitfield! { [INFO] [stdout] 85 | | #[derive(Clone, Copy)] [INFO] [stdout] 86 | | pub struct KeyState(u16); [INFO] [stdout] 87 | | impl Debug; [INFO] [stdout] ... | [INFO] [stdout] 97 | | pub weapon_prev, set_weapon_prev: 8; [INFO] [stdout] 98 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_credits_running` [INFO] [stdout] --> src/macros.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / } [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | (@field $(#[$attribute:meta])* ($($vis:tt)*) $t:ty, $from:ty, $into:ty, $getter:ident, _: $msb:expr, [INFO] [stdout] 52 | | $lsb:expr, $count:expr) => { [INFO] [stdout] ... | [INFO] [stdout] 135 | | $($rest:tt)*) => { [INFO] [stdout] 136 | | bitfield_fields!{@field $(#[$attribute])* (pub) $default_ty, $default_ty, $default_ty, $getter, $setter: [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/common.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | / bitfield! { [INFO] [stdout] 101 | | #[derive(Clone, Copy)] [INFO] [stdout] 102 | | pub struct ControlFlags(u16); [INFO] [stdout] 103 | | impl Debug; [INFO] [stdout] ... | [INFO] [stdout] 111 | | pub wind, set_wind: 15; [INFO] [stdout] 112 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_wind` [INFO] [stdout] --> src/macros.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / } [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | (@field $(#[$attribute:meta])* ($($vis:tt)*) $t:ty, $from:ty, $into:ty, $getter:ident, _: $msb:expr, [INFO] [stdout] 52 | | $lsb:expr, $count:expr) => { [INFO] [stdout] ... | [INFO] [stdout] 135 | | $($rest:tt)*) => { [INFO] [stdout] 136 | | bitfield_fields!{@field $(#[$attribute])* (pub) $default_ty, $default_ty, $default_ty, $getter, $setter: [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/common.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | / bitfield! { [INFO] [stdout] 101 | | #[derive(Clone, Copy)] [INFO] [stdout] 102 | | pub struct ControlFlags(u16); [INFO] [stdout] 103 | | impl Debug; [INFO] [stdout] ... | [INFO] [stdout] 111 | | pub wind, set_wind: 15; [INFO] [stdout] 112 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from` [INFO] [stdout] --> src/common.rs:248:12 [INFO] [stdout] | [INFO] [stdout] 248 | pub fn from(rect: ggez::graphics::Rect) -> Rect { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tick_b08_press` [INFO] [stdout] --> src/npc/boss/press.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) fn tick_b08_press(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_flag_x400` [INFO] [stdout] --> src/macros.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / } [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | (@field $(#[$attribute:meta])* ($($vis:tt)*) $t:ty, $from:ty, $into:ty, $getter:ident, _: $msb:expr, [INFO] [stdout] 52 | | $lsb:expr, $count:expr) => { [INFO] [stdout] ... | [INFO] [stdout] 135 | | $($rest:tt)*) => { [INFO] [stdout] 136 | | bitfield_fields!{@field $(#[$attribute])* (pub) $default_ty, $default_ty, $default_ty, $getter, $setter: [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/npc/mod.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / bitfield! { [INFO] [stdout] 48 | | #[derive(Clone, Copy)] [INFO] [stdout] 49 | | pub struct NPCFlag(u16); [INFO] [stdout] 50 | | impl Debug; [INFO] [stdout] ... | [INFO] [stdout] 67 | | pub show_damage, set_show_damage: 15; // 0x8000 [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_appear_when_flag_set` [INFO] [stdout] --> src/macros.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / } [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | (@field $(#[$attribute:meta])* ($($vis:tt)*) $t:ty, $from:ty, $into:ty, $getter:ident, _: $msb:expr, [INFO] [stdout] 52 | | $lsb:expr, $count:expr) => { [INFO] [stdout] ... | [INFO] [stdout] 135 | | $($rest:tt)*) => { [INFO] [stdout] 136 | | bitfield_fields!{@field $(#[$attribute])* (pub) $default_ty, $default_ty, $default_ty, $getter, $setter: [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/npc/mod.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / bitfield! { [INFO] [stdout] 48 | | #[derive(Clone, Copy)] [INFO] [stdout] 49 | | pub struct NPCFlag(u16); [INFO] [stdout] 50 | | impl Debug; [INFO] [stdout] ... | [INFO] [stdout] 67 | | pub show_damage, set_show_damage: 15; // 0x8000 [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_spawn_facing_right` [INFO] [stdout] --> src/macros.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / } [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | (@field $(#[$attribute:meta])* ($($vis:tt)*) $t:ty, $from:ty, $into:ty, $getter:ident, _: $msb:expr, [INFO] [stdout] 52 | | $lsb:expr, $count:expr) => { [INFO] [stdout] ... | [INFO] [stdout] 135 | | $($rest:tt)*) => { [INFO] [stdout] 136 | | bitfield_fields!{@field $(#[$attribute])* (pub) $default_ty, $default_ty, $default_ty, $getter, $setter: [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/npc/mod.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / bitfield! { [INFO] [stdout] 48 | | #[derive(Clone, Copy)] [INFO] [stdout] 49 | | pub struct NPCFlag(u16); [INFO] [stdout] 50 | | impl Debug; [INFO] [stdout] ... | [INFO] [stdout] 67 | | pub show_damage, set_show_damage: 15; // 0x8000 [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_hide_unless_flag_set` [INFO] [stdout] --> src/macros.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / } [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | (@field $(#[$attribute:meta])* ($($vis:tt)*) $t:ty, $from:ty, $into:ty, $getter:ident, _: $msb:expr, [INFO] [stdout] 52 | | $lsb:expr, $count:expr) => { [INFO] [stdout] ... | [INFO] [stdout] 135 | | $($rest:tt)*) => { [INFO] [stdout] 136 | | bitfield_fields!{@field $(#[$attribute])* (pub) $default_ty, $default_ty, $default_ty, $getter, $setter: [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/npc/mod.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / bitfield! { [INFO] [stdout] 48 | | #[derive(Clone, Copy)] [INFO] [stdout] 49 | | pub struct NPCFlag(u16); [INFO] [stdout] 50 | | impl Debug; [INFO] [stdout] ... | [INFO] [stdout] 67 | | pub show_damage, set_show_damage: 15; // 0x8000 [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clear` [INFO] [stdout] --> src/npc/mod.rs:406:12 [INFO] [stdout] | [INFO] [stdout] 406 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `YellowQuote` [INFO] [stdout] --> src/player.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | YellowQuote, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HumanQuote` [INFO] [stdout] --> src/player.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | HumanQuote, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Curly` [INFO] [stdout] --> src/player.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | Curly, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_delta_millis` [INFO] [stdout] --> src/shared_game_state.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn get_delta_millis(self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `orig_width` [INFO] [stdout] --> src/stage.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn orig_width(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `play_concurrent` [INFO] [stdout] --> src/sound/pixtone.rs:256:12 [INFO] [stdout] | [INFO] [stdout] 256 | pub fn play_concurrent(&mut self, id: u8, tag: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_total_samples` [INFO] [stdout] --> src/sound/playback.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn get_total_samples(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `save_state` [INFO] [stdout] --> src/sound/mod.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn save_state(&mut self) -> GameResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Inventory` [INFO] [stdout] --> src/text_script.rs:329:5 [INFO] [stdout] | [INFO] [stdout] 329 | Inventory, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `has_event` [INFO] [stdout] --> src/text_script.rs:1788:12 [INFO] [stdout] | [INFO] [stdout] 1788 | pub fn has_event(&self, id: u16) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `real_width` [INFO] [stdout] --> src/texture_set.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | real_width: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `real_height` [INFO] [stdout] --> src/texture_set.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | real_height: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dimensions` [INFO] [stdout] --> src/texture_set.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn dimensions(&self) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `real_dimensions` [INFO] [stdout] --> src/texture_set.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn real_dimensions(&self) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_rect` [INFO] [stdout] --> src/texture_set.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn to_rect(&self) -> common::Rect { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clear` [INFO] [stdout] --> src/texture_set.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load_image_from_buf` [INFO] [stdout] --> src/texture_set.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | fn load_image_from_buf(&self, ctx: &mut Context, buf: &[u8]) -> GameResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_rect` [INFO] [stdout] --> src/texture_set.rs:236:12 [INFO] [stdout] | [INFO] [stdout] 236 | pub fn draw_rect(&self, rect: common::Rect, color: [f32; 4], ctx: &mut Context) -> GameResult { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_outline_rect` [INFO] [stdout] --> src/texture_set.rs:242:12 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn draw_outline_rect(&self, rect: common::Rect, width: f32, color: [f32; 4], ctx: &mut Context) -> GameResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Device` [INFO] [stdout] --> src/ui.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub type Device = gfx_device_gl::Device; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Factory` [INFO] [stdout] --> src/ui.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub type Factory = gfx_device_gl::Factory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `last_time` [INFO] [stdout] --> src/lib.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | last_time: Instant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/profile.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | let mut something = [0u8; 0x80]; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/npc/grasstown.rs:383:19 [INFO] [stdout] | [INFO] [stdout] 383 | } else if self.action_num >= 0 && self.shock > 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/profile.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | state.sound_manager.play_song(self.current_song as usize, &state.constants, ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/profile.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | data.write(&something); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/sound/mod.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | self.tx.send(PlaybackMessage::PlaySample(id)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scene/game_scene.rs:1157:25 [INFO] [stdout] | [INFO] [stdout] 1157 | let mut npc = npc_cell.borrow(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 105 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `count_bullets` [INFO] [stdout] --> src/bullet.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn count_bullets(&self, btype: u16) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_snack_destroy` [INFO] [stdout] --> src/macros.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / } [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | (@field $(#[$attribute:meta])* ($($vis:tt)*) $t:ty, $from:ty, $into:ty, $getter:ident, _: $msb:expr, [INFO] [stdout] 52 | | $lsb:expr, $count:expr) => { [INFO] [stdout] ... | [INFO] [stdout] 135 | | $($rest:tt)*) => { [INFO] [stdout] 136 | | bitfield_fields!{@field $(#[$attribute])* (pub) $default_ty, $default_ty, $default_ty, $getter, $setter: [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/common.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / bitfield! { [INFO] [stdout] 13 | | #[derive(Clone, Copy)] [INFO] [stdout] 14 | | pub struct Flag(u32); [INFO] [stdout] 15 | | impl Debug; [INFO] [stdout] ... | [INFO] [stdout] 36 | | pub hit_right_bigger_half, set_hit_right_bigger_half: 19; // 0x80000 [INFO] [stdout] 37 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_flag_x80` [INFO] [stdout] --> src/macros.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / } [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | (@field $(#[$attribute:meta])* ($($vis:tt)*) $t:ty, $from:ty, $into:ty, $getter:ident, _: $msb:expr, [INFO] [stdout] 52 | | $lsb:expr, $count:expr) => { [INFO] [stdout] ... | [INFO] [stdout] 135 | | $($rest:tt)*) => { [INFO] [stdout] 136 | | bitfield_fields!{@field $(#[$attribute])* (pub) $default_ty, $default_ty, $default_ty, $getter, $setter: [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/common.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / bitfield! { [INFO] [stdout] 13 | | #[derive(Clone, Copy)] [INFO] [stdout] 14 | | pub struct Flag(u32); [INFO] [stdout] 15 | | impl Debug; [INFO] [stdout] ... | [INFO] [stdout] 36 | | pub hit_right_bigger_half, set_hit_right_bigger_half: 19; // 0x80000 [INFO] [stdout] 37 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_water_splash_facing_right` [INFO] [stdout] --> src/macros.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / } [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | (@field $(#[$attribute:meta])* ($($vis:tt)*) $t:ty, $from:ty, $into:ty, $getter:ident, _: $msb:expr, [INFO] [stdout] 52 | | $lsb:expr, $count:expr) => { [INFO] [stdout] ... | [INFO] [stdout] 135 | | $($rest:tt)*) => { [INFO] [stdout] 136 | | bitfield_fields!{@field $(#[$attribute])* (pub) $default_ty, $default_ty, $default_ty, $getter, $setter: [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/common.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / bitfield! { [INFO] [stdout] 13 | | #[derive(Clone, Copy)] [INFO] [stdout] 14 | | pub struct Flag(u32); [INFO] [stdout] 15 | | impl Debug; [INFO] [stdout] ... | [INFO] [stdout] 36 | | pub hit_right_bigger_half, set_hit_right_bigger_half: 19; // 0x80000 [INFO] [stdout] 37 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_booster_0_8` [INFO] [stdout] --> src/macros.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / } [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | (@field $(#[$attribute:meta])* ($($vis:tt)*) $t:ty, $from:ty, $into:ty, $getter:ident, _: $msb:expr, [INFO] [stdout] 52 | | $lsb:expr, $count:expr) => { [INFO] [stdout] ... | [INFO] [stdout] 135 | | $($rest:tt)*) => { [INFO] [stdout] 136 | | bitfield_fields!{@field $(#[$attribute])* (pub) $default_ty, $default_ty, $default_ty, $getter, $setter: [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/common.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / bitfield! { [INFO] [stdout] 40 | | #[derive(Clone, Copy)] [INFO] [stdout] 41 | | pub struct Equipment(u16); [INFO] [stdout] 42 | | impl Debug; [INFO] [stdout] ... | [INFO] [stdout] 61 | | pub unused_7, set_unused_7: 15; // 0x8000 / P768 [INFO] [stdout] 62 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_map` [INFO] [stdout] --> src/macros.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / } [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | (@field $(#[$attribute:meta])* ($($vis:tt)*) $t:ty, $from:ty, $into:ty, $getter:ident, _: $msb:expr, [INFO] [stdout] 52 | | $lsb:expr, $count:expr) => { [INFO] [stdout] ... | [INFO] [stdout] 135 | | $($rest:tt)*) => { [INFO] [stdout] 136 | | bitfield_fields!{@field $(#[$attribute])* (pub) $default_ty, $default_ty, $default_ty, $getter, $setter: [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/common.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / bitfield! { [INFO] [stdout] 40 | | #[derive(Clone, Copy)] [INFO] [stdout] 41 | | pub struct Equipment(u16); [INFO] [stdout] 42 | | impl Debug; [INFO] [stdout] ... | [INFO] [stdout] 61 | | pub unused_7, set_unused_7: 15; // 0x8000 / P768 [INFO] [stdout] 62 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_arms_barrier` [INFO] [stdout] --> src/macros.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / } [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | (@field $(#[$attribute:meta])* ($($vis:tt)*) $t:ty, $from:ty, $into:ty, $getter:ident, _: $msb:expr, [INFO] [stdout] 52 | | $lsb:expr, $count:expr) => { [INFO] [stdout] ... | [INFO] [stdout] 135 | | $($rest:tt)*) => { [INFO] [stdout] 136 | | bitfield_fields!{@field $(#[$attribute])* (pub) $default_ty, $default_ty, $default_ty, $getter, $setter: [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/common.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / bitfield! { [INFO] [stdout] 40 | | #[derive(Clone, Copy)] [INFO] [stdout] 41 | | pub struct Equipment(u16); [INFO] [stdout] 42 | | impl Debug; [INFO] [stdout] ... | [INFO] [stdout] 61 | | pub unused_7, set_unused_7: 15; // 0x8000 / P768 [INFO] [stdout] 62 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_turbocharge` [INFO] [stdout] --> src/macros.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / } [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | (@field $(#[$attribute:meta])* ($($vis:tt)*) $t:ty, $from:ty, $into:ty, $getter:ident, _: $msb:expr, [INFO] [stdout] 52 | | $lsb:expr, $count:expr) => { [INFO] [stdout] ... | [INFO] [stdout] 135 | | $($rest:tt)*) => { [INFO] [stdout] 136 | | bitfield_fields!{@field $(#[$attribute])* (pub) $default_ty, $default_ty, $default_ty, $getter, $setter: [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/common.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / bitfield! { [INFO] [stdout] 40 | | #[derive(Clone, Copy)] [INFO] [stdout] 41 | | pub struct Equipment(u16); [INFO] [stdout] 42 | | impl Debug; [INFO] [stdout] ... | [INFO] [stdout] 61 | | pub unused_7, set_unused_7: 15; // 0x8000 / P768 [INFO] [stdout] 62 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_air_tank` [INFO] [stdout] --> src/macros.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / } [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | (@field $(#[$attribute:meta])* ($($vis:tt)*) $t:ty, $from:ty, $into:ty, $getter:ident, _: $msb:expr, [INFO] [stdout] 52 | | $lsb:expr, $count:expr) => { [INFO] [stdout] ... | [INFO] [stdout] 135 | | $($rest:tt)*) => { [INFO] [stdout] 136 | | bitfield_fields!{@field $(#[$attribute])* (pub) $default_ty, $default_ty, $default_ty, $getter, $setter: [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/common.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / bitfield! { [INFO] [stdout] 40 | | #[derive(Clone, Copy)] [INFO] [stdout] 41 | | pub struct Equipment(u16); [INFO] [stdout] 42 | | impl Debug; [INFO] [stdout] ... | [INFO] [stdout] 61 | | pub unused_7, set_unused_7: 15; // 0x8000 / P768 [INFO] [stdout] 62 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_booster_2_0` [INFO] [stdout] --> src/macros.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / } [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | (@field $(#[$attribute:meta])* ($($vis:tt)*) $t:ty, $from:ty, $into:ty, $getter:ident, _: $msb:expr, [INFO] [stdout] 52 | | $lsb:expr, $count:expr) => { [INFO] [stdout] ... | [INFO] [stdout] 135 | | $($rest:tt)*) => { [INFO] [stdout] 136 | | bitfield_fields!{@field $(#[$attribute])* (pub) $default_ty, $default_ty, $default_ty, $getter, $setter: [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/common.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / bitfield! { [INFO] [stdout] 40 | | #[derive(Clone, Copy)] [INFO] [stdout] 41 | | pub struct Equipment(u16); [INFO] [stdout] 42 | | impl Debug; [INFO] [stdout] ... | [INFO] [stdout] 61 | | pub unused_7, set_unused_7: 15; // 0x8000 / P768 [INFO] [stdout] 62 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_mimiga_mask` [INFO] [stdout] --> src/macros.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / } [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | (@field $(#[$attribute:meta])* ($($vis:tt)*) $t:ty, $from:ty, $into:ty, $getter:ident, _: $msb:expr, [INFO] [stdout] 52 | | $lsb:expr, $count:expr) => { [INFO] [stdout] ... | [INFO] [stdout] 135 | | $($rest:tt)*) => { [INFO] [stdout] 136 | | bitfield_fields!{@field $(#[$attribute])* (pub) $default_ty, $default_ty, $default_ty, $getter, $setter: [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/common.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / bitfield! { [INFO] [stdout] 40 | | #[derive(Clone, Copy)] [INFO] [stdout] 41 | | pub struct Equipment(u16); [INFO] [stdout] 42 | | impl Debug; [INFO] [stdout] ... | [INFO] [stdout] 61 | | pub unused_7, set_unused_7: 15; // 0x8000 / P768 [INFO] [stdout] 62 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_whimsical_star` [INFO] [stdout] --> src/macros.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / } [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | (@field $(#[$attribute:meta])* ($($vis:tt)*) $t:ty, $from:ty, $into:ty, $getter:ident, _: $msb:expr, [INFO] [stdout] 52 | | $lsb:expr, $count:expr) => { [INFO] [stdout] ... | [INFO] [stdout] 135 | | $($rest:tt)*) => { [INFO] [stdout] 136 | | bitfield_fields!{@field $(#[$attribute])* (pub) $default_ty, $default_ty, $default_ty, $getter, $setter: [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/common.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / bitfield! { [INFO] [stdout] 40 | | #[derive(Clone, Copy)] [INFO] [stdout] 41 | | pub struct Equipment(u16); [INFO] [stdout] 42 | | impl Debug; [INFO] [stdout] ... | [INFO] [stdout] 61 | | pub unused_7, set_unused_7: 15; // 0x8000 / P768 [INFO] [stdout] 62 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_nikumaru` [INFO] [stdout] --> src/macros.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / } [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | (@field $(#[$attribute:meta])* ($($vis:tt)*) $t:ty, $from:ty, $into:ty, $getter:ident, _: $msb:expr, [INFO] [stdout] 52 | | $lsb:expr, $count:expr) => { [INFO] [stdout] ... | [INFO] [stdout] 135 | | $($rest:tt)*) => { [INFO] [stdout] 136 | | bitfield_fields!{@field $(#[$attribute])* (pub) $default_ty, $default_ty, $default_ty, $getter, $setter: [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/common.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / bitfield! { [INFO] [stdout] 40 | | #[derive(Clone, Copy)] [INFO] [stdout] 41 | | pub struct Equipment(u16); [INFO] [stdout] 42 | | impl Debug; [INFO] [stdout] ... | [INFO] [stdout] 61 | | pub unused_7, set_unused_7: 15; // 0x8000 / P768 [INFO] [stdout] 62 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_unused_1` [INFO] [stdout] --> src/macros.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / } [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | (@field $(#[$attribute:meta])* ($($vis:tt)*) $t:ty, $from:ty, $into:ty, $getter:ident, _: $msb:expr, [INFO] [stdout] 52 | | $lsb:expr, $count:expr) => { [INFO] [stdout] ... | [INFO] [stdout] 135 | | $($rest:tt)*) => { [INFO] [stdout] 136 | | bitfield_fields!{@field $(#[$attribute])* (pub) $default_ty, $default_ty, $default_ty, $getter, $setter: [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/common.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / bitfield! { [INFO] [stdout] 40 | | #[derive(Clone, Copy)] [INFO] [stdout] 41 | | pub struct Equipment(u16); [INFO] [stdout] 42 | | impl Debug; [INFO] [stdout] ... | [INFO] [stdout] 61 | | pub unused_7, set_unused_7: 15; // 0x8000 / P768 [INFO] [stdout] 62 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_unused_2` [INFO] [stdout] --> src/macros.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / } [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | (@field $(#[$attribute:meta])* ($($vis:tt)*) $t:ty, $from:ty, $into:ty, $getter:ident, _: $msb:expr, [INFO] [stdout] 52 | | $lsb:expr, $count:expr) => { [INFO] [stdout] ... | [INFO] [stdout] 135 | | $($rest:tt)*) => { [INFO] [stdout] 136 | | bitfield_fields!{@field $(#[$attribute])* (pub) $default_ty, $default_ty, $default_ty, $getter, $setter: [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/common.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / bitfield! { [INFO] [stdout] 40 | | #[derive(Clone, Copy)] [INFO] [stdout] 41 | | pub struct Equipment(u16); [INFO] [stdout] 42 | | impl Debug; [INFO] [stdout] ... | [INFO] [stdout] 61 | | pub unused_7, set_unused_7: 15; // 0x8000 / P768 [INFO] [stdout] 62 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_unused_3` [INFO] [stdout] --> src/macros.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / } [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | (@field $(#[$attribute:meta])* ($($vis:tt)*) $t:ty, $from:ty, $into:ty, $getter:ident, _: $msb:expr, [INFO] [stdout] 52 | | $lsb:expr, $count:expr) => { [INFO] [stdout] ... | [INFO] [stdout] 135 | | $($rest:tt)*) => { [INFO] [stdout] 136 | | bitfield_fields!{@field $(#[$attribute])* (pub) $default_ty, $default_ty, $default_ty, $getter, $setter: [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/common.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / bitfield! { [INFO] [stdout] 40 | | #[derive(Clone, Copy)] [INFO] [stdout] 41 | | pub struct Equipment(u16); [INFO] [stdout] 42 | | impl Debug; [INFO] [stdout] ... | [INFO] [stdout] 61 | | pub unused_7, set_unused_7: 15; // 0x8000 / P768 [INFO] [stdout] 62 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_unused_4` [INFO] [stdout] --> src/macros.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / } [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | (@field $(#[$attribute:meta])* ($($vis:tt)*) $t:ty, $from:ty, $into:ty, $getter:ident, _: $msb:expr, [INFO] [stdout] 52 | | $lsb:expr, $count:expr) => { [INFO] [stdout] ... | [INFO] [stdout] 135 | | $($rest:tt)*) => { [INFO] [stdout] 136 | | bitfield_fields!{@field $(#[$attribute])* (pub) $default_ty, $default_ty, $default_ty, $getter, $setter: [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/common.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / bitfield! { [INFO] [stdout] 40 | | #[derive(Clone, Copy)] [INFO] [stdout] 41 | | pub struct Equipment(u16); [INFO] [stdout] 42 | | impl Debug; [INFO] [stdout] ... | [INFO] [stdout] 61 | | pub unused_7, set_unused_7: 15; // 0x8000 / P768 [INFO] [stdout] 62 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_unused_5` [INFO] [stdout] --> src/macros.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / } [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | (@field $(#[$attribute:meta])* ($($vis:tt)*) $t:ty, $from:ty, $into:ty, $getter:ident, _: $msb:expr, [INFO] [stdout] 52 | | $lsb:expr, $count:expr) => { [INFO] [stdout] ... | [INFO] [stdout] 135 | | $($rest:tt)*) => { [INFO] [stdout] 136 | | bitfield_fields!{@field $(#[$attribute])* (pub) $default_ty, $default_ty, $default_ty, $getter, $setter: [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/common.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / bitfield! { [INFO] [stdout] 40 | | #[derive(Clone, Copy)] [INFO] [stdout] 41 | | pub struct Equipment(u16); [INFO] [stdout] 42 | | impl Debug; [INFO] [stdout] ... | [INFO] [stdout] 61 | | pub unused_7, set_unused_7: 15; // 0x8000 / P768 [INFO] [stdout] 62 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_unused_6` [INFO] [stdout] --> src/macros.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / } [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | (@field $(#[$attribute:meta])* ($($vis:tt)*) $t:ty, $from:ty, $into:ty, $getter:ident, _: $msb:expr, [INFO] [stdout] 52 | | $lsb:expr, $count:expr) => { [INFO] [stdout] ... | [INFO] [stdout] 135 | | $($rest:tt)*) => { [INFO] [stdout] 136 | | bitfield_fields!{@field $(#[$attribute])* (pub) $default_ty, $default_ty, $default_ty, $getter, $setter: [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/common.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / bitfield! { [INFO] [stdout] 40 | | #[derive(Clone, Copy)] [INFO] [stdout] 41 | | pub struct Equipment(u16); [INFO] [stdout] 42 | | impl Debug; [INFO] [stdout] ... | [INFO] [stdout] 61 | | pub unused_7, set_unused_7: 15; // 0x8000 / P768 [INFO] [stdout] 62 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_unused_7` [INFO] [stdout] --> src/macros.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / } [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | (@field $(#[$attribute:meta])* ($($vis:tt)*) $t:ty, $from:ty, $into:ty, $getter:ident, _: $msb:expr, [INFO] [stdout] 52 | | $lsb:expr, $count:expr) => { [INFO] [stdout] ... | [INFO] [stdout] 135 | | $($rest:tt)*) => { [INFO] [stdout] 136 | | bitfield_fields!{@field $(#[$attribute])* (pub) $default_ty, $default_ty, $default_ty, $getter, $setter: [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/common.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / bitfield! { [INFO] [stdout] 40 | | #[derive(Clone, Copy)] [INFO] [stdout] 41 | | pub struct Equipment(u16); [INFO] [stdout] 42 | | impl Debug; [INFO] [stdout] ... | [INFO] [stdout] 61 | | pub unused_7, set_unused_7: 15; // 0x8000 / P768 [INFO] [stdout] 62 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_cond_x40` [INFO] [stdout] --> src/macros.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / } [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | (@field $(#[$attribute:meta])* ($($vis:tt)*) $t:ty, $from:ty, $into:ty, $getter:ident, _: $msb:expr, [INFO] [stdout] 52 | | $lsb:expr, $count:expr) => { [INFO] [stdout] ... | [INFO] [stdout] 135 | | $($rest:tt)*) => { [INFO] [stdout] 136 | | bitfield_fields!{@field $(#[$attribute])* (pub) $default_ty, $default_ty, $default_ty, $getter, $setter: [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/common.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | / bitfield! { [INFO] [stdout] 65 | | #[derive(Clone, Copy)] [INFO] [stdout] 66 | | pub struct Condition(u16); [INFO] [stdout] 67 | | impl Debug; [INFO] [stdout] ... | [INFO] [stdout] 81 | | pub drs_destroyed, set_drs_destroyed: 15; [INFO] [stdout] 82 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_map` [INFO] [stdout] --> src/macros.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / } [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | (@field $(#[$attribute:meta])* ($($vis:tt)*) $t:ty, $from:ty, $into:ty, $getter:ident, _: $msb:expr, [INFO] [stdout] 52 | | $lsb:expr, $count:expr) => { [INFO] [stdout] ... | [INFO] [stdout] 135 | | $($rest:tt)*) => { [INFO] [stdout] 136 | | bitfield_fields!{@field $(#[$attribute])* (pub) $default_ty, $default_ty, $default_ty, $getter, $setter: [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/common.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | / bitfield! { [INFO] [stdout] 85 | | #[derive(Clone, Copy)] [INFO] [stdout] 86 | | pub struct KeyState(u16); [INFO] [stdout] 87 | | impl Debug; [INFO] [stdout] ... | [INFO] [stdout] 97 | | pub weapon_prev, set_weapon_prev: 8; [INFO] [stdout] 98 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_credits_running` [INFO] [stdout] --> src/macros.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / } [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | (@field $(#[$attribute:meta])* ($($vis:tt)*) $t:ty, $from:ty, $into:ty, $getter:ident, _: $msb:expr, [INFO] [stdout] 52 | | $lsb:expr, $count:expr) => { [INFO] [stdout] ... | [INFO] [stdout] 135 | | $($rest:tt)*) => { [INFO] [stdout] 136 | | bitfield_fields!{@field $(#[$attribute])* (pub) $default_ty, $default_ty, $default_ty, $getter, $setter: [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/common.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | / bitfield! { [INFO] [stdout] 101 | | #[derive(Clone, Copy)] [INFO] [stdout] 102 | | pub struct ControlFlags(u16); [INFO] [stdout] 103 | | impl Debug; [INFO] [stdout] ... | [INFO] [stdout] 111 | | pub wind, set_wind: 15; [INFO] [stdout] 112 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_wind` [INFO] [stdout] --> src/macros.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / } [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | (@field $(#[$attribute:meta])* ($($vis:tt)*) $t:ty, $from:ty, $into:ty, $getter:ident, _: $msb:expr, [INFO] [stdout] 52 | | $lsb:expr, $count:expr) => { [INFO] [stdout] ... | [INFO] [stdout] 135 | | $($rest:tt)*) => { [INFO] [stdout] 136 | | bitfield_fields!{@field $(#[$attribute])* (pub) $default_ty, $default_ty, $default_ty, $getter, $setter: [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/common.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | / bitfield! { [INFO] [stdout] 101 | | #[derive(Clone, Copy)] [INFO] [stdout] 102 | | pub struct ControlFlags(u16); [INFO] [stdout] 103 | | impl Debug; [INFO] [stdout] ... | [INFO] [stdout] 111 | | pub wind, set_wind: 15; [INFO] [stdout] 112 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from` [INFO] [stdout] --> src/common.rs:248:12 [INFO] [stdout] | [INFO] [stdout] 248 | pub fn from(rect: ggez::graphics::Rect) -> Rect { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tick_b08_press` [INFO] [stdout] --> src/npc/boss/press.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) fn tick_b08_press(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_flag_x400` [INFO] [stdout] --> src/macros.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / } [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | (@field $(#[$attribute:meta])* ($($vis:tt)*) $t:ty, $from:ty, $into:ty, $getter:ident, _: $msb:expr, [INFO] [stdout] 52 | | $lsb:expr, $count:expr) => { [INFO] [stdout] ... | [INFO] [stdout] 135 | | $($rest:tt)*) => { [INFO] [stdout] 136 | | bitfield_fields!{@field $(#[$attribute])* (pub) $default_ty, $default_ty, $default_ty, $getter, $setter: [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/npc/mod.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / bitfield! { [INFO] [stdout] 48 | | #[derive(Clone, Copy)] [INFO] [stdout] 49 | | pub struct NPCFlag(u16); [INFO] [stdout] 50 | | impl Debug; [INFO] [stdout] ... | [INFO] [stdout] 67 | | pub show_damage, set_show_damage: 15; // 0x8000 [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_appear_when_flag_set` [INFO] [stdout] --> src/macros.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / } [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | (@field $(#[$attribute:meta])* ($($vis:tt)*) $t:ty, $from:ty, $into:ty, $getter:ident, _: $msb:expr, [INFO] [stdout] 52 | | $lsb:expr, $count:expr) => { [INFO] [stdout] ... | [INFO] [stdout] 135 | | $($rest:tt)*) => { [INFO] [stdout] 136 | | bitfield_fields!{@field $(#[$attribute])* (pub) $default_ty, $default_ty, $default_ty, $getter, $setter: [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/npc/mod.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / bitfield! { [INFO] [stdout] 48 | | #[derive(Clone, Copy)] [INFO] [stdout] 49 | | pub struct NPCFlag(u16); [INFO] [stdout] 50 | | impl Debug; [INFO] [stdout] ... | [INFO] [stdout] 67 | | pub show_damage, set_show_damage: 15; // 0x8000 [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_spawn_facing_right` [INFO] [stdout] --> src/macros.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / } [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | (@field $(#[$attribute:meta])* ($($vis:tt)*) $t:ty, $from:ty, $into:ty, $getter:ident, _: $msb:expr, [INFO] [stdout] 52 | | $lsb:expr, $count:expr) => { [INFO] [stdout] ... | [INFO] [stdout] 135 | | $($rest:tt)*) => { [INFO] [stdout] 136 | | bitfield_fields!{@field $(#[$attribute])* (pub) $default_ty, $default_ty, $default_ty, $getter, $setter: [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/npc/mod.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / bitfield! { [INFO] [stdout] 48 | | #[derive(Clone, Copy)] [INFO] [stdout] 49 | | pub struct NPCFlag(u16); [INFO] [stdout] 50 | | impl Debug; [INFO] [stdout] ... | [INFO] [stdout] 67 | | pub show_damage, set_show_damage: 15; // 0x8000 [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_hide_unless_flag_set` [INFO] [stdout] --> src/macros.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / } [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | (@field $(#[$attribute:meta])* ($($vis:tt)*) $t:ty, $from:ty, $into:ty, $getter:ident, _: $msb:expr, [INFO] [stdout] 52 | | $lsb:expr, $count:expr) => { [INFO] [stdout] ... | [INFO] [stdout] 135 | | $($rest:tt)*) => { [INFO] [stdout] 136 | | bitfield_fields!{@field $(#[$attribute])* (pub) $default_ty, $default_ty, $default_ty, $getter, $setter: [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/npc/mod.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / bitfield! { [INFO] [stdout] 48 | | #[derive(Clone, Copy)] [INFO] [stdout] 49 | | pub struct NPCFlag(u16); [INFO] [stdout] 50 | | impl Debug; [INFO] [stdout] ... | [INFO] [stdout] 67 | | pub show_damage, set_show_damage: 15; // 0x8000 [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clear` [INFO] [stdout] --> src/npc/mod.rs:406:12 [INFO] [stdout] | [INFO] [stdout] 406 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `YellowQuote` [INFO] [stdout] --> src/player.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | YellowQuote, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HumanQuote` [INFO] [stdout] --> src/player.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | HumanQuote, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Curly` [INFO] [stdout] --> src/player.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | Curly, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_delta_millis` [INFO] [stdout] --> src/shared_game_state.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn get_delta_millis(self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `orig_width` [INFO] [stdout] --> src/stage.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn orig_width(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `play_concurrent` [INFO] [stdout] --> src/sound/pixtone.rs:256:12 [INFO] [stdout] | [INFO] [stdout] 256 | pub fn play_concurrent(&mut self, id: u8, tag: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_total_samples` [INFO] [stdout] --> src/sound/playback.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn get_total_samples(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `save_state` [INFO] [stdout] --> src/sound/mod.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn save_state(&mut self) -> GameResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Inventory` [INFO] [stdout] --> src/text_script.rs:329:5 [INFO] [stdout] | [INFO] [stdout] 329 | Inventory, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_varint` [INFO] [stdout] --> src/text_script.rs:1660:8 [INFO] [stdout] | [INFO] [stdout] 1660 | fn read_varint>(iter: &mut I) -> GameResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `has_event` [INFO] [stdout] --> src/text_script.rs:1788:12 [INFO] [stdout] | [INFO] [stdout] 1788 | pub fn has_event(&self, id: u16) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `real_width` [INFO] [stdout] --> src/texture_set.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | real_width: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `real_height` [INFO] [stdout] --> src/texture_set.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | real_height: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dimensions` [INFO] [stdout] --> src/texture_set.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn dimensions(&self) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `real_dimensions` [INFO] [stdout] --> src/texture_set.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn real_dimensions(&self) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_rect` [INFO] [stdout] --> src/texture_set.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn to_rect(&self) -> common::Rect { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clear` [INFO] [stdout] --> src/texture_set.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load_image_from_buf` [INFO] [stdout] --> src/texture_set.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | fn load_image_from_buf(&self, ctx: &mut Context, buf: &[u8]) -> GameResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_rect` [INFO] [stdout] --> src/texture_set.rs:236:12 [INFO] [stdout] | [INFO] [stdout] 236 | pub fn draw_rect(&self, rect: common::Rect, color: [f32; 4], ctx: &mut Context) -> GameResult { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_outline_rect` [INFO] [stdout] --> src/texture_set.rs:242:12 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn draw_outline_rect(&self, rect: common::Rect, width: f32, color: [f32; 4], ctx: &mut Context) -> GameResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Device` [INFO] [stdout] --> src/ui.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub type Device = gfx_device_gl::Device; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Factory` [INFO] [stdout] --> src/ui.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub type Factory = gfx_device_gl::Factory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `last_time` [INFO] [stdout] --> src/lib.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | last_time: Instant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/npc/grasstown.rs:383:19 [INFO] [stdout] | [INFO] [stdout] 383 | } else if self.action_num >= 0 && self.shock > 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/profile.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | state.sound_manager.play_song(self.current_song as usize, &state.constants, ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/profile.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | data.write(&something); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/sound/mod.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | self.tx.send(PlaybackMessage::PlaySample(id)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 106 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10m 02s [INFO] running `Command { std: "docker" "inspect" "760a0fbbe83f8c3eb114c42c37f2ac2cd383874a551e245725cc20f36e1021d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "760a0fbbe83f8c3eb114c42c37f2ac2cd383874a551e245725cc20f36e1021d9", kill_on_drop: false }` [INFO] [stdout] 760a0fbbe83f8c3eb114c42c37f2ac2cd383874a551e245725cc20f36e1021d9