[INFO] cloning repository https://github.com/MajidAbdelilah/Unreal_Majid [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MajidAbdelilah/Unreal_Majid" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMajidAbdelilah%2FUnreal_Majid", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMajidAbdelilah%2FUnreal_Majid'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8e91e7317cce339621096487aace7ae21db98891 [INFO] checking MajidAbdelilah/Unreal_Majid against try#a7b168ac4977e8e93a43448b44847adaa305d5a9 for pr-150557 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMajidAbdelilah%2FUnreal_Majid" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/MajidAbdelilah/Unreal_Majid [INFO] finished tweaking git repo https://github.com/MajidAbdelilah/Unreal_Majid [INFO] tweaked toml for git repo https://github.com/MajidAbdelilah/Unreal_Majid written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MajidAbdelilah/Unreal_Majid on toolchain a7b168ac4977e8e93a43448b44847adaa305d5a9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7b168ac4977e8e93a43448b44847adaa305d5a9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/MajidAbdelilah/Unreal_Majid 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" "+a7b168ac4977e8e93a43448b44847adaa305d5a9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7b168ac4977e8e93a43448b44847adaa305d5a9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1cd5ae89d3126c61919c684e0afc2ab6e672d2810f789ba691fe2ef9d4072fa3 [INFO] running `Command { std: "docker" "start" "-a" "1cd5ae89d3126c61919c684e0afc2ab6e672d2810f789ba691fe2ef9d4072fa3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1cd5ae89d3126c61919c684e0afc2ab6e672d2810f789ba691fe2ef9d4072fa3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cd5ae89d3126c61919c684e0afc2ab6e672d2810f789ba691fe2ef9d4072fa3", kill_on_drop: false }` [INFO] [stdout] 1cd5ae89d3126c61919c684e0afc2ab6e672d2810f789ba691fe2ef9d4072fa3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7b168ac4977e8e93a43448b44847adaa305d5a9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eed7ba0bea1cd5e3aadca13859997d10032daba64714630eb35852625262f3e1 [INFO] running `Command { std: "docker" "start" "-a" "eed7ba0bea1cd5e3aadca13859997d10032daba64714630eb35852625262f3e1", kill_on_drop: false }` [INFO] [stderr] Compiling find-msvc-tools v0.1.5 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling wayland-scanner v0.31.7 [INFO] [stderr] Checking rustix v0.38.44 [INFO] [stderr] Checking codespan-reporting v0.12.0 [INFO] [stderr] Compiling naga v27.0.3 [INFO] [stderr] Checking polling v3.11.0 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking indexmap v2.12.1 [INFO] [stderr] Compiling wgpu-hal v27.0.4 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking ash v0.38.0+1.3.281 [INFO] [stderr] Checking ordered-float v5.1.0 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Compiling cc v1.2.50 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Compiling wgpu-core v27.0.3 [INFO] [stderr] Compiling litrs v1.0.0 [INFO] [stderr] Checking regex-syntax v0.8.8 [INFO] [stderr] Checking ab_glyph v0.2.32 [INFO] [stderr] Checking gethostname v1.1.0 [INFO] [stderr] Compiling winit v0.30.12 [INFO] [stderr] Compiling wgpu v27.0.1 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking x11rb-protocol v0.13.2 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking gpu-descriptor v0.3.2 [INFO] [stderr] Checking khronos-egl v6.0.0 [INFO] [stderr] Checking memmap2 v0.9.9 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Compiling document-features v0.2.12 [INFO] [stderr] Checking x11-dl v2.21.0 [INFO] [stderr] Checking is-terminal v0.4.17 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking humantime v2.3.0 [INFO] [stderr] Checking pollster v0.3.0 [INFO] [stderr] Compiling wayland-backend v0.3.11 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking wayland-client v0.31.11 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling zerocopy-derive v0.8.31 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking wayland-protocols v0.32.9 [INFO] [stderr] Checking wayland-cursor v0.31.11 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking bytemuck v1.24.0 [INFO] [stderr] Checking wgpu-types v27.0.1 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking zerocopy v0.8.31 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.9 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.9 [INFO] [stderr] Checking smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking x11rb v0.13.2 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking wgpu-core-deps-windows-linux-android v27.0.0 [INFO] [stderr] Checking particle-system v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `default` [INFO] [stdout] --> src/core/renderer.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{default, process::exit, sync::Arc}; [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: `wgpu::util::DeviceExt` [INFO] [stdout] --> src/core/renderer.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use wgpu::util::DeviceExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EventLoop`, `PhysicalKey`, `application::ApplicationHandler`, and `event::*` [INFO] [stdout] --> src/core/renderer.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | application::ApplicationHandler, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | event::*, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | event_loop::{ActiveEventLoop, EventLoop}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 8 | keyboard::{KeyCode, PhysicalKey}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyCode` [INFO] [stdout] --> src/core/window.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | keyboard::{KeyCode, PhysicalKey}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `default` [INFO] [stdout] --> src/core/renderer.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{default, process::exit, sync::Arc}; [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: `wgpu::util::DeviceExt` [INFO] [stdout] --> src/core/renderer.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use wgpu::util::DeviceExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EventLoop`, `PhysicalKey`, `application::ApplicationHandler`, and `event::*` [INFO] [stdout] --> src/core/renderer.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | application::ApplicationHandler, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | event::*, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | event_loop::{ActiveEventLoop, EventLoop}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 8 | keyboard::{KeyCode, PhysicalKey}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyCode` [INFO] [stdout] --> src/core/window.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | keyboard::{KeyCode, PhysicalKey}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/core/renderer.rs:593:21 [INFO] [stdout] | [INFO] [stdout] 593 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/core/renderer.rs:610:25 [INFO] [stdout] | [INFO] [stdout] 610 | 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/core/renderer.rs:632:25 [INFO] [stdout] | [INFO] [stdout] 632 | 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/core/renderer.rs:593:21 [INFO] [stdout] | [INFO] [stdout] 593 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/core/renderer.rs:610:25 [INFO] [stdout] | [INFO] [stdout] 610 | 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/core/renderer.rs:632:25 [INFO] [stdout] | [INFO] [stdout] 632 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/window.rs:89:79 [INFO] [stdout] | [INFO] [stdout] 89 | fn user_event(&mut self, event_loop: &winit::event_loop::ActiveEventLoop, mut event: Ren) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_loop` [INFO] [stdout] --> src/core/window.rs:89:30 [INFO] [stdout] | [INFO] [stdout] 89 | fn user_event(&mut self, event_loop: &winit::event_loop::ActiveEventLoop, mut event: Ren) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/core/window.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | window_id: winit::window::WindowId, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_id` [INFO] [stdout] --> src/core/window.rs:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | device_id, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `device_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_loop` [INFO] [stdout] --> src/core/window.rs:196:33 [INFO] [stdout] | [INFO] [stdout] 196 | fn about_to_wait(&mut self, event_loop: &winit::event_loop::ActiveEventLoop) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/window.rs:89:79 [INFO] [stdout] | [INFO] [stdout] 89 | fn user_event(&mut self, event_loop: &winit::event_loop::ActiveEventLoop, mut event: Ren) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_loop` [INFO] [stdout] --> src/core/window.rs:89:30 [INFO] [stdout] | [INFO] [stdout] 89 | fn user_event(&mut self, event_loop: &winit::event_loop::ActiveEventLoop, mut event: Ren) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/core/window.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | window_id: winit::window::WindowId, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_id` [INFO] [stdout] --> src/core/window.rs:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | device_id, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `device_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_loop` [INFO] [stdout] --> src/core/window.rs:196:33 [INFO] [stdout] | [INFO] [stdout] 196 | fn about_to_wait(&mut self, event_loop: &winit::event_loop::ActiveEventLoop) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Mat4f` is more private than the item `renderer::Camera::get_view_matrix` [INFO] [stdout] --> src/core/renderer.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn get_view_matrix(&self) -> Mat4f { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `renderer::Camera::get_view_matrix` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Mat4f` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/core/renderer.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | struct Mat4f { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/core/entry_point.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn run() -> anyhow::Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InputState` is never constructed [INFO] [stdout] --> src/core/renderer.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct InputState { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Camera` is never constructed [INFO] [stdout] --> src/core/renderer.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Camera { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_view_matrix`, `get_forward`, and `get_right` are never used [INFO] [stdout] --> src/core/renderer.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 77 | impl Camera { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 78 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn get_view_matrix(&self) -> Mat4f { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn get_forward(&self) -> [f32; 3] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn get_right(&self) -> [f32; 3] { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vec3_add` is never used [INFO] [stdout] --> src/core/renderer.rs:119:4 [INFO] [stdout] | [INFO] [stdout] 119 | fn vec3_add(a: &[f32; 3], b: &[f32; 3]) -> [f32; 3] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vec3_sub` is never used [INFO] [stdout] --> src/core/renderer.rs:123:4 [INFO] [stdout] | [INFO] [stdout] 123 | fn vec3_sub(a: &[f32; 3], b: &[f32; 3]) -> [f32; 3] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vec3_scale` is never used [INFO] [stdout] --> src/core/renderer.rs:127:4 [INFO] [stdout] | [INFO] [stdout] 127 | fn vec3_scale(a: &[f32; 3], s: f32) -> [f32; 3] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dot` is never used [INFO] [stdout] --> src/core/renderer.rs:141:4 [INFO] [stdout] | [INFO] [stdout] 141 | fn dot(a: &[f32; 3], b: &[f32; 3]) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cross` is never used [INFO] [stdout] --> src/core/renderer.rs:146:4 [INFO] [stdout] | [INFO] [stdout] 146 | fn cross(a: &[f32; 3], b: &[f32; 3]) -> [f32; 3] { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vec3_normalize` is never used [INFO] [stdout] --> src/core/renderer.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn vec3_normalize(v: [f32; 3]) -> [f32; 3] { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `look_at` is never used [INFO] [stdout] --> src/core/renderer.rs:163:4 [INFO] [stdout] | [INFO] [stdout] 163 | fn look_at(&position: &[f32; 3], &lookat: &[f32; 3], &up: &[f32; 3]) -> Mat4f { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `perspective` is never used [INFO] [stdout] --> src/core/renderer.rs:218:4 [INFO] [stdout] | [INFO] [stdout] 218 | fn perspective(fov_y: f32, aspect: f32, near: f32, far: f32) -> Mat4f { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ren` is never constructed [INFO] [stdout] --> src/core/renderer.rs:256:12 [INFO] [stdout] | [INFO] [stdout] 256 | pub struct Ren { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/core/renderer.rs:292:12 [INFO] [stdout] | [INFO] [stdout] 291 | impl Ren { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 292 | pub fn run_init_sphere_compute_shader(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | fn run_init_cube_compute_shader(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 398 | pub async fn new(window: Arc) -> anyhow::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 763 | pub fn resize(&mut self, width: u32, height: u32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 817 | pub fn handle_key(&mut self, event_loop: &ActiveEventLoop, code: KeyCode, is_pressed: bool) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 854 | pub fn handle_mouse_motion(&mut self, delta_x: f64, delta_y: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 863 | pub fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 890 | pub fn render( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Win` is never constructed [INFO] [stdout] --> src/core/window.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Win { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/core/window.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Win { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 30 | pub fn new(#[cfg(target_arch = "wasm32")] event_loop: &EventLoop) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Mat4f` is more private than the item `renderer::Camera::get_view_matrix` [INFO] [stdout] --> src/core/renderer.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn get_view_matrix(&self) -> Mat4f { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `renderer::Camera::get_view_matrix` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Mat4f` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/core/renderer.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | struct Mat4f { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/core/entry_point.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn run() -> anyhow::Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InputState` is never constructed [INFO] [stdout] --> src/core/renderer.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct InputState { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Camera` is never constructed [INFO] [stdout] --> src/core/renderer.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Camera { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_view_matrix`, `get_forward`, and `get_right` are never used [INFO] [stdout] --> src/core/renderer.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 77 | impl Camera { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 78 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn get_view_matrix(&self) -> Mat4f { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn get_forward(&self) -> [f32; 3] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn get_right(&self) -> [f32; 3] { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vec3_add` is never used [INFO] [stdout] --> src/core/renderer.rs:119:4 [INFO] [stdout] | [INFO] [stdout] 119 | fn vec3_add(a: &[f32; 3], b: &[f32; 3]) -> [f32; 3] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vec3_sub` is never used [INFO] [stdout] --> src/core/renderer.rs:123:4 [INFO] [stdout] | [INFO] [stdout] 123 | fn vec3_sub(a: &[f32; 3], b: &[f32; 3]) -> [f32; 3] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vec3_scale` is never used [INFO] [stdout] --> src/core/renderer.rs:127:4 [INFO] [stdout] | [INFO] [stdout] 127 | fn vec3_scale(a: &[f32; 3], s: f32) -> [f32; 3] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dot` is never used [INFO] [stdout] --> src/core/renderer.rs:141:4 [INFO] [stdout] | [INFO] [stdout] 141 | fn dot(a: &[f32; 3], b: &[f32; 3]) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cross` is never used [INFO] [stdout] --> src/core/renderer.rs:146:4 [INFO] [stdout] | [INFO] [stdout] 146 | fn cross(a: &[f32; 3], b: &[f32; 3]) -> [f32; 3] { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vec3_normalize` is never used [INFO] [stdout] --> src/core/renderer.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn vec3_normalize(v: [f32; 3]) -> [f32; 3] { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `look_at` is never used [INFO] [stdout] --> src/core/renderer.rs:163:4 [INFO] [stdout] | [INFO] [stdout] 163 | fn look_at(&position: &[f32; 3], &lookat: &[f32; 3], &up: &[f32; 3]) -> Mat4f { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `perspective` is never used [INFO] [stdout] --> src/core/renderer.rs:218:4 [INFO] [stdout] | [INFO] [stdout] 218 | fn perspective(fov_y: f32, aspect: f32, near: f32, far: f32) -> Mat4f { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ren` is never constructed [INFO] [stdout] --> src/core/renderer.rs:256:12 [INFO] [stdout] | [INFO] [stdout] 256 | pub struct Ren { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/core/renderer.rs:292:12 [INFO] [stdout] | [INFO] [stdout] 291 | impl Ren { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 292 | pub fn run_init_sphere_compute_shader(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | fn run_init_cube_compute_shader(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 398 | pub async fn new(window: Arc) -> anyhow::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 763 | pub fn resize(&mut self, width: u32, height: u32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 817 | pub fn handle_key(&mut self, event_loop: &ActiveEventLoop, code: KeyCode, is_pressed: bool) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 854 | pub fn handle_mouse_motion(&mut self, delta_x: f64, delta_y: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 863 | pub fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 890 | pub fn render( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Win` is never constructed [INFO] [stdout] --> src/core/window.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Win { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/core/window.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Win { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 30 | pub fn new(#[cfg(target_arch = "wasm32")] event_loop: &EventLoop) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `default` [INFO] [stdout] --> src/core/renderer.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{default, process::exit, sync::Arc}; [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: `wgpu::util::DeviceExt` [INFO] [stdout] --> src/core/renderer.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use wgpu::util::DeviceExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EventLoop`, `PhysicalKey`, `application::ApplicationHandler`, and `event::*` [INFO] [stdout] --> src/core/renderer.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | application::ApplicationHandler, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | event::*, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | event_loop::{ActiveEventLoop, EventLoop}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 8 | keyboard::{KeyCode, PhysicalKey}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyCode` [INFO] [stdout] --> src/core/window.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | keyboard::{KeyCode, PhysicalKey}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `default` [INFO] [stdout] --> src/core/renderer.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{default, process::exit, sync::Arc}; [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: `wgpu::util::DeviceExt` [INFO] [stdout] --> src/core/renderer.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use wgpu::util::DeviceExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EventLoop`, `PhysicalKey`, `application::ApplicationHandler`, and `event::*` [INFO] [stdout] --> src/core/renderer.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | application::ApplicationHandler, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | event::*, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | event_loop::{ActiveEventLoop, EventLoop}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 8 | keyboard::{KeyCode, PhysicalKey}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyCode` [INFO] [stdout] --> src/core/window.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | keyboard::{KeyCode, PhysicalKey}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/core/renderer.rs:593:21 [INFO] [stdout] | [INFO] [stdout] 593 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/core/renderer.rs:610:25 [INFO] [stdout] | [INFO] [stdout] 610 | 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/core/renderer.rs:632:25 [INFO] [stdout] | [INFO] [stdout] 632 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/window.rs:89:79 [INFO] [stdout] | [INFO] [stdout] 89 | fn user_event(&mut self, event_loop: &winit::event_loop::ActiveEventLoop, mut event: Ren) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_loop` [INFO] [stdout] --> src/core/window.rs:89:30 [INFO] [stdout] | [INFO] [stdout] 89 | fn user_event(&mut self, event_loop: &winit::event_loop::ActiveEventLoop, mut event: Ren) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/core/window.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | window_id: winit::window::WindowId, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_id` [INFO] [stdout] --> src/core/window.rs:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | device_id, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `device_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_loop` [INFO] [stdout] --> src/core/window.rs:196:33 [INFO] [stdout] | [INFO] [stdout] 196 | fn about_to_wait(&mut self, event_loop: &winit::event_loop::ActiveEventLoop) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Mat4f` is more private than the item `renderer::Camera::get_view_matrix` [INFO] [stdout] --> src/core/renderer.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn get_view_matrix(&self) -> Mat4f { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `renderer::Camera::get_view_matrix` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Mat4f` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/core/renderer.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | struct Mat4f { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_particles_generated` is never read [INFO] [stdout] --> src/core/renderer.rs:281:5 [INFO] [stdout] | [INFO] [stdout] 256 | pub struct Ren { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 281 | is_particles_generated: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/core/renderer.rs:593:21 [INFO] [stdout] | [INFO] [stdout] 593 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/core/renderer.rs:610:25 [INFO] [stdout] | [INFO] [stdout] 610 | 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/core/renderer.rs:632:25 [INFO] [stdout] | [INFO] [stdout] 632 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/window.rs:89:79 [INFO] [stdout] | [INFO] [stdout] 89 | fn user_event(&mut self, event_loop: &winit::event_loop::ActiveEventLoop, mut event: Ren) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_loop` [INFO] [stdout] --> src/core/window.rs:89:30 [INFO] [stdout] | [INFO] [stdout] 89 | fn user_event(&mut self, event_loop: &winit::event_loop::ActiveEventLoop, mut event: Ren) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/core/window.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | window_id: winit::window::WindowId, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_id` [INFO] [stdout] --> src/core/window.rs:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | device_id, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `device_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_loop` [INFO] [stdout] --> src/core/window.rs:196:33 [INFO] [stdout] | [INFO] [stdout] 196 | fn about_to_wait(&mut self, event_loop: &winit::event_loop::ActiveEventLoop) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Mat4f` is more private than the item `renderer::Camera::get_view_matrix` [INFO] [stdout] --> src/core/renderer.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn get_view_matrix(&self) -> Mat4f { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `renderer::Camera::get_view_matrix` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Mat4f` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/core/renderer.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | struct Mat4f { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_particles_generated` is never read [INFO] [stdout] --> src/core/renderer.rs:281:5 [INFO] [stdout] | [INFO] [stdout] 256 | pub struct Ren { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 281 | is_particles_generated: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.97s [INFO] running `Command { std: "docker" "inspect" "eed7ba0bea1cd5e3aadca13859997d10032daba64714630eb35852625262f3e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eed7ba0bea1cd5e3aadca13859997d10032daba64714630eb35852625262f3e1", kill_on_drop: false }` [INFO] [stdout] eed7ba0bea1cd5e3aadca13859997d10032daba64714630eb35852625262f3e1