[INFO] cloning repository https://github.com/Blodir/wgpu-test-3 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Blodir/wgpu-test-3" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBlodir%2Fwgpu-test-3", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBlodir%2Fwgpu-test-3'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a442fa92f27929cd4531bdf5928dd0cf9443e874 [INFO] checking Blodir/wgpu-test-3 against try#5de9e0e6cf775e94e0de2003f35e183f3f77bfe8 for pr-143808 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBlodir%2Fwgpu-test-3" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Blodir/wgpu-test-3 [INFO] finished tweaking git repo https://github.com/Blodir/wgpu-test-3 [INFO] tweaked toml for git repo https://github.com/Blodir/wgpu-test-3 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Blodir/wgpu-test-3 on toolchain 5de9e0e6cf775e94e0de2003f35e183f3f77bfe8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Blodir/wgpu-test-3 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" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f713cb0c175042248ae613ee819f13b3782fed71ae9671e4138b94ab5d95f2d [INFO] running `Command { std: "docker" "start" "-a" "0f713cb0c175042248ae613ee819f13b3782fed71ae9671e4138b94ab5d95f2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f713cb0c175042248ae613ee819f13b3782fed71ae9671e4138b94ab5d95f2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f713cb0c175042248ae613ee819f13b3782fed71ae9671e4138b94ab5d95f2d", kill_on_drop: false }` [INFO] [stdout] 0f713cb0c175042248ae613ee819f13b3782fed71ae9671e4138b94ab5d95f2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c2123b834ca3063a6c9f765b8df62f74b991dfd7d41c5f033447f206f1298699 [INFO] running `Command { std: "docker" "start" "-a" "c2123b834ca3063a6c9f765b8df62f74b991dfd7d41c5f033447f206f1298699", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking libloading v0.8.3 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling wayland-client v0.31.3 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking zerocopy v0.7.34 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling built v0.7.4 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking aligned-vec v0.5.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling wayland-sys v0.31.2 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking gpu-descriptor-types v0.1.2 [INFO] [stderr] Compiling wgpu-hal v0.19.4 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking ttf-parser v0.21.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Checking xkeysym v0.2.1 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Checking xcursor v0.3.5 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling wayland-scanner v0.31.2 [INFO] [stderr] Checking v_frame v0.3.8 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking flate2 v1.0.31 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling wayland-backend v0.3.4 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking wgpu-types v0.19.2 [INFO] [stderr] Compiling wgpu-core v0.19.4 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Checking bitstream-io v2.5.0 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking gpu-descriptor v0.2.4 [INFO] [stderr] Checking imgref v1.10.1 [INFO] [stderr] Checking glow v0.13.1 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Compiling winit v0.30.1 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking avif-serialize v0.8.1 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Compiling wgpu v0.19.4 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking av1-grain v0.2.3 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Checking x11rb-protocol v0.13.1 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking image-webp v0.1.3 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking zune-jpeg v0.4.13 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Checking owned_ttf_parser v0.21.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Checking dpi v0.1.1 [INFO] [stderr] Checking ab_glyph v0.2.26 [INFO] [stderr] Checking pollster v0.3.0 [INFO] [stderr] Checking notify v6.1.1 [INFO] [stderr] Compiling enum-primitive-derive v0.2.2 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling bytemuck_derive v1.7.0 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Checking ddsfile v0.5.2 [INFO] [stderr] Checking profiling v1.0.15 [INFO] [stderr] Checking bytemuck v1.16.0 [INFO] [stderr] Checking naga v0.19.2 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking rgb v0.8.48 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking polling v3.7.2 [INFO] [stderr] Checking calloop v0.12.4 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking wayland-protocols v0.31.2 [INFO] [stderr] Checking wayland-cursor v0.31.3 [INFO] [stderr] Checking calloop-wayland-source v0.2.0 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking ravif v0.11.10 [INFO] [stderr] Checking image v0.25.2 [INFO] [stderr] Checking wayland-protocols-wlr v0.2.0 [INFO] [stderr] Checking wayland-protocols-plasma v0.2.0 [INFO] [stderr] Checking sctk-adwaita v0.9.0 [INFO] [stderr] Checking wgpu-test-3 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `InnerSpace` and `Rotation3` [INFO] [stdout] --> src/lib.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use cgmath::{InnerSpace, Rotation3}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dpi::PhysicalPosition` [INFO] [stdout] --> src/lib.rs:3:46 [INFO] [stdout] | [INFO] [stdout] 3 | use winit::{application::ApplicationHandler, dpi::PhysicalPosition, event::{DeviceEvent, ElementState, Event, KeyEvent, MouseScrollDelta,... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fs::File` and `io::Read` [INFO] [stdout] --> src/renderer/pipelines/pbr.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs::File, io::Read, mem::size_of}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Matrix` and `Transform` [INFO] [stdout] --> src/renderer/pipelines/pbr.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use cgmath::{Matrix, Matrix3, Matrix4, SquareMatrix, Transform}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::Debug` [INFO] [stdout] --> src/renderer/renderer.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::Debug, fs::File, io::Read, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `InnerSpace` and `Rotation3` [INFO] [stdout] --> src/lib.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use cgmath::{InnerSpace, Rotation3}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dpi::PhysicalPosition` [INFO] [stdout] --> src/lib.rs:3:46 [INFO] [stdout] | [INFO] [stdout] 3 | use winit::{application::ApplicationHandler, dpi::PhysicalPosition, event::{DeviceEvent, ElementState, Event, KeyEvent, MouseScrollDelta,... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fs::File` and `io::Read` [INFO] [stdout] --> src/renderer/pipelines/pbr.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs::File, io::Read, mem::size_of}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Matrix` and `Transform` [INFO] [stdout] --> src/renderer/pipelines/pbr.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use cgmath::{Matrix, Matrix3, Matrix4, SquareMatrix, Transform}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::Debug` [INFO] [stdout] --> src/renderer/renderer.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::Debug, fs::File, io::Read, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `winit::event_loop::EventLoop::::run`: use `EventLoop::run_app` instead [INFO] [stdout] --> src/lib.rs:190:16 [INFO] [stdout] | [INFO] [stdout] 190 | event_loop.run(move |event, event_loop| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `winit::event_loop::EventLoop::::run`: use `EventLoop::run_app` instead [INFO] [stdout] --> src/lib.rs:190:16 [INFO] [stdout] | [INFO] [stdout] 190 | event_loop.run(move |event, event_loop| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chunk_type` [INFO] [stdout] --> src/renderer/gltf.rs:523:13 [INFO] [stdout] | [INFO] [stdout] 523 | let chunk_type = buffer_to_ascii(&type_buffer); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chunk_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chunk_type` [INFO] [stdout] --> src/renderer/gltf.rs:523:13 [INFO] [stdout] | [INFO] [stdout] 523 | let chunk_type = buffer_to_ascii(&type_buffer); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chunk_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `surface_config` [INFO] [stdout] --> src/renderer/pipelines/skybox.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | surface_config: &wgpu::SurfaceConfiguration, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_surface_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `face` [INFO] [stdout] --> src/renderer/renderer.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | for face in 0..array_layers { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_face` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `image` [INFO] [stdout] --> src/renderer/renderer.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | image: image::DynamicImage, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `surface_config` [INFO] [stdout] --> src/renderer/pipelines/skybox.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | surface_config: &wgpu::SurfaceConfiguration, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_surface_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `face` [INFO] [stdout] --> src/renderer/renderer.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | for face in 0..array_layers { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_face` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `image` [INFO] [stdout] --> src/renderer/renderer.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | image: image::DynamicImage, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_id` [INFO] [stdout] --> src/lib.rs:66:39 [INFO] [stdout] | [INFO] [stdout] 66 | WindowEvent::MouseWheel { device_id, delta, phase } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `device_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `phase` [INFO] [stdout] --> src/lib.rs:66:57 [INFO] [stdout] | [INFO] [stdout] 66 | WindowEvent::MouseWheel { device_id, delta, phase } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `phase: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/lib.rs:71:53 [INFO] [stdout] | [INFO] [stdout] 71 | MouseScrollDelta::LineDelta(x, y) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/lib.rs:76:54 [INFO] [stdout] | [INFO] [stdout] 76 | MouseScrollDelta::PixelDelta(pos) => () [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_id` [INFO] [stdout] --> src/lib.rs:80:39 [INFO] [stdout] | [INFO] [stdout] 80 | WindowEvent::MouseInput { device_id, state, button } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `device_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_id` [INFO] [stdout] --> src/lib.rs:95:42 [INFO] [stdout] | [INFO] [stdout] 95 | WindowEvent::KeyboardInput { device_id, event, is_synthetic } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `device_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_synthetic` [INFO] [stdout] --> src/lib.rs:95:60 [INFO] [stdout] | [INFO] [stdout] 95 | WindowEvent::KeyboardInput { device_id, event, is_synthetic } => { [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `is_synthetic: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scale_factor` [INFO] [stdout] --> src/lib.rs:113:47 [INFO] [stdout] | [INFO] [stdout] 113 | WindowEvent::ScaleFactorChanged { scale_factor, inner_size_writer } => { [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `scale_factor: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner_size_writer` [INFO] [stdout] --> src/lib.rs:113:61 [INFO] [stdout] | [INFO] [stdout] 113 | WindowEvent::ScaleFactorChanged { scale_factor, inner_size_writer } => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try ignoring the field: `inner_size_writer: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/lib.rs:52:62 [INFO] [stdout] | [INFO] [stdout] 52 | fn window_event(&mut self, event_loop: &ActiveEventLoop, id: WindowId, event: WindowEvent) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_id` [INFO] [stdout] --> src/lib.rs:66:39 [INFO] [stdout] | [INFO] [stdout] 66 | WindowEvent::MouseWheel { device_id, delta, phase } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `device_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `phase` [INFO] [stdout] --> src/lib.rs:66:57 [INFO] [stdout] | [INFO] [stdout] 66 | WindowEvent::MouseWheel { device_id, delta, phase } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `phase: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/lib.rs:71:53 [INFO] [stdout] | [INFO] [stdout] 71 | MouseScrollDelta::LineDelta(x, y) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/lib.rs:76:54 [INFO] [stdout] | [INFO] [stdout] 76 | MouseScrollDelta::PixelDelta(pos) => () [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_id` [INFO] [stdout] --> src/lib.rs:80:39 [INFO] [stdout] | [INFO] [stdout] 80 | WindowEvent::MouseInput { device_id, state, button } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `device_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_id` [INFO] [stdout] --> src/lib.rs:95:42 [INFO] [stdout] | [INFO] [stdout] 95 | WindowEvent::KeyboardInput { device_id, event, is_synthetic } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `device_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_synthetic` [INFO] [stdout] --> src/lib.rs:95:60 [INFO] [stdout] | [INFO] [stdout] 95 | WindowEvent::KeyboardInput { device_id, event, is_synthetic } => { [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `is_synthetic: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scale_factor` [INFO] [stdout] --> src/lib.rs:113:47 [INFO] [stdout] | [INFO] [stdout] 113 | WindowEvent::ScaleFactorChanged { scale_factor, inner_size_writer } => { [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `scale_factor: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner_size_writer` [INFO] [stdout] --> src/lib.rs:113:61 [INFO] [stdout] | [INFO] [stdout] 113 | WindowEvent::ScaleFactorChanged { scale_factor, inner_size_writer } => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try ignoring the field: `inner_size_writer: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/lib.rs:52:62 [INFO] [stdout] | [INFO] [stdout] 52 | fn window_event(&mut self, event_loop: &ActiveEventLoop, id: WindowId, event: WindowEvent) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:59:25 [INFO] [stdout] | [INFO] [stdout] 59 | let mut renderer = renderer_arc_mutex.lock().unwrap(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_loop` [INFO] [stdout] --> src/lib.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | event_loop: &ActiveEventLoop, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:59:25 [INFO] [stdout] | [INFO] [stdout] 59 | let mut renderer = renderer_arc_mutex.lock().unwrap(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_id` [INFO] [stdout] --> src/lib.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | device_id: winit::event::DeviceId, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_device_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_loop` [INFO] [stdout] --> src/lib.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | event_loop: &ActiveEventLoop, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_id` [INFO] [stdout] --> src/lib.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | device_id: winit::event::DeviceId, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_device_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:184:21 [INFO] [stdout] | [INFO] [stdout] 184 | Err(e) => {}, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:184:21 [INFO] [stdout] | [INFO] [stdout] 184 | Err(e) => {}, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `texture` and `sampler` are never read [INFO] [stdout] --> src/renderer/depth_texture.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct DepthTexture { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 2 | texture: wgpu::Texture, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 3 | pub view: wgpu::TextureView, [INFO] [stdout] 4 | sampler: wgpu::Sampler, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `texture` and `sampler` are never read [INFO] [stdout] --> src/renderer/depth_texture.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct DepthTexture { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 2 | texture: wgpu::Texture, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 3 | pub view: wgpu::TextureView, [INFO] [stdout] 4 | sampler: wgpu::Sampler, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `direction_buffer` and `color_buffer` are never read [INFO] [stdout] --> src/renderer/lights.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct LightsBinding { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 10 | pub bind_group: wgpu::BindGroup, [INFO] [stdout] 11 | direction_buffer: wgpu::Buffer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | color_buffer: wgpu::Buffer, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `msaa_texture` and `resolve_texture` are never read [INFO] [stdout] --> src/renderer/msaa_textures.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct MSAATextures { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 2 | msaa_texture: wgpu::Texture, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | resolve_texture: wgpu::Texture, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/renderer/pipelines/pbr.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Instance { [INFO] [stdout] | ^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/renderer/pipelines/pbr.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / #[repr(C)] [INFO] [stdout] 9 | | #[derive(Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 10 | | pub struct Instance { [INFO] [stdout] 11 | | m4: [[f32; 4]; 4], [INFO] [stdout] 12 | | itr: [[f32; 3]; 3], [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/renderer/pipelines/pbr.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct Vertex { [INFO] [stdout] | ^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/renderer/pipelines/pbr.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | / #[repr(C)] [INFO] [stdout] 81 | | #[derive(Copy, Clone, Debug, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 82 | | pub struct Vertex { [INFO] [stdout] 83 | | pub tangent: [f32; 4], [INFO] [stdout] ... | [INFO] [stdout] 94 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/renderer/pipelines/pbr.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 259 | pub struct MaterialBinding { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 260 | pub bind_group: wgpu::BindGroup, [INFO] [stdout] 261 | base_color_factor: wgpu::Buffer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 262 | metallic_factor: wgpu::Buffer, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 263 | roughness_factor: wgpu::Buffer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 264 | emissive_factor: wgpu::Buffer, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 265 | normal_texture: Texture, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 266 | occlusion_texture: Texture, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 267 | emissive_texture: Texture, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 268 | base_color_texture: Texture, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 269 | metallic_roughness_texture: Texture, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 270 | normal_texture_scale: wgpu::Buffer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inputs_bind_group_layout` is never read [INFO] [stdout] --> src/renderer/pipelines/post_processing.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct PostProcessingPipeline { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 93 | inputs_bind_group_layout: wgpu::BindGroupLayout, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `direction_buffer` and `color_buffer` are never read [INFO] [stdout] --> src/renderer/lights.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct LightsBinding { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 10 | pub bind_group: wgpu::BindGroup, [INFO] [stdout] 11 | direction_buffer: wgpu::Buffer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | color_buffer: wgpu::Buffer, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `texture` is never read [INFO] [stdout] --> src/renderer/pipelines/skybox.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct SkyboxOutputTexture { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 8 | texture: wgpu::Texture, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ResourceId` is never used [INFO] [stdout] --> src/scene_graph.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | type ResourceId = String; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vertex` is never constructed [INFO] [stdout] --> src/scene_graph.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct Vertex {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `msaa_texture` and `resolve_texture` are never read [INFO] [stdout] --> src/renderer/msaa_textures.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct MSAATextures { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 2 | msaa_texture: wgpu::Texture, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | resolve_texture: wgpu::Texture, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `VertexIndices` is never used [INFO] [stdout] --> src/scene_graph.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | enum VertexIndices { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/renderer/pipelines/pbr.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Instance { [INFO] [stdout] | ^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VertexData` is never constructed [INFO] [stdout] --> src/scene_graph.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct VertexData { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MeshResource` is never constructed [INFO] [stdout] --> src/scene_graph.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct MeshResource { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/renderer/pipelines/pbr.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / #[repr(C)] [INFO] [stdout] 9 | | #[derive(Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 10 | | pub struct Instance { [INFO] [stdout] 11 | | m4: [[f32; 4]; 4], [INFO] [stdout] 12 | | itr: [[f32; 3]; 3], [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ResourceType` is never used [INFO] [stdout] --> src/scene_graph.rs:25:6 [INFO] [stdout] | [INFO] [stdout] 25 | enum ResourceType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/renderer/pipelines/pbr.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct Vertex { [INFO] [stdout] | ^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ResourcePool` is never constructed [INFO] [stdout] --> src/scene_graph.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | struct ResourcePool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RenderDataRepository` is never constructed [INFO] [stdout] --> src/scene_graph.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | struct RenderDataRepository { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RenderData` is never constructed [INFO] [stdout] --> src/scene_graph.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | struct RenderData { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/renderer/pipelines/pbr.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | / #[repr(C)] [INFO] [stdout] 81 | | #[derive(Copy, Clone, Debug, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 82 | | pub struct Vertex { [INFO] [stdout] 83 | | pub tangent: [f32; 4], [INFO] [stdout] ... | [INFO] [stdout] 94 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `parent`, `children`, `transform`, and `render_data` are never read [INFO] [stdout] --> src/scene_graph.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 44 | parent: NodeId, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 45 | children: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 46 | transform: Transform, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 47 | render_data: RenderDataId, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/renderer/pipelines/pbr.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 259 | pub struct MaterialBinding { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 260 | pub bind_group: wgpu::BindGroup, [INFO] [stdout] 261 | base_color_factor: wgpu::Buffer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 262 | metallic_factor: wgpu::Buffer, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 263 | roughness_factor: wgpu::Buffer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 264 | emissive_factor: wgpu::Buffer, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 265 | normal_texture: Texture, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 266 | occlusion_texture: Texture, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 267 | emissive_texture: Texture, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 268 | base_color_texture: Texture, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 269 | metallic_roughness_texture: Texture, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 270 | normal_texture_scale: wgpu::Buffer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inputs_bind_group_layout` is never read [INFO] [stdout] --> src/renderer/pipelines/post_processing.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct PostProcessingPipeline { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 93 | inputs_bind_group_layout: wgpu::BindGroupLayout, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `texture` is never read [INFO] [stdout] --> src/renderer/pipelines/skybox.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct SkyboxOutputTexture { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 8 | texture: wgpu::Texture, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ResourceId` is never used [INFO] [stdout] --> src/scene_graph.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | type ResourceId = String; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vertex` is never constructed [INFO] [stdout] --> src/scene_graph.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct Vertex {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `VertexIndices` is never used [INFO] [stdout] --> src/scene_graph.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | enum VertexIndices { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VertexData` is never constructed [INFO] [stdout] --> src/scene_graph.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct VertexData { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MeshResource` is never constructed [INFO] [stdout] --> src/scene_graph.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct MeshResource { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ResourceType` is never used [INFO] [stdout] --> src/scene_graph.rs:25:6 [INFO] [stdout] | [INFO] [stdout] 25 | enum ResourceType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ResourcePool` is never constructed [INFO] [stdout] --> src/scene_graph.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | struct ResourcePool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RenderDataRepository` is never constructed [INFO] [stdout] --> src/scene_graph.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | struct RenderDataRepository { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RenderData` is never constructed [INFO] [stdout] --> src/scene_graph.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | struct RenderData { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `parent`, `children`, `transform`, and `render_data` are never read [INFO] [stdout] --> src/scene_graph.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 44 | parent: NodeId, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 45 | children: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 46 | transform: Transform, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 47 | render_data: RenderDataId, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/renderer/pipelines/pbr.rs:219:34 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn to_sampler_descriptor(&self) -> wgpu::SamplerDescriptor { [INFO] [stdout] | ^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 219 | pub fn to_sampler_descriptor(&self) -> wgpu::SamplerDescriptor<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/renderer/pipelines/pbr.rs:219:34 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn to_sampler_descriptor(&self) -> wgpu::SamplerDescriptor { [INFO] [stdout] | ^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 219 | pub fn to_sampler_descriptor(&self) -> wgpu::SamplerDescriptor<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/bin/bake_env_map/main.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read` and `fs::File` [INFO] [stdout] --> src/bin/bake_env_map/equirectangular.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | fs::File, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 3 | io::{self, Read}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/bin/bake_env_map/main.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read` and `fs::File` [INFO] [stdout] --> src/bin/bake_env_map/equirectangular.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | fs::File, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 3 | io::{self, Read}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> src/bin/bake_env_map/env_prefilter.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | queue: &wgpu::Queue, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> src/bin/bake_env_map/equirectangular.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | queue: &wgpu::Queue, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> src/bin/bake_env_map/env_prefilter.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | queue: &wgpu::Queue, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_texture_to_file` is never used [INFO] [stdout] --> src/bin/bake_env_map/equirectangular.rs:324:8 [INFO] [stdout] | [INFO] [stdout] 324 | pub fn write_texture_to_file( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_rgba8_to_rgb32f` is never used [INFO] [stdout] --> src/bin/bake_env_map/equirectangular.rs:400:4 [INFO] [stdout] | [INFO] [stdout] 400 | fn convert_rgba8_to_rgb32f( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> src/bin/bake_env_map/equirectangular.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | queue: &wgpu::Queue, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_texture_to_file` is never used [INFO] [stdout] --> src/bin/bake_env_map/equirectangular.rs:324:8 [INFO] [stdout] | [INFO] [stdout] 324 | pub fn write_texture_to_file( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_rgba8_to_rgb32f` is never used [INFO] [stdout] --> src/bin/bake_env_map/equirectangular.rs:400:4 [INFO] [stdout] | [INFO] [stdout] 400 | fn convert_rgba8_to_rgb32f( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/bin/bake_env_map/main.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | drop(buffer_slice); [INFO] [stdout] | ^^^^^------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `BufferSlice<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 80 - drop(buffer_slice); [INFO] [stdout] 80 + let _ = buffer_slice; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/bin/bake_env_map/main.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | drop(buffer_slice); [INFO] [stdout] | ^^^^^------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `BufferSlice<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 80 - drop(buffer_slice); [INFO] [stdout] 80 + let _ = buffer_slice; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 38.10s [INFO] running `Command { std: "docker" "inspect" "c2123b834ca3063a6c9f765b8df62f74b991dfd7d41c5f033447f206f1298699", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2123b834ca3063a6c9f765b8df62f74b991dfd7d41c5f033447f206f1298699", kill_on_drop: false }` [INFO] [stdout] c2123b834ca3063a6c9f765b8df62f74b991dfd7d41c5f033447f206f1298699