[INFO] cloning repository https://github.com/Puppy-Corp/pge [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Puppy-Corp/pge" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPuppy-Corp%2Fpge", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPuppy-Corp%2Fpge'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8d1ca7d0f39ae09ad7fc7f3f84354599ae1437fa [INFO] checking Puppy-Corp/pge/8d1ca7d0f39ae09ad7fc7f3f84354599ae1437fa against nightly-2024-10-24 for legacyreceiver_rename [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPuppy-Corp%2Fpge" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Puppy-Corp/pge on toolchain nightly-2024-10-24 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-24" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Puppy-Corp/pge [INFO] finished tweaking git repo https://github.com/Puppy-Corp/pge [INFO] tweaked toml for git repo https://github.com/Puppy-Corp/pge written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Puppy-Corp/pge 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" "+nightly-2024-10-24" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e5c8f802c5cd93b581da4bea0e9c4673d545bf3d2f1607a033710d6deebfdbb0 [INFO] running `Command { std: "docker" "start" "-a" "e5c8f802c5cd93b581da4bea0e9c4673d545bf3d2f1607a033710d6deebfdbb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e5c8f802c5cd93b581da4bea0e9c4673d545bf3d2f1607a033710d6deebfdbb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5c8f802c5cd93b581da4bea0e9c4673d545bf3d2f1607a033710d6deebfdbb0", kill_on_drop: false }` [INFO] [stdout] e5c8f802c5cd93b581da4bea0e9c4673d545bf3d2f1607a033710d6deebfdbb0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-24" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4836bb8bb66f59beeccbad3b3fb04edb7cf00136a0a5d0eca41756cd435c961 [INFO] running `Command { std: "docker" "start" "-a" "b4836bb8bb66f59beeccbad3b3fb04edb7cf00136a0a5d0eca41756cd435c961", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking libloading v0.8.5 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling cc v1.1.8 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling wayland-sys v0.31.4 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling wayland-client v0.31.5 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling serde v1.0.205 [INFO] [stderr] Compiling quick-xml v0.34.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling wayland-backend v0.3.6 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling wayland-scanner v0.31.4 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Checking aligned-vec v0.5.0 [INFO] [stderr] Compiling built v0.7.4 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking v_frame v0.3.8 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Checking euclid v0.22.10 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking flate2 v1.0.31 [INFO] [stderr] Checking lyon_geom v1.0.5 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Compiling wgpu-hal v0.21.1 [INFO] [stderr] Checking av1-grain v0.2.3 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Checking imgref v1.10.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking unicode-xid v0.2.4 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking ttf-parser v0.24.1 [INFO] [stderr] Checking bitstream-io v2.5.0 [INFO] [stderr] Checking xcursor v0.3.6 [INFO] [stderr] Checking xkeysym v0.2.1 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking arrayref v0.3.8 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking polling v3.7.2 [INFO] [stderr] Checking lyon_path v1.0.5 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Compiling wgpu-core v0.21.1 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking avif-serialize v0.8.1 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking wgpu-types v0.20.0 [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Checking owned_ttf_parser v0.24.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking glow v0.13.1 [INFO] [stderr] Compiling inflections v1.1.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling bytemuck_derive v1.7.0 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling serde_derive v1.0.205 [INFO] [stderr] Checking wayland-protocols v0.32.3 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking profiling v1.0.15 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking wayland-cursor v0.31.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking bytemuck v1.16.3 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking rgb v0.8.48 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking image-webp v0.1.3 [INFO] [stderr] Checking indexmap v2.3.0 [INFO] [stderr] Checking gpu-descriptor v0.3.0 [INFO] [stderr] Checking naga v0.20.0 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking ab_glyph v0.2.28 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.3 [INFO] [stderr] Compiling document-features v0.2.10 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Compiling gltf-derive v1.4.1 [INFO] [stderr] Checking zune-jpeg v0.4.13 [INFO] [stderr] Compiling winit v0.30.4 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Compiling wgpu v0.20.1 [INFO] [stderr] Checking float_next_after v1.0.0 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Checking x11rb-protocol v0.13.1 [INFO] [stderr] Checking lyon_tessellation v1.0.15 [INFO] [stderr] Checking ravif v0.11.9 [INFO] [stderr] Checking image v0.25.2 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.3 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking lyon_algorithms v1.0.4 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking dpi v0.1.1 [INFO] [stderr] Checking gltf-json v1.4.1 [INFO] [stderr] Checking lyon v1.0.1 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking ttf-parser v0.21.1 [INFO] [stderr] Checking glam v0.27.0 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking clap_builder v4.5.13 [INFO] [stderr] Checking gltf v1.4.1 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking regex-automata v0.4.8 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Checking clap v4.5.13 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Checking tokio v1.39.2 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking simple_logger v5.0.0 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking pge v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `glam::Mat4` [INFO] [stdout] --> src/engine.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use glam::Mat4; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ttf_parser::Transform` [INFO] [stdout] --> src/engine.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ttf_parser::Transform; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::hardware` [INFO] [stdout] --> src/engine.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::hardware; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Arena` [INFO] [stdout] --> src/engine.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::Arena; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/engine.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/types.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glam::Mat3` [INFO] [stdout] --> src/types.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use glam::Mat3; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::arena::Arena` [INFO] [stdout] --> src/types.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::arena::Arena; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::gltf::load_gltf` [INFO] [stdout] --> src/types.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::gltf::load_gltf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::GUIElement` [INFO] [stdout] --> src/types.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::GUIElement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::codecs::qoi` [INFO] [stdout] --> src/internal_types.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use image::codecs::qoi; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glam::Vec3` [INFO] [stdout] --> src/physics.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use glam::Vec3; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::debug::ChangePrinter` [INFO] [stdout] --> src/spatial_grid.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::debug::ChangePrinter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::SetLoggerError` [INFO] [stdout] --> src/log.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use log::SetLoggerError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::buffer::Buffer` [INFO] [stdout] --> src/hardware.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::buffer::Buffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ArenaId` [INFO] [stdout] --> src/hardware.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::ArenaId; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/state.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error` [INFO] [stdout] --> src/text.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::error; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ttf_parser::GlyphId` [INFO] [stdout] --> src/text.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use ttf_parser::GlyphId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glam::Mat4` [INFO] [stdout] --> src/engine.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use glam::Mat4; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ttf_parser::Transform` [INFO] [stdout] --> src/engine.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ttf_parser::Transform; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::hardware` [INFO] [stdout] --> src/engine.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::hardware; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Arena` [INFO] [stdout] --> src/engine.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::Arena; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/engine.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/types.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glam::Mat3` [INFO] [stdout] --> src/types.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use glam::Mat3; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::arena::Arena` [INFO] [stdout] --> src/types.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::arena::Arena; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::gltf::load_gltf` [INFO] [stdout] --> src/types.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::gltf::load_gltf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::GUIElement` [INFO] [stdout] --> src/types.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::GUIElement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::codecs::qoi` [INFO] [stdout] --> src/internal_types.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use image::codecs::qoi; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/tests.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glam::Vec3` [INFO] [stdout] --> src/physics.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use glam::Vec3; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::debug::ChangePrinter` [INFO] [stdout] --> src/spatial_grid.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::debug::ChangePrinter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::init_logging` [INFO] [stdout] --> src/gltf.rs:429:6 [INFO] [stdout] | [INFO] [stdout] 429 | use crate::init_logging; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::SetLoggerError` [INFO] [stdout] --> src/log.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use log::SetLoggerError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::buffer::Buffer` [INFO] [stdout] --> src/hardware.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::buffer::Buffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ArenaId` [INFO] [stdout] --> src/hardware.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::ArenaId; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/state.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glam::Vec3` [INFO] [stdout] --> src/state.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | use glam::Vec3; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::CollisionShape` [INFO] [stdout] --> src/utility.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | use crate::CollisionShape; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error` [INFO] [stdout] --> src/text.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::error; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ttf_parser::GlyphId` [INFO] [stdout] --> src/text.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use ttf_parser::GlyphId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lyon::path::traits::PathBuilder` [INFO] [stdout] --> src/text.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use lyon::path::traits::PathBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scene` [INFO] [stdout] --> src/engine.rs:598:18 [INFO] [stdout] | [INFO] [stdout] 598 | for (scene_id, scene) in &self.state.scenes { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scene` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timings` [INFO] [stdout] --> src/engine.rs:613:8 [INFO] [stdout] | [INFO] [stdout] 613 | let timings = c [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indices` [INFO] [stdout] --> src/engine.rs:796:25 [INFO] [stdout] | [INFO] [stdout] 796 | let indices = call.indices.clone(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indices` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/types.rs:328:25 [INFO] [stdout] | [INFO] [stdout] 328 | pub fn collides(&self, other: &CollisionShape) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/types.rs:410:24 [INFO] [stdout] | [INFO] [stdout] 410 | pub fn mov(&mut self, x: f32, y: f32, z: f32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/types.rs:410:32 [INFO] [stdout] | [INFO] [stdout] 410 | pub fn mov(&mut self, x: f32, y: f32, z: f32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/types.rs:410:40 [INFO] [stdout] | [INFO] [stdout] 410 | pub fn mov(&mut self, x: f32, y: f32, z: f32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lyon::path::traits::PathBuilder` [INFO] [stdout] --> src/text.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use lyon::path::traits::PathBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/types.rs:784:26 [INFO] [stdout] | [INFO] [stdout] 784 | fn on_create(&mut self, state: &mut State) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/types.rs:785:34 [INFO] [stdout] | [INFO] [stdout] 785 | fn on_keyboard_input(&mut self, window_id: ArenaId, key: KeyboardKey, action: KeyAction, state: &mut State) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/types.rs:785:62 [INFO] [stdout] | [INFO] [stdout] 785 | fn on_keyboard_input(&mut self, window_id: ArenaId, key: KeyboardKey, action: KeyAction, state: &mut State) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action` [INFO] [stdout] --> src/types.rs:785:80 [INFO] [stdout] | [INFO] [stdout] 785 | fn on_keyboard_input(&mut self, window_id: ArenaId, key: KeyboardKey, action: KeyAction, state: &mut State) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/types.rs:785:99 [INFO] [stdout] | [INFO] [stdout] 785 | fn on_keyboard_input(&mut self, window_id: ArenaId, key: KeyboardKey, action: KeyAction, state: &mut State) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/types.rs:786:31 [INFO] [stdout] | [INFO] [stdout] 786 | fn on_mouse_input(&mut self, window_id: ArenaId, event: MouseEvent, state: &mut State) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/types.rs:786:59 [INFO] [stdout] | [INFO] [stdout] 786 | fn on_mouse_input(&mut self, window_id: ArenaId, event: MouseEvent, state: &mut State) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/types.rs:786:78 [INFO] [stdout] | [INFO] [stdout] 786 | fn on_mouse_input(&mut self, window_id: ArenaId, event: MouseEvent, state: &mut State) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/types.rs:788:27 [INFO] [stdout] | [INFO] [stdout] 788 | fn on_process(&mut self, state: &mut State, delta: f32) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta` [INFO] [stdout] --> src/types.rs:788:46 [INFO] [stdout] | [INFO] [stdout] 788 | fn on_process(&mut self, state: &mut State, delta: f32) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/types.rs:790:33 [INFO] [stdout] | [INFO] [stdout] 790 | fn on_phycis_update(&mut self, state: &mut State, delta: f32) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta` [INFO] [stdout] --> src/types.rs:790:52 [INFO] [stdout] | [INFO] [stdout] 790 | fn on_phycis_update(&mut self, state: &mut State, delta: f32) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scene` [INFO] [stdout] --> src/engine.rs:598:18 [INFO] [stdout] | [INFO] [stdout] 598 | for (scene_id, scene) in &self.state.scenes { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scene` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timings` [INFO] [stdout] --> src/engine.rs:613:8 [INFO] [stdout] | [INFO] [stdout] 613 | let timings = c [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indices` [INFO] [stdout] --> src/engine.rs:796:25 [INFO] [stdout] | [INFO] [stdout] 796 | let indices = call.indices.clone(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indices` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/types.rs:328:25 [INFO] [stdout] | [INFO] [stdout] 328 | pub fn collides(&self, other: &CollisionShape) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/compositor.rs:345:20 [INFO] [stdout] | [INFO] [stdout] 345 | DrawItem::Text(text) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/types.rs:410:24 [INFO] [stdout] | [INFO] [stdout] 410 | pub fn mov(&mut self, x: f32, y: f32, z: f32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/types.rs:410:32 [INFO] [stdout] | [INFO] [stdout] 410 | pub fn mov(&mut self, x: f32, y: f32, z: f32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/types.rs:410:40 [INFO] [stdout] | [INFO] [stdout] 410 | pub fn mov(&mut self, x: f32, y: f32, z: f32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `center_b` [INFO] [stdout] --> src/physics.rs:107:6 [INFO] [stdout] | [INFO] [stdout] 107 | let center_b = [(b.min[0] + b.max[0]) / 2.0, (b.min[1] + b.max[1]) / 2.0, (b.min[2] + b.max[2]) / 2.0]; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_center_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/physics.rs:382:34 [INFO] [stdout] | [INFO] [stdout] 382 | fn detect_collisions(&mut self, state: &mut State, grid: &SpatialGrid) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spatial_grid.rs:132:7 [INFO] [stdout] | [INFO] [stdout] 132 | let mut current = start; [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: `state` [INFO] [stdout] --> src/types.rs:784:26 [INFO] [stdout] | [INFO] [stdout] 784 | fn on_create(&mut self, state: &mut State) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/types.rs:785:34 [INFO] [stdout] | [INFO] [stdout] 785 | fn on_keyboard_input(&mut self, window_id: ArenaId, key: KeyboardKey, action: KeyAction, state: &mut State) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/types.rs:785:62 [INFO] [stdout] | [INFO] [stdout] 785 | fn on_keyboard_input(&mut self, window_id: ArenaId, key: KeyboardKey, action: KeyAction, state: &mut State) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action` [INFO] [stdout] --> src/types.rs:785:80 [INFO] [stdout] | [INFO] [stdout] 785 | fn on_keyboard_input(&mut self, window_id: ArenaId, key: KeyboardKey, action: KeyAction, state: &mut State) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/types.rs:785:99 [INFO] [stdout] | [INFO] [stdout] 785 | fn on_keyboard_input(&mut self, window_id: ArenaId, key: KeyboardKey, action: KeyAction, state: &mut State) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/types.rs:786:31 [INFO] [stdout] | [INFO] [stdout] 786 | fn on_mouse_input(&mut self, window_id: ArenaId, event: MouseEvent, state: &mut State) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/types.rs:786:59 [INFO] [stdout] | [INFO] [stdout] 786 | fn on_mouse_input(&mut self, window_id: ArenaId, event: MouseEvent, state: &mut State) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/types.rs:786:78 [INFO] [stdout] | [INFO] [stdout] 786 | fn on_mouse_input(&mut self, window_id: ArenaId, event: MouseEvent, state: &mut State) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/types.rs:788:27 [INFO] [stdout] | [INFO] [stdout] 788 | fn on_process(&mut self, state: &mut State, delta: f32) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta` [INFO] [stdout] --> src/types.rs:788:46 [INFO] [stdout] | [INFO] [stdout] 788 | fn on_process(&mut self, state: &mut State, delta: f32) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/types.rs:790:33 [INFO] [stdout] | [INFO] [stdout] 790 | fn on_phycis_update(&mut self, state: &mut State, delta: f32) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta` [INFO] [stdout] --> src/types.rs:790:52 [INFO] [stdout] | [INFO] [stdout] 790 | fn on_phycis_update(&mut self, state: &mut State, delta: f32) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `floor_id` [INFO] [stdout] --> src/tests.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let floor_id = state.nodes.insert(floor_node); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_floor_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `floor_id` [INFO] [stdout] --> src/tests.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | let floor_id = state.nodes.insert(floor_node); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_floor_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/hardware.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | fn create_buffer(&mut self, name: &str, size: u64) -> BufferHandle { unimplemented!() } [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/hardware.rs:8:45 [INFO] [stdout] | [INFO] [stdout] 8 | fn create_buffer(&mut self, name: &str, size: u64) -> BufferHandle { unimplemented!() } [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle` [INFO] [stdout] --> src/hardware.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | fn destroy_buffer(&mut self, handle: BufferHandle) { unimplemented!() } [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/hardware.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | fn create_texture(&mut self, name: &str, data: &[u8], width: u32, height: u32) -> TextureHandle { unimplemented!() } [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/hardware.rs:10:46 [INFO] [stdout] | [INFO] [stdout] 10 | fn create_texture(&mut self, name: &str, data: &[u8], width: u32, height: u32) -> TextureHandle { unimplemented!() } [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/hardware.rs:10:59 [INFO] [stdout] | [INFO] [stdout] 10 | fn create_texture(&mut self, name: &str, data: &[u8], width: u32, height: u32) -> TextureHandle { unimplemented!() } [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] --> src/hardware.rs:10:71 [INFO] [stdout] | [INFO] [stdout] 10 | fn create_texture(&mut self, name: &str, data: &[u8], width: u32, height: u32) -> TextureHandle { unimplemented!() } [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/hardware.rs:11:35 [INFO] [stdout] | [INFO] [stdout] 11 | fn create_pipeline(&mut self, name: &str, window: WindowHandle) -> PipelineHandle { unimplemented!() } [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/hardware.rs:11:47 [INFO] [stdout] | [INFO] [stdout] 11 | fn create_pipeline(&mut self, name: &str, window: WindowHandle) -> PipelineHandle { unimplemented!() } [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `encoder` [INFO] [stdout] --> src/hardware.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | fn render(&mut self, encoder: RenderEncoder, window: WindowHandle) { unimplemented!() } [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/hardware.rs:12:50 [INFO] [stdout] | [INFO] [stdout] 12 | fn render(&mut self, encoder: RenderEncoder, window: WindowHandle) { unimplemented!() } [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/hardware.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | fn create_window(&mut self, window: &Window) -> WindowHandle { unimplemented!() } [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle` [INFO] [stdout] --> src/hardware.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | fn destroy_window(&mut self, handle: WindowHandle) { unimplemented!() } [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/hardware.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | fn write_buffer(&mut self, buffer: BufferHandle, data: &[u8]) { unimplemented!() } [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/hardware.rs:15:51 [INFO] [stdout] | [INFO] [stdout] 15 | fn write_buffer(&mut self, buffer: BufferHandle, data: &[u8]) { unimplemented!() } [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/compositor.rs:345:20 [INFO] [stdout] | [INFO] [stdout] 345 | DrawItem::Text(text) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `center_b` [INFO] [stdout] --> src/physics.rs:107:6 [INFO] [stdout] | [INFO] [stdout] 107 | let center_b = [(b.min[0] + b.max[0]) / 2.0, (b.min[1] + b.max[1]) / 2.0, (b.min[2] + b.max[2]) / 2.0]; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_center_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/physics.rs:382:34 [INFO] [stdout] | [INFO] [stdout] 382 | fn detect_collisions(&mut self, state: &mut State, grid: &SpatialGrid) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/wgpu/hardware.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | window_id, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `window_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/wgpu/hardware.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spatial_grid.rs:132:7 [INFO] [stdout] | [INFO] [stdout] 132 | let mut current = start; [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: `event_loop` [INFO] [stdout] --> src/wgpu/hardware.rs:599:30 [INFO] [stdout] | [INFO] [stdout] 599 | fn about_to_wait(&mut self, event_loop: &winit::event_loop::ActiveEventLoop) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_id` [INFO] [stdout] --> src/wgpu/hardware.rs:630:5 [INFO] [stdout] | [INFO] [stdout] 630 | device_id, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `device_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_id` [INFO] [stdout] --> src/wgpu/hardware.rs:654:5 [INFO] [stdout] | [INFO] [stdout] 654 | device_id, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `device_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_id` [INFO] [stdout] --> src/wgpu/hardware.rs:680:5 [INFO] [stdout] | [INFO] [stdout] 680 | device_id, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `device_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_synthetic` [INFO] [stdout] --> src/wgpu/hardware.rs:682:5 [INFO] [stdout] | [INFO] [stdout] 682 | is_synthetic, [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `is_synthetic: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> src/wgpu/hardware.rs:686:6 [INFO] [stdout] | [INFO] [stdout] 686 | location, [INFO] [stdout] | ^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_id` [INFO] [stdout] --> src/wgpu/hardware.rs:736:5 [INFO] [stdout] | [INFO] [stdout] 736 | device_id, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `device_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `phase` [INFO] [stdout] --> src/wgpu/hardware.rs:738:5 [INFO] [stdout] | [INFO] [stdout] 738 | phase, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `phase: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `half_size1` [INFO] [stdout] --> src/collision_detection.rs:199:5 [INFO] [stdout] | [INFO] [stdout] 199 | half_size1: Vec3, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_half_size1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `half_size2` [INFO] [stdout] --> src/collision_detection.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | half_size2: Vec3, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_half_size2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/text.rs:60:23 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn build_mesh(mut self, rect: Rect) -> Mesh { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/text.rs:81:7 [INFO] [stdout] | [INFO] [stdout] 81 | let mut mesh = Mesh::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `glyphs_count` [INFO] [stdout] --> src/text.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | let glyphs_count = face.number_of_glyphs(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_glyphs_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/text.rs:253:23 [INFO] [stdout] | [INFO] [stdout] 253 | pub fn render(&self, text: &str) -> Mesh { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/text.rs:254:7 [INFO] [stdout] | [INFO] [stdout] 254 | let mut mesh = Mesh::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `DrawItem` is more private than the item `Lineariser::items` [INFO] [stdout] --> src/compositor.rs:148:2 [INFO] [stdout] | [INFO] [stdout] 148 | pub items: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ field `Lineariser::items` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `DrawItem` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/compositor.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | enum DrawItem { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ParserState` is more private than the item `load_node` [INFO] [stdout] --> src/gltf.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn load_node(n: &gltf::Node, buffers: &[Data], state: &mut State, parser_state: &mut ParserState, parent: NodeParent) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `load_node` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ParserState` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/gltf.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | struct ParserState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ParserState` is more private than the item `load_scene` [INFO] [stdout] --> src/gltf.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn load_scene(s: &gltf::Scene, buffers: &[Data], state: &mut State, parser_state: &mut ParserState) -> ArenaId { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `load_scene` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ParserState` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/gltf.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | struct ParserState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ParserState` is more private than the item `load_animation` [INFO] [stdout] --> src/gltf.rs:155:1 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn load_animation(anim: &gltf::Animation, buffers: &[Data], state: &mut State, parser_state: &mut ParserState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `load_animation` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ParserState` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/gltf.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | struct ParserState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `wgpu::hardware::UserEvent` is more private than the item `WgpuHardware::new` [INFO] [stdout] --> src/wgpu/hardware.rs:824:2 [INFO] [stdout] | [INFO] [stdout] 824 | pub fn new(proxy: winit::event_loop::EventLoopProxy, instance: Arc, adapter: Arc, device: Arc, queue: Arc) -> Sel... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `WgpuHardware::new` is reachable at visibility `pub(wgpu)` [INFO] [stdout] | [INFO] [stdout] note: but type `wgpu::hardware::UserEvent` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/wgpu/hardware.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | enum UserEvent{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/hardware.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | fn create_buffer(&mut self, name: &str, size: u64) -> BufferHandle { unimplemented!() } [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/hardware.rs:8:45 [INFO] [stdout] | [INFO] [stdout] 8 | fn create_buffer(&mut self, name: &str, size: u64) -> BufferHandle { unimplemented!() } [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle` [INFO] [stdout] --> src/hardware.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | fn destroy_buffer(&mut self, handle: BufferHandle) { unimplemented!() } [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/hardware.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | fn create_texture(&mut self, name: &str, data: &[u8], width: u32, height: u32) -> TextureHandle { unimplemented!() } [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/hardware.rs:10:46 [INFO] [stdout] | [INFO] [stdout] 10 | fn create_texture(&mut self, name: &str, data: &[u8], width: u32, height: u32) -> TextureHandle { unimplemented!() } [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/hardware.rs:10:59 [INFO] [stdout] | [INFO] [stdout] 10 | fn create_texture(&mut self, name: &str, data: &[u8], width: u32, height: u32) -> TextureHandle { unimplemented!() } [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] --> src/hardware.rs:10:71 [INFO] [stdout] | [INFO] [stdout] 10 | fn create_texture(&mut self, name: &str, data: &[u8], width: u32, height: u32) -> TextureHandle { unimplemented!() } [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/hardware.rs:11:35 [INFO] [stdout] | [INFO] [stdout] 11 | fn create_pipeline(&mut self, name: &str, window: WindowHandle) -> PipelineHandle { unimplemented!() } [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/hardware.rs:11:47 [INFO] [stdout] | [INFO] [stdout] 11 | fn create_pipeline(&mut self, name: &str, window: WindowHandle) -> PipelineHandle { unimplemented!() } [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `encoder` [INFO] [stdout] --> src/hardware.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | fn render(&mut self, encoder: RenderEncoder, window: WindowHandle) { unimplemented!() } [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/hardware.rs:12:50 [INFO] [stdout] | [INFO] [stdout] 12 | fn render(&mut self, encoder: RenderEncoder, window: WindowHandle) { unimplemented!() } [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/hardware.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | fn create_window(&mut self, window: &Window) -> WindowHandle { unimplemented!() } [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle` [INFO] [stdout] --> src/hardware.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | fn destroy_window(&mut self, handle: WindowHandle) { unimplemented!() } [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/hardware.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | fn write_buffer(&mut self, buffer: BufferHandle, data: &[u8]) { unimplemented!() } [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/hardware.rs:15:51 [INFO] [stdout] | [INFO] [stdout] 15 | fn write_buffer(&mut self, buffer: BufferHandle, data: &[u8]) { unimplemented!() } [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NodeComputedMetadata` is never constructed [INFO] [stdout] --> src/engine.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | struct NodeComputedMetadata { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ascenes` is never read [INFO] [stdout] --> src/types.rs:539:2 [INFO] [stdout] | [INFO] [stdout] 538 | pub struct Asset { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 539 | ascenes: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `capacity` is never used [INFO] [stdout] --> src/buffer.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Buffer { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn capacity(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WriteCommand` is never constructed [INFO] [stdout] --> src/internal_types.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct WriteCommand { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EngineEvent` is never used [INFO] [stdout] --> src/internal_types.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum EngineEvent { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EngineEvent` 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: struct `MyVertex` is never constructed [INFO] [stdout] --> src/compositor.rs:75:11 [INFO] [stdout] | [INFO] [stdout] 75 | struct MyVertex { position: [f32; 2] } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Size` is never used [INFO] [stdout] --> src/compositor.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | pub enum Size { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_collision` is never used [INFO] [stdout] --> src/physics.rs:283:4 [INFO] [stdout] | [INFO] [stdout] 283 | fn get_collision(node1: &Node, node2: &Node) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_cell` is never used [INFO] [stdout] --> src/spatial_grid.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 28 | impl SpatialGrid { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn get_cell(&self, x: i32, y: i32, z: i32) -> &[ArenaId] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `prev` is never read [INFO] [stdout] --> src/debug.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ChangePrinter { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 6 | prev: HashMap [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChangePrinter` 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 `new`, `print`, and `remove` are never used [INFO] [stdout] --> src/debug.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl ChangePrinter { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 10 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn print(&mut self, slot: u32, new: String) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn remove(&mut self, slot: u32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Surface` is never constructed [INFO] [stdout] --> src/hardware.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Surface { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pipeline` is never constructed [INFO] [stdout] --> src/hardware.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Pipeline {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pipeline` 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 function `create_bind_group` is never used [INFO] [stdout] --> src/wgpu/wgpu_types.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait BindableBufferRecipe { [INFO] [stdout] | -------------------- associated function in this trait [INFO] [stdout] 2 | fn create_bind_group_layout(device: &wgpu::Device) -> wgpu::BindGroupLayout; [INFO] [stdout] 3 | fn create_bind_group( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `WgpuBuffer` is never used [INFO] [stdout] --> src/wgpu/wgpu_types.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | pub trait WgpuBuffer { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `VertexBufferRecipe` is never used [INFO] [stdout] --> src/wgpu/wgpu_types.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | pub trait VertexBufferRecipe { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/wgpu/wgpu_types.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl Vertices { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 53 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `desc` is never used [INFO] [stdout] --> src/wgpu/wgpu_types.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 98 | impl TexCoords { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 99 | pub fn desc() -> wgpu::VertexBufferLayout<'static> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MaterialUniform` is never constructed [INFO] [stdout] --> src/wgpu/wgpu_types.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | struct MaterialUniform { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Keyframe` is never constructed [INFO] [stdout] --> src/wgpu/wgpu_types.rs:208:12 [INFO] [stdout] | [INFO] [stdout] 208 | pub struct Keyframe { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Keyframe` 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] --> src/wgpu/wgpu_types.rs:226:9 [INFO] [stdout] | [INFO] [stdout] 225 | impl RawPointLight { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 226 | pub fn new(color: [f32; 3], intensity: f32, position: [f32; 3]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Colors` is never constructed [INFO] [stdout] --> src/wgpu/wgpu_types.rs:275:12 [INFO] [stdout] | [INFO] [stdout] 275 | pub struct Colors {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `desc` is never used [INFO] [stdout] --> src/wgpu/wgpu_types.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 277 | impl Colors { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 278 | pub fn desc() -> wgpu::VertexBufferLayout<'static> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/wgpu/hardware.rs:799:2 [INFO] [stdout] | [INFO] [stdout] 797 | struct BufferContext { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 798 | id: u32, [INFO] [stdout] 799 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `texture` is never read [INFO] [stdout] --> src/wgpu/hardware.rs:807:2 [INFO] [stdout] | [INFO] [stdout] 805 | struct TextureContext { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 806 | id: u32, [INFO] [stdout] 807 | texture: wgpu::Texture, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `device`, `queue`, `instance`, and `adapter` are never read [INFO] [stdout] --> src/wgpu/hardware.rs:812:2 [INFO] [stdout] | [INFO] [stdout] 811 | pub struct WgpuHardware { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 812 | device: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 813 | queue: Arc, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 814 | instance: Arc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 815 | adapter: Arc, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `size`, and `id` are never read [INFO] [stdout] --> src/mock_hardware.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 4 | struct MockBuffer { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 5 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | size: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/mock_hardware.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | impl MockHardware { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 15 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_axis_aligned` is never used [INFO] [stdout] --> src/collision_detection.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_axis_aligned(axis: &Vec3) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CollisionInfo` is never constructed [INFO] [stdout] --> src/collision_detection.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct CollisionInfo { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CollisionInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `obb_collide` is never used [INFO] [stdout] --> src/collision_detection.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn obb_collide( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_contact_point_edge` is never used [INFO] [stdout] --> src/collision_detection.rs:196:4 [INFO] [stdout] | [INFO] [stdout] 196 | fn compute_contact_point_edge( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `closest_points_on_lines` is never used [INFO] [stdout] --> src/collision_detection.rs:222:4 [INFO] [stdout] | [INFO] [stdout] 222 | fn closest_points_on_lines( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tessellate_quad_bezier` is never used [INFO] [stdout] --> src/text.rs:120:4 [INFO] [stdout] | [INFO] [stdout] 120 | fn tessellate_quad_bezier(x0: f32, y0: f32, x1: f32, y1: f32, x2: f32, y2: f32) -> Vec<[f32; 2]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tessellate_cubic_bezier` is never used [INFO] [stdout] --> src/text.rs:131:4 [INFO] [stdout] | [INFO] [stdout] 131 | fn tessellate_cubic_bezier(x0: f32, y0: f32, x1: f32, y1: f32, x2: f32, y2: f32, x3: f32, y3: f32) -> Vec<[f32; 2]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `font`, `font_size`, and `white_space` are never read [INFO] [stdout] --> src/text.rs:246:2 [INFO] [stdout] | [INFO] [stdout] 245 | pub struct TextRenderer { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 246 | font: FontMesh, [INFO] [stdout] | ^^^^ [INFO] [stdout] 247 | font_size: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 248 | white_space: WhiteSpace, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Ixx` should have a snake case name [INFO] [stdout] --> src/types.rs:315:21 [INFO] [stdout] | [INFO] [stdout] 315 | let Ixx = (1.0 / 12.0) * (height.powi(2) + depth.powi(2)); [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `ixx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Iyy` should have a snake case name [INFO] [stdout] --> src/types.rs:316:21 [INFO] [stdout] | [INFO] [stdout] 316 | let Iyy = (1.0 / 12.0) * (width.powi(2) + depth.powi(2)); [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `iyy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Izz` should have a snake case name [INFO] [stdout] --> src/types.rs:317:21 [INFO] [stdout] | [INFO] [stdout] 317 | let Izz = (1.0 / 12.0) * (width.powi(2) + height.powi(2)); [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `izz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/wgpu/hardware.rs:842:3 [INFO] [stdout] | [INFO] [stdout] 842 | / self.proxy.send_event(UserEvent::CreateBuffer { [INFO] [stdout] 843 | | name: name.to_string(), [INFO] [stdout] 844 | | buffer_id, [INFO] [stdout] 845 | | size, [INFO] [stdout] 846 | | }); [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] 842 | let _ = self.proxy.send_event(UserEvent::CreateBuffer { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/wgpu/hardware.rs:855:3 [INFO] [stdout] | [INFO] [stdout] 855 | / self.proxy.send_event(UserEvent::DestroyBuffer { [INFO] [stdout] 856 | | buffer_id: handle.id, [INFO] [stdout] 857 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 855 | let _ = self.proxy.send_event(UserEvent::DestroyBuffer { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/wgpu/hardware.rs:862:3 [INFO] [stdout] | [INFO] [stdout] 862 | / self.proxy.send_event(UserEvent::CreateTexture { [INFO] [stdout] 863 | | texture_id, [INFO] [stdout] 864 | | name: name.to_string(), [INFO] [stdout] 865 | | data: data.to_vec(), [INFO] [stdout] 866 | | width, [INFO] [stdout] 867 | | height, [INFO] [stdout] 868 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 862 | let _ = self.proxy.send_event(UserEvent::CreateTexture { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/wgpu/hardware.rs:887:3 [INFO] [stdout] | [INFO] [stdout] 887 | self.proxy.send_event(UserEvent::CreateWindow(args)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 887 | let _ = self.proxy.send_event(UserEvent::CreateWindow(args)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/wgpu/hardware.rs:895:3 [INFO] [stdout] | [INFO] [stdout] 895 | / self.proxy.send_event(UserEvent::DestroyWindow { [INFO] [stdout] 896 | | window_id: handle.id, [INFO] [stdout] 897 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 895 | let _ = self.proxy.send_event(UserEvent::DestroyWindow { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/wgpu/hardware.rs:902:3 [INFO] [stdout] | [INFO] [stdout] 902 | / self.proxy.send_event(UserEvent::CreatePipeline { [INFO] [stdout] 903 | | window, [INFO] [stdout] 904 | | name: name.to_string(), [INFO] [stdout] 905 | | pipeline_id, [INFO] [stdout] 906 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 902 | let _ = self.proxy.send_event(UserEvent::CreatePipeline { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/wgpu/hardware.rs:914:3 [INFO] [stdout] | [INFO] [stdout] 914 | / self.proxy.send_event(UserEvent::WriteBuffer { [INFO] [stdout] 915 | | buffer, [INFO] [stdout] 916 | | data: data.to_vec(), [INFO] [stdout] 917 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 914 | let _ = self.proxy.send_event(UserEvent::WriteBuffer { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/wgpu/hardware.rs:921:3 [INFO] [stdout] | [INFO] [stdout] 921 | / self.proxy.send_event(UserEvent::Render { [INFO] [stdout] 922 | | window, [INFO] [stdout] 923 | | encoder, [INFO] [stdout] 924 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 921 | let _ = self.proxy.send_event(UserEvent::Render { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `chars` should have an upper case name [INFO] [stdout] --> src/text.rs:148:7 [INFO] [stdout] | [INFO] [stdout] 148 | const chars : [char; 95] = [ [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `CHARS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/wgpu/hardware.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | window_id, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `window_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/wgpu/hardware.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_loop` [INFO] [stdout] --> src/wgpu/hardware.rs:599:30 [INFO] [stdout] | [INFO] [stdout] 599 | fn about_to_wait(&mut self, event_loop: &winit::event_loop::ActiveEventLoop) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_id` [INFO] [stdout] --> src/wgpu/hardware.rs:630:5 [INFO] [stdout] | [INFO] [stdout] 630 | device_id, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `device_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_id` [INFO] [stdout] --> src/wgpu/hardware.rs:654:5 [INFO] [stdout] | [INFO] [stdout] 654 | device_id, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `device_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_id` [INFO] [stdout] --> src/wgpu/hardware.rs:680:5 [INFO] [stdout] | [INFO] [stdout] 680 | device_id, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `device_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_synthetic` [INFO] [stdout] --> src/wgpu/hardware.rs:682:5 [INFO] [stdout] | [INFO] [stdout] 682 | is_synthetic, [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `is_synthetic: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> src/wgpu/hardware.rs:686:6 [INFO] [stdout] | [INFO] [stdout] 686 | location, [INFO] [stdout] | ^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_id` [INFO] [stdout] --> src/wgpu/hardware.rs:736:5 [INFO] [stdout] | [INFO] [stdout] 736 | device_id, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `device_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `phase` [INFO] [stdout] --> src/wgpu/hardware.rs:738:5 [INFO] [stdout] | [INFO] [stdout] 738 | phase, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `phase: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking cube v0.1.0 (/opt/rustwide/workdir/examples/cube) [INFO] [stderr] Checking fps v0.1.0 (/opt/rustwide/workdir/examples/fps) [INFO] [stderr] Checking pge_editor v0.1.0 (/opt/rustwide/workdir/editor) [INFO] [stdout] warning: unused variable: `half_size1` [INFO] [stdout] --> src/collision_detection.rs:199:5 [INFO] [stdout] | [INFO] [stdout] 199 | half_size1: Vec3, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_half_size1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `half_size2` [INFO] [stdout] --> src/collision_detection.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | half_size2: Vec3, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_half_size2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `child3` [INFO] [stdout] --> src/utility.rs:65:7 [INFO] [stdout] | [INFO] [stdout] 65 | let child3 = nodes.insert(Node { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_child3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/text.rs:60:23 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn build_mesh(mut self, rect: Rect) -> Mesh { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/text.rs:81:7 [INFO] [stdout] | [INFO] [stdout] 81 | let mut mesh = Mesh::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `glyphs_count` [INFO] [stdout] --> src/text.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | let glyphs_count = face.number_of_glyphs(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_glyphs_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/text.rs:253:23 [INFO] [stdout] | [INFO] [stdout] 253 | pub fn render(&self, text: &str) -> Mesh { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/text.rs:254:7 [INFO] [stdout] | [INFO] [stdout] 254 | let mut mesh = Mesh::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `compositor::DrawItem` is more private than the item `compositor::Lineariser::items` [INFO] [stdout] --> src/compositor.rs:148:2 [INFO] [stdout] | [INFO] [stdout] 148 | pub items: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ field `compositor::Lineariser::items` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `compositor::DrawItem` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/compositor.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | enum DrawItem { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ParserState` is more private than the item `load_node` [INFO] [stdout] --> src/gltf.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn load_node(n: &gltf::Node, buffers: &[Data], state: &mut State, parser_state: &mut ParserState, parent: NodeParent) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `load_node` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ParserState` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/gltf.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | struct ParserState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ParserState` is more private than the item `load_scene` [INFO] [stdout] --> src/gltf.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn load_scene(s: &gltf::Scene, buffers: &[Data], state: &mut State, parser_state: &mut ParserState) -> ArenaId { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `load_scene` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ParserState` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/gltf.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | struct ParserState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ParserState` is more private than the item `load_animation` [INFO] [stdout] --> src/gltf.rs:155:1 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn load_animation(anim: &gltf::Animation, buffers: &[Data], state: &mut State, parser_state: &mut ParserState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `load_animation` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ParserState` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/gltf.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | struct ParserState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `wgpu::hardware::UserEvent` is more private than the item `WgpuHardware::new` [INFO] [stdout] --> src/wgpu/hardware.rs:824:2 [INFO] [stdout] | [INFO] [stdout] 824 | pub fn new(proxy: winit::event_loop::EventLoopProxy, instance: Arc, adapter: Arc, device: Arc, queue: Arc) -> Sel... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `WgpuHardware::new` is reachable at visibility `pub(wgpu)` [INFO] [stdout] | [INFO] [stdout] note: but type `wgpu::hardware::UserEvent` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/wgpu/hardware.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | enum UserEvent{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NodeComputedMetadata` is never constructed [INFO] [stdout] --> src/engine.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | struct NodeComputedMetadata { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ascenes` is never read [INFO] [stdout] --> src/types.rs:539:2 [INFO] [stdout] | [INFO] [stdout] 538 | pub struct Asset { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 539 | ascenes: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WriteCommand` is never constructed [INFO] [stdout] --> src/internal_types.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct WriteCommand { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EngineEvent` is never used [INFO] [stdout] --> src/internal_types.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum EngineEvent { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EngineEvent` 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: struct `MyVertex` is never constructed [INFO] [stdout] --> src/compositor.rs:75:11 [INFO] [stdout] | [INFO] [stdout] 75 | struct MyVertex { position: [f32; 2] } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Size` is never used [INFO] [stdout] --> src/compositor.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | pub enum Size { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_collision` is never used [INFO] [stdout] --> src/physics.rs:283:4 [INFO] [stdout] | [INFO] [stdout] 283 | fn get_collision(node1: &Node, node2: &Node) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `prev` is never read [INFO] [stdout] --> src/debug.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ChangePrinter { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 6 | prev: HashMap [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChangePrinter` 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 `new`, `print`, and `remove` are never used [INFO] [stdout] --> src/debug.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl ChangePrinter { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 10 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn print(&mut self, slot: u32, new: String) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn remove(&mut self, slot: u32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Surface` is never constructed [INFO] [stdout] --> src/hardware.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Surface { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pipeline` is never constructed [INFO] [stdout] --> src/hardware.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Pipeline {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pipeline` 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 function `create_bind_group` is never used [INFO] [stdout] --> src/wgpu/wgpu_types.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait BindableBufferRecipe { [INFO] [stdout] | -------------------- associated function in this trait [INFO] [stdout] 2 | fn create_bind_group_layout(device: &wgpu::Device) -> wgpu::BindGroupLayout; [INFO] [stdout] 3 | fn create_bind_group( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `WgpuBuffer` is never used [INFO] [stdout] --> src/wgpu/wgpu_types.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | pub trait WgpuBuffer { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `VertexBufferRecipe` is never used [INFO] [stdout] --> src/wgpu/wgpu_types.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | pub trait VertexBufferRecipe { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/wgpu/wgpu_types.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl Vertices { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 53 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `desc` is never used [INFO] [stdout] --> src/wgpu/wgpu_types.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 98 | impl TexCoords { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 99 | pub fn desc() -> wgpu::VertexBufferLayout<'static> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MaterialUniform` is never constructed [INFO] [stdout] --> src/wgpu/wgpu_types.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | struct MaterialUniform { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Keyframe` is never constructed [INFO] [stdout] --> src/wgpu/wgpu_types.rs:208:12 [INFO] [stdout] | [INFO] [stdout] 208 | pub struct Keyframe { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Keyframe` 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] --> src/wgpu/wgpu_types.rs:226:9 [INFO] [stdout] | [INFO] [stdout] 225 | impl RawPointLight { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 226 | pub fn new(color: [f32; 3], intensity: f32, position: [f32; 3]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Colors` is never constructed [INFO] [stdout] --> src/wgpu/wgpu_types.rs:275:12 [INFO] [stdout] | [INFO] [stdout] 275 | pub struct Colors {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `desc` is never used [INFO] [stdout] --> src/wgpu/wgpu_types.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 277 | impl Colors { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 278 | pub fn desc() -> wgpu::VertexBufferLayout<'static> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/wgpu/hardware.rs:799:2 [INFO] [stdout] | [INFO] [stdout] 797 | struct BufferContext { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 798 | id: u32, [INFO] [stdout] 799 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `texture` is never read [INFO] [stdout] --> src/wgpu/hardware.rs:807:2 [INFO] [stdout] | [INFO] [stdout] 805 | struct TextureContext { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 806 | id: u32, [INFO] [stdout] 807 | texture: wgpu::Texture, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `device`, `queue`, `instance`, and `adapter` are never read [INFO] [stdout] --> src/wgpu/hardware.rs:812:2 [INFO] [stdout] | [INFO] [stdout] 811 | pub struct WgpuHardware { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 812 | device: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 813 | queue: Arc, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 814 | instance: Arc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 815 | adapter: Arc, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `size`, and `id` are never read [INFO] [stdout] --> src/mock_hardware.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 4 | struct MockBuffer { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 5 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | size: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `FaceA` and `FaceB` are never constructed [INFO] [stdout] --> src/collision_detection.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 55 | enum AxisType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 56 | FaceA(usize), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 57 | FaceB(usize), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tessellate_quad_bezier` is never used [INFO] [stdout] --> src/text.rs:120:4 [INFO] [stdout] | [INFO] [stdout] 120 | fn tessellate_quad_bezier(x0: f32, y0: f32, x1: f32, y1: f32, x2: f32, y2: f32) -> Vec<[f32; 2]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tessellate_cubic_bezier` is never used [INFO] [stdout] --> src/text.rs:131:4 [INFO] [stdout] | [INFO] [stdout] 131 | fn tessellate_cubic_bezier(x0: f32, y0: f32, x1: f32, y1: f32, x2: f32, y2: f32, x3: f32, y3: f32) -> Vec<[f32; 2]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `font`, `font_size`, and `white_space` are never read [INFO] [stdout] --> src/text.rs:246:2 [INFO] [stdout] | [INFO] [stdout] 245 | pub struct TextRenderer { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 246 | font: FontMesh, [INFO] [stdout] | ^^^^ [INFO] [stdout] 247 | font_size: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 248 | white_space: WhiteSpace, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Ixx` should have a snake case name [INFO] [stdout] --> src/types.rs:315:21 [INFO] [stdout] | [INFO] [stdout] 315 | let Ixx = (1.0 / 12.0) * (height.powi(2) + depth.powi(2)); [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `ixx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::default` [INFO] [stdout] --> examples/cube/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::default; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f32::consts::PI` [INFO] [stdout] --> examples/cube/src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::f32::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> examples/cube/src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Iyy` should have a snake case name [INFO] [stdout] --> src/types.rs:316:21 [INFO] [stdout] | [INFO] [stdout] 316 | let Iyy = (1.0 / 12.0) * (width.powi(2) + depth.powi(2)); [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `iyy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Izz` should have a snake case name [INFO] [stdout] --> src/types.rs:317:21 [INFO] [stdout] | [INFO] [stdout] 317 | let Izz = (1.0 / 12.0) * (width.powi(2) + height.powi(2)); [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `izz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `criterion_main` [INFO] [stdout] --> benches/process_nodes.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use criterion::{criterion_group, criterion_main, Criterion}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/wgpu/hardware.rs:842:3 [INFO] [stdout] | [INFO] [stdout] 842 | / self.proxy.send_event(UserEvent::CreateBuffer { [INFO] [stdout] 843 | | name: name.to_string(), [INFO] [stdout] 844 | | buffer_id, [INFO] [stdout] 845 | | size, [INFO] [stdout] 846 | | }); [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] 842 | let _ = self.proxy.send_event(UserEvent::CreateBuffer { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/wgpu/hardware.rs:855:3 [INFO] [stdout] | [INFO] [stdout] 855 | / self.proxy.send_event(UserEvent::DestroyBuffer { [INFO] [stdout] 856 | | buffer_id: handle.id, [INFO] [stdout] 857 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 855 | let _ = self.proxy.send_event(UserEvent::DestroyBuffer { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/wgpu/hardware.rs:862:3 [INFO] [stdout] | [INFO] [stdout] 862 | / self.proxy.send_event(UserEvent::CreateTexture { [INFO] [stdout] 863 | | texture_id, [INFO] [stdout] 864 | | name: name.to_string(), [INFO] [stdout] 865 | | data: data.to_vec(), [INFO] [stdout] 866 | | width, [INFO] [stdout] 867 | | height, [INFO] [stdout] 868 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 862 | let _ = self.proxy.send_event(UserEvent::CreateTexture { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/wgpu/hardware.rs:887:3 [INFO] [stdout] | [INFO] [stdout] 887 | self.proxy.send_event(UserEvent::CreateWindow(args)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 887 | let _ = self.proxy.send_event(UserEvent::CreateWindow(args)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/wgpu/hardware.rs:895:3 [INFO] [stdout] | [INFO] [stdout] 895 | / self.proxy.send_event(UserEvent::DestroyWindow { [INFO] [stdout] 896 | | window_id: handle.id, [INFO] [stdout] 897 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 895 | let _ = self.proxy.send_event(UserEvent::DestroyWindow { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/wgpu/hardware.rs:902:3 [INFO] [stdout] | [INFO] [stdout] 902 | / self.proxy.send_event(UserEvent::CreatePipeline { [INFO] [stdout] 903 | | window, [INFO] [stdout] 904 | | name: name.to_string(), [INFO] [stdout] 905 | | pipeline_id, [INFO] [stdout] 906 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 902 | let _ = self.proxy.send_event(UserEvent::CreatePipeline { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/wgpu/hardware.rs:914:3 [INFO] [stdout] | [INFO] [stdout] 914 | / self.proxy.send_event(UserEvent::WriteBuffer { [INFO] [stdout] 915 | | buffer, [INFO] [stdout] 916 | | data: data.to_vec(), [INFO] [stdout] 917 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 914 | let _ = self.proxy.send_event(UserEvent::WriteBuffer { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/wgpu/hardware.rs:921:3 [INFO] [stdout] | [INFO] [stdout] 921 | / self.proxy.send_event(UserEvent::Render { [INFO] [stdout] 922 | | window, [INFO] [stdout] 923 | | encoder, [INFO] [stdout] 924 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 921 | let _ = self.proxy.send_event(UserEvent::Render { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `chars` should have an upper case name [INFO] [stdout] --> src/text.rs:148:7 [INFO] [stdout] | [INFO] [stdout] 148 | const chars : [char; 95] = [ [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `CHARS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> editor/src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `criterion_main` [INFO] [stdout] --> benches/process_nodes.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use criterion::{criterion_group, criterion_main, Criterion}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> benches/process_nodes.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let mut scene = Scene::default(); [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: `std::time::Duration` [INFO] [stdout] --> editor/src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> benches/process_nodes.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let mut scene = Scene::default(); [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: `std::default` [INFO] [stdout] --> examples/cube/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::default; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f32::consts::PI` [INFO] [stdout] --> examples/cube/src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::f32::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> examples/cube/src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `center` [INFO] [stdout] --> editor/src/main.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let center = (scene_bounding_box.min + scene_bounding_box.max) * 0.5; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_center` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/fps/src/main.rs:120:7 [INFO] [stdout] | [INFO] [stdout] 120 | let mut rng = rand::thread_rng(); [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: `node_id` [INFO] [stdout] --> examples/fps/src/main.rs:338:8 [INFO] [stdout] | [INFO] [stdout] 338 | for (node_id, node) in &mut state.nodes.iter_mut() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plane_node_id` [INFO] [stdout] --> examples/fps/src/main.rs:407:7 [INFO] [stdout] | [INFO] [stdout] 407 | let plane_node_id = state.nodes.insert(plane_node); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plane_node_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node_id` [INFO] [stdout] --> examples/fps/src/main.rs:460:8 [INFO] [stdout] | [INFO] [stdout] 460 | let node_id = state.nodes.insert(cube_node); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> examples/fps/src/main.rs:517:7 [INFO] [stdout] | [INFO] [stdout] 517 | let player = match self.player_id { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rotation` [INFO] [stdout] --> editor/src/main.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let rotation = rotation_y * rotation_x; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rotation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `center` [INFO] [stdout] --> editor/src/main.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let center = (scene_bounding_box.min + scene_bounding_box.max) * 0.5; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_center` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> examples/fps/src/main.rs:479:34 [INFO] [stdout] | [INFO] [stdout] 479 | fn on_keyboard_input(&mut self, window_id: ArenaId, key: KeyboardKey, action: KeyAction, state: &mut State) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> examples/fps/src/main.rs:529:31 [INFO] [stdout] | [INFO] [stdout] 529 | fn on_mouse_input(&mut self, window_id: ArenaId, event: MouseEvent, state: &mut State) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta` [INFO] [stdout] --> editor/src/main.rs:120:46 [INFO] [stdout] | [INFO] [stdout] 120 | fn on_process(&mut self, state: &mut State, delta: f32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `scene_id` is never read [INFO] [stdout] --> editor/src/main.rs:11:2 [INFO] [stdout] | [INFO] [stdout] 9 | struct SceneViewer { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 10 | window_id: ArenaId, [INFO] [stdout] 11 | scene_id: ArenaId, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `windows` is never read [INFO] [stdout] --> editor/src/main.rs:93:2 [INFO] [stdout] | [INFO] [stdout] 91 | struct PgeEditor { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 92 | asset_path: Option, [INFO] [stdout] 93 | windows: Vec>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rotation` [INFO] [stdout] --> editor/src/main.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let rotation = rotation_y * rotation_x; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rotation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `speed` and `rng` are never read [INFO] [stdout] --> examples/fps/src/main.rs:101:2 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct FpsShooter { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 101 | speed: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | rng: rand::rngs::ThreadRng, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta` [INFO] [stdout] --> editor/src/main.rs:120:46 [INFO] [stdout] | [INFO] [stdout] 120 | fn on_process(&mut self, state: &mut State, delta: f32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `scene_id` is never read [INFO] [stdout] --> editor/src/main.rs:11:2 [INFO] [stdout] | [INFO] [stdout] 9 | struct SceneViewer { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 10 | window_id: ArenaId, [INFO] [stdout] 11 | scene_id: ArenaId, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `windows` is never read [INFO] [stdout] --> editor/src/main.rs:93:2 [INFO] [stdout] | [INFO] [stdout] 91 | struct PgeEditor { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 92 | asset_path: Option, [INFO] [stdout] 93 | windows: Vec>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/fps/src/main.rs:120:7 [INFO] [stdout] | [INFO] [stdout] 120 | let mut rng = rand::thread_rng(); [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: `node_id` [INFO] [stdout] --> examples/fps/src/main.rs:338:8 [INFO] [stdout] | [INFO] [stdout] 338 | for (node_id, node) in &mut state.nodes.iter_mut() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plane_node_id` [INFO] [stdout] --> examples/fps/src/main.rs:407:7 [INFO] [stdout] | [INFO] [stdout] 407 | let plane_node_id = state.nodes.insert(plane_node); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plane_node_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node_id` [INFO] [stdout] --> examples/fps/src/main.rs:460:8 [INFO] [stdout] | [INFO] [stdout] 460 | let node_id = state.nodes.insert(cube_node); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> examples/fps/src/main.rs:517:7 [INFO] [stdout] | [INFO] [stdout] 517 | let player = match self.player_id { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> examples/fps/src/main.rs:479:34 [INFO] [stdout] | [INFO] [stdout] 479 | fn on_keyboard_input(&mut self, window_id: ArenaId, key: KeyboardKey, action: KeyAction, state: &mut State) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> examples/fps/src/main.rs:529:31 [INFO] [stdout] | [INFO] [stdout] 529 | fn on_mouse_input(&mut self, window_id: ArenaId, event: MouseEvent, state: &mut State) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `speed` and `rng` are never read [INFO] [stdout] --> examples/fps/src/main.rs:101:2 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct FpsShooter { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 101 | speed: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | rng: rand::rngs::ThreadRng, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.75s [INFO] running `Command { std: "docker" "inspect" "b4836bb8bb66f59beeccbad3b3fb04edb7cf00136a0a5d0eca41756cd435c961", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4836bb8bb66f59beeccbad3b3fb04edb7cf00136a0a5d0eca41756cd435c961", kill_on_drop: false }` [INFO] [stdout] b4836bb8bb66f59beeccbad3b3fb04edb7cf00136a0a5d0eca41756cd435c961