[INFO] cloning repository https://github.com/abyss-witch/sword-ward [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/abyss-witch/sword-ward" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabyss-witch%2Fsword-ward", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabyss-witch%2Fsword-ward'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 90d547c99112c82a414eb218b9c84113efa82886 [INFO] checking abyss-witch/sword-ward against master#ab1d2444533d829e2d5cff6634cd3c70de6d7103 for pr-147841 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabyss-witch%2Fsword-ward" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/abyss-witch/sword-ward [INFO] finished tweaking git repo https://github.com/abyss-witch/sword-ward [INFO] tweaked toml for git repo https://github.com/abyss-witch/sword-ward written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/abyss-witch/sword-ward on toolchain ab1d2444533d829e2d5cff6634cd3c70de6d7103 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab1d2444533d829e2d5cff6634cd3c70de6d7103" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/abyss-witch/sword-ward 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" "+ab1d2444533d829e2d5cff6634cd3c70de6d7103" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tobj v4.0.3 [INFO] [stderr] Downloaded derive-cmp-ops v0.1.0 [INFO] [stderr] Downloaded gilrs-core v0.6.4 [INFO] [stderr] Downloaded mach2 v0.4.3 [INFO] [stderr] Downloaded lebe v0.5.2 [INFO] [stderr] Downloaded avif-serialize v0.8.4 [INFO] [stderr] Downloaded image-webp v0.2.3 [INFO] [stderr] Downloaded rgb v0.8.50 [INFO] [stderr] Downloaded imgref v1.11.0 [INFO] [stderr] Downloaded fontdue v0.9.3 [INFO] [stderr] Downloaded libfuzzer-sys v0.4.9 [INFO] [stderr] Downloaded zune-jpeg v0.4.18 [INFO] [stderr] Downloaded glium v0.36.0 [INFO] [stderr] Downloaded glium-types v0.6.1 [INFO] [stderr] Downloaded winit-input-map v0.5.0 [INFO] [stderr] Downloaded thin-engine v0.5.0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ab1d2444533d829e2d5cff6634cd3c70de6d7103" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3fa200602dccc70a3d5b8e16762c32233b8d029560d41ad7723d66ec6d12bce2 [INFO] running `Command { std: "docker" "start" "-a" "3fa200602dccc70a3d5b8e16762c32233b8d029560d41ad7723d66ec6d12bce2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3fa200602dccc70a3d5b8e16762c32233b8d029560d41ad7723d66ec6d12bce2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fa200602dccc70a3d5b8e16762c32233b8d029560d41ad7723d66ec6d12bce2", kill_on_drop: false }` [INFO] [stdout] 3fa200602dccc70a3d5b8e16762c32233b8d029560d41ad7723d66ec6d12bce2 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ab1d2444533d829e2d5cff6634cd3c70de6d7103" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93e314a9a221300cd583040a268d69959befa9c400f418d3bae14b52538ca7f5 [INFO] running `Command { std: "docker" "start" "-a" "93e314a9a221300cd583040a268d69959befa9c400f418d3bae14b52538ca7f5", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling wayland-client v0.31.10 [INFO] [stderr] Checking libloading v0.8.8 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling xml-rs v0.8.26 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking bytemuck v1.23.1 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking cursor-icon v1.2.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Compiling wayland-sys v0.31.6 [INFO] [stderr] Compiling quick-xml v0.37.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking xcursor v0.3.10 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking xkeysym v0.2.1 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Compiling glutin v0.32.3 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling winit v0.30.11 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Checking x11rb-protocol v0.13.1 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling glutin-winit v0.5.0 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking dpi v0.1.2 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Compiling wayland-scanner v0.31.6 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Compiling glutin_glx_sys v0.6.1 [INFO] [stderr] Checking owned_ttf_parser v0.25.0 [INFO] [stderr] Compiling glutin_egl_sys v0.7.1 [INFO] [stderr] Checking ab_glyph v0.2.29 [INFO] [stderr] Compiling glium v0.36.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Checking rustc-demangle v0.1.25 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling wayland-backend v0.3.10 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling gilrs v0.11.0 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking inotify v0.11.0 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking bitstream-io v2.6.0 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking gilrs-core v0.6.4 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking weezl v0.1.10 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking imgref v1.11.0 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking avif-serialize v0.8.4 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking jpeg-decoder v0.3.2 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Checking polling v3.8.0 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking rgb v0.8.50 [INFO] [stderr] Checking ttf-parser v0.21.1 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking gif v0.13.3 [INFO] [stderr] Checking image-webp v0.2.3 [INFO] [stderr] Checking exr v1.73.0 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking zune-jpeg v0.4.18 [INFO] [stderr] Checking tobj v4.0.3 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Checking fontdue v0.9.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling derive-cmp-ops v0.1.0 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Checking equator v0.4.2 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking aligned-vec v0.6.4 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking v_frame v0.3.9 [INFO] [stderr] Checking av1-grain v0.2.4 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking wayland-protocols v0.32.8 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking wayland-cursor v0.31.10 [INFO] [stderr] Checking ravif v0.11.20 [INFO] [stderr] Checking image v0.25.6 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.8 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.8 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking glium-types v0.6.1 [INFO] [stderr] Checking winit-input-map v0.5.0 [INFO] [stderr] Checking thin-engine v0.5.0 [INFO] [stderr] Checking sword-ward v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `draw_parameters::*` [INFO] [stdout] --> src/main.rs:2:38 [INFO] [stdout] | [INFO] [stdout] 2 | use glium::{texture::DepthTexture2d, draw_parameters::*, uniforms::MagnifySamplerFilter}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cell` [INFO] [stdout] --> src/main.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{cell::{Cell, RefCell}, rc::Rc}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ObjectType::*` [INFO] [stdout] --> src/file_types/scenes.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | use ObjectType::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `draw_parameters::*` [INFO] [stdout] --> src/main.rs:2:38 [INFO] [stdout] | [INFO] [stdout] 2 | use glium::{texture::DepthTexture2d, draw_parameters::*, uniforms::MagnifySamplerFilter}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cell` [INFO] [stdout] --> src/main.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{cell::{Cell, RefCell}, rc::Rc}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ObjectType::*` [INFO] [stdout] --> src/file_types/scenes.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | use ObjectType::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/file_types/scenes.rs:179:28 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn triggers(&self, data: &PlayerData) -> Vec<(ColliderType, Mat4)> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/file_types/scenes.rs:179:28 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn triggers(&self, data: &PlayerData) -> Vec<(ColliderType, Mat4)> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:168:30 [INFO] [stdout] | [INFO] [stdout] 168 | let Object { name, object_type: Exit { exit_name, exit_scene, collider }, .. } = e [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_collider` [INFO] [stdout] --> src/main.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let player_collider = ColliderType::Cylinder; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_collider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `PointLights` is more private than the item `lighting_from_scene` [INFO] [stdout] --> src/graphics.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn lighting_from_scene(scene: &Scene, data: &PlayerData) -> (PointLights, DirLights) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `lighting_from_scene` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `PointLights` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/graphics.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | struct PointLights { point_lights: [PointLight; 8] } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `DirLights` is more private than the item `lighting_from_scene` [INFO] [stdout] --> src/graphics.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn lighting_from_scene(scene: &Scene, data: &PlayerData) -> (PointLights, DirLights) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `lighting_from_scene` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `DirLights` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/graphics.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | struct DirLights { dir_lights: [DirLight; 8] } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/graphics.rs:82:16 [INFO] [stdout] | [INFO] [stdout] 82 | LoadingErr(LoadingErr), [INFO] [stdout] | ---------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LoadDrawError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 82 - LoadingErr(LoadingErr), [INFO] [stdout] 82 + LoadingErr(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/graphics.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | DrawErr(DrawError), [INFO] [stdout] | ------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LoadDrawError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 83 - DrawErr(DrawError), [INFO] [stdout] 83 + DrawErr(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/graphics.rs:291:15 [INFO] [stdout] | [INFO] [stdout] 291 | MeshError(tobj::LoadError), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LoadingErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 291 - MeshError(tobj::LoadError), [INFO] [stdout] 291 + MeshError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/graphics.rs:292:13 [INFO] [stdout] | [INFO] [stdout] 292 | IoError(std::io::Error), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LoadingErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 292 - IoError(std::io::Error), [INFO] [stdout] 292 + IoError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/graphics.rs:293:16 [INFO] [stdout] | [INFO] [stdout] 293 | ImageError(image::ImageError), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LoadingErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 293 - ImageError(image::ImageError), [INFO] [stdout] 293 + ImageError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/graphics.rs:294:19 [INFO] [stdout] | [INFO] [stdout] 294 | GpuImageError(TextureCreationError), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LoadingErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 294 - GpuImageError(TextureCreationError), [INFO] [stdout] 294 + GpuImageError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/graphics.rs:295:18 [INFO] [stdout] | [INFO] [stdout] 295 | GpuMeshError(BufferCreationError), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LoadingErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 295 - GpuMeshError(BufferCreationError), [INFO] [stdout] 295 + GpuMeshError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/graphics.rs:296:17 [INFO] [stdout] | [INFO] [stdout] 296 | ShaderError(ProgramCreationError), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LoadingErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 296 - ShaderError(ProgramCreationError), [INFO] [stdout] 296 + ShaderError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/graphics.rs:297:17 [INFO] [stdout] | [INFO] [stdout] 297 | ScriptError(ParseErr), [INFO] [stdout] | ----------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LoadingErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 297 - ScriptError(ParseErr), [INFO] [stdout] 297 + ScriptError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/graphics.rs:298:19 [INFO] [stdout] | [INFO] [stdout] 298 | FontLoadError(String), [INFO] [stdout] | ------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LoadingErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 298 - FontLoadError(String), [INFO] [stdout] 298 + FontLoadError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InvalidScene` is never constructed [INFO] [stdout] --> src/graphics.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 290 | pub enum LoadingErr { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 299 | InvalidScene(usize), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoadingErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/file_types/mod.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | InvalidPrefix(String), [INFO] [stdout] | ------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 - InvalidPrefix(String), [INFO] [stdout] 14 + InvalidPrefix(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/file_types/mod.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | InvalidColliderType(String), [INFO] [stdout] | ------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 - InvalidColliderType(String), [INFO] [stdout] 15 + InvalidColliderType(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/file_types/mod.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | InvalidNumber(ParseFloatError), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 - InvalidNumber(ParseFloatError), [INFO] [stdout] 16 + InvalidNumber(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/file_types/mod.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | IoError(std::io::Error), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 17 - IoError(std::io::Error), [INFO] [stdout] 17 + IoError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InvalidColour` is never constructed [INFO] [stdout] --> src/file_types/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum ParseErr { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | InvalidColour, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cam_pos`, `cam_quat`, and `cam_scale` are never read [INFO] [stdout] --> src/file_types/scenes.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Scene { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | pub cam_pos: Vec3, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 38 | pub cam_rot: Vec3, [INFO] [stdout] 39 | pub cam_quat: Quat, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 40 | pub cam_trans: Mat4, [INFO] [stdout] 41 | pub cam_scale: Vec3, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scene` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pos`, `rot`, `quat`, and `scale` are never read [INFO] [stdout] --> src/file_types/scenes.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 169 | pub struct Object { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 172 | pos: Vec3, [INFO] [stdout] | ^^^ [INFO] [stdout] 173 | rot: Vec3, [INFO] [stdout] | ^^^ [INFO] [stdout] 174 | quat: Quat, [INFO] [stdout] | ^^^^ [INFO] [stdout] 175 | pub trans: Mat4, [INFO] [stdout] 176 | scale: Vec3, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Object` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file_types/scenes.rs:68:22 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn draw_info(&self, data: &PlayerData) -> Vec<(DrawInfo, Mat4)> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 68 | pub fn draw_info(&self, data: &PlayerData) -> Vec<(DrawInfo<'_>, Mat4)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:168:30 [INFO] [stdout] | [INFO] [stdout] 168 | let Object { name, object_type: Exit { exit_name, exit_scene, collider }, .. } = e [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_collider` [INFO] [stdout] --> src/main.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let player_collider = ColliderType::Cylinder; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_collider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `PointLights` is more private than the item `lighting_from_scene` [INFO] [stdout] --> src/graphics.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn lighting_from_scene(scene: &Scene, data: &PlayerData) -> (PointLights, DirLights) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `lighting_from_scene` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `PointLights` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/graphics.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | struct PointLights { point_lights: [PointLight; 8] } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `DirLights` is more private than the item `lighting_from_scene` [INFO] [stdout] --> src/graphics.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn lighting_from_scene(scene: &Scene, data: &PlayerData) -> (PointLights, DirLights) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `lighting_from_scene` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `DirLights` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/graphics.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | struct DirLights { dir_lights: [DirLight; 8] } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/graphics.rs:82:16 [INFO] [stdout] | [INFO] [stdout] 82 | LoadingErr(LoadingErr), [INFO] [stdout] | ---------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LoadDrawError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 82 - LoadingErr(LoadingErr), [INFO] [stdout] 82 + LoadingErr(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/graphics.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | DrawErr(DrawError), [INFO] [stdout] | ------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LoadDrawError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 83 - DrawErr(DrawError), [INFO] [stdout] 83 + DrawErr(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/graphics.rs:291:15 [INFO] [stdout] | [INFO] [stdout] 291 | MeshError(tobj::LoadError), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LoadingErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 291 - MeshError(tobj::LoadError), [INFO] [stdout] 291 + MeshError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/graphics.rs:292:13 [INFO] [stdout] | [INFO] [stdout] 292 | IoError(std::io::Error), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LoadingErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 292 - IoError(std::io::Error), [INFO] [stdout] 292 + IoError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/graphics.rs:293:16 [INFO] [stdout] | [INFO] [stdout] 293 | ImageError(image::ImageError), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LoadingErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 293 - ImageError(image::ImageError), [INFO] [stdout] 293 + ImageError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/graphics.rs:294:19 [INFO] [stdout] | [INFO] [stdout] 294 | GpuImageError(TextureCreationError), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LoadingErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 294 - GpuImageError(TextureCreationError), [INFO] [stdout] 294 + GpuImageError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/graphics.rs:295:18 [INFO] [stdout] | [INFO] [stdout] 295 | GpuMeshError(BufferCreationError), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LoadingErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 295 - GpuMeshError(BufferCreationError), [INFO] [stdout] 295 + GpuMeshError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/graphics.rs:296:17 [INFO] [stdout] | [INFO] [stdout] 296 | ShaderError(ProgramCreationError), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LoadingErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 296 - ShaderError(ProgramCreationError), [INFO] [stdout] 296 + ShaderError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/graphics.rs:297:17 [INFO] [stdout] | [INFO] [stdout] 297 | ScriptError(ParseErr), [INFO] [stdout] | ----------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LoadingErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 297 - ScriptError(ParseErr), [INFO] [stdout] 297 + ScriptError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/graphics.rs:298:19 [INFO] [stdout] | [INFO] [stdout] 298 | FontLoadError(String), [INFO] [stdout] | ------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LoadingErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 298 - FontLoadError(String), [INFO] [stdout] 298 + FontLoadError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InvalidScene` is never constructed [INFO] [stdout] --> src/graphics.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 290 | pub enum LoadingErr { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 299 | InvalidScene(usize), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoadingErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/file_types/mod.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | InvalidPrefix(String), [INFO] [stdout] | ------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 - InvalidPrefix(String), [INFO] [stdout] 14 + InvalidPrefix(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/file_types/mod.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | InvalidColliderType(String), [INFO] [stdout] | ------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 - InvalidColliderType(String), [INFO] [stdout] 15 + InvalidColliderType(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/file_types/mod.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | InvalidNumber(ParseFloatError), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 - InvalidNumber(ParseFloatError), [INFO] [stdout] 16 + InvalidNumber(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/file_types/mod.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | IoError(std::io::Error), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 17 - IoError(std::io::Error), [INFO] [stdout] 17 + IoError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InvalidColour` is never constructed [INFO] [stdout] --> src/file_types/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum ParseErr { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | InvalidColour, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cam_pos`, `cam_quat`, and `cam_scale` are never read [INFO] [stdout] --> src/file_types/scenes.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Scene { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | pub cam_pos: Vec3, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 38 | pub cam_rot: Vec3, [INFO] [stdout] 39 | pub cam_quat: Quat, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 40 | pub cam_trans: Mat4, [INFO] [stdout] 41 | pub cam_scale: Vec3, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scene` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pos`, `rot`, `quat`, and `scale` are never read [INFO] [stdout] --> src/file_types/scenes.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 169 | pub struct Object { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 172 | pos: Vec3, [INFO] [stdout] | ^^^ [INFO] [stdout] 173 | rot: Vec3, [INFO] [stdout] | ^^^ [INFO] [stdout] 174 | quat: Quat, [INFO] [stdout] | ^^^^ [INFO] [stdout] 175 | pub trans: Mat4, [INFO] [stdout] 176 | scale: Vec3, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Object` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file_types/scenes.rs:68:22 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn draw_info(&self, data: &PlayerData) -> Vec<(DrawInfo, Mat4)> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 68 | pub fn draw_info(&self, data: &PlayerData) -> Vec<(DrawInfo<'_>, Mat4)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 02s [INFO] running `Command { std: "docker" "inspect" "93e314a9a221300cd583040a268d69959befa9c400f418d3bae14b52538ca7f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93e314a9a221300cd583040a268d69959befa9c400f418d3bae14b52538ca7f5", kill_on_drop: false }` [INFO] [stdout] 93e314a9a221300cd583040a268d69959befa9c400f418d3bae14b52538ca7f5