[INFO] cloning repository https://github.com/xmoezzz/rfvp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xmoezzz/rfvp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxmoezzz%2Frfvp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxmoezzz%2Frfvp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 37fc770eff3a7f3ad2806ccb6b5890fdf6835787 [INFO] checking xmoezzz/rfvp against master#aa067fb984d36462548bb785da221bfaf38253f0 for pr-122470 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxmoezzz%2Frfvp" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xmoezzz/rfvp on toolchain aa067fb984d36462548bb785da221bfaf38253f0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+aa067fb984d36462548bb785da221bfaf38253f0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/xmoezzz/rfvp [INFO] finished tweaking git repo https://github.com/xmoezzz/rfvp [INFO] tweaked toml for git repo https://github.com/xmoezzz/rfvp written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/xmoezzz/rfvp already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+aa067fb984d36462548bb785da221bfaf38253f0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/xmoezzz/fontdue` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wayland-cursor v0.31.1 [INFO] [stderr] Downloaded wayland-scanner v0.31.1 [INFO] [stderr] Downloaded hexf v0.2.1 [INFO] [stderr] Downloaded fdk-aac v0.6.0 [INFO] [stderr] Downloaded wayland-backend v0.3.3 [INFO] [stderr] Downloaded colored v1.9.4 [INFO] [stderr] Downloaded ab_glyph v0.2.24 [INFO] [stderr] Downloaded nasm-rs v0.2.5 [INFO] [stderr] Downloaded twofloat v0.7.0 [INFO] [stderr] Downloaded tiny-skia-path v0.11.4 [INFO] [stderr] Downloaded hecs v0.10.4 [INFO] [stderr] Downloaded mp4 v0.14.0 [INFO] [stderr] Downloaded tiny-skia v0.11.4 [INFO] [stderr] Downloaded smithay-client-toolkit v0.18.1 [INFO] [stderr] Downloaded wayland-protocols v0.31.2 [INFO] [stderr] Downloaded openh264-sys2 v0.4.4 [INFO] [stderr] Downloaded ultraviolet v0.9.2 [INFO] [stderr] Downloaded openh264 v0.4.4 [INFO] [stderr] Downloaded symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Downloaded wayland-client v0.31.2 [INFO] [stderr] Downloaded fdk-aac-sys v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+aa067fb984d36462548bb785da221bfaf38253f0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a530daef1308705b2632932c52a5a5cee842a81763765d92482dce1919b1351a [INFO] running `Command { std: "docker" "start" "-a" "a530daef1308705b2632932c52a5a5cee842a81763765d92482dce1919b1351a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a530daef1308705b2632932c52a5a5cee842a81763765d92482dce1919b1351a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a530daef1308705b2632932c52a5a5cee842a81763765d92482dce1919b1351a", kill_on_drop: false }` [INFO] [stdout] a530daef1308705b2632932c52a5a5cee842a81763765d92482dce1919b1351a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+aa067fb984d36462548bb785da221bfaf38253f0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f0dc3f9d3c3bf5220a2d7f00b5b0870a8fbdefe1c42487b6c18ea4d629eacf7 [INFO] running `Command { std: "docker" "start" "-a" "6f0dc3f9d3c3bf5220a2d7f00b5b0870a8fbdefe1c42487b6c18ea4d629eacf7", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking libloading v0.8.3 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling wayland-sys v0.31.1 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling jobserver v0.1.30 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling cc v1.0.92 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Compiling wayland-scanner v0.31.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking petgraph v0.6.4 [INFO] [stderr] Compiling wgpu-hal v0.19.3 [INFO] [stderr] Checking gpu-descriptor-types v0.1.2 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Compiling wayland-backend v0.3.3 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Compiling nasm-rs v0.2.5 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Checking xkeysym v0.2.0 [INFO] [stderr] Checking unicode-xid v0.2.4 [INFO] [stderr] Checking xcursor v0.3.5 [INFO] [stderr] Checking raw-window-handle v0.6.0 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Compiling openh264-sys2 v0.4.4 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking polling v3.6.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking owned_ttf_parser v0.20.0 [INFO] [stderr] Compiling fdk-aac-sys v0.5.0 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Checking gpu-descriptor v0.2.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling wgpu-core v0.19.3 [INFO] [stderr] Checking wgpu-types v0.19.2 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling bytemuck_derive v1.6.0 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking glow v0.13.1 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Checking profiling v1.0.15 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking ab_glyph v0.2.24 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking bytemuck v1.15.0 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking safe_arch v0.7.1 [INFO] [stderr] Checking alsa v0.9.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking ogg v0.8.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Compiling winit v0.29.15 [INFO] [stderr] Compiling wgpu v0.19.3 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking dasp_sample v0.11.0 [INFO] [stderr] Checking serde v1.0.197 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Checking x11rb-protocol v0.13.0 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] error: could not compile `ash` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/aa067fb984d36462548bb785da221bfaf38253f0/bin/rustc --crate-name ash --edition=2021 /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ash-0.37.3+1.3.251/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="debug"' --cfg 'feature="default"' --cfg 'feature="libloading"' --cfg 'feature="loaded"' -C metadata=a20fabdf37b436a7 -C extra-filename=-a20fabdf37b436a7 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern libloading=/opt/rustwide/target/debug/deps/liblibloading-81adf139dc0e97f7.rmeta --cap-lints allow --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "6f0dc3f9d3c3bf5220a2d7f00b5b0870a8fbdefe1c42487b6c18ea4d629eacf7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f0dc3f9d3c3bf5220a2d7f00b5b0870a8fbdefe1c42487b6c18ea4d629eacf7", kill_on_drop: false }` [INFO] [stdout] 6f0dc3f9d3c3bf5220a2d7f00b5b0870a8fbdefe1c42487b6c18ea4d629eacf7 [INFO] checking xmoezzz/rfvp against try#707d6562f55b55a7aab4ab3a904997116b358314 for pr-122470 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxmoezzz%2Frfvp" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xmoezzz/rfvp on toolchain 707d6562f55b55a7aab4ab3a904997116b358314 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+707d6562f55b55a7aab4ab3a904997116b358314" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/xmoezzz/rfvp [INFO] finished tweaking git repo https://github.com/xmoezzz/rfvp [INFO] tweaked toml for git repo https://github.com/xmoezzz/rfvp written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/xmoezzz/rfvp already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+707d6562f55b55a7aab4ab3a904997116b358314" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+707d6562f55b55a7aab4ab3a904997116b358314" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e7dcdd11be6da9318413858ea8442c3c313f92872df140f597c15b76fced32ae [INFO] running `Command { std: "docker" "start" "-a" "e7dcdd11be6da9318413858ea8442c3c313f92872df140f597c15b76fced32ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e7dcdd11be6da9318413858ea8442c3c313f92872df140f597c15b76fced32ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7dcdd11be6da9318413858ea8442c3c313f92872df140f597c15b76fced32ae", kill_on_drop: false }` [INFO] [stdout] e7dcdd11be6da9318413858ea8442c3c313f92872df140f597c15b76fced32ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+707d6562f55b55a7aab4ab3a904997116b358314" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5556c7c2f3cc8e84767b0f3df24bc3096a6f3b0c7434f85aed80aca439b30b03 [INFO] running `Command { std: "docker" "start" "-a" "5556c7c2f3cc8e84767b0f3df24bc3096a6f3b0c7434f85aed80aca439b30b03", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking libloading v0.8.3 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Compiling wayland-sys v0.31.1 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling jobserver v0.1.30 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling wayland-scanner v0.31.1 [INFO] [stderr] Compiling cc v1.0.92 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Checking petgraph v0.6.4 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling wgpu-hal v0.19.3 [INFO] [stderr] Compiling wayland-backend v0.3.3 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking gpu-descriptor-types v0.1.2 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Compiling nasm-rs v0.2.5 [INFO] [stderr] Checking xcursor v0.3.5 [INFO] [stderr] Checking xkeysym v0.2.0 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Checking raw-window-handle v0.6.0 [INFO] [stderr] Checking polling v3.6.0 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking unicode-xid v0.2.4 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Compiling openh264-sys2 v0.4.4 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking owned_ttf_parser v0.20.0 [INFO] [stderr] Checking gpu-descriptor v0.2.4 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling fdk-aac-sys v0.5.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling wgpu-core v0.19.3 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling bytemuck_derive v1.6.0 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking wgpu-types v0.19.2 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Checking glow v0.13.1 [INFO] [stderr] Checking profiling v1.0.15 [INFO] [stderr] Checking bytemuck v1.15.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking ab_glyph v0.2.24 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking safe_arch v0.7.1 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking alsa v0.9.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking ogg v0.8.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Compiling winit v0.29.15 [INFO] [stderr] Compiling wgpu v0.19.3 [INFO] [stderr] Checking serde v1.0.197 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking x11rb-protocol v0.13.0 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Checking dasp_sample v0.11.0 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking serde_json v1.0.115 [INFO] [stderr] Checking symphonia-core v0.5.4 [INFO] [stderr] Checking calloop v0.12.4 [INFO] [stderr] Checking naga v0.19.2 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking wayland-client v0.31.2 [INFO] [stderr] Checking symphonia-metadata v0.5.4 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Checking wayland-protocols v0.31.2 [INFO] [stderr] Checking wayland-cursor v0.31.1 [INFO] [stderr] Checking calloop-wayland-source v0.2.0 [INFO] [stderr] Compiling hexf v0.2.1 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking symphonia v0.5.4 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking colored v1.9.4 [INFO] [stderr] Checking lewton v0.10.2 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking wide v0.7.15 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking claxon v0.4.3 [INFO] [stderr] Checking wayland-protocols-wlr v0.2.0 [INFO] [stderr] Checking wayland-protocols-plasma v0.2.0 [INFO] [stderr] Checking smol_str v0.2.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking hound v3.5.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Checking rodio v0.17.3 [INFO] [stderr] Checking x11rb v0.13.0 [INFO] [stderr] Checking chrono v0.4.37 [INFO] [stderr] Checking mp4 v0.14.0 [INFO] [stderr] Checking sctk-adwaita v0.8.1 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Checking twofloat v0.7.0 [INFO] [stderr] Checking ultraviolet v0.9.2 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking fern v0.6.2 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking fontdue v0.8.0 (https://github.com/xmoezzz/fontdue#d6676be9) [INFO] [stderr] Checking hecs v0.10.4 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking atomic_refcell v0.1.13 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking winnow v0.6.6 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking toml_edit v0.22.9 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking toml v0.8.12 [INFO] [stderr] Checking openh264 v0.4.4 [INFO] [stderr] Checking fdk-aac v0.6.0 [INFO] [stderr] Checking rfvp v0.1.0 (/opt/rustwide/workdir/rfvp) [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/graph.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{bail, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> rfvp/src/script/parser.rs:318:9 [INFO] [stdout] | [INFO] [stdout] 317 | use super::*; [INFO] [stdout] | -------- the item `Path` is already imported here [INFO] [stdout] 318 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/flag.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{bail, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/motion.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{bail, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/graph.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{bail, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/flag.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{bail, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/motion.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{bail, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/motion.rs:645:37 [INFO] [stdout] | [INFO] [stdout] 645 | return Ok(Variant::Nil);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/color.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{bail, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/motion.rs:645:37 [INFO] [stdout] | [INFO] [stdout] 645 | return Ok(Variant::Nil);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/input.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/parts.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{bail, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/color.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{bail, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/input.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/parts.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{bail, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/saveload.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{bail, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/saveload.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{bail, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> rfvp/src/subsystem/resources/vfs.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 246 | use super::*; [INFO] [stdout] | -------- the item `Path` is already imported here [INFO] [stdout] 247 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::graph_buff::GraphBuff` [INFO] [stdout] --> rfvp/src/subsystem/resources/prim.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::graph_buff::GraphBuff; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> rfvp/src/subsystem/resources/texture.rs:458:9 [INFO] [stdout] | [INFO] [stdout] 457 | use super::*; [INFO] [stdout] | -------- the item `Path` is already imported here [INFO] [stdout] 458 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `atomic_refcell::AtomicRefCell` [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/normal_move.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use atomic_refcell::AtomicRefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::graph_buff::GraphBuff` [INFO] [stdout] --> rfvp/src/subsystem/resources/prim.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::graph_buff::GraphBuff; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `atomic_refcell::AtomicRefCell` [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/s2_move.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use atomic_refcell::AtomicRefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `atomic_refcell::AtomicRefCell` [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/normal_move.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use atomic_refcell::AtomicRefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `atomic_refcell::AtomicRefCell` [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/s2_move.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use atomic_refcell::AtomicRefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/snow.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `atomic_refcell::AtomicRefCell` [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/snow.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use atomic_refcell::AtomicRefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ref` [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/mod.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | use std::cell::{Ref, RefMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/snow.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `atomic_refcell::AtomicRefCell` [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/snow.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use atomic_refcell::AtomicRefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ref` [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/mod.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | use std::cell::{Ref, RefMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BigEndian`, `ByteOrder` [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use byteorder::{BigEndian, ByteOrder}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BytesMut` [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use bytes::{Buf, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TrackType` [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use mp4::{Mp4Track, TrackType}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BigEndian`, `ByteOrder` [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use byteorder::{BigEndian, ByteOrder}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BytesMut` [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use bytes::{Buf, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OutputStream`, `Sink`, `Source` [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use rodio::{OutputStream, Sink, Source}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TrackType` [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use mp4::{Mp4Track, TrackType}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Source` [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | use rodio::{OutputStream, Sink, Source}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Sender`, `channel` [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | use std::sync::mpsc::{channel, Sender}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `Weekday` [INFO] [stdout] --> rfvp/src/subsystem/resources/save_manager.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{DateTime, Datelike, Local, Timelike, Weekday}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Sender`, `channel` [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | use std::sync::mpsc::{channel, Sender}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::subsystem::components::material::Material` [INFO] [stdout] --> rfvp/src/subsystem/systems/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::subsystem::components::material::Material; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::resources::thread_manager::ThreadManager` [INFO] [stdout] --> rfvp/src/subsystem/world.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | use super::resources::thread_manager::ThreadManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::Instant` [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:743:20 [INFO] [stdout] | [INFO] [stdout] 743 | use std::{env, time::Instant}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::executor::block_on` [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:745:9 [INFO] [stdout] | [INFO] [stdout] 745 | use futures::executor::block_on; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CompositeAlphaMode`, `SamplerBindingType`, `SurfaceConfiguration`, `TextureFormat` [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:746:16 [INFO] [stdout] | [INFO] [stdout] 746 | use wgpu::{CompositeAlphaMode, SamplerBindingType, SurfaceConfiguration, TextureFormat}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Event`, `WindowEvent` [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:747:24 [INFO] [stdout] | [INFO] [stdout] 747 | use winit::event::{Event, WindowEvent}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `Weekday` [INFO] [stdout] --> rfvp/src/subsystem/resources/save_manager.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{DateTime, Datelike, Local, Timelike, Weekday}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::subsystem::components::material::Material` [INFO] [stdout] --> rfvp/src/subsystem/systems/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::subsystem::components::material::Material; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::resources::thread_manager::ThreadManager` [INFO] [stdout] --> rfvp/src/subsystem/world.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | use super::resources::thread_manager::ThreadManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> rfvp/src/app.rs:377:9 [INFO] [stdout] | [INFO] [stdout] 376 | use super::*; [INFO] [stdout] | -------- the item `Path` is already imported here [INFO] [stdout] 377 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:604:9 [INFO] [stdout] | [INFO] [stdout] 584 | / match self.video_decoder.decode(&buffer) { [INFO] [stdout] 585 | | Ok(Some(mut image)) => { [INFO] [stdout] 586 | | let mut rgb = vec![0; self.width as usize * self.height as usize * 3]; [INFO] [stdout] 587 | | image.write_rgb8(&mut rgb); [INFO] [stdout] ... | [INFO] [stdout] 601 | | } [INFO] [stdout] 602 | | } [INFO] [stdout] | |_________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 603 | [INFO] [stdout] 604 | Ok(None) [INFO] [stdout] | ^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:604:9 [INFO] [stdout] | [INFO] [stdout] 584 | / match self.video_decoder.decode(&buffer) { [INFO] [stdout] 585 | | Ok(Some(mut image)) => { [INFO] [stdout] 586 | | let mut rgb = vec![0; self.width as usize * self.height as usize * 3]; [INFO] [stdout] 587 | | image.write_rgb8(&mut rgb); [INFO] [stdout] ... | [INFO] [stdout] 601 | | } [INFO] [stdout] 602 | | } [INFO] [stdout] | |_________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 603 | [INFO] [stdout] 604 | Ok(None) [INFO] [stdout] | ^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Buf` [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use bytes::{Buf, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rfvp/src/script/context.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | let mut off = match base.checked_add(offset as isize) { [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 import: `Buf` [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use bytes::{Buf, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rfvp/src/script/context.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | let mut off = match base.checked_add(offset as isize) { [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: `game_data` [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/text.rs:271:5 [INFO] [stdout] | [INFO] [stdout] 271 | game_data: &mut GameData, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space_vertical` [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/text.rs:273:5 [INFO] [stdout] | [INFO] [stdout] 273 | space_vertical: &Variant, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_space_vertical` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space_horizon` [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/text.rs:274:5 [INFO] [stdout] | [INFO] [stdout] 274 | space_horizon: &Variant, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_space_horizon` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text_start_vertical` [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/text.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | text_start_vertical: &Variant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_text_start_vertical` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text_start_horizon` [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/text.rs:276:5 [INFO] [stdout] | [INFO] [stdout] 276 | text_start_horizon: &Variant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_text_start_horizon` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ruby_vertical` [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/text.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | ruby_vertical: &Variant, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ruby_vertical` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ruby_horizon` [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/text.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 278 | ruby_horizon: &Variant, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ruby_horizon` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_data` [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/text.rs:271:5 [INFO] [stdout] | [INFO] [stdout] 271 | game_data: &mut GameData, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space_vertical` [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/text.rs:273:5 [INFO] [stdout] | [INFO] [stdout] 273 | space_vertical: &Variant, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_space_vertical` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space_horizon` [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/text.rs:274:5 [INFO] [stdout] | [INFO] [stdout] 274 | space_horizon: &Variant, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_space_horizon` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text_start_vertical` [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/text.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | text_start_vertical: &Variant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_text_start_vertical` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text_start_horizon` [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/text.rs:276:5 [INFO] [stdout] | [INFO] [stdout] 276 | text_start_horizon: &Variant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_text_start_horizon` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ruby_vertical` [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/text.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | ruby_vertical: &Variant, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ruby_vertical` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ruby_horizon` [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/text.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 278 | ruby_horizon: &Variant, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ruby_horizon` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `slot_id` is never read [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/saveload.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | let mut slot_id = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `texture_id` is never read [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/saveload.rs:85:21 [INFO] [stdout] | [INFO] [stdout] 85 | let mut texture_id = 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 `slot_id` is never read [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/saveload.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | let mut slot_id = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `texture_id` is never read [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/saveload.rs:85:21 [INFO] [stdout] | [INFO] [stdout] 85 | let mut texture_id = 0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> rfvp/src/subsystem/resources/texture.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | _ => bail!("Invalid NVSG type: {:?}", self.typ), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> rfvp/src/subsystem/resources/texture.rs:417:17 [INFO] [stdout] | [INFO] [stdout] 417 | _ => bail!("Invalid texture type: {:?}", self.typ), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> rfvp/src/subsystem/resources/texture.rs:439:13 [INFO] [stdout] | [INFO] [stdout] 439 | _ => bail!("Invalid texture type: {:?}", self.typ), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> rfvp/src/subsystem/resources/texture.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | _ => bail!("Invalid NVSG type: {:?}", self.typ), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> rfvp/src/subsystem/resources/texture.rs:417:17 [INFO] [stdout] | [INFO] [stdout] 417 | _ => bail!("Invalid texture type: {:?}", self.typ), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> rfvp/src/subsystem/resources/texture.rs:439:13 [INFO] [stdout] | [INFO] [stdout] 439 | _ => bail!("Invalid texture type: {:?}", self.typ), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typ` [INFO] [stdout] --> rfvp/src/subsystem/resources/texture.rs:468:42 [INFO] [stdout] | [INFO] [stdout] 468 | container.read_texture(&buffer, |typ: TextureType| {true}).unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_typ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typ` [INFO] [stdout] --> rfvp/src/subsystem/resources/texture.rs:483:42 [INFO] [stdout] | [INFO] [stdout] 483 | container.read_texture(&buffer, |typ: TextureType| {true}).unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_typ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typ` [INFO] [stdout] --> rfvp/src/subsystem/resources/texture.rs:501:42 [INFO] [stdout] | [INFO] [stdout] 501 | container.read_texture(&buffer, |typ: TextureType| {true}).unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_typ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typ` [INFO] [stdout] --> rfvp/src/subsystem/resources/texture.rs:522:42 [INFO] [stdout] | [INFO] [stdout] 522 | container.read_texture(&buffer, |typ: TextureType| {true}).unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_typ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typ` [INFO] [stdout] --> rfvp/src/subsystem/resources/texture.rs:548:42 [INFO] [stdout] | [INFO] [stdout] 548 | container.read_texture(&buffer, |typ: TextureType| {true}).unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_typ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typ` [INFO] [stdout] --> rfvp/src/subsystem/resources/texture.rs:566:42 [INFO] [stdout] | [INFO] [stdout] 566 | container.read_texture(&buffer, |typ: TextureType| {true}).unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_typ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/normal_move.rs:369:17 [INFO] [stdout] | [INFO] [stdout] 369 | let mut prim = &mut self.motions[id as usize]; [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] --> rfvp/src/subsystem/resources/motion_manager/s2_move.rs:367:17 [INFO] [stdout] | [INFO] [stdout] 367 | let mut id = self.allocation_pool[id as usize]; [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] --> rfvp/src/subsystem/resources/motion_manager/s2_move.rs:369:17 [INFO] [stdout] | [INFO] [stdout] 369 | let mut prim = &mut self.motions[id as usize]; [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] --> rfvp/src/subsystem/resources/motion_manager/normal_move.rs:369:17 [INFO] [stdout] | [INFO] [stdout] 369 | let mut prim = &mut self.motions[id as usize]; [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] --> rfvp/src/subsystem/resources/motion_manager/s2_move.rs:367:17 [INFO] [stdout] | [INFO] [stdout] 367 | let mut id = self.allocation_pool[id as usize]; [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] --> rfvp/src/subsystem/resources/motion_manager/s2_move.rs:369:17 [INFO] [stdout] | [INFO] [stdout] 369 | let mut prim = &mut self.motions[id as usize]; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `edge_x` is never read [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/mod.rs:483:25 [INFO] [stdout] | [INFO] [stdout] 483 | let mut edge_x = 0i32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `edge_y` is never read [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/mod.rs:484:25 [INFO] [stdout] | [INFO] [stdout] 484 | let mut edge_y = 0i32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/mod.rs:479:21 [INFO] [stdout] | [INFO] [stdout] 479 | let mut total_x = x + texture.get_offset_x() as i32 + sprite.get_x() as i32; [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] --> rfvp/src/subsystem/resources/motion_manager/mod.rs:480:21 [INFO] [stdout] | [INFO] [stdout] 480 | let mut total_y = y + texture.get_offset_y() as i32 + sprite.get_y() as i32; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `edge_x` is never read [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/mod.rs:483:25 [INFO] [stdout] | [INFO] [stdout] 483 | let mut edge_x = 0i32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `edge_y` is never read [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/mod.rs:484:25 [INFO] [stdout] | [INFO] [stdout] 484 | let mut edge_y = 0i32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/mod.rs:479:21 [INFO] [stdout] | [INFO] [stdout] 479 | let mut total_x = x + texture.get_offset_x() as i32 + sprite.get_x() as i32; [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] --> rfvp/src/subsystem/resources/motion_manager/mod.rs:480:21 [INFO] [stdout] | [INFO] [stdout] 480 | let mut total_y = y + texture.get_offset_y() as i32 + sprite.get_y() as i32; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:96:24 [INFO] [stdout] | [INFO] [stdout] 96 | if let Err(err) = result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:96:24 [INFO] [stdout] | [INFO] [stdout] 96 | if let Err(err) = result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_index` [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:564:13 [INFO] [stdout] | [INFO] [stdout] 564 | let frame_index = (elapsed as f64 * self.frame_rate) as u32 + 1; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:585:21 [INFO] [stdout] | [INFO] [stdout] 585 | Ok(Some(mut image)) => { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mp4` [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:638:13 [INFO] [stdout] | [INFO] [stdout] 638 | let mp4 = mp4::Mp4Reader::read_header(reader, file_size)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mp4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:630:9 [INFO] [stdout] | [INFO] [stdout] 630 | width: u32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:631:9 [INFO] [stdout] | [INFO] [stdout] 631 | height: u32, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `should_play` [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:632:9 [INFO] [stdout] | [INFO] [stdout] 632 | should_play: Arc, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_should_play` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_index` [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:564:13 [INFO] [stdout] | [INFO] [stdout] 564 | let frame_index = (elapsed as f64 * self.frame_rate) as u32 + 1; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:585:21 [INFO] [stdout] | [INFO] [stdout] 585 | Ok(Some(mut image)) => { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mp4` [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:638:13 [INFO] [stdout] | [INFO] [stdout] 638 | let mp4 = mp4::Mp4Reader::read_header(reader, file_size)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mp4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:630:9 [INFO] [stdout] | [INFO] [stdout] 630 | width: u32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:631:9 [INFO] [stdout] | [INFO] [stdout] 631 | height: u32, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `should_play` [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:632:9 [INFO] [stdout] | [INFO] [stdout] 632 | should_play: Arc, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_should_play` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `save_item` [INFO] [stdout] --> rfvp/src/subsystem/resources/save_manager.rs:484:13 [INFO] [stdout] | [INFO] [stdout] 484 | let save_item = SaveItem::load_from_file( [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_save_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> rfvp/src/subsystem/resources/thread_manager.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | for i in 0..self.total_contexts() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> rfvp/src/subsystem/resources/thread_manager.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | for i in 0..self.total_contexts() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `save_item` [INFO] [stdout] --> rfvp/src/subsystem/resources/save_manager.rs:484:13 [INFO] [stdout] | [INFO] [stdout] 484 | let save_item = SaveItem::load_from_file( [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_save_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> rfvp/src/subsystem/resources/thread_manager.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | for i in 0..self.total_contexts() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> rfvp/src/subsystem/resources/thread_manager.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | for i in 0..self.total_contexts() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_data` [INFO] [stdout] --> rfvp/src/subsystem/anzu_scene.rs:69:31 [INFO] [stdout] | [INFO] [stdout] 69 | fn update_prim(&mut self, game_data: &mut GameData, elapsed: u64) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elapsed` [INFO] [stdout] --> rfvp/src/subsystem/anzu_scene.rs:69:57 [INFO] [stdout] | [INFO] [stdout] 69 | fn update_prim(&mut self, game_data: &mut GameData, elapsed: u64) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_elapsed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `color` is never read [INFO] [stdout] --> rfvp/src/subsystem/anzu_scene.rs:171:21 [INFO] [stdout] | [INFO] [stdout] 171 | color = game_data.color_manager.get_entry(tile as u8).clone(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_data` [INFO] [stdout] --> rfvp/src/subsystem/anzu_scene.rs:69:31 [INFO] [stdout] | [INFO] [stdout] 69 | fn update_prim(&mut self, game_data: &mut GameData, elapsed: u64) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elapsed` [INFO] [stdout] --> rfvp/src/subsystem/anzu_scene.rs:69:57 [INFO] [stdout] | [INFO] [stdout] 69 | fn update_prim(&mut self, game_data: &mut GameData, elapsed: u64) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_elapsed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `color` is never read [INFO] [stdout] --> rfvp/src/subsystem/anzu_scene.rs:171:21 [INFO] [stdout] | [INFO] [stdout] 171 | color = game_data.color_manager.get_entry(tile as u8).clone(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SavedStackInfo` is more private than the item `Variant::SavedStackInfo::0` [INFO] [stdout] --> rfvp/src/script/mod.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 68 | SavedStackInfo(SavedStackInfo), [INFO] [stdout] | ^^^^^^^^^^^^^^ field `Variant::SavedStackInfo::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `SavedStackInfo` is only usable at visibility `pub(self)` [INFO] [stdout] --> rfvp/src/script/mod.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | struct SavedStackInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SavedStackInfo` is more private than the item `Variant::as_saved_stack_info` [INFO] [stdout] --> rfvp/src/script/mod.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn as_saved_stack_info(&self) -> Option<&SavedStackInfo> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Variant::as_saved_stack_info` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `SavedStackInfo` is only usable at visibility `pub(self)` [INFO] [stdout] --> rfvp/src/script/mod.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | struct SavedStackInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SavedStackInfo` is more private than the item `Variant::as_saved_stack_info_mut` [INFO] [stdout] --> rfvp/src/script/mod.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn as_saved_stack_info_mut(&mut self) -> Option<&mut SavedStackInfo> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Variant::as_saved_stack_info_mut` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `SavedStackInfo` is only usable at visibility `pub(self)` [INFO] [stdout] --> rfvp/src/script/mod.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | struct SavedStackInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `start_addr` is never read [INFO] [stdout] --> rfvp/src/script/context.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Context { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | start_addr: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Context` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SoundChannel` is never constructed [INFO] [stdout] --> rfvp/src/subsystem/audio_controller.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct SoundChannel { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AudioController` is never constructed [INFO] [stdout] --> rfvp/src/subsystem/audio_controller.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) struct AudioController { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> rfvp/src/subsystem/audio_controller.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 21 | impl AudioController { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 22 | pub(crate) fn new(receiver: Receiver) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `audio_thread` is never used [INFO] [stdout] --> rfvp/src/subsystem/audio_controller.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) fn audio_thread(controller: AudioController) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_png`, `from_raw_buffer`, `fallback_texture`, and `create_texture_from_dynamic_image` are never used [INFO] [stdout] --> rfvp/src/subsystem/components/material.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Texture { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 27 | pub fn from_png(file_path: &Path) -> Texture { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn from_raw_buffer(bytes: Vec, width: u32, height: u32) -> Texture { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn fallback_texture() -> Texture { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn create_texture_from_dynamic_image(dynamic_image: DynamicImage) -> Texture { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dirty_child` is never read [INFO] [stdout] --> rfvp/src/subsystem/components/maths/transform.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Transform { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | pub(crate) dirty_child: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Transform` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `compute_global_from_parent` is never used [INFO] [stdout] --> rfvp/src/subsystem/components/maths/transform.rs:175:19 [INFO] [stdout] | [INFO] [stdout] 41 | impl Transform { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 175 | pub(crate) fn compute_global_from_parent(&mut self, parent_translation: &Coordinates) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `indices` and `set_content` are never used [INFO] [stdout] --> rfvp/src/subsystem/components/tiles/sprite.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 23 | impl Sprite { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub(crate) fn indices() -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub(crate) fn set_content(&mut self, content: [TexturedGlVertex; 4]) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UiFocusable` is never constructed [INFO] [stdout] --> rfvp/src/subsystem/components/ui/mod.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct UiFocusable{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `path`, `crossfade`, and `looped` are never read [INFO] [stdout] --> rfvp/src/subsystem/resources/audio.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | struct SoundChannel { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 24 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 25 | buffer: Vec, [INFO] [stdout] 26 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 27 | crossfade: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 28 | volume: f32, [INFO] [stdout] 29 | looped: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `current_focus_index` and `current_focus_entity` are never read [INFO] [stdout] --> rfvp/src/subsystem/resources/focus_manager.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct FocusManager{ [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 7 | current_focus_index: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | current_focus_entity: Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `current_focus_index`, `current_focus_entity`, `change_focus`, and `reset_focus` are never used [INFO] [stdout] --> rfvp/src/subsystem/resources/focus_manager.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 11 | impl FocusManager{ [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 12 | pub(crate) fn current_focus_index(&self) -> Option{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub(crate) fn current_focus_entity(&self) -> Option{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub(crate) fn change_focus(&mut self, entity: Entity, rank: usize){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub(crate) fn reset_focus(&mut self){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_material_for_ref` is never used [INFO] [stdout] --> rfvp/src/subsystem/resources/asset_manager.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 11 | impl AssetManager { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 12 | pub(crate) fn get_material_for_ref(&self, asset_ref: &AssetRef) -> Material { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `nls` is never read [INFO] [stdout] --> rfvp/src/subsystem/resources/vfs.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct VfsFile { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 19 | entries: HashMap, [INFO] [stdout] 20 | nls: Nls, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VfsFile` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `nls` is never read [INFO] [stdout] --> rfvp/src/subsystem/resources/vfs.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 177 | pub struct Vfs { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 178 | files: HashMap, [INFO] [stdout] 179 | nls: Nls, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vfs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_24bit_texture` is never used [INFO] [stdout] --> rfvp/src/subsystem/resources/texture.rs:338:8 [INFO] [stdout] | [INFO] [stdout] 58 | impl NvsgTexture { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 338 | fn as_24bit_texture(&self, index: usize) -> Result, Vec>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `offset_x`, `offset_y`, `text_content`, `text_start_vertical`, `ruby_vertical`, and `ruby_horizon` are never read [INFO] [stdout] --> rfvp/src/subsystem/resources/text_manager.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 144 | pub struct TextItem { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 145 | offset_x: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 146 | offset_y: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 147 | suspend_chrs: Vec, [INFO] [stdout] 148 | text_content: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | text_start_vertical: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 167 | ruby_vertical: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 168 | ruby_horizon: u16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TextItem` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_reverse`, `get_src_alpha`, `get_dst_alpha`, `get_duration`, `get_elapsed`, and `get_anm_type` are never used [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/alpha.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl AlphaMotion { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn is_reverse(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn get_src_alpha(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn get_dst_alpha(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn get_duration(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn get_elapsed(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn get_anm_type(&self) -> AlphaMotionType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_reverse`, `get_src_angle`, `get_dst_angle`, `get_duration`, and `get_elapsed` are never used [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/rotation_move.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl RotationMotion { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn is_reverse(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn get_src_angle(&self) -> i16 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn get_dst_angle(&self) -> i16 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn get_duration(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn get_elapsed(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_src_x`, `get_src_y`, `get_src_z`, `get_duration`, `get_elapsed`, and `get_reverse` are never used [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/v3d.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl V3dMotion { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn get_src_x(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn get_src_y(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn get_src_z(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn get_duration(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn get_elapsed(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn get_reverse(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_zeverse`, `get_src_z`, `get_dst_z`, `get_duration`, and `get_elapsed` are never used [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/z_move.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl ZMotion { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn is_zeverse(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn get_src_z(&self) -> i16 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn get_dst_z(&self) -> i16 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn get_duration(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn get_elapsed(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `unk1`, `x_pos`, and `y_pos` are never read [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/snow.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct SnowFlake { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 7 | unk1: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | speed: f32, [INFO] [stdout] 9 | x_pos: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | y_pos: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SnowFlake` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/snow.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl SnowFlake { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 14 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SavedStackInfo` is more private than the item `Variant::SavedStackInfo::0` [INFO] [stdout] --> rfvp/src/script/mod.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 68 | SavedStackInfo(SavedStackInfo), [INFO] [stdout] | ^^^^^^^^^^^^^^ field `Variant::SavedStackInfo::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `SavedStackInfo` is only usable at visibility `pub(self)` [INFO] [stdout] --> rfvp/src/script/mod.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | struct SavedStackInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `initialize_snow_motion_parameters2`, `set_snow_item`, `update_snow_item`, `update_snow_item2`, and `update` are never used [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/snow.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 47 | impl SnowMotion { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 125 | fn initialize_snow_motion_parameters2( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | fn set_snow_item(item: &mut SnowFlake, speed: f32, width: f32, height: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | fn update_snow_item(&self, a2: &mut SnowFlake, width: f32, height: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | fn update_snow_item2( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 367 | pub fn update(&mut self, elapsed: i32, screen_width: u32, screen_height: u32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `exec_snow_motion` is never used [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/snow.rs:505:12 [INFO] [stdout] | [INFO] [stdout] 439 | impl SnowMotionContainer { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 505 | pub fn exec_snow_motion(&mut self, elapsed: i32, screen_width: u32, screen_height: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `old_input_state` and `current_event` are never read [INFO] [stdout] --> rfvp/src/subsystem/resources/input_manager.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct InputManager { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 74 | old_input_state: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 75 | current_event: PressItem, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InputManager` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SavedStackInfo` is more private than the item `Variant::as_saved_stack_info` [INFO] [stdout] --> rfvp/src/script/mod.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn as_saved_stack_info(&self) -> Option<&SavedStackInfo> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Variant::as_saved_stack_info` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `SavedStackInfo` is only usable at visibility `pub(self)` [INFO] [stdout] --> rfvp/src/script/mod.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | struct SavedStackInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BUF_SIZE` is never used [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const BUF_SIZE: usize = 3; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SavedStackInfo` is more private than the item `Variant::as_saved_stack_info_mut` [INFO] [stdout] --> rfvp/src/script/mod.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn as_saved_stack_info_mut(&mut self) -> Option<&mut SavedStackInfo> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Variant::as_saved_stack_info_mut` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `SavedStackInfo` is only usable at visibility `pub(self)` [INFO] [stdout] --> rfvp/src/script/mod.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | struct SavedStackInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DecoderMessage` is never used [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:240:6 [INFO] [stdout] | [INFO] [stdout] 240 | enum DecoderMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VideoFrame` is never constructed [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:245:8 [INFO] [stdout] | [INFO] [stdout] 245 | struct VideoFrame { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `audio_decoder` is never read [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:492:5 [INFO] [stdout] | [INFO] [stdout] 491 | pub struct MpegVideoDecoder { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 492 | audio_decoder: MpegAacDecoder>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `focus_manager` is never used [INFO] [stdout] --> rfvp/src/subsystem/world.rs:478:19 [INFO] [stdout] | [INFO] [stdout] 396 | impl Resources { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 478 | pub(crate) fn focus_manager(&self) -> AtomicRefMut { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_prim` and `draw_prim_container` are never used [INFO] [stdout] --> rfvp/src/subsystem/anzu_scene.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 36 | impl AnzuScene { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | fn update_prim(&mut self, game_data: &mut GameData, elapsed: u64) {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 70 | [INFO] [stdout] 71 | fn draw_prim_container(&mut self, game_data: &mut GameData, prim_id: i16, x: i32, y: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `append_position` is never used [INFO] [stdout] --> rfvp/src/rendering/gl_representations.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 22 | impl GlVec3 { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 23 | pub(crate) fn append_position(&mut self, x: f32, y: f32, z: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ColoredGlVertex` is never constructed [INFO] [stdout] --> rfvp/src/rendering/gl_representations.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 62 | pub(crate) struct ColoredGlVertex { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `start_addr` is never read [INFO] [stdout] --> rfvp/src/script/context.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Context { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | start_addr: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Context` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SoundChannel` is never constructed [INFO] [stdout] --> rfvp/src/subsystem/audio_controller.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct SoundChannel { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AudioController` is never constructed [INFO] [stdout] --> rfvp/src/subsystem/audio_controller.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) struct AudioController { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> rfvp/src/subsystem/audio_controller.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 21 | impl AudioController { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 22 | pub(crate) fn new(receiver: Receiver) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `audio_thread` is never used [INFO] [stdout] --> rfvp/src/subsystem/audio_controller.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) fn audio_thread(controller: AudioController) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_png`, `from_raw_buffer`, `fallback_texture`, and `create_texture_from_dynamic_image` are never used [INFO] [stdout] --> rfvp/src/subsystem/components/material.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Texture { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 27 | pub fn from_png(file_path: &Path) -> Texture { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn from_raw_buffer(bytes: Vec, width: u32, height: u32) -> Texture { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn fallback_texture() -> Texture { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn create_texture_from_dynamic_image(dynamic_image: DynamicImage) -> Texture { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dirty_child` is never read [INFO] [stdout] --> rfvp/src/subsystem/components/maths/transform.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Transform { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | pub(crate) dirty_child: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Transform` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `indices` and `set_content` are never used [INFO] [stdout] --> rfvp/src/subsystem/components/tiles/sprite.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 23 | impl Sprite { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub(crate) fn indices() -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub(crate) fn set_content(&mut self, content: [TexturedGlVertex; 4]) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UiFocusable` is never constructed [INFO] [stdout] --> rfvp/src/subsystem/components/ui/mod.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct UiFocusable{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `path`, `crossfade`, and `looped` are never read [INFO] [stdout] --> rfvp/src/subsystem/resources/audio.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | struct SoundChannel { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 24 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 25 | buffer: Vec, [INFO] [stdout] 26 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 27 | crossfade: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 28 | volume: f32, [INFO] [stdout] 29 | looped: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `current_focus_index` and `current_focus_entity` are never read [INFO] [stdout] --> rfvp/src/subsystem/resources/focus_manager.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct FocusManager{ [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 7 | current_focus_index: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | current_focus_entity: Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `current_focus_index`, `current_focus_entity`, `change_focus`, and `reset_focus` are never used [INFO] [stdout] --> rfvp/src/subsystem/resources/focus_manager.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 11 | impl FocusManager{ [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 12 | pub(crate) fn current_focus_index(&self) -> Option{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub(crate) fn current_focus_entity(&self) -> Option{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub(crate) fn change_focus(&mut self, entity: Entity, rank: usize){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub(crate) fn reset_focus(&mut self){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_material_for_ref` is never used [INFO] [stdout] --> rfvp/src/subsystem/resources/asset_manager.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 11 | impl AssetManager { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 12 | pub(crate) fn get_material_for_ref(&self, asset_ref: &AssetRef) -> Material { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `nls` is never read [INFO] [stdout] --> rfvp/src/subsystem/resources/vfs.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct VfsFile { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 19 | entries: HashMap, [INFO] [stdout] 20 | nls: Nls, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VfsFile` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `nls` is never read [INFO] [stdout] --> rfvp/src/subsystem/resources/vfs.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 177 | pub struct Vfs { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 178 | files: HashMap, [INFO] [stdout] 179 | nls: Nls, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vfs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_24bit_texture` is never used [INFO] [stdout] --> rfvp/src/subsystem/resources/texture.rs:338:8 [INFO] [stdout] | [INFO] [stdout] 58 | impl NvsgTexture { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 338 | fn as_24bit_texture(&self, index: usize) -> Result, Vec>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `offset_x`, `offset_y`, `text_content`, `text_start_vertical`, `ruby_vertical`, and `ruby_horizon` are never read [INFO] [stdout] --> rfvp/src/subsystem/resources/text_manager.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 144 | pub struct TextItem { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 145 | offset_x: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 146 | offset_y: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 147 | suspend_chrs: Vec, [INFO] [stdout] 148 | text_content: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | text_start_vertical: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 167 | ruby_vertical: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 168 | ruby_horizon: u16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TextItem` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_reverse`, `get_src_alpha`, `get_dst_alpha`, `get_duration`, `get_elapsed`, and `get_anm_type` are never used [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/alpha.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl AlphaMotion { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn is_reverse(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn get_src_alpha(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn get_dst_alpha(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn get_duration(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn get_elapsed(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn get_anm_type(&self) -> AlphaMotionType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_reverse`, `get_src_angle`, `get_dst_angle`, `get_duration`, and `get_elapsed` are never used [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/rotation_move.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl RotationMotion { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn is_reverse(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn get_src_angle(&self) -> i16 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn get_dst_angle(&self) -> i16 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn get_duration(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn get_elapsed(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_src_x`, `get_src_y`, `get_src_z`, `get_duration`, `get_elapsed`, and `get_reverse` are never used [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/v3d.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl V3dMotion { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn get_src_x(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn get_src_y(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn get_src_z(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn get_duration(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn get_elapsed(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn get_reverse(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_zeverse`, `get_src_z`, `get_dst_z`, `get_duration`, and `get_elapsed` are never used [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/z_move.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl ZMotion { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn is_zeverse(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn get_src_z(&self) -> i16 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn get_dst_z(&self) -> i16 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn get_duration(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn get_elapsed(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `unk1`, `x_pos`, and `y_pos` are never read [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/snow.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct SnowFlake { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 7 | unk1: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | speed: f32, [INFO] [stdout] 9 | x_pos: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | y_pos: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SnowFlake` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/snow.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl SnowFlake { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 14 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `initialize_snow_motion_parameters2`, `set_snow_item`, `update_snow_item`, `update_snow_item2`, and `update` are never used [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/snow.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 47 | impl SnowMotion { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 125 | fn initialize_snow_motion_parameters2( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | fn set_snow_item(item: &mut SnowFlake, speed: f32, width: f32, height: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | fn update_snow_item(&self, a2: &mut SnowFlake, width: f32, height: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | fn update_snow_item2( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 367 | pub fn update(&mut self, elapsed: i32, screen_width: u32, screen_height: u32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `exec_snow_motion` is never used [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/snow.rs:505:12 [INFO] [stdout] | [INFO] [stdout] 439 | impl SnowMotionContainer { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 505 | pub fn exec_snow_motion(&mut self, elapsed: i32, screen_width: u32, screen_height: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `old_input_state` and `current_event` are never read [INFO] [stdout] --> rfvp/src/subsystem/resources/input_manager.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct InputManager { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 74 | old_input_state: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 75 | current_event: PressItem, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InputManager` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BUF_SIZE` is never used [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const BUF_SIZE: usize = 3; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DecoderMessage` is never used [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:240:6 [INFO] [stdout] | [INFO] [stdout] 240 | enum DecoderMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VideoFrame` is never constructed [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:245:8 [INFO] [stdout] | [INFO] [stdout] 245 | struct VideoFrame { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `audio_decoder` is never read [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:492:5 [INFO] [stdout] | [INFO] [stdout] 491 | pub struct MpegVideoDecoder { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 492 | audio_decoder: MpegAacDecoder>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `focus_manager` is never used [INFO] [stdout] --> rfvp/src/subsystem/world.rs:478:19 [INFO] [stdout] | [INFO] [stdout] 396 | impl Resources { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 478 | pub(crate) fn focus_manager(&self) -> AtomicRefMut { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_prim` and `draw_prim_container` are never used [INFO] [stdout] --> rfvp/src/subsystem/anzu_scene.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 36 | impl AnzuScene { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | fn update_prim(&mut self, game_data: &mut GameData, elapsed: u64) {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 70 | [INFO] [stdout] 71 | fn draw_prim_container(&mut self, game_data: &mut GameData, prim_id: i16, x: i32, y: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `append_position` is never used [INFO] [stdout] --> rfvp/src/rendering/gl_representations.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 22 | impl GlVec3 { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 23 | pub(crate) fn append_position(&mut self, x: f32, y: f32, z: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ColoredGlVertex` is never constructed [INFO] [stdout] --> rfvp/src/rendering/gl_representations.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 62 | pub(crate) struct ColoredGlVertex { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:730:13 [INFO] [stdout] | [INFO] [stdout] 730 | player_thread.join(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 730 | let _ = player_thread.join(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:730:13 [INFO] [stdout] | [INFO] [stdout] 730 | player_thread.join(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 730 | let _ = player_thread.join(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 110 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 97 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking assembler v0.1.0 (/opt/rustwide/workdir/assembler) [INFO] [stderr] Checking video_player v0.1.0 (/opt/rustwide/workdir/video_player) [INFO] [stderr] Checking decompiler v0.1.0 (/opt/rustwide/workdir/decompiler) [INFO] [stderr] Checking disassembler v0.1.0 (/opt/rustwide/workdir/disassembler) [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> video_player/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::BufReader` [INFO] [stdout] --> video_player/src/main.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{io::BufReader, path::Path, time::Instant}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> video_player/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::BufReader` [INFO] [stdout] --> video_player/src/main.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{io::BufReader, path::Path, time::Instant}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `NopInst` is imported redundantly [INFO] [stdout] --> disassembler/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rfvp::script::inst::nop::NopInst; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use rfvp::script::inst::*; [INFO] [stdout] | --------------------- the item `NopInst` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `NopInst` is imported redundantly [INFO] [stdout] --> disassembler/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rfvp::script::inst::nop::NopInst; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use rfvp::script::inst::*; [INFO] [stdout] | --------------------- the item `NopInst` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Opcode` is never used [INFO] [stdout] --> decompiler/src/reisa/opcode.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Opcode { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `address` is never used [INFO] [stdout] --> decompiler/src/reisa/opcode.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait ReisaInst { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 15 | fn address(&self) -> u32; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `left` and `right` are never read [INFO] [stdout] --> decompiler/src/reisa/opcode.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Mov { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 19 | address: u32, [INFO] [stdout] 20 | left: Expression, [INFO] [stdout] | ^^^^ [INFO] [stdout] 21 | right: Expression, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_left`, and `get_right` are never used [INFO] [stdout] --> decompiler/src/reisa/opcode.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Mov { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 25 | pub fn new(address: u32, left: Expression, right: Expression) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn get_left(&self) -> &Expression { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn get_right(&self) -> &Expression { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `target`, `args`, and `return_value` are never read [INFO] [stdout] --> decompiler/src/reisa/opcode.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct Call { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 49 | address: u32, [INFO] [stdout] 50 | target: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 51 | args: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 52 | return_value: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_target`, `get_args`, and `get_return_value` are never used [INFO] [stdout] --> decompiler/src/reisa/opcode.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl Call { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 56 | pub fn new(address: u32, target: u32, args: Vec, return_value: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn get_target(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn get_args(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn get_return_value(&self) -> Option<&Expression> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uniform_bind_group_layout` [INFO] [stdout] --> video_player/src/main.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | let uniform_bind_group_layout = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_uniform_bind_group_layout` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `texture_bind_group_layout` [INFO] [stdout] --> video_player/src/main.rs:133:17 [INFO] [stdout] | [INFO] [stdout] 133 | let texture_bind_group_layout = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_texture_bind_group_layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sink` [INFO] [stdout] --> video_player/src/main.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let sink = Sink::try_new(&handle).expect("Error creating sink"); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sink` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uniform_bind_group_layout` [INFO] [stdout] --> video_player/src/main.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | let uniform_bind_group_layout = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_uniform_bind_group_layout` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `texture_bind_group_layout` [INFO] [stdout] --> video_player/src/main.rs:133:17 [INFO] [stdout] | [INFO] [stdout] 133 | let texture_bind_group_layout = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_texture_bind_group_layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sink` [INFO] [stdout] --> video_player/src/main.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let sink = Sink::try_new(&handle).expect("Error creating sink"); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sink` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `syscall_name` and `args` are never read [INFO] [stdout] --> decompiler/src/reisa/opcode.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Syscall { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 88 | address: u32, [INFO] [stdout] 89 | syscall_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 90 | args: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_syscall_name`, and `get_args` are never used [INFO] [stdout] --> decompiler/src/reisa/opcode.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 93 | impl Syscall { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 94 | pub fn new(address: u32, syscall_name: String, args: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn get_syscall_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn get_args(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `return_value` is never read [INFO] [stdout] --> decompiler/src/reisa/opcode.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 117 | pub struct Ret { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 118 | address: u32, [INFO] [stdout] 119 | return_value: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_return_value` are never used [INFO] [stdout] --> decompiler/src/reisa/opcode.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 122 | impl Ret { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 123 | pub fn new(address: u32, return_value: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn get_return_value(&self) -> Option<&Expression> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `target` is never read [INFO] [stdout] --> decompiler/src/reisa/opcode.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 141 | pub struct Jmp { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 142 | address: u32, [INFO] [stdout] 143 | target: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_target` are never used [INFO] [stdout] --> decompiler/src/reisa/opcode.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 146 | impl Jmp { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 147 | pub fn new(address: u32, target: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn get_target(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `target` and `condition` are never read [INFO] [stdout] --> decompiler/src/reisa/opcode.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct Jz { [INFO] [stdout] | -- fields in this struct [INFO] [stdout] 166 | address: u32, [INFO] [stdout] 167 | target: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 168 | condition: Expression, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_target`, and `get_condition` are never used [INFO] [stdout] --> decompiler/src/reisa/opcode.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 171 | impl Jz { [INFO] [stdout] | ------- associated items in this implementation [INFO] [stdout] 172 | pub fn new(address: u32, target: u32, condition: Expression) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn get_target(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn get_condition(&self) -> &Expression { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `display` is never used [INFO] [stdout] --> decompiler/src/reisa/variant.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Variant { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] 2 | fn display(&self) -> String; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> video_player/src/main.rs:173:45 [INFO] [stdout] | [INFO] [stdout] 173 | if let Event::WindowEvent { window_id, event } = event { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `window_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> video_player/src/main.rs:173:45 [INFO] [stdout] | [INFO] [stdout] 173 | if let Event::WindowEvent { window_id, event } = event { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `window_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_size` [INFO] [stdout] --> video_player/src/main.rs:175:46 [INFO] [stdout] | [INFO] [stdout] 175 | WindowEvent::Resized(new_size) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_size` [INFO] [stdout] --> video_player/src/main.rs:175:46 [INFO] [stdout] | [INFO] [stdout] 175 | WindowEvent::Resized(new_size) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `view` [INFO] [stdout] --> video_player/src/main.rs:182:37 [INFO] [stdout] | [INFO] [stdout] 182 | ... let view = frame.texture.create_view(&wgpu::TextureViewDescriptor::default()); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_view` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `encoder` [INFO] [stdout] --> video_player/src/main.rs:184:41 [INFO] [stdout] | [INFO] [stdout] 184 | ... let mut encoder = [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `view` [INFO] [stdout] --> video_player/src/main.rs:182:37 [INFO] [stdout] | [INFO] [stdout] 182 | ... let view = frame.texture.create_view(&wgpu::TextureViewDescriptor::default()); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_view` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `encoder` [INFO] [stdout] --> video_player/src/main.rs:184:41 [INFO] [stdout] | [INFO] [stdout] 184 | ... let mut encoder = [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> video_player/src/main.rs:49:31 [INFO] [stdout] | [INFO] [stdout] 49 | let (size, surface) = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> video_player/src/main.rs:49:31 [INFO] [stdout] | [INFO] [stdout] 49 | let (size, surface) = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Nil`, `True`, `Int`, `Float`, and `String` are never constructed [INFO] [stdout] --> decompiler/src/reisa/variant.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum ConstVariant { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 6 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] 7 | True, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | Int(i32), [INFO] [stdout] | ^^^ [INFO] [stdout] 9 | Float(f32), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | String(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> decompiler/src/reisa/variant.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl ConstVariant { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 14 | pub fn is_nil(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn is_true(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn is_int(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn is_float(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn is_string(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn as_int(&self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn as_float(&self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn as_string(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_id` are never used [INFO] [stdout] --> decompiler/src/reisa/variant.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 72 | impl FnArgVarint { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 73 | pub fn new(id: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn get_id(&self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_id` are never used [INFO] [stdout] --> decompiler/src/reisa/variant.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl NormalVarint { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 93 | pub fn new(id: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn get_id(&self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_id` are never used [INFO] [stdout] --> decompiler/src/reisa/variant.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 112 | impl GlobalVarint { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 113 | pub fn new(id: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn get_id(&self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> video_player/src/main.rs:184:37 [INFO] [stdout] | [INFO] [stdout] 184 | ... let mut encoder = [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: multiple variants are never constructed [INFO] [stdout] --> decompiler/src/reisa/variant.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 128 | pub enum Expression { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 129 | Const(ConstVariant), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 130 | FnArg(FnArgVarint), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 131 | NormalVar(NormalVarint), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 132 | GlobalVar(GlobalVarint), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 133 | DirectAccess(Box, Box), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 134 | Neg(Box), [INFO] [stdout] | ^^^ [INFO] [stdout] 135 | Add(Box, Box), [INFO] [stdout] | ^^^ [INFO] [stdout] 136 | Sub(Box, Box), [INFO] [stdout] | ^^^ [INFO] [stdout] 137 | Mul(Box, Box), [INFO] [stdout] | ^^^ [INFO] [stdout] 138 | Div(Box, Box), [INFO] [stdout] | ^^^ [INFO] [stdout] 139 | Mod(Box, Box), [INFO] [stdout] | ^^^ [INFO] [stdout] 140 | BitTest(Box, Box), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 141 | And(Box, Box), [INFO] [stdout] | ^^^ [INFO] [stdout] 142 | Or(Box, Box), [INFO] [stdout] | ^^ [INFO] [stdout] 143 | SetE(Box, Box), [INFO] [stdout] | ^^^^ [INFO] [stdout] 144 | SetNE(Box, Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 145 | SetG(Box, Box), [INFO] [stdout] | ^^^^ [INFO] [stdout] 146 | SetLE(Box, Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 147 | SetL(Box, Box), [INFO] [stdout] | ^^^^ [INFO] [stdout] 148 | SetGE(Box, Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> video_player/src/main.rs:184:37 [INFO] [stdout] | [INFO] [stdout] 184 | ... let mut encoder = [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: multiple associated items are never used [INFO] [stdout] --> decompiler/src/reisa/variant.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 151 | impl Expression { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 152 | pub fn init_int(v: i32) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn init_float(v: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn init_string(v: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | pub fn init_nil() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn init_true() -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn init_fn_arg(id: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | pub fn init_normal_var(id: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn init_global_var(id: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | pub fn init_direct_access(lhs: Expression, rhs: Expression) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn init_neg(expr: Expression) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | pub fn init_add(lhs: Expression, rhs: Expression) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | pub fn init_sub(lhs: Expression, rhs: Expression) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn init_mul(lhs: Expression, rhs: Expression) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn init_div(lhs: Expression, rhs: Expression) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | pub fn init_mod(lhs: Expression, rhs: Expression) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | pub fn init_bit_test(lhs: Expression, rhs: Expression) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | pub fn init_and(lhs: Expression, rhs: Expression) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn init_or(lhs: Expression, rhs: Expression) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | pub fn init_set_e(lhs: Expression, rhs: Expression) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | pub fn init_set_ne(lhs: Expression, rhs: Expression) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 233 | pub fn init_set_g(lhs: Expression, rhs: Expression) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | pub fn init_set_le(lhs: Expression, rhs: Expression) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | pub fn init_set_l(lhs: Expression, rhs: Expression) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub fn init_set_ge(lhs: Expression, rhs: Expression) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | pub fn is_number(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | pub fn simplify(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Inst` is imported redundantly [INFO] [stdout] --> assembler/src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use inst::Inst; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | use inst::*; [INFO] [stdout] | ------- the item `Inst` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `de::value` [INFO] [stdout] --> assembler/src/main.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::{de::value, Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> assembler/src/utils.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{BTreeMap, HashMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Opcode` is never used [INFO] [stdout] --> decompiler/src/reisa/opcode.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Opcode { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `address` is never used [INFO] [stdout] --> decompiler/src/reisa/opcode.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait ReisaInst { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 15 | fn address(&self) -> u32; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `left` and `right` are never read [INFO] [stdout] --> decompiler/src/reisa/opcode.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Mov { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 19 | address: u32, [INFO] [stdout] 20 | left: Expression, [INFO] [stdout] | ^^^^ [INFO] [stdout] 21 | right: Expression, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_left`, and `get_right` are never used [INFO] [stdout] --> decompiler/src/reisa/opcode.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Mov { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 25 | pub fn new(address: u32, left: Expression, right: Expression) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn get_left(&self) -> &Expression { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn get_right(&self) -> &Expression { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `target`, `args`, and `return_value` are never read [INFO] [stdout] --> decompiler/src/reisa/opcode.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct Call { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 49 | address: u32, [INFO] [stdout] 50 | target: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 51 | args: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 52 | return_value: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_target`, `get_args`, and `get_return_value` are never used [INFO] [stdout] --> decompiler/src/reisa/opcode.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl Call { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 56 | pub fn new(address: u32, target: u32, args: Vec, return_value: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn get_target(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn get_args(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn get_return_value(&self) -> Option<&Expression> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `syscall_name` and `args` are never read [INFO] [stdout] --> decompiler/src/reisa/opcode.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Syscall { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 88 | address: u32, [INFO] [stdout] 89 | syscall_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 90 | args: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_syscall_name`, and `get_args` are never used [INFO] [stdout] --> decompiler/src/reisa/opcode.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 93 | impl Syscall { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 94 | pub fn new(address: u32, syscall_name: String, args: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn get_syscall_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn get_args(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `return_value` is never read [INFO] [stdout] --> decompiler/src/reisa/opcode.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 117 | pub struct Ret { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 118 | address: u32, [INFO] [stdout] 119 | return_value: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_return_value` are never used [INFO] [stdout] --> decompiler/src/reisa/opcode.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 122 | impl Ret { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 123 | pub fn new(address: u32, return_value: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn get_return_value(&self) -> Option<&Expression> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `target` is never read [INFO] [stdout] --> decompiler/src/reisa/opcode.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 141 | pub struct Jmp { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 142 | address: u32, [INFO] [stdout] 143 | target: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_target` are never used [INFO] [stdout] --> decompiler/src/reisa/opcode.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 146 | impl Jmp { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 147 | pub fn new(address: u32, target: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn get_target(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `target` and `condition` are never read [INFO] [stdout] --> decompiler/src/reisa/opcode.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct Jz { [INFO] [stdout] | -- fields in this struct [INFO] [stdout] 166 | address: u32, [INFO] [stdout] 167 | target: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 168 | condition: Expression, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_target`, and `get_condition` are never used [INFO] [stdout] --> decompiler/src/reisa/opcode.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 171 | impl Jz { [INFO] [stdout] | ------- associated items in this implementation [INFO] [stdout] 172 | pub fn new(address: u32, target: u32, condition: Expression) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn get_target(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn get_condition(&self) -> &Expression { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `display` is never used [INFO] [stdout] --> decompiler/src/reisa/variant.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Variant { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] 2 | fn display(&self) -> String; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Nil`, `True`, `Int`, `Float`, and `String` are never constructed [INFO] [stdout] --> decompiler/src/reisa/variant.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum ConstVariant { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 6 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] 7 | True, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | Int(i32), [INFO] [stdout] | ^^^ [INFO] [stdout] 9 | Float(f32), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | String(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> decompiler/src/reisa/variant.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl ConstVariant { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 14 | pub fn is_nil(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn is_true(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn is_int(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn is_float(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn is_string(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn as_int(&self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn as_float(&self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn as_string(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_id` are never used [INFO] [stdout] --> decompiler/src/reisa/variant.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 72 | impl FnArgVarint { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 73 | pub fn new(id: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn get_id(&self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_id` are never used [INFO] [stdout] --> decompiler/src/reisa/variant.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl NormalVarint { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 93 | pub fn new(id: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn get_id(&self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_id` are never used [INFO] [stdout] --> decompiler/src/reisa/variant.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 112 | impl GlobalVarint { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 113 | pub fn new(id: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn get_id(&self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> decompiler/src/reisa/variant.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 128 | pub enum Expression { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 129 | Const(ConstVariant), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 130 | FnArg(FnArgVarint), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 131 | NormalVar(NormalVarint), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 132 | GlobalVar(GlobalVarint), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 133 | DirectAccess(Box, Box), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 134 | Neg(Box), [INFO] [stdout] | ^^^ [INFO] [stdout] 135 | Add(Box, Box), [INFO] [stdout] | ^^^ [INFO] [stdout] 136 | Sub(Box, Box), [INFO] [stdout] | ^^^ [INFO] [stdout] 137 | Mul(Box, Box), [INFO] [stdout] | ^^^ [INFO] [stdout] 138 | Div(Box, Box), [INFO] [stdout] | ^^^ [INFO] [stdout] 139 | Mod(Box, Box), [INFO] [stdout] | ^^^ [INFO] [stdout] 140 | BitTest(Box, Box), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 141 | And(Box, Box), [INFO] [stdout] | ^^^ [INFO] [stdout] 142 | Or(Box, Box), [INFO] [stdout] | ^^ [INFO] [stdout] 143 | SetE(Box, Box), [INFO] [stdout] | ^^^^ [INFO] [stdout] 144 | SetNE(Box, Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 145 | SetG(Box, Box), [INFO] [stdout] | ^^^^ [INFO] [stdout] 146 | SetLE(Box, Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 147 | SetL(Box, Box), [INFO] [stdout] | ^^^^ [INFO] [stdout] 148 | SetGE(Box, Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> decompiler/src/reisa/variant.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 151 | impl Expression { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 152 | pub fn init_int(v: i32) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn init_float(v: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn init_string(v: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | pub fn init_nil() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn init_true() -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn init_fn_arg(id: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | pub fn init_normal_var(id: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn init_global_var(id: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | pub fn init_direct_access(lhs: Expression, rhs: Expression) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn init_neg(expr: Expression) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | pub fn init_add(lhs: Expression, rhs: Expression) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | pub fn init_sub(lhs: Expression, rhs: Expression) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn init_mul(lhs: Expression, rhs: Expression) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn init_div(lhs: Expression, rhs: Expression) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | pub fn init_mod(lhs: Expression, rhs: Expression) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | pub fn init_bit_test(lhs: Expression, rhs: Expression) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | pub fn init_and(lhs: Expression, rhs: Expression) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn init_or(lhs: Expression, rhs: Expression) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | pub fn init_set_e(lhs: Expression, rhs: Expression) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | pub fn init_set_ne(lhs: Expression, rhs: Expression) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 233 | pub fn init_set_g(lhs: Expression, rhs: Expression) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | pub fn init_set_le(lhs: Expression, rhs: Expression) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | pub fn init_set_l(lhs: Expression, rhs: Expression) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub fn init_set_ge(lhs: Expression, rhs: Expression) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | pub fn is_number(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | pub fn simplify(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Inst` is imported redundantly [INFO] [stdout] --> assembler/src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use inst::Inst; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | use inst::*; [INFO] [stdout] | ------- the item `Inst` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `de::value` [INFO] [stdout] --> assembler/src/main.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::{de::value, Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> assembler/src/utils.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{BTreeMap, HashMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nop::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub use nop::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `initstack::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub use initstack::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `call::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub use call::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ret::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub use ret::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ret_value::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub use ret_value::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `syscall::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub use syscall::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `jmp::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | pub use jmp::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `jz::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub use jz::*; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `push_nil::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub use push_nil::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `push_true::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub use push_true::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `push_i32::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub use push_i32::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `push_i16::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub use push_i16::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `push_i8::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | pub use push_i8::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `push_f32::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub use push_f32::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `push_string::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub use push_string::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `push_global::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | pub use push_global::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `push_stack::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | pub use push_stack::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `push_global_table::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub use push_global_table::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `push_local_table::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | pub use push_local_table::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `push_return::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub use push_return::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pop_global::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | pub use pop_global::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pop_stack::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub use pop_stack::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pop_global_table::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | pub use pop_global_table::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pop_local_table::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | pub use pop_local_table::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `neg::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | pub use neg::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `add::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub use add::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sub::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | pub use sub::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mul::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | pub use mul::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `div::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub use div::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mod_::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | pub use mod_::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bittest::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | pub use bittest::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `and::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | pub use and::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `or::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub use or::*; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sete::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | pub use sete::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `setne::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | pub use setne::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `setg::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | pub use setg::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `setle::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | pub use setle::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `setl::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | pub use setl::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `setge::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub use setge::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `push_top::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | pub use push_top::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/graph.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{bail, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/flag.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{bail, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/motion.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{bail, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/motion.rs:645:37 [INFO] [stdout] | [INFO] [stdout] 645 | return Ok(Variant::Nil);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/color.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{bail, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/input.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/parts.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{bail, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/saveload.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{bail, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::graph_buff::GraphBuff` [INFO] [stdout] --> rfvp/src/subsystem/resources/prim.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::graph_buff::GraphBuff; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `atomic_refcell::AtomicRefCell` [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/normal_move.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use atomic_refcell::AtomicRefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `atomic_refcell::AtomicRefCell` [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/s2_move.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use atomic_refcell::AtomicRefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/snow.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `atomic_refcell::AtomicRefCell` [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/snow.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use atomic_refcell::AtomicRefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ref` [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/mod.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | use std::cell::{Ref, RefMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BigEndian`, `ByteOrder` [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use byteorder::{BigEndian, ByteOrder}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BytesMut` [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use bytes::{Buf, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TrackType` [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use mp4::{Mp4Track, TrackType}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OutputStream`, `Sink`, `Source` [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use rodio::{OutputStream, Sink, Source}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Sender`, `channel` [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | use std::sync::mpsc::{channel, Sender}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `Weekday` [INFO] [stdout] --> rfvp/src/subsystem/resources/save_manager.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{DateTime, Datelike, Local, Timelike, Weekday}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::subsystem::components::material::Material` [INFO] [stdout] --> rfvp/src/subsystem/systems/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::subsystem::components::material::Material; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::resources::thread_manager::ThreadManager` [INFO] [stdout] --> rfvp/src/subsystem/world.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | use super::resources::thread_manager::ThreadManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::subsystem::world::GameData` [INFO] [stdout] --> rfvp/src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::subsystem::world::GameData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst` [INFO] [stdout] --> assembler/src/utils.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn to_nop(inst: &Inst2) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_inst` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst` [INFO] [stdout] --> assembler/src/utils.rs:80:15 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn to_ret(inst: &Inst2) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_inst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst` [INFO] [stdout] --> assembler/src/utils.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn to_ret_v(inst: &Inst2) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_inst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst` [INFO] [stdout] --> assembler/src/utils.rs:106:20 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn to_push_nil(inst: &Inst2) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_inst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst` [INFO] [stdout] --> assembler/src/utils.rs:110:21 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn to_push_true(inst: &Inst2) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_inst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst` [INFO] [stdout] --> assembler/src/utils.rs:196:20 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn to_push_top(inst: &Inst2) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_inst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst` [INFO] [stdout] --> assembler/src/utils.rs:200:23 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn to_push_return(inst: &Inst2) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_inst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst` [INFO] [stdout] --> assembler/src/utils.rs:240:15 [INFO] [stdout] | [INFO] [stdout] 240 | pub fn to_neg(inst: &Inst2) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_inst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst` [INFO] [stdout] --> assembler/src/utils.rs:244:15 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn to_add(inst: &Inst2) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_inst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst` [INFO] [stdout] --> assembler/src/utils.rs:248:15 [INFO] [stdout] | [INFO] [stdout] 248 | pub fn to_sub(inst: &Inst2) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_inst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst` [INFO] [stdout] --> assembler/src/utils.rs:252:15 [INFO] [stdout] | [INFO] [stdout] 252 | pub fn to_mul(inst: &Inst2) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_inst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst` [INFO] [stdout] --> assembler/src/utils.rs:256:15 [INFO] [stdout] | [INFO] [stdout] 256 | pub fn to_div(inst: &Inst2) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_inst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst` [INFO] [stdout] --> assembler/src/utils.rs:260:15 [INFO] [stdout] | [INFO] [stdout] 260 | pub fn to_mod(inst: &Inst2) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_inst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst` [INFO] [stdout] --> assembler/src/utils.rs:264:20 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn to_bit_test(inst: &Inst2) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_inst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst` [INFO] [stdout] --> assembler/src/utils.rs:268:15 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn to_and(inst: &Inst2) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_inst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst` [INFO] [stdout] --> assembler/src/utils.rs:272:14 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn to_or(inst: &Inst2) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_inst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst` [INFO] [stdout] --> assembler/src/utils.rs:276:17 [INFO] [stdout] | [INFO] [stdout] 276 | pub fn to_set_e(inst: &Inst2) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_inst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst` [INFO] [stdout] --> assembler/src/utils.rs:280:18 [INFO] [stdout] | [INFO] [stdout] 280 | pub fn to_set_ne(inst: &Inst2) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_inst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst` [INFO] [stdout] --> assembler/src/utils.rs:284:17 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn to_set_g(inst: &Inst2) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_inst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst` [INFO] [stdout] --> assembler/src/utils.rs:288:18 [INFO] [stdout] | [INFO] [stdout] 288 | pub fn to_set_le(inst: &Inst2) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_inst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst` [INFO] [stdout] --> assembler/src/utils.rs:292:17 [INFO] [stdout] | [INFO] [stdout] 292 | pub fn to_set_l(inst: &Inst2) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_inst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst` [INFO] [stdout] --> assembler/src/utils.rs:296:18 [INFO] [stdout] | [INFO] [stdout] 296 | pub fn to_set_ge(inst: &Inst2) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_inst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst` [INFO] [stdout] --> assembler/src/utils.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn to_nop(inst: &Inst2) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_inst` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `project` is never read [INFO] [stdout] --> assembler/src/main.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 128 | pub struct Assembler { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 129 | project: FVPProject, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `content` and `nls` are never read [INFO] [stdout] --> assembler/src/inst.rs:468:5 [INFO] [stdout] | [INFO] [stdout] 466 | pub struct PushStringInst { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 467 | address: u32, [INFO] [stdout] 468 | content: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 469 | content_blob: Vec, [INFO] [stdout] 470 | nls: Nls, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst` [INFO] [stdout] --> assembler/src/utils.rs:80:15 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn to_ret(inst: &Inst2) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_inst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst` [INFO] [stdout] --> assembler/src/utils.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn to_ret_v(inst: &Inst2) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_inst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst` [INFO] [stdout] --> assembler/src/utils.rs:106:20 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn to_push_nil(inst: &Inst2) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_inst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst` [INFO] [stdout] --> assembler/src/utils.rs:110:21 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn to_push_true(inst: &Inst2) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_inst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst` [INFO] [stdout] --> assembler/src/utils.rs:196:20 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn to_push_top(inst: &Inst2) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_inst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst` [INFO] [stdout] --> assembler/src/utils.rs:200:23 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn to_push_return(inst: &Inst2) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_inst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst` [INFO] [stdout] --> assembler/src/utils.rs:240:15 [INFO] [stdout] | [INFO] [stdout] 240 | pub fn to_neg(inst: &Inst2) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_inst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst` [INFO] [stdout] --> assembler/src/utils.rs:244:15 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn to_add(inst: &Inst2) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_inst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst` [INFO] [stdout] --> assembler/src/utils.rs:248:15 [INFO] [stdout] | [INFO] [stdout] 248 | pub fn to_sub(inst: &Inst2) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_inst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst` [INFO] [stdout] --> assembler/src/utils.rs:252:15 [INFO] [stdout] | [INFO] [stdout] 252 | pub fn to_mul(inst: &Inst2) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_inst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst` [INFO] [stdout] --> assembler/src/utils.rs:256:15 [INFO] [stdout] | [INFO] [stdout] 256 | pub fn to_div(inst: &Inst2) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_inst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst` [INFO] [stdout] --> assembler/src/utils.rs:260:15 [INFO] [stdout] | [INFO] [stdout] 260 | pub fn to_mod(inst: &Inst2) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_inst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst` [INFO] [stdout] --> assembler/src/utils.rs:264:20 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn to_bit_test(inst: &Inst2) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_inst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst` [INFO] [stdout] --> assembler/src/utils.rs:268:15 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn to_and(inst: &Inst2) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_inst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst` [INFO] [stdout] --> assembler/src/utils.rs:272:14 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn to_or(inst: &Inst2) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_inst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst` [INFO] [stdout] --> assembler/src/utils.rs:276:17 [INFO] [stdout] | [INFO] [stdout] 276 | pub fn to_set_e(inst: &Inst2) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_inst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst` [INFO] [stdout] --> assembler/src/utils.rs:280:18 [INFO] [stdout] | [INFO] [stdout] 280 | pub fn to_set_ne(inst: &Inst2) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_inst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst` [INFO] [stdout] --> assembler/src/utils.rs:284:17 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn to_set_g(inst: &Inst2) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_inst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst` [INFO] [stdout] --> assembler/src/utils.rs:288:18 [INFO] [stdout] | [INFO] [stdout] 288 | pub fn to_set_le(inst: &Inst2) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_inst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst` [INFO] [stdout] --> assembler/src/utils.rs:292:17 [INFO] [stdout] | [INFO] [stdout] 292 | pub fn to_set_l(inst: &Inst2) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_inst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst` [INFO] [stdout] --> assembler/src/utils.rs:296:18 [INFO] [stdout] | [INFO] [stdout] 296 | pub fn to_set_ge(inst: &Inst2) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_inst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `project` is never read [INFO] [stdout] --> assembler/src/main.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 128 | pub struct Assembler { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 129 | project: FVPProject, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `content` and `nls` are never read [INFO] [stdout] --> assembler/src/inst.rs:468:5 [INFO] [stdout] | [INFO] [stdout] 466 | pub struct PushStringInst { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 467 | address: u32, [INFO] [stdout] 468 | content: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 469 | content_blob: Vec, [INFO] [stdout] 470 | nls: Nls, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> rfvp/src/script/parser.rs:318:9 [INFO] [stdout] | [INFO] [stdout] 317 | use super::*; [INFO] [stdout] | -------- the item `Path` is already imported here [INFO] [stdout] 318 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nop::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub use nop::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `initstack::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub use initstack::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `call::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub use call::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ret::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub use ret::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ret_value::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub use ret_value::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `syscall::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub use syscall::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `jmp::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | pub use jmp::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `jz::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub use jz::*; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `push_nil::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub use push_nil::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `push_true::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub use push_true::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `push_i32::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub use push_i32::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `push_i16::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub use push_i16::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `push_i8::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | pub use push_i8::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `push_f32::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub use push_f32::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `push_string::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub use push_string::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `push_global::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | pub use push_global::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `push_stack::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | pub use push_stack::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `push_global_table::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub use push_global_table::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `push_local_table::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | pub use push_local_table::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `push_return::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub use push_return::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pop_global::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | pub use pop_global::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pop_stack::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub use pop_stack::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pop_global_table::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | pub use pop_global_table::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pop_local_table::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | pub use pop_local_table::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `neg::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | pub use neg::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `add::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub use add::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sub::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | pub use sub::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mul::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | pub use mul::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `div::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub use div::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mod_::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | pub use mod_::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bittest::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | pub use bittest::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `and::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | pub use and::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `or::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub use or::*; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sete::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | pub use sete::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `setne::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | pub use setne::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `setg::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | pub use setg::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `setle::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | pub use setle::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `setl::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | pub use setl::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `setge::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub use setge::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `push_top::*` [INFO] [stdout] --> rfvp/src/script/inst/mod.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | pub use push_top::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/graph.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{bail, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/flag.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{bail, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/motion.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{bail, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/motion.rs:645:37 [INFO] [stdout] | [INFO] [stdout] 645 | return Ok(Variant::Nil);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/color.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{bail, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/input.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/parts.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{bail, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/saveload.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{bail, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> rfvp/src/subsystem/resources/vfs.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 246 | use super::*; [INFO] [stdout] | -------- the item `Path` is already imported here [INFO] [stdout] 247 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> rfvp/src/subsystem/resources/texture.rs:458:9 [INFO] [stdout] | [INFO] [stdout] 457 | use super::*; [INFO] [stdout] | -------- the item `Path` is already imported here [INFO] [stdout] 458 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::graph_buff::GraphBuff` [INFO] [stdout] --> rfvp/src/subsystem/resources/prim.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::graph_buff::GraphBuff; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `atomic_refcell::AtomicRefCell` [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/normal_move.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use atomic_refcell::AtomicRefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `atomic_refcell::AtomicRefCell` [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/s2_move.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use atomic_refcell::AtomicRefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/snow.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `atomic_refcell::AtomicRefCell` [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/snow.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use atomic_refcell::AtomicRefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ref` [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/mod.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | use std::cell::{Ref, RefMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BigEndian`, `ByteOrder` [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use byteorder::{BigEndian, ByteOrder}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BytesMut` [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use bytes::{Buf, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TrackType` [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use mp4::{Mp4Track, TrackType}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Source` [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | use rodio::{OutputStream, Sink, Source}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Sender`, `channel` [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | use std::sync::mpsc::{channel, Sender}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::Instant` [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:743:20 [INFO] [stdout] | [INFO] [stdout] 743 | use std::{env, time::Instant}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::executor::block_on` [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:745:9 [INFO] [stdout] | [INFO] [stdout] 745 | use futures::executor::block_on; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CompositeAlphaMode`, `SamplerBindingType`, `SurfaceConfiguration`, `TextureFormat` [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:746:16 [INFO] [stdout] | [INFO] [stdout] 746 | use wgpu::{CompositeAlphaMode, SamplerBindingType, SurfaceConfiguration, TextureFormat}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Event`, `WindowEvent` [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:747:24 [INFO] [stdout] | [INFO] [stdout] 747 | use winit::event::{Event, WindowEvent}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `Weekday` [INFO] [stdout] --> rfvp/src/subsystem/resources/save_manager.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{DateTime, Datelike, Local, Timelike, Weekday}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::subsystem::components::material::Material` [INFO] [stdout] --> rfvp/src/subsystem/systems/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::subsystem::components::material::Material; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::resources::thread_manager::ThreadManager` [INFO] [stdout] --> rfvp/src/subsystem/world.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | use super::resources::thread_manager::ThreadManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> rfvp/src/app.rs:377:9 [INFO] [stdout] | [INFO] [stdout] 376 | use super::*; [INFO] [stdout] | -------- the item `Path` is already imported here [INFO] [stdout] 377 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::subsystem::world::GameData` [INFO] [stdout] --> rfvp/src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::subsystem::world::GameData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:604:9 [INFO] [stdout] | [INFO] [stdout] 584 | / match self.video_decoder.decode(&buffer) { [INFO] [stdout] 585 | | Ok(Some(mut image)) => { [INFO] [stdout] 586 | | let mut rgb = vec![0; self.width as usize * self.height as usize * 3]; [INFO] [stdout] 587 | | image.write_rgb8(&mut rgb); [INFO] [stdout] ... | [INFO] [stdout] 601 | | } [INFO] [stdout] 602 | | } [INFO] [stdout] | |_________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 603 | [INFO] [stdout] 604 | Ok(None) [INFO] [stdout] | ^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Buf` [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use bytes::{Buf, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rfvp/src/script/context.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | let mut off = match base.checked_add(offset as isize) { [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: unreachable expression [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:604:9 [INFO] [stdout] | [INFO] [stdout] 584 | / match self.video_decoder.decode(&buffer) { [INFO] [stdout] 585 | | Ok(Some(mut image)) => { [INFO] [stdout] 586 | | let mut rgb = vec![0; self.width as usize * self.height as usize * 3]; [INFO] [stdout] 587 | | image.write_rgb8(&mut rgb); [INFO] [stdout] ... | [INFO] [stdout] 601 | | } [INFO] [stdout] 602 | | } [INFO] [stdout] | |_________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 603 | [INFO] [stdout] 604 | Ok(None) [INFO] [stdout] | ^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_data` [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/text.rs:271:5 [INFO] [stdout] | [INFO] [stdout] 271 | game_data: &mut GameData, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space_vertical` [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/text.rs:273:5 [INFO] [stdout] | [INFO] [stdout] 273 | space_vertical: &Variant, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_space_vertical` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space_horizon` [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/text.rs:274:5 [INFO] [stdout] | [INFO] [stdout] 274 | space_horizon: &Variant, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_space_horizon` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text_start_vertical` [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/text.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | text_start_vertical: &Variant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_text_start_vertical` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text_start_horizon` [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/text.rs:276:5 [INFO] [stdout] | [INFO] [stdout] 276 | text_start_horizon: &Variant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_text_start_horizon` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ruby_vertical` [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/text.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | ruby_vertical: &Variant, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ruby_vertical` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ruby_horizon` [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/text.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 278 | ruby_horizon: &Variant, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ruby_horizon` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Buf` [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use bytes::{Buf, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rfvp/src/script/context.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | let mut off = match base.checked_add(offset as isize) { [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: value assigned to `slot_id` is never read [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/saveload.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | let mut slot_id = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `texture_id` is never read [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/saveload.rs:85:21 [INFO] [stdout] | [INFO] [stdout] 85 | let mut texture_id = 0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> rfvp/src/subsystem/resources/texture.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | _ => bail!("Invalid NVSG type: {:?}", self.typ), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> rfvp/src/subsystem/resources/texture.rs:417:17 [INFO] [stdout] | [INFO] [stdout] 417 | _ => bail!("Invalid texture type: {:?}", self.typ), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> rfvp/src/subsystem/resources/texture.rs:439:13 [INFO] [stdout] | [INFO] [stdout] 439 | _ => bail!("Invalid texture type: {:?}", self.typ), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/normal_move.rs:369:17 [INFO] [stdout] | [INFO] [stdout] 369 | let mut prim = &mut self.motions[id as usize]; [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] --> rfvp/src/subsystem/resources/motion_manager/s2_move.rs:367:17 [INFO] [stdout] | [INFO] [stdout] 367 | let mut id = self.allocation_pool[id as usize]; [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] --> rfvp/src/subsystem/resources/motion_manager/s2_move.rs:369:17 [INFO] [stdout] | [INFO] [stdout] 369 | let mut prim = &mut self.motions[id as usize]; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `edge_x` is never read [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/mod.rs:483:25 [INFO] [stdout] | [INFO] [stdout] 483 | let mut edge_x = 0i32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `edge_y` is never read [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/mod.rs:484:25 [INFO] [stdout] | [INFO] [stdout] 484 | let mut edge_y = 0i32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/mod.rs:479:21 [INFO] [stdout] | [INFO] [stdout] 479 | let mut total_x = x + texture.get_offset_x() as i32 + sprite.get_x() as i32; [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] --> rfvp/src/subsystem/resources/motion_manager/mod.rs:480:21 [INFO] [stdout] | [INFO] [stdout] 480 | let mut total_y = y + texture.get_offset_y() as i32 + sprite.get_y() as i32; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:96:24 [INFO] [stdout] | [INFO] [stdout] 96 | if let Err(err) = result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_index` [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:564:13 [INFO] [stdout] | [INFO] [stdout] 564 | let frame_index = (elapsed as f64 * self.frame_rate) as u32 + 1; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:585:21 [INFO] [stdout] | [INFO] [stdout] 585 | Ok(Some(mut image)) => { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mp4` [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:638:13 [INFO] [stdout] | [INFO] [stdout] 638 | let mp4 = mp4::Mp4Reader::read_header(reader, file_size)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mp4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:630:9 [INFO] [stdout] | [INFO] [stdout] 630 | width: u32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:631:9 [INFO] [stdout] | [INFO] [stdout] 631 | height: u32, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `should_play` [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:632:9 [INFO] [stdout] | [INFO] [stdout] 632 | should_play: Arc, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_should_play` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `save_item` [INFO] [stdout] --> rfvp/src/subsystem/resources/save_manager.rs:484:13 [INFO] [stdout] | [INFO] [stdout] 484 | let save_item = SaveItem::load_from_file( [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_save_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> rfvp/src/subsystem/resources/thread_manager.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | for i in 0..self.total_contexts() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> rfvp/src/subsystem/resources/thread_manager.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | for i in 0..self.total_contexts() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_data` [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/text.rs:271:5 [INFO] [stdout] | [INFO] [stdout] 271 | game_data: &mut GameData, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space_vertical` [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/text.rs:273:5 [INFO] [stdout] | [INFO] [stdout] 273 | space_vertical: &Variant, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_space_vertical` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space_horizon` [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/text.rs:274:5 [INFO] [stdout] | [INFO] [stdout] 274 | space_horizon: &Variant, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_space_horizon` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text_start_vertical` [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/text.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | text_start_vertical: &Variant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_text_start_vertical` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text_start_horizon` [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/text.rs:276:5 [INFO] [stdout] | [INFO] [stdout] 276 | text_start_horizon: &Variant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_text_start_horizon` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ruby_vertical` [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/text.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | ruby_vertical: &Variant, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ruby_vertical` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ruby_horizon` [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/text.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 278 | ruby_horizon: &Variant, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ruby_horizon` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_data` [INFO] [stdout] --> rfvp/src/subsystem/anzu_scene.rs:69:31 [INFO] [stdout] | [INFO] [stdout] 69 | fn update_prim(&mut self, game_data: &mut GameData, elapsed: u64) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elapsed` [INFO] [stdout] --> rfvp/src/subsystem/anzu_scene.rs:69:57 [INFO] [stdout] | [INFO] [stdout] 69 | fn update_prim(&mut self, game_data: &mut GameData, elapsed: u64) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_elapsed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `color` is never read [INFO] [stdout] --> rfvp/src/subsystem/anzu_scene.rs:171:21 [INFO] [stdout] | [INFO] [stdout] 171 | color = game_data.color_manager.get_entry(tile as u8).clone(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `slot_id` is never read [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/saveload.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | let mut slot_id = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `texture_id` is never read [INFO] [stdout] --> rfvp/src/subsystem/components/syscalls/saveload.rs:85:21 [INFO] [stdout] | [INFO] [stdout] 85 | let mut texture_id = 0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> rfvp/src/subsystem/resources/texture.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | _ => bail!("Invalid NVSG type: {:?}", self.typ), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> rfvp/src/subsystem/resources/texture.rs:417:17 [INFO] [stdout] | [INFO] [stdout] 417 | _ => bail!("Invalid texture type: {:?}", self.typ), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> rfvp/src/subsystem/resources/texture.rs:439:13 [INFO] [stdout] | [INFO] [stdout] 439 | _ => bail!("Invalid texture type: {:?}", self.typ), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typ` [INFO] [stdout] --> rfvp/src/subsystem/resources/texture.rs:468:42 [INFO] [stdout] | [INFO] [stdout] 468 | container.read_texture(&buffer, |typ: TextureType| {true}).unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_typ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typ` [INFO] [stdout] --> rfvp/src/subsystem/resources/texture.rs:483:42 [INFO] [stdout] | [INFO] [stdout] 483 | container.read_texture(&buffer, |typ: TextureType| {true}).unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_typ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typ` [INFO] [stdout] --> rfvp/src/subsystem/resources/texture.rs:501:42 [INFO] [stdout] | [INFO] [stdout] 501 | container.read_texture(&buffer, |typ: TextureType| {true}).unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_typ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typ` [INFO] [stdout] --> rfvp/src/subsystem/resources/texture.rs:522:42 [INFO] [stdout] | [INFO] [stdout] 522 | container.read_texture(&buffer, |typ: TextureType| {true}).unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_typ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typ` [INFO] [stdout] --> rfvp/src/subsystem/resources/texture.rs:548:42 [INFO] [stdout] | [INFO] [stdout] 548 | container.read_texture(&buffer, |typ: TextureType| {true}).unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_typ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typ` [INFO] [stdout] --> rfvp/src/subsystem/resources/texture.rs:566:42 [INFO] [stdout] | [INFO] [stdout] 566 | container.read_texture(&buffer, |typ: TextureType| {true}).unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_typ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SavedStackInfo` is more private than the item `Variant::SavedStackInfo::0` [INFO] [stdout] --> rfvp/src/script/mod.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 68 | SavedStackInfo(SavedStackInfo), [INFO] [stdout] | ^^^^^^^^^^^^^^ field `Variant::SavedStackInfo::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `SavedStackInfo` is only usable at visibility `pub(self)` [INFO] [stdout] --> rfvp/src/script/mod.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | struct SavedStackInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SavedStackInfo` is more private than the item `Variant::as_saved_stack_info` [INFO] [stdout] --> rfvp/src/script/mod.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn as_saved_stack_info(&self) -> Option<&SavedStackInfo> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Variant::as_saved_stack_info` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `SavedStackInfo` is only usable at visibility `pub(self)` [INFO] [stdout] --> rfvp/src/script/mod.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | struct SavedStackInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SavedStackInfo` is more private than the item `Variant::as_saved_stack_info_mut` [INFO] [stdout] --> rfvp/src/script/mod.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn as_saved_stack_info_mut(&mut self) -> Option<&mut SavedStackInfo> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Variant::as_saved_stack_info_mut` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `SavedStackInfo` is only usable at visibility `pub(self)` [INFO] [stdout] --> rfvp/src/script/mod.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | struct SavedStackInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `push` is never used [INFO] [stdout] --> rfvp/src/script/mod.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl Table { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn push(&mut self, value: Variant) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_float` is never used [INFO] [stdout] --> rfvp/src/script/mod.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 71 | impl Variant { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn as_float(&self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `args_count` and `locals_count` are never read [INFO] [stdout] --> rfvp/src/script/context.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StackFrame { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 16 | pub args_count: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | pub locals_count: u16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StackFrame` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_addr` and `should_exit` are never read [INFO] [stdout] --> rfvp/src/script/context.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Context { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | start_addr: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | should_exit: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Context` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_main`, `set_exited`, and `should_exit_now` are never used [INFO] [stdout] --> rfvp/src/script/context.rs:921:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl Context { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 921 | pub fn is_main(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 925 | pub fn set_exited(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 929 | pub fn should_exit_now(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_all_syscalls`, `get_game_mode`, `get_custom_syscall_count`, and `get_sys_desc_offset` are never used [INFO] [stdout] --> rfvp/src/script/parser.rs:256:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl Parser { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 256 | pub fn get_all_syscalls(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | pub fn get_game_mode(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 305 | pub fn get_custom_syscall_count(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 310 | pub fn get_sys_desc_offset(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_int_var` is never used [INFO] [stdout] --> rfvp/src/script/global.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Global { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn get_int_var(&self, key: u16) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_int_var` is never used [INFO] [stdout] --> rfvp/src/script/global.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn get_int_var(key: u16) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `opcode`, `address`, and `disassemble` are never used [INFO] [stdout] --> rfvp/src/script/opcode.rs:193:8 [INFO] [stdout] | [INFO] [stdout] 192 | pub trait OpcodeBase { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] 193 | fn opcode(&self) -> Opcode; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 194 | fn address(&self) -> u32; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 195 | fn mnemonic(&self) -> &'static str; [INFO] [stdout] 196 | fn disassemble(&self) -> String; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> rfvp/src/script/inst/nop.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl NopInst { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 9 | pub fn new(address: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_arg_count`, and `get_local_count` are never used [INFO] [stdout] --> rfvp/src/script/inst/initstack.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl InitStackInst { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 11 | pub fn new(address: u32, arg_count: u8, local_count: u8) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn get_arg_count(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn get_local_count(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_target` are never used [INFO] [stdout] --> rfvp/src/script/inst/call.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl CallInst { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 10 | pub fn new(address: u32, target: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn get_target(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> rfvp/src/script/inst/ret.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl RetInst { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 9 | pub fn new(address: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> rfvp/src/script/inst/ret_value.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl RetValueInst { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 9 | pub fn new(address: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_syscall_name` are never used [INFO] [stdout] --> rfvp/src/script/inst/syscall.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl SyscallInst { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 11 | pub fn new(address: u32, syscall_name: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn get_syscall_name(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_target` are never used [INFO] [stdout] --> rfvp/src/script/inst/jmp.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl JmpInst { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 10 | pub fn new(address: u32, target: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn get_target(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_target` are never used [INFO] [stdout] --> rfvp/src/script/inst/jz.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl JzInst { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 10 | pub fn new(address: u32, target: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn get_target(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> rfvp/src/script/inst/push_nil.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl PushNilInst { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 9 | pub fn new(address: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> rfvp/src/script/inst/push_true.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl PushTrueInst { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 9 | pub fn new(address: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_value` are never used [INFO] [stdout] --> rfvp/src/script/inst/push_i32.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl PushI32Inst { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 10 | pub fn new(address: u32, value: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn get_value(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_value` are never used [INFO] [stdout] --> rfvp/src/script/inst/push_i16.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl PushI16Inst { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 10 | pub fn new(address: u32, value: i16) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn get_value(&self) -> i16 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_value` are never used [INFO] [stdout] --> rfvp/src/script/inst/push_i8.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl PushI8Inst { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 10 | pub fn new(address: u32, value: i8) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn get_value(&self) -> i8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_value` are never used [INFO] [stdout] --> rfvp/src/script/inst/push_f32.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl PushF32Inst { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 10 | pub fn new(address: u32, value: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn get_value(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_value` are never used [INFO] [stdout] --> rfvp/src/script/inst/push_string.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl PushStringInst { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 10 | pub fn new(address: u32, value: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn get_value(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_idx` are never used [INFO] [stdout] --> rfvp/src/script/inst/push_global.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl PushGlobalInst { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 10 | pub fn new(address: u32, idx: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn get_idx(&self) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_idx` are never used [INFO] [stdout] --> rfvp/src/script/inst/push_stack.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl PushStackInst { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 10 | pub fn new(address: u32, idx: i8) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn get_idx(&self) -> i8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_idx` are never used [INFO] [stdout] --> rfvp/src/script/inst/push_global_table.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl PushGlobalTableInst { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 10 | pub fn new(address: u32, idx: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn get_idx(&self) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_idx` are never used [INFO] [stdout] --> rfvp/src/script/inst/push_local_table.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl PushLocalTableInst { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 10 | pub fn new(address: u32, idx: i8) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn get_idx(&self) -> i8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> rfvp/src/script/inst/push_return.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl PushReturnInst { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 9 | pub fn new(address: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_idx` are never used [INFO] [stdout] --> rfvp/src/script/inst/pop_global.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl PopGlobalInst { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 10 | pub fn new(address: u32, idx: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn get_idx(&self) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_idx` are never used [INFO] [stdout] --> rfvp/src/script/inst/pop_stack.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl PopStackInst { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 10 | pub fn new(address: u32, idx: i8) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn get_idx(&self) -> i8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_idx` are never used [INFO] [stdout] --> rfvp/src/script/inst/pop_global_table.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl PopGlobalTableInst { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 10 | pub fn new(address: u32, idx: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn get_idx(&self) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_idx` are never used [INFO] [stdout] --> rfvp/src/script/inst/pop_local_table.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl PopLocalTableInst { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 10 | pub fn new(address: u32, idx: i8) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn get_idx(&self) -> i8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> rfvp/src/script/inst/neg.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl NegInst { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 9 | pub fn new(address: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> rfvp/src/script/inst/add.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl AddInst { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 9 | pub fn new(address: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> rfvp/src/script/inst/sub.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl SubInst { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 9 | pub fn new(address: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> rfvp/src/script/inst/mul.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl MulInst { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 9 | pub fn new(address: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> rfvp/src/script/inst/div.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl DivInst { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 9 | pub fn new(address: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> rfvp/src/script/inst/mod_.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl ModInst { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 9 | pub fn new(address: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> rfvp/src/script/inst/bittest.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl BitTestInst { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 9 | pub fn new(address: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> rfvp/src/script/inst/and.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl AndInst { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 9 | pub fn new(address: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> rfvp/src/script/inst/or.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl OrInst { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 9 | pub fn new(address: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> rfvp/src/script/inst/sete.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl SeteInst { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 9 | pub fn new(address: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> rfvp/src/script/inst/setne.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl SetneInst { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 9 | pub fn new(address: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> rfvp/src/script/inst/setg.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl SetgInst { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 9 | pub fn new(address: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> rfvp/src/script/inst/setle.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl SetleInst { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 9 | pub fn new(address: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> rfvp/src/script/inst/setl.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl SetlInst { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 9 | pub fn new(address: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> rfvp/src/script/inst/setge.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl SetgeInst { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 9 | pub fn new(address: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> rfvp/src/script/inst/push_top.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl PushTopInst { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(address: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SoundChannel` is never constructed [INFO] [stdout] --> rfvp/src/subsystem/audio_controller.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct SoundChannel { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AudioController` is never constructed [INFO] [stdout] --> rfvp/src/subsystem/audio_controller.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) struct AudioController { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> rfvp/src/subsystem/audio_controller.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 21 | impl AudioController { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 22 | pub(crate) fn new(receiver: Receiver) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `audio_thread` is never used [INFO] [stdout] --> rfvp/src/subsystem/audio_controller.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) fn audio_thread(controller: AudioController) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_rgb`, `replace`, `new_hex`, `color_white`, and `get_hex_value` are never used [INFO] [stdout] --> rfvp/src/subsystem/components/color.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Color { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn new_rgb(r: u8, g: u8, b: u8) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn replace(&mut self, color: Color) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn new_hex(hex_code:&str) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn color_white() -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn get_hex_value(mut ch: char) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Color` and `Texture` are never constructed [INFO] [stdout] --> rfvp/src/subsystem/components/material.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum Material { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 13 | /// Fill with a color [INFO] [stdout] 14 | Color(Color), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | /// Use a texture. Note that this means the target object will need to have uv maps. [INFO] [stdout] 16 | Texture(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Material` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_png`, `from_raw_buffer`, `fallback_texture`, and `create_texture_from_dynamic_image` are never used [INFO] [stdout] --> rfvp/src/subsystem/components/material.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Texture { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 27 | pub fn from_png(file_path: &Path) -> Texture { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn from_raw_buffer(bytes: Vec, width: u32, height: u32) -> Texture { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn fallback_texture() -> Texture { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn create_texture_from_dynamic_image(dynamic_image: DynamicImage) -> Texture { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Pivot` is never used [INFO] [stdout] --> rfvp/src/subsystem/components/maths/mod.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Pivot { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `new_with_z`, `set_x`, `set_y`, and `set_z` are never used [INFO] [stdout] --> rfvp/src/subsystem/components/maths/coordinates.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Coordinates { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 9 | pub fn new(x: f32, y: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn new_with_z(x: f32, y: f32, layer: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn set_x(&mut self, x: f32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn set_y(&mut self, y: f32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn set_z(&mut self, z: usize) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Parent` is never constructed [INFO] [stdout] --> rfvp/src/subsystem/components/maths/hierarchy.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Parent(pub Entity); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Parent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Children` is never constructed [INFO] [stdout] --> rfvp/src/subsystem/components/maths/hierarchy.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Children(pub Vec); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Children` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `min_x`, `max_x`, `min_y`, and `max_y` are never read [INFO] [stdout] --> rfvp/src/subsystem/components/maths/transform.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 5 | struct Bounds { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 6 | pub(crate) min_x: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | pub(crate) max_x: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | pub(crate) min_y: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | pub(crate) max_y: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Bounds` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dirty`, `dirty_child`, and `bounds` are never read [INFO] [stdout] --> rfvp/src/subsystem/components/maths/transform.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Transform { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | pub(crate) dirty: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | pub(crate) dirty_child: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 22 | pub(crate) use_screen_as_origin: bool, [INFO] [stdout] 23 | bounds: Bounds, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Transform` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> rfvp/src/subsystem/components/maths/transform.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl Transform { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 42 | /// Creates a new transform using provided values. [INFO] [stdout] 43 | pub fn new(translation: Coordinates, scale: f32, angle: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn from_xy(x: f32, y: f32) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn from_xyz(x: f32, y: f32, z: usize) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn append_translation(&mut self, x: f32, y: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn append_vector(&mut self, vector: Vector) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn append_x(&mut self, x: f32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn append_y(&mut self, y: f32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn move_down(&mut self, y: f32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn append_angle(&mut self, angle: f32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn set_scale(&mut self, scale: f32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn set_z(&mut self, z: usize) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn set_min_x(&mut self, min_x: Option) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn set_max_x(&mut self, max_x: Option) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn set_min_y(&mut self, min_y: Option) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn set_max_y(&mut self, max_y: Option) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn set_use_screen_as_origin(&mut self, new_value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn set_global_translation_bounds( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub(crate) fn compute_global_from_parent(&mut self, parent_translation: &Coordinates) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | fn handle_bounds(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TransformBuilder` is never constructed [INFO] [stdout] --> rfvp/src/subsystem/components/maths/transform.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 212 | pub struct TransformBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> rfvp/src/subsystem/components/maths/transform.rs:217:12 [INFO] [stdout] | [INFO] [stdout] 216 | impl TransformBuilder { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 217 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn with_xy(mut self, x: f32, y: f32) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | pub fn with_translation(mut self, x: f32, y: f32, z: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | pub fn with_scale(mut self, scale: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 239 | pub fn with_angle(mut self, angle: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | pub fn with_screen_as_origin(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | pub fn build(self) -> Transform { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tile_number` is never read [INFO] [stdout] --> rfvp/src/subsystem/components/tiles/sprite.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Sprite { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 15 | /// Desired tile to render for this material. [INFO] [stdout] 16 | tile_number: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sprite` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set_tile_nb`, `get_tile_nb`, `indices`, and `set_content` are never used [INFO] [stdout] --> rfvp/src/subsystem/components/tiles/sprite.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Sprite { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn new(tile_number: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn set_tile_nb(&mut self, new_tile_nb: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn get_tile_nb(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub(crate) fn indices() -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub(crate) fn set_content(&mut self, content: [TexturedGlVertex; 4]) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UiFocusable` is never constructed [INFO] [stdout] --> rfvp/src/subsystem/components/ui/mod.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct UiFocusable{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Focusable` is never used [INFO] [stdout] --> rfvp/src/subsystem/components/ui/mod.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait Focusable{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `new_with_uv_map` are never used [INFO] [stdout] --> rfvp/src/subsystem/components/ui/ui_image.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl UiImage { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 19 | /// Creates a ui_image with `width` and `height` using image at `image_path` [INFO] [stdout] 20 | pub fn new(width: f32, height: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn new_with_uv_map( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_cursor`, `resize`, and `dimensions` are never used [INFO] [stdout] --> rfvp/src/subsystem/resources/window.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Window { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn set_cursor(&mut self, icon: CursorIcon) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn resize(&mut self, width: u32, height: u32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn dimensions(&self) -> (u32, u32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_messages` is never read [INFO] [stdout] --> rfvp/src/subsystem/resources/events/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct PollConfiguration { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 15 | /// Maximum number of messages a single poll can retrieve [INFO] [stdout] 16 | max_messages: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `TopicDoesNotExist` and `SubscriberIdDoesNotExist` are never constructed [INFO] [stdout] --> rfvp/src/subsystem/resources/events/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub enum EventError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 28 | TopicAlreadyExist, [INFO] [stdout] 29 | TopicDoesNotExist, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | SubscriberIdDoesNotExist, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EventError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `publish`, `subscribe`, and `poll` are never used [INFO] [stdout] --> rfvp/src/subsystem/resources/events/mod.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl Events { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn publish(&mut self, topic_name: &str, event: T) -> Result<(), EventError> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn subscribe( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn poll(&mut self, subscriber_id: &SubscriberId) -> Result, EventError> [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `publish` is never used [INFO] [stdout] --> rfvp/src/subsystem/resources/events/topic.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 7 | impl Topic { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub(crate) fn publish(&mut self, message: String) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `delta_duration` is never used [INFO] [stdout] --> rfvp/src/subsystem/resources/time.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 31 | impl Time { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn delta_duration(&self) -> Duration { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Manual` is never constructed [INFO] [stdout] --> rfvp/src/subsystem/resources/time.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub enum TimerType { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 56 | Manual, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `elapsed`, `ended`, `reset`, and `change_cycle` are never used [INFO] [stdout] --> rfvp/src/subsystem/resources/time.rs:120:16 [INFO] [stdout] | [INFO] [stdout] 77 | impl Timer { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn elapsed(&self) -> f32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn ended(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn change_cycle(&mut self, new_cycle: f32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `delete_timer` and `exists` are never used [INFO] [stdout] --> rfvp/src/subsystem/resources/time.rs:173:16 [INFO] [stdout] | [INFO] [stdout] 157 | impl Timers { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn delete_timer(&mut self, name: &str) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn exists(&mut self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `path`, `crossfade`, and `looped` are never read [INFO] [stdout] --> rfvp/src/subsystem/resources/audio.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | struct SoundChannel { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 24 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 25 | buffer: Vec, [INFO] [stdout] 26 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 27 | crossfade: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 28 | volume: f32, [INFO] [stdout] 29 | looped: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Error` is never used [INFO] [stdout] --> rfvp/src/subsystem/resources/audio.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | pub enum Error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Video` is never constructed [INFO] [stdout] --> rfvp/src/subsystem/resources/audio.rs:346:5 [INFO] [stdout] | [INFO] [stdout] 342 | pub enum Sound { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 346 | Video, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sound` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `category` is never read [INFO] [stdout] --> rfvp/src/subsystem/resources/audio.rs:356:9 [INFO] [stdout] | [INFO] [stdout] 350 | pub struct PlayConfig { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 356 | pub category: Sound, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `current_focus_index` and `current_focus_entity` are never read [INFO] [stdout] --> rfvp/src/subsystem/resources/focus_manager.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct FocusManager{ [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 7 | current_focus_index: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | current_focus_entity: Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `current_focus_index`, `current_focus_entity`, `change_focus`, and `reset_focus` are never used [INFO] [stdout] --> rfvp/src/subsystem/resources/focus_manager.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 11 | impl FocusManager{ [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 12 | pub(crate) fn current_focus_index(&self) -> Option{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub(crate) fn current_focus_entity(&self) -> Option{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub(crate) fn change_focus(&mut self, entity: Entity, rank: usize){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub(crate) fn reset_focus(&mut self){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `materials` is never read [INFO] [stdout] --> rfvp/src/subsystem/resources/asset_manager.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct AssetManager { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 8 | materials: HashMap, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_material_for_ref` and `register_material` are never used [INFO] [stdout] --> rfvp/src/subsystem/resources/asset_manager.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 11 | impl AssetManager { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 12 | pub(crate) fn get_material_for_ref(&self, asset_ref: &AssetRef) -> Material { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn register_material(&mut self, material: Material) -> AssetRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `nls` is never read [INFO] [stdout] --> rfvp/src/subsystem/resources/vfs.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct VfsFile { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 19 | entries: HashMap, [INFO] [stdout] 20 | nls: Nls, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VfsFile` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `nls` is never read [INFO] [stdout] --> rfvp/src/subsystem/resources/vfs.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 177 | pub struct Vfs { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 178 | files: HashMap, [INFO] [stdout] 179 | nls: Nls, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vfs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_type`, `extract_8bit_texture`, `extract_24bit_texture`, `as_24bit_texture`, `extract_32bit_texture`, and `extract_textures` are never used [INFO] [stdout] --> rfvp/src/subsystem/resources/texture.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl NvsgTexture { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn get_type(&self) -> TextureType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 295 | fn extract_8bit_texture(&self, index: usize, out_path: impl AsRef) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 322 | fn extract_24bit_texture(&self, index: usize, out_path: impl AsRef) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 338 | fn as_24bit_texture(&self, index: usize) -> Result, Vec>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 368 | fn extract_32bit_texture(&self, index: usize, out_path: impl AsRef) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 401 | pub fn extract_textures(&self, output_dir: impl AsRef) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> rfvp/src/subsystem/resources/prim.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl Prim { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn set_text_index(&mut self, text_index: i16) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn get_blend(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | pub fn get_opx(&self) -> i16 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub fn get_opy(&self) -> i16 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | pub fn get_rotation(&self) -> i16 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | pub fn get_texture_id(&self) -> i16 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 273 | pub fn get_tile(&self) -> i16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `prim_set_sprt` and `prim_set_text` are never used [INFO] [stdout] --> rfvp/src/subsystem/resources/prim.rs:466:12 [INFO] [stdout] | [INFO] [stdout] 292 | impl PrimManager { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 466 | pub fn prim_set_sprt(&mut self, id: i32, sprt: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 481 | pub fn prim_set_text(&mut self, id: i32, text_index: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FONTFACE_MS_MINCHO` is never used [INFO] [stdout] --> rfvp/src/subsystem/resources/text_manager.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const FONTFACE_MS_MINCHO: i32 = -3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FONTFACE_MS_PGOTHIC` is never used [INFO] [stdout] --> rfvp/src/subsystem/resources/text_manager.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const FONTFACE_MS_PGOTHIC: i32 = -2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FONTFACE_MS_PMINCHO` is never used [INFO] [stdout] --> rfvp/src/subsystem/resources/text_manager.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const FONTFACE_MS_PMINCHO: i32 = -1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> rfvp/src/subsystem/resources/text_manager.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | Font(char), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 20 | Font(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> rfvp/src/subsystem/resources/text_manager.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | RubyFont(Vec, Vec), [INFO] [stdout] | -------- ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 21 | RubyFont((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `default_font` is never read [INFO] [stdout] --> rfvp/src/subsystem/resources/text_manager.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct FontEnumerator { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 25 | default_font: AtomicRefCell, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_font` and `get_current_font_name` are never used [INFO] [stdout] --> rfvp/src/subsystem/resources/text_manager.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl FontEnumerator { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn get_font(&self, id: i32) -> AtomicRefCell { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn get_current_font_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `offset_x`, `offset_y`, `text_content`, `text_start_vertical`, `ruby_vertical`, and `ruby_horizon` are never read [INFO] [stdout] --> rfvp/src/subsystem/resources/text_manager.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 144 | pub struct TextItem { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 145 | offset_x: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 146 | offset_y: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 147 | suspend_chrs: Vec, [INFO] [stdout] 148 | text_content: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | text_start_vertical: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 167 | ruby_vertical: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 168 | ruby_horizon: u16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TextItem` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_loaded` is never used [INFO] [stdout] --> rfvp/src/subsystem/resources/text_manager.rs:241:12 [INFO] [stdout] | [INFO] [stdout] 181 | impl TextItem { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 241 | pub fn set_loaded(&mut self, loaded: bool) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `MaskFadeIn`, `MaskFadeInOut`, and `MaskFadeOut` are never constructed [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub enum DissolveType { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 35 | MaskFadeIn = 4, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 36 | MaskFadeInOut = 5, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 37 | MaskFadeOut = 6, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DissolveType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `test_snow_motion`, `get_dissolve_color_id`, and `get_dissolve_mask_graph` are never used [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/mod.rs:270:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl MotionManager { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 270 | pub fn test_snow_motion(&self, id: u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 627 | pub fn get_dissolve_color_id(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 635 | pub fn get_dissolve_mask_graph(&self) -> &GraphBuff { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_reverse`, `get_src_alpha`, `get_dst_alpha`, `get_duration`, `get_elapsed`, and `get_anm_type` are never used [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/alpha.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl AlphaMotion { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn is_reverse(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn get_src_alpha(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn get_dst_alpha(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn get_duration(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn get_elapsed(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn get_anm_type(&self) -> AlphaMotionType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/normal_move.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl MoveMotion { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn is_reverse(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn get_src_x(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn get_src_y(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn get_dst_x(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn get_dst_y(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn get_duration(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn get_elapsed(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_motions` and `get_motions_mut` are never used [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/normal_move.rs:346:12 [INFO] [stdout] | [INFO] [stdout] 314 | impl MoveMotionContainer { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 346 | pub fn get_motions(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 350 | pub fn get_motions_mut(&mut self) -> &mut Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_reverse`, `get_src_angle`, `get_dst_angle`, `get_duration`, and `get_elapsed` are never used [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/rotation_move.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl RotationMotion { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn is_reverse(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn get_src_angle(&self) -> i16 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn get_dst_angle(&self) -> i16 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn get_duration(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn get_elapsed(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/s2_move.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl ScaleMotion { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn is_reverse(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn get_src_w_factor(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn get_src_h_factor(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn get_dst_w_factor(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn get_dst_h_factor(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn get_duration(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn get_elapsed(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_motions` and `get_motions_mut` are never used [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/s2_move.rs:346:12 [INFO] [stdout] | [INFO] [stdout] 315 | impl ScaleMotionContainer { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 346 | pub fn get_motions(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 350 | pub fn get_motions_mut(&mut self) -> &mut Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_src_x`, `get_src_y`, `get_src_z`, `get_duration`, `get_elapsed`, and `get_reverse` are never used [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/v3d.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl V3dMotion { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn get_src_x(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn get_src_y(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn get_src_z(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn get_duration(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn get_elapsed(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn get_reverse(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_zeverse`, `get_src_z`, `get_dst_z`, `get_duration`, and `get_elapsed` are never used [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/z_move.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl ZMotion { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn is_zeverse(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn get_src_z(&self) -> i16 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn get_dst_z(&self) -> i16 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn get_duration(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn get_elapsed(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `unk1`, `x_pos`, and `y_pos` are never read [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/snow.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct SnowFlake { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 7 | unk1: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | speed: f32, [INFO] [stdout] 9 | x_pos: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | y_pos: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SnowFlake` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/snow.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl SnowFlake { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 14 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `initialize_snow_motion_parameters2`, `set_snow_item`, `update_snow_item`, `update_snow_item2`, and `update` are never used [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/snow.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 47 | impl SnowMotion { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 125 | fn initialize_snow_motion_parameters2( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | fn set_snow_item(item: &mut SnowFlake, speed: f32, width: f32, height: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | fn update_snow_item(&self, a2: &mut SnowFlake, width: f32, height: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | fn update_snow_item2( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 367 | pub fn update(&mut self, elapsed: i32, screen_width: u32, screen_height: u32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `test_snow_motion` and `exec_snow_motion` are never used [INFO] [stdout] --> rfvp/src/subsystem/resources/motion_manager/snow.rs:493:12 [INFO] [stdout] | [INFO] [stdout] 439 | impl SnowMotionContainer { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 493 | pub fn test_snow_motion(&self, id: u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 505 | pub fn exec_snow_motion(&mut self, elapsed: i32, screen_width: u32, screen_height: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_r`, `get_g`, `get_b`, and `get_a` are never used [INFO] [stdout] --> rfvp/src/subsystem/resources/color_manager.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl ColorItem { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn get_r(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn get_g(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn get_b(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn get_a(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_in_screen` is never used [INFO] [stdout] --> rfvp/src/subsystem/resources/input_manager.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl PressItem { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn get_in_screen(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mouse_x`, `mouse_y`, `old_input_state`, and `current_event` are never read [INFO] [stdout] --> rfvp/src/subsystem/resources/input_manager.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct InputManager { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 63 | [INFO] [stdout] 64 | pub mouse_x: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 65 | pub mouse_y: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | old_input_state: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 75 | current_event: PressItem, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InputManager` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_r_value`, `get_g_value`, `get_b_value`, `get_texture_path`, `get_u`, and `get_v` are never used [INFO] [stdout] --> rfvp/src/subsystem/resources/graph_buff.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl GraphBuff { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn get_r_value(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn get_g_value(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn get_b_value(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn get_texture_path(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn get_u(&self) -> u16 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn get_v(&self) -> u16 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_suspend` and `get_item` are never used [INFO] [stdout] --> rfvp/src/subsystem/resources/timer_manager.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl TimerManager { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn get_suspend(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn get_item(&mut self, index: usize) -> &mut TimerItem { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_running` is never used [INFO] [stdout] --> rfvp/src/subsystem/resources/parts_manager.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl PartsItem { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn get_running(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_entry_id`, `get_elapsed`, and `get_duration` are never used [INFO] [stdout] --> rfvp/src/subsystem/resources/parts_manager.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 102 | impl PartsMotion { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn get_entry_id(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn get_elapsed(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn get_duration(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BUF_SIZE` is never used [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const BUF_SIZE: usize = 3; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 30 | / impl MpegAacDecoder [INFO] [stdout] 31 | | where [INFO] [stdout] 32 | | R: Read + Seek, [INFO] [stdout] | |___________________- associated function in this implementation [INFO] [stdout] 33 | { [INFO] [stdout] 34 | pub fn new(reader: R, size: u64) -> Result, &'static str> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DecoderMessage` is never used [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:240:6 [INFO] [stdout] | [INFO] [stdout] 240 | enum DecoderMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VideoFrame` is never constructed [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:245:8 [INFO] [stdout] | [INFO] [stdout] 245 | struct VideoFrame { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_stream` is never used [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:345:8 [INFO] [stdout] | [INFO] [stdout] 343 | impl<'a> NalUnit<'a> { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 344 | /// Reads a NAL unit from a slice of bytes in MP4, returning the unit, and the remaining stream after that slice. [INFO] [stdout] 345 | fn from_stream(mut stream: &'a [u8], length_size: u8) -> Option<(Self, &[u8])> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mp4BitstreamConverter` is never constructed [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:386:12 [INFO] [stdout] | [INFO] [stdout] 386 | pub struct Mp4BitstreamConverter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `for_mp4_track` and `convert_packet` are never used [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:400:12 [INFO] [stdout] | [INFO] [stdout] 395 | impl Mp4BitstreamConverter { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 400 | pub fn for_mp4_track(track: &Mp4Track) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 435 | pub fn convert_packet(&mut self, packet: &[u8], out: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MpegVideoDecoder` is never constructed [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:491:12 [INFO] [stdout] | [INFO] [stdout] 491 | pub struct MpegVideoDecoder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `read_mp4_video`, and `take_frame` are never used [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:503:12 [INFO] [stdout] | [INFO] [stdout] 502 | impl MpegVideoDecoder { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 503 | pub fn new(path: impl AsRef) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 538 | fn read_mp4_video( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 559 | pub fn take_frame( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width`, `height`, `playing`, and `pixel_data` are never read [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:609:9 [INFO] [stdout] | [INFO] [stdout] 608 | pub struct VideoPlayer { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 609 | pub width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 610 | pub height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 611 | pub playing: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 612 | pub pixel_data: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_playing` is never used [INFO] [stdout] --> rfvp/src/subsystem/resources/videoplayer.rs:689:12 [INFO] [stdout] | [INFO] [stdout] 615 | impl VideoPlayer { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 689 | pub fn is_playing(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code`, `size`, and `texture` are never read [INFO] [stdout] --> rfvp/src/subsystem/resources/gaiji_manager.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct GaijiItem { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 6 | pub code: char, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub size: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | pub texture: GraphBuff, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GaijiItem` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_code`, `set_size`, `get_code`, `get_size`, and `get_texture` are never used [INFO] [stdout] --> rfvp/src/subsystem/resources/gaiji_manager.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl GaijiItem { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn set_code(&mut self, code: char) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn set_size(&mut self, size: u8) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn get_code(&self) -> char { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn get_size(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn get_texture(&self) -> &GraphBuff { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> rfvp/src/subsystem/resources/save_manager.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl SaveItem { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 62 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> rfvp/src/subsystem/resources/save_manager.rs:239:12 [INFO] [stdout] | [INFO] [stdout] 238 | impl SaveManager { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 239 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn set_savedata_prepared(&mut self, prepared: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | pub fn get_current_scene_title(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 301 | pub fn get_current_title(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 305 | pub fn get_current_script_content(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | pub fn get_current_save_slot(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | pub fn is_save_requested(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 321 | pub fn is_should_load(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_current_id` and `get_current_id_mut` are never used [INFO] [stdout] --> rfvp/src/subsystem/resources/thread_manager.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl ThreadManager { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn get_current_id(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn get_current_id_mut(&mut self) -> &mut u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> rfvp/src/subsystem/resources/thread_wrapper.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl ThreadWrapper { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 31 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Switch` is never constructed [INFO] [stdout] --> rfvp/src/subsystem/scene.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub(crate) enum SceneTrans { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 60 | Switch(Box), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `switch` is never used [INFO] [stdout] --> rfvp/src/subsystem/scene.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 70 | impl SceneController { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn switch(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `test` is never used [INFO] [stdout] --> rfvp/src/subsystem/state.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 4 | impl GameState { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 5 | pub fn test(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `entities`, `clear`, `remove`, `remove_component`, `entry`, and `entry_mut` are never used [INFO] [stdout] --> rfvp/src/subsystem/world.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 103 | pub trait World { [INFO] [stdout] | ----- methods in this trait [INFO] [stdout] 104 | fn entities(&self) -> HashSet; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 105 | fn clear(&mut self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 106 | fn push(&mut self, components: impl DynamicBundle) -> Entity; [INFO] [stdout] 107 | fn remove(&mut self, entity: Entity) -> Result<(), NoSuchEntity>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | fn remove_component(&mut self, entity: Entity) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | fn entry(&self, entity: Entity) -> Result, NoSuchEntity>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 117 | fn entry_mut(&mut self, entity: Entity) -> Result, QueryOneError>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `contains_resource`, `remove_resource`, `get_resource`, `assets`, and `assets_mut` are never used [INFO] [stdout] --> rfvp/src/subsystem/world.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 141 | impl GameData { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn contains_resource(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn remove_resource(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn get_resource(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn assets(&self) -> AtomicRef { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn assets_mut(&self) -> AtomicRefMut { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> rfvp/src/subsystem/world.rs:397:12 [INFO] [stdout] | [INFO] [stdout] 396 | impl Resources { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 397 | pub fn contains_resource(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 403 | pub fn insert_resource(&mut self, resource: T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 410 | pub fn remove_resource(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 419 | pub fn get_resource(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 436 | pub fn assets(&self) -> AtomicRef { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 442 | pub fn assets_mut(&self) -> AtomicRefMut { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 448 | pub fn timers(&self) -> AtomicRefMut { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 454 | pub fn events(&self) -> AtomicRefMut { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 460 | pub fn audio(&self) -> AtomicRefMut