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