[INFO] cloning repository https://github.com/rchiaramo/path_tracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rchiaramo/path_tracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frchiaramo%2Fpath_tracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frchiaramo%2Fpath_tracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c266b259e69504c4d8ee6094cd754803a3db2053 [INFO] checking rchiaramo/path_tracer against try#38c2997544af84fe301d600d6896397738163002 for pr-154205-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frchiaramo%2Fpath_tracer" "/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/rchiaramo/path_tracer [INFO] finished tweaking git repo https://github.com/rchiaramo/path_tracer [INFO] tweaked toml for git repo https://github.com/rchiaramo/path_tracer written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rchiaramo/path_tracer on toolchain 38c2997544af84fe301d600d6896397738163002 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rchiaramo/path_tracer 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" "+38c2997544af84fe301d600d6896397738163002" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-1-tc2/source/Cargo.toml: unused manifest key: workspace.package.name [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b993ee58037b8b28a57ac0ed4ee39d1d0b282459bace80edb704ec18123f75db [INFO] running `Command { std: "docker" "start" "-a" "b993ee58037b8b28a57ac0ed4ee39d1d0b282459bace80edb704ec18123f75db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b993ee58037b8b28a57ac0ed4ee39d1d0b282459bace80edb704ec18123f75db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b993ee58037b8b28a57ac0ed4ee39d1d0b282459bace80edb704ec18123f75db", kill_on_drop: false }` [INFO] [stdout] b993ee58037b8b28a57ac0ed4ee39d1d0b282459bace80edb704ec18123f75db [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56b8b12d44e14c9bb5e5b49c534544583257a78d03520726b7e9165ca8da37fb [INFO] running `Command { std: "docker" "start" "-a" "56b8b12d44e14c9bb5e5b49c534544583257a78d03520726b7e9165ca8da37fb", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: unused manifest key: workspace.package.name [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling cc v1.1.15 [INFO] [stderr] Compiling wayland-sys v0.31.6 [INFO] [stderr] Compiling wayland-client v0.31.10 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quick-xml v0.37.5 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling naga v25.0.1 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking codespan-reporting v0.12.0 [INFO] [stderr] Compiling wgpu-hal v25.0.2 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking khronos-egl v6.0.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking xcursor v0.3.8 [INFO] [stderr] Checking glow v0.16.0 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling wgpu-core v25.0.2 [INFO] [stderr] Checking mint v0.5.9 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking chlorine v1.0.12 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Compiling winit v0.30.11 [INFO] [stderr] Compiling wgpu v25.0.2 [INFO] [stderr] Checking x11-dl v2.21.0 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking dpi v0.1.1 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking jiff v0.2.15 [INFO] [stderr] Checking glam v0.30.4 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Checking pollster v0.4.0 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling wayland-scanner v0.31.6 [INFO] [stderr] Compiling wayland-backend v0.3.10 [INFO] [stderr] Compiling imgui-sys v0.12.0 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking ordered-float v4.6.0 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling bytemuck_derive v1.7.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking bytemuck v1.23.1 [INFO] [stderr] Checking wgpu-types v25.0.0 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking gpu-descriptor v0.3.0 [INFO] [stderr] Checking polling v3.7.3 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking imgui v0.12.0 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking wayland-protocols v0.32.8 [INFO] [stderr] Checking wayland-cursor v0.31.5 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.3 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.8 [INFO] [stderr] Checking wgpu-core-deps-windows-linux-android v25.0.0 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking imgui-winit-support v0.13.0 [INFO] [stderr] Checking imgui-wgpu v0.25.0 [INFO] [stderr] Checking common_code v0.1.0 (/opt/rustwide/workdir/common_code) [INFO] [stdout] warning: unused import: `Vec4` [INFO] [stdout] --> common_code/src/gpu_structs.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use glam::{Vec4}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [FMTARGS] {"crate":"common_code","loc":"common_code/src/gui.rs:158:28","p":4,"ph":3,"wa":0,"pa":0,"a":3,"pos":3,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":3,"a_opt":3,"sz_no_dedup":48,"sz_old":48,"sz_opt":48} [INFO] [stdout] warning: unused import: `crate::camera::Camera` [INFO] [stdout] --> common_code/src/gpu_structs.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::camera::Camera; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [FMTARGS] {"crate":"common_code","loc":"common_code/src/camera.rs:81:17","p":3,"ph":2,"wa":0,"pa":0,"a":2,"pos":2,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":2,"a_opt":2,"sz_no_dedup":32,"sz_old":32,"sz_opt":32} [INFO] [stdout] warning: unused import: `crate::camera_controller::CameraController` [INFO] [stdout] --> common_code/src/gpu_structs.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::camera_controller::CameraController; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [FMTARGS] {"crate":"common_code","loc":"common_code/src/camera.rs:85:17","p":2,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stdout] warning: unused import: `FRAC_PI_2` [INFO] [stdout] --> common_code/src/camera_controller.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::f32::consts::{FRAC_PI_2, PI}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> common_code/src/camera_controller.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `imgui::Key::P` [INFO] [stdout] --> common_code/src/camera_controller.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use imgui::Key::P; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> common_code/src/util_funcs.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> common_code/src/util_funcs.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> common_code/src/util_funcs.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> common_code/src/util_funcs.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [FMTARGS] {"crate":"common_code","loc":"common_code/src/gui.rs:158:28","p":4,"ph":3,"wa":0,"pa":0,"a":3,"pos":3,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":3,"a_opt":3,"sz_no_dedup":48,"sz_old":48,"sz_opt":48} [INFO] [stdout] warning: unused import: `Vec4` [INFO] [stdout] --> common_code/src/gpu_structs.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use glam::{Vec4}; [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: `crate::camera::Camera` [INFO] [stdout] --> common_code/src/gpu_structs.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::camera::Camera; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::camera_controller::CameraController` [INFO] [stdout] --> common_code/src/gpu_structs.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::camera_controller::CameraController; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FRAC_PI_2` [INFO] [stdout] --> common_code/src/camera_controller.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::f32::consts::{FRAC_PI_2, PI}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> common_code/src/camera_controller.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `imgui::Key::P` [INFO] [stdout] --> common_code/src/camera_controller.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use imgui::Key::P; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> common_code/src/util_funcs.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> common_code/src/util_funcs.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> common_code/src/util_funcs.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> common_code/src/util_funcs.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> common_code/src/util_funcs.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | rng.gen::() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> common_code/src/util_funcs.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | rng.gen::() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> common_code/src/util_funcs.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | rng.gen_range(min .. max) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> common_code/src/scene.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let mut materials = vec![mat_ground, mat_center, mat_left, mat_right, mat_bubble]; [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: variable does not need to be mutable [INFO] [stdout] --> common_code/src/scene.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let mut spheres = vec![ground, center, right, left, bubble]; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `frame` is never read [INFO] [stdout] --> common_code/src/parameters.rs:108:25 [INFO] [stdout] | [INFO] [stdout] 108 | let mut frame = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `accumulated_samples` is never read [INFO] [stdout] --> common_code/src/parameters.rs:109:39 [INFO] [stdout] | [INFO] [stdout] 109 | let mut accumulated_samples = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MaterialType` is never used [INFO] [stdout] --> common_code/src/material.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum MaterialType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> common_code/src/gpu_structs.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct GPUSamplingParameters { [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] --> common_code/src/gpu_structs.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / #[repr(C)] [INFO] [stdout] 7 | | #[derive(Copy, Clone, Debug, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 8 | | pub struct GPUSamplingParameters { [INFO] [stdout] 9 | | samples_per_frame: u32, [INFO] [stdout] ... | [INFO] [stdout] 12 | | _buffer: u32, [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> common_code/src/gpu_structs.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct GPUFrameBuffer { [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] --> common_code/src/gpu_structs.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / #[repr(C)] [INFO] [stdout] 33 | | #[derive(Copy, Clone, Debug, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 34 | | pub struct GPUFrameBuffer { [INFO] [stdout] 35 | | width: u32, [INFO] [stdout] ... | [INFO] [stdout] 38 | | accumulated_samples: u32 [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Lambertian` should have a snake case name [INFO] [stdout] --> common_code/src/material.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn Lambertian(albedo: Vec3) -> Self { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `lambertian` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Metal` should have a snake case name [INFO] [stdout] --> common_code/src/material.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn Metal(albedo: Vec3, fuzz: f32) -> Self { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `metal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Dielectric` should have a snake case name [INFO] [stdout] --> common_code/src/material.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn Dielectric(refract_index: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `dielectric` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_GPU_camera` should have a snake case name [INFO] [stdout] --> common_code/src/camera_controller.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn get_GPU_camera(&self) -> GPUCamera { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_gpu_camera` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> common_code/src/util_funcs.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | rng.gen::() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> common_code/src/util_funcs.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | rng.gen::() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> common_code/src/util_funcs.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | rng.gen_range(min .. max) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> common_code/src/scene.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let mut materials = vec![mat_ground, mat_center, mat_left, mat_right, mat_bubble]; [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: variable does not need to be mutable [INFO] [stdout] --> common_code/src/scene.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let mut spheres = vec![ground, center, right, left, bubble]; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `frame` is never read [INFO] [stdout] --> common_code/src/parameters.rs:108:25 [INFO] [stdout] | [INFO] [stdout] 108 | let mut frame = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `accumulated_samples` is never read [INFO] [stdout] --> common_code/src/parameters.rs:109:39 [INFO] [stdout] | [INFO] [stdout] 109 | let mut accumulated_samples = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MaterialType` is never used [INFO] [stdout] --> common_code/src/material.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum MaterialType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> common_code/src/gpu_structs.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct GPUSamplingParameters { [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] --> common_code/src/gpu_structs.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / #[repr(C)] [INFO] [stdout] 7 | | #[derive(Copy, Clone, Debug, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 8 | | pub struct GPUSamplingParameters { [INFO] [stdout] 9 | | samples_per_frame: u32, [INFO] [stdout] ... | [INFO] [stdout] 12 | | _buffer: u32, [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> common_code/src/gpu_structs.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct GPUFrameBuffer { [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] --> common_code/src/gpu_structs.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / #[repr(C)] [INFO] [stdout] 33 | | #[derive(Copy, Clone, Debug, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 34 | | pub struct GPUFrameBuffer { [INFO] [stdout] 35 | | width: u32, [INFO] [stdout] ... | [INFO] [stdout] 38 | | accumulated_samples: u32 [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Lambertian` should have a snake case name [INFO] [stdout] --> common_code/src/material.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn Lambertian(albedo: Vec3) -> Self { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `lambertian` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Metal` should have a snake case name [INFO] [stdout] --> common_code/src/material.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn Metal(albedo: Vec3, fuzz: f32) -> Self { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `metal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Dielectric` should have a snake case name [INFO] [stdout] --> common_code/src/material.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn Dielectric(refract_index: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `dielectric` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_GPU_camera` should have a snake case name [INFO] [stdout] --> common_code/src/camera_controller.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn get_GPU_camera(&self) -> GPUCamera { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_gpu_camera` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking gpu_tracer v0.1.0 (/opt/rustwide/workdir/gpu_tracer) [INFO] [stderr] Checking cpu_tracer v0.1.0 (/opt/rustwide/workdir/cpu_tracer) [INFO] [stdout] warning: unused import: `IntoParallelRefIterator` [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:9:59 [INFO] [stdout] | [INFO] [stdout] 9 | use rayon::iter::{ParallelIterator, IntoParallelIterator, IntoParallelRefIterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: denote infinite loops with `loop { ... }` [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:231:13 [INFO] [stdout] | [INFO] [stdout] 231 | while true { [INFO] [stdout] | ^^^^^^^^^^ help: use `loop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(while_true)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:338:12 [INFO] [stdout] | [INFO] [stdout] 338 | if (discrim >= 0.0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 338 - if (discrim >= 0.0) { [INFO] [stdout] 338 + if discrim >= 0.0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:340:16 [INFO] [stdout] | [INFO] [stdout] 340 | if (t > t_min && t < t_nearest) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 340 - if (t > t_min && t < t_nearest) { [INFO] [stdout] 340 + if t > t_min && t < t_nearest { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:346:16 [INFO] [stdout] | [INFO] [stdout] 346 | if (t > t_min && t < t_nearest) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 346 - if (t > t_min && t < t_nearest) { [INFO] [stdout] 346 + if t > t_min && t < t_nearest { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IntoParallelRefIterator` [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:9:59 [INFO] [stdout] | [INFO] [stdout] 9 | use rayon::iter::{ParallelIterator, IntoParallelIterator, IntoParallelRefIterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: denote infinite loops with `loop { ... }` [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:231:13 [INFO] [stdout] | [INFO] [stdout] 231 | while true { [INFO] [stdout] | ^^^^^^^^^^ help: use `loop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(while_true)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:338:12 [INFO] [stdout] | [INFO] [stdout] 338 | if (discrim >= 0.0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 338 - if (discrim >= 0.0) { [INFO] [stdout] 338 + if discrim >= 0.0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:340:16 [INFO] [stdout] | [INFO] [stdout] 340 | if (t > t_min && t < t_nearest) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 340 - if (t > t_min && t < t_nearest) { [INFO] [stdout] 340 + if t > t_min && t < t_nearest { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:346:16 [INFO] [stdout] | [INFO] [stdout] 346 | if (t > t_min && t < t_nearest) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 346 - if (t > t_min && t < t_nearest) { [INFO] [stdout] 346 + if t > t_min && t < t_nearest { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [FMTARGS] {"crate":"gpu_tracer","loc":"gpu_tracer/src/query_gpu.rs:56:12","p":2,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stdout] warning: unused import: `common_code::frames_per_second` [INFO] [stdout] --> gpu_tracer/src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use common_code::frames_per_second; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [FMTARGS] {"crate":"gpu_tracer","loc":"gpu_tracer/src/gpu_timing.rs:63:12","p":2,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stdout] warning: unused import: `common_code::frames_per_second` [INFO] [stdout] --> gpu_tracer/src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use common_code::frames_per_second; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [FMTARGS] {"crate":"gpu_tracer","loc":"gpu_tracer/src/query_gpu.rs:56:12","p":2,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"gpu_tracer","loc":"gpu_tracer/src/gpu_timing.rs:63:12","p":2,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:361:13 [INFO] [stdout] | [INFO] [stdout] 361 | let mut n = (p - sphere.center.xyz()).normalize(); [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: value assigned to `etaOverEtaPrime` is never read [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:425:48 [INFO] [stdout] | [INFO] [stdout] 425 | let mut etaOverEtaPrime: f32 = 0.0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `etaOverEtaPrime` is never read [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:513:48 [INFO] [stdout] | [INFO] [stdout] 513 | let mut etaOverEtaPrime: f32 = 0.0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `camera` [INFO] [stdout] --> cpu_tracer/src/main.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let camera = Camera::new( [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compute_start_end_timestamps` [INFO] [stdout] --> gpu_tracer/src/gpu_timing.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let compute_start_end_timestamps = [timestamps[0], timestamps[1]]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compute_start_end_timestamps` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:361:13 [INFO] [stdout] | [INFO] [stdout] 361 | let mut n = (p - sphere.center.xyz()).normalize(); [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: value assigned to `etaOverEtaPrime` is never read [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:425:48 [INFO] [stdout] | [INFO] [stdout] 425 | let mut etaOverEtaPrime: f32 = 0.0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cursor_position` is never read [INFO] [stdout] --> gpu_tracer/src/app.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct App<'a> { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | cursor_position: winit::dpi::PhysicalPosition, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `etaOverEtaPrime` is never read [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:513:48 [INFO] [stdout] | [INFO] [stdout] 513 | let mut etaOverEtaPrime: f32 = 0.0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `image_buffer`, `spheres_buffer`, `materials_buffer`, and `bvh_buffer` are never read [INFO] [stdout] --> gpu_tracer/src/path_tracer/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct PathTracer { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 14 | image_buffer: GPUBuffer, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | spheres_buffer: GPUBuffer, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 18 | materials_buffer: GPUBuffer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | bvh_buffer: GPUBuffer, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `compute_start_end_timestamps` is never read [INFO] [stdout] --> gpu_tracer/src/query_gpu.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct QueryResults { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 14 | compute_start_end_timestamps: [u64; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `print` are never used [INFO] [stdout] --> gpu_tracer/src/query_gpu.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl QueryResults { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn print(&self, queue: &wgpu::Queue) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Queries` is never constructed [INFO] [stdout] --> gpu_tracer/src/gpu_timing.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Queries { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QueryResults` is never constructed [INFO] [stdout] --> gpu_tracer/src/gpu_timing.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct QueryResults { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `NUM_QUERIES`, `RUNNING_AVG_LENGTH`, `new`, `process_raw_results`, `get_running_avg`, and `print` are never used [INFO] [stdout] --> gpu_tracer/src/gpu_timing.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 18 | impl QueryResults { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub const NUM_QUERIES: u64 = 2; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 23 | pub const RUNNING_AVG_LENGTH: usize = 10; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | [INFO] [stdout] 25 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn process_raw_results(&mut self, queue: &Queue, timestamps: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn get_running_avg(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn print(&self, queue: &wgpu::Queue) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `resolve`, and `wait_for_results` are never used [INFO] [stdout] --> gpu_tracer/src/gpu_timing.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 72 | impl Queries { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 73 | pub(crate) fn new(device: &wgpu::Device, num_queries: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn resolve(&self, encoder: &mut wgpu::CommandEncoder) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn wait_for_results(&self, device: &wgpu::Device) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `GPURNG` is more private than the item `ComputeShader::main_cs_parallel` [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn main_cs_parallel(&self, pixel_row: &mut [[f32;3]], row: usize, rngState: &mut GPURNG) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `ComputeShader::main_cs_parallel` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `GPURNG` is only usable at visibility `pub(self)` [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:564:1 [INFO] [stdout] | [INFO] [stdout] 564 | struct GPURNG { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cursor_position` is never read [INFO] [stdout] --> cpu_tracer/src/app.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct App<'a> { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | cursor_position: winit::dpi::PhysicalPosition, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EPSILON` is never used [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const EPSILON: f32 = 0.001; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FRAC_1_PI` is never used [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const FRAC_1_PI: f32 = 0.31830987; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FRAC_PI_2` is never used [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const FRAC_PI_2: f32 = 1.5707964; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rngState` is never read [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct ComputeShader { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | rngState: GPURNG, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `run_render`, `main_cs`, `rayColor`, `getRay`, and `getScatterRay` are never used [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl ComputeShader { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn run_render(&mut self, queue: &Queue, size: (u32, u32), image_buffer: &mut GPUBuffer) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn main_cs(&mut self, id: UVec3) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | fn rayColor(&mut self, primaryRay: Ray) -> Vec3 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 454 | fn getRay(&mut self, x: u32, y: u32) -> Ray { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 484 | fn getScatterRay(&mut self, inRay: Ray, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `rngNextInUnitHemisphere`, `rngNextUintInRange`, and `advance` are never used [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:577:8 [INFO] [stdout] | [INFO] [stdout] 568 | impl GPURNG { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 577 | fn rngNextInUnitHemisphere(&mut self) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 616 | pub fn rngNextUintInRange(&mut self, min: u32, max: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 634 | fn advance(&mut self, advance_by: u32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `rngState` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | rngState: GPURNG, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `rng_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rngState` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | let mut rngState = GPURNG::initRng(screen_pos, image_size, self.frame_buffer[2]); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `rng_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rngState` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:121:75 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn main_cs_parallel(&self, pixel_row: &mut [[f32;3]], row: usize, rngState: &mut GPURNG) { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `rng_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rayColor_parallel` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 134 | fn rayColor_parallel(&self, primaryRay: Ray, rngState: &mut GPURNG) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `ray_color_parallel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `primaryRay` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:134:33 [INFO] [stdout] | [INFO] [stdout] 134 | fn rayColor_parallel(&self, primaryRay: Ray, rngState: &mut GPURNG) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `primary_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rngState` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:134:50 [INFO] [stdout] | [INFO] [stdout] 134 | fn rayColor_parallel(&self, primaryRay: Ray, rngState: &mut GPURNG) -> Vec3 { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `rng_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nextRay` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | let mut nextRay = primaryRay.clone(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `next_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `payLoad` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:142:21 [INFO] [stdout] | [INFO] [stdout] 142 | let mut payLoad = HitPayload::default(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `pay_load` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rayColor` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:191:8 [INFO] [stdout] | [INFO] [stdout] 191 | fn rayColor(&mut self, primaryRay: Ray) -> Vec3 { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `ray_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `primaryRay` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:191:28 [INFO] [stdout] | [INFO] [stdout] 191 | fn rayColor(&mut self, primaryRay: Ray) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `primary_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nextRay` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | let mut nextRay = primaryRay.clone(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `next_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `payLoad` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:199:21 [INFO] [stdout] | [INFO] [stdout] 199 | let mut payLoad = HitPayload::default(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `pay_load` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `TraceRay` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:217:8 [INFO] [stdout] | [INFO] [stdout] 217 | fn TraceRay(&self, ray: Ray, hit: &mut HitPayload) -> bool { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `trace_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `camera` [INFO] [stdout] --> cpu_tracer/src/main.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let camera = Camera::new( [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tempHitPayload` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:223:17 [INFO] [stdout] | [INFO] [stdout] 223 | let mut tempHitPayload = HitPayload::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `temp_hit_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newHitPayload` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:235:33 [INFO] [stdout] | [INFO] [stdout] 235 | let mut newHitPayload = HitPayload::default(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `new_hit_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newHitPayload` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:286:25 [INFO] [stdout] | [INFO] [stdout] 286 | let mut newHitPayload= HitPayload::default(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `new_hit_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sphereIdx` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:326:29 [INFO] [stdout] | [INFO] [stdout] 326 | fn hit(&self, ray: Ray, sphereIdx: u32, t_min: f32, t_nearest: f32, payload: & mut HitPayload) -> bool { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `sphere_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `hitSphere` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 354 | fn hitSphere(&self, t: f32, ray: Ray, sphere: Sphere, idx: u32) -> HitPayload { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `hit_sphere` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getRay_parallel` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:366:8 [INFO] [stdout] | [INFO] [stdout] 366 | fn getRay_parallel(&self, x: u32, y: u32, rngState: &mut GPURNG) -> Ray { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_ray_parallel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rngState` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:366:47 [INFO] [stdout] | [INFO] [stdout] 366 | fn getRay_parallel(&self, x: u32, y: u32, rngState: &mut GPURNG) -> Ray { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `rng_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `projPoint` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:372:17 [INFO] [stdout] | [INFO] [stdout] 372 | let mut projPoint = Mat4::from_cols_array_2d(&self.inv_proj_matrix) * Vec4::new(point.x, point.y, 1.0, 1.0); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `proj_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pLens` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:381:17 [INFO] [stdout] | [INFO] [stdout] 381 | let pLens= (self.camera_data.defocus_radius() * offset).extend(1.0); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `p_lens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lensOrigin` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:382:21 [INFO] [stdout] | [INFO] [stdout] 382 | let mut lensOrigin = Mat4::from_cols_array_2d(&self.view_matrix) * pLens; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `lens_origin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rayDir` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:390:13 [INFO] [stdout] | [INFO] [stdout] 390 | let rayDir = Mat4::from_cols_array_2d(&self.view_matrix) * projPoint.with_w(0.0); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `ray_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getScatterRay_parallel` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:396:8 [INFO] [stdout] | [INFO] [stdout] 396 | fn getScatterRay_parallel(&self, inRay: Ray, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_scatter_ray_parallel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inRay` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:396:38 [INFO] [stdout] | [INFO] [stdout] 396 | fn getScatterRay_parallel(&self, inRay: Ray, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `in_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rngState` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:398:39 [INFO] [stdout] | [INFO] [stdout] 398 | hit: HitPayload, rngState: &mut GPURNG) [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `rng_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `randomBounce` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:407:21 [INFO] [stdout] | [INFO] [stdout] 407 | let randomBounce= rngState.rngNextVec3InUnitSphere().normalize(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `random_bounce` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `randomBounce` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:415:21 [INFO] [stdout] | [INFO] [stdout] 415 | let randomBounce= rngState.rngNextVec3InUnitSphere().normalize(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `random_bounce` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cosTheta` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:424:25 [INFO] [stdout] | [INFO] [stdout] 424 | let mut cosTheta = norm.dot(-uv).min(1.0); // as uv represents incoming, -uv is outgoing direction [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `cos_theta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `etaOverEtaPrime` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:425:25 [INFO] [stdout] | [INFO] [stdout] 425 | let mut etaOverEtaPrime: f32 = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `eta_over_eta_prime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `refractDirection` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:436:25 [INFO] [stdout] | [INFO] [stdout] 436 | let mut refractDirection = Vec3::ZERO; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `refract_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getRay` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:454:8 [INFO] [stdout] | [INFO] [stdout] 454 | fn getRay(&mut self, x: u32, y: u32) -> Ray { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `get_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `projPoint` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:460:17 [INFO] [stdout] | [INFO] [stdout] 460 | let mut projPoint = Mat4::from_cols_array_2d(&self.inv_proj_matrix) * Vec4::new(point.x, point.y, 1.0, 1.0); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `proj_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pLens` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:469:17 [INFO] [stdout] | [INFO] [stdout] 469 | let pLens= (self.camera_data.defocus_radius() * offset).extend(1.0); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `p_lens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lensOrigin` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:470:21 [INFO] [stdout] | [INFO] [stdout] 470 | let mut lensOrigin = Mat4::from_cols_array_2d(&self.view_matrix) * pLens; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `lens_origin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rayDir` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:478:13 [INFO] [stdout] | [INFO] [stdout] 478 | let rayDir = Mat4::from_cols_array_2d(&self.view_matrix) * projPoint.with_w(0.0); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `ray_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getScatterRay` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:484:8 [INFO] [stdout] | [INFO] [stdout] 484 | fn getScatterRay(&mut self, inRay: Ray, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_scatter_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inRay` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:484:33 [INFO] [stdout] | [INFO] [stdout] 484 | fn getScatterRay(&mut self, inRay: Ray, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `in_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `randomBounce` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:495:21 [INFO] [stdout] | [INFO] [stdout] 495 | let randomBounce= self.rngState.rngNextVec3InUnitSphere().normalize(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `random_bounce` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `randomBounce` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:503:21 [INFO] [stdout] | [INFO] [stdout] 503 | let randomBounce= self.rngState.rngNextVec3InUnitSphere().normalize(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `random_bounce` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cosTheta` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:512:25 [INFO] [stdout] | [INFO] [stdout] 512 | let mut cosTheta = norm.dot(-uv).min(1.0); // as uv represents incoming, -uv is outgoing direction [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `cos_theta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `etaOverEtaPrime` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:513:25 [INFO] [stdout] | [INFO] [stdout] 513 | let mut etaOverEtaPrime: f32 = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `eta_over_eta_prime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `refractDirection` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:524:25 [INFO] [stdout] | [INFO] [stdout] 524 | let mut refractDirection = Vec3::ZERO; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `refract_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `refractionIndex` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:542:36 [INFO] [stdout] | [INFO] [stdout] 542 | fn schlick(&self, cosine: f32, refractionIndex: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `refraction_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cosTheta` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:553:13 [INFO] [stdout] | [INFO] [stdout] 553 | let cosTheta: f32 = uv.dot(n); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `cos_theta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `initRng` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:569:8 [INFO] [stdout] | [INFO] [stdout] 569 | fn initRng(pixel: UVec2, resolution: (usize, usize), frame: u32) -> Self { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `init_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rngNextInUnitHemisphere` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:577:8 [INFO] [stdout] | [INFO] [stdout] 577 | fn rngNextInUnitHemisphere(&mut self) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rng_next_in_unit_hemisphere` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sinTheta` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:582:13 [INFO] [stdout] | [INFO] [stdout] 582 | let sinTheta = (1.0 - r2 * r2).sqrt(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `sin_theta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rngNextVec3InUnitDisk` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:591:8 [INFO] [stdout] | [INFO] [stdout] 591 | fn rngNextVec3InUnitDisk(&mut self) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rng_next_vec3_in_unit_disk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rngNextVec3InUnitSphere` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:602:12 [INFO] [stdout] | [INFO] [stdout] 602 | pub fn rngNextVec3InUnitSphere(&mut self) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rng_next_vec3_in_unit_sphere` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rngNextUintInRange` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:616:12 [INFO] [stdout] | [INFO] [stdout] 616 | pub fn rngNextUintInRange(&mut self, min: u32, max: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rng_next_uint_in_range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rngNextFloat` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:621:12 [INFO] [stdout] | [INFO] [stdout] 621 | pub fn rngNextFloat(&mut self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `rng_next_float` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rngNextInt` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:626:12 [INFO] [stdout] | [INFO] [stdout] 626 | pub fn rngNextInt(&mut self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `rng_next_int` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `oldState` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:628:13 [INFO] [stdout] | [INFO] [stdout] 628 | let oldState = (self.state.wrapping_mul(747796405)).wrapping_add(2891336453); // LCG [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `old_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `jenkinsHash` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:652:8 [INFO] [stdout] | [INFO] [stdout] 652 | fn jenkinsHash(input: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `jenkins_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `GPURNG` is more private than the item `ComputeShader::main_cs_parallel` [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn main_cs_parallel(&self, pixel_row: &mut [[f32;3]], row: usize, rngState: &mut GPURNG) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `ComputeShader::main_cs_parallel` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `GPURNG` is only usable at visibility `pub(self)` [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:564:1 [INFO] [stdout] | [INFO] [stdout] 564 | struct GPURNG { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cursor_position` is never read [INFO] [stdout] --> cpu_tracer/src/app.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct App<'a> { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | cursor_position: winit::dpi::PhysicalPosition, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EPSILON` is never used [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const EPSILON: f32 = 0.001; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FRAC_1_PI` is never used [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const FRAC_1_PI: f32 = 0.31830987; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FRAC_PI_2` is never used [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const FRAC_PI_2: f32 = 1.5707964; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rngState` is never read [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct ComputeShader { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | rngState: GPURNG, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `run_render`, `main_cs`, `rayColor`, `getRay`, and `getScatterRay` are never used [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl ComputeShader { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn run_render(&mut self, queue: &Queue, size: (u32, u32), image_buffer: &mut GPUBuffer) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn main_cs(&mut self, id: UVec3) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | fn rayColor(&mut self, primaryRay: Ray) -> Vec3 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 454 | fn getRay(&mut self, x: u32, y: u32) -> Ray { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 484 | fn getScatterRay(&mut self, inRay: Ray, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `rngNextInUnitHemisphere`, `rngNextUintInRange`, and `advance` are never used [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:577:8 [INFO] [stdout] | [INFO] [stdout] 568 | impl GPURNG { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 577 | fn rngNextInUnitHemisphere(&mut self) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 616 | pub fn rngNextUintInRange(&mut self, min: u32, max: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 634 | fn advance(&mut self, advance_by: u32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `rngState` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | rngState: GPURNG, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `rng_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rngState` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | let mut rngState = GPURNG::initRng(screen_pos, image_size, self.frame_buffer[2]); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `rng_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rngState` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:121:75 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn main_cs_parallel(&self, pixel_row: &mut [[f32;3]], row: usize, rngState: &mut GPURNG) { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `rng_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rayColor_parallel` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 134 | fn rayColor_parallel(&self, primaryRay: Ray, rngState: &mut GPURNG) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `ray_color_parallel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `primaryRay` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:134:33 [INFO] [stdout] | [INFO] [stdout] 134 | fn rayColor_parallel(&self, primaryRay: Ray, rngState: &mut GPURNG) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `primary_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rngState` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:134:50 [INFO] [stdout] | [INFO] [stdout] 134 | fn rayColor_parallel(&self, primaryRay: Ray, rngState: &mut GPURNG) -> Vec3 { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `rng_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nextRay` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | let mut nextRay = primaryRay.clone(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `next_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `payLoad` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:142:21 [INFO] [stdout] | [INFO] [stdout] 142 | let mut payLoad = HitPayload::default(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `pay_load` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rayColor` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:191:8 [INFO] [stdout] | [INFO] [stdout] 191 | fn rayColor(&mut self, primaryRay: Ray) -> Vec3 { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `ray_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `primaryRay` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:191:28 [INFO] [stdout] | [INFO] [stdout] 191 | fn rayColor(&mut self, primaryRay: Ray) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `primary_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nextRay` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | let mut nextRay = primaryRay.clone(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `next_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `payLoad` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:199:21 [INFO] [stdout] | [INFO] [stdout] 199 | let mut payLoad = HitPayload::default(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `pay_load` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `TraceRay` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:217:8 [INFO] [stdout] | [INFO] [stdout] 217 | fn TraceRay(&self, ray: Ray, hit: &mut HitPayload) -> bool { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `trace_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tempHitPayload` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:223:17 [INFO] [stdout] | [INFO] [stdout] 223 | let mut tempHitPayload = HitPayload::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `temp_hit_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newHitPayload` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:235:33 [INFO] [stdout] | [INFO] [stdout] 235 | let mut newHitPayload = HitPayload::default(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `new_hit_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newHitPayload` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:286:25 [INFO] [stdout] | [INFO] [stdout] 286 | let mut newHitPayload= HitPayload::default(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `new_hit_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sphereIdx` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:326:29 [INFO] [stdout] | [INFO] [stdout] 326 | fn hit(&self, ray: Ray, sphereIdx: u32, t_min: f32, t_nearest: f32, payload: & mut HitPayload) -> bool { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `sphere_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `hitSphere` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 354 | fn hitSphere(&self, t: f32, ray: Ray, sphere: Sphere, idx: u32) -> HitPayload { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `hit_sphere` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getRay_parallel` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:366:8 [INFO] [stdout] | [INFO] [stdout] 366 | fn getRay_parallel(&self, x: u32, y: u32, rngState: &mut GPURNG) -> Ray { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_ray_parallel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rngState` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:366:47 [INFO] [stdout] | [INFO] [stdout] 366 | fn getRay_parallel(&self, x: u32, y: u32, rngState: &mut GPURNG) -> Ray { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `rng_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `projPoint` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:372:17 [INFO] [stdout] | [INFO] [stdout] 372 | let mut projPoint = Mat4::from_cols_array_2d(&self.inv_proj_matrix) * Vec4::new(point.x, point.y, 1.0, 1.0); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `proj_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pLens` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:381:17 [INFO] [stdout] | [INFO] [stdout] 381 | let pLens= (self.camera_data.defocus_radius() * offset).extend(1.0); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `p_lens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lensOrigin` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:382:21 [INFO] [stdout] | [INFO] [stdout] 382 | let mut lensOrigin = Mat4::from_cols_array_2d(&self.view_matrix) * pLens; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `lens_origin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rayDir` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:390:13 [INFO] [stdout] | [INFO] [stdout] 390 | let rayDir = Mat4::from_cols_array_2d(&self.view_matrix) * projPoint.with_w(0.0); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `ray_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getScatterRay_parallel` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:396:8 [INFO] [stdout] | [INFO] [stdout] 396 | fn getScatterRay_parallel(&self, inRay: Ray, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_scatter_ray_parallel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inRay` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:396:38 [INFO] [stdout] | [INFO] [stdout] 396 | fn getScatterRay_parallel(&self, inRay: Ray, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `in_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rngState` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:398:39 [INFO] [stdout] | [INFO] [stdout] 398 | hit: HitPayload, rngState: &mut GPURNG) [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `rng_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `randomBounce` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:407:21 [INFO] [stdout] | [INFO] [stdout] 407 | let randomBounce= rngState.rngNextVec3InUnitSphere().normalize(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `random_bounce` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `randomBounce` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:415:21 [INFO] [stdout] | [INFO] [stdout] 415 | let randomBounce= rngState.rngNextVec3InUnitSphere().normalize(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `random_bounce` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cosTheta` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:424:25 [INFO] [stdout] | [INFO] [stdout] 424 | let mut cosTheta = norm.dot(-uv).min(1.0); // as uv represents incoming, -uv is outgoing direction [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `cos_theta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `etaOverEtaPrime` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:425:25 [INFO] [stdout] | [INFO] [stdout] 425 | let mut etaOverEtaPrime: f32 = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `eta_over_eta_prime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `refractDirection` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:436:25 [INFO] [stdout] | [INFO] [stdout] 436 | let mut refractDirection = Vec3::ZERO; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `refract_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getRay` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:454:8 [INFO] [stdout] | [INFO] [stdout] 454 | fn getRay(&mut self, x: u32, y: u32) -> Ray { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `get_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `projPoint` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:460:17 [INFO] [stdout] | [INFO] [stdout] 460 | let mut projPoint = Mat4::from_cols_array_2d(&self.inv_proj_matrix) * Vec4::new(point.x, point.y, 1.0, 1.0); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `proj_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pLens` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:469:17 [INFO] [stdout] | [INFO] [stdout] 469 | let pLens= (self.camera_data.defocus_radius() * offset).extend(1.0); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `p_lens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lensOrigin` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:470:21 [INFO] [stdout] | [INFO] [stdout] 470 | let mut lensOrigin = Mat4::from_cols_array_2d(&self.view_matrix) * pLens; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `lens_origin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rayDir` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:478:13 [INFO] [stdout] | [INFO] [stdout] 478 | let rayDir = Mat4::from_cols_array_2d(&self.view_matrix) * projPoint.with_w(0.0); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `ray_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getScatterRay` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:484:8 [INFO] [stdout] | [INFO] [stdout] 484 | fn getScatterRay(&mut self, inRay: Ray, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_scatter_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inRay` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:484:33 [INFO] [stdout] | [INFO] [stdout] 484 | fn getScatterRay(&mut self, inRay: Ray, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `in_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `randomBounce` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:495:21 [INFO] [stdout] | [INFO] [stdout] 495 | let randomBounce= self.rngState.rngNextVec3InUnitSphere().normalize(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `random_bounce` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `randomBounce` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:503:21 [INFO] [stdout] | [INFO] [stdout] 503 | let randomBounce= self.rngState.rngNextVec3InUnitSphere().normalize(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `random_bounce` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cosTheta` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:512:25 [INFO] [stdout] | [INFO] [stdout] 512 | let mut cosTheta = norm.dot(-uv).min(1.0); // as uv represents incoming, -uv is outgoing direction [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `cos_theta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `etaOverEtaPrime` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:513:25 [INFO] [stdout] | [INFO] [stdout] 513 | let mut etaOverEtaPrime: f32 = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `eta_over_eta_prime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `refractDirection` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:524:25 [INFO] [stdout] | [INFO] [stdout] 524 | let mut refractDirection = Vec3::ZERO; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `refract_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `refractionIndex` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:542:36 [INFO] [stdout] | [INFO] [stdout] 542 | fn schlick(&self, cosine: f32, refractionIndex: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `refraction_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cosTheta` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:553:13 [INFO] [stdout] | [INFO] [stdout] 553 | let cosTheta: f32 = uv.dot(n); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `cos_theta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `initRng` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:569:8 [INFO] [stdout] | [INFO] [stdout] 569 | fn initRng(pixel: UVec2, resolution: (usize, usize), frame: u32) -> Self { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `init_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rngNextInUnitHemisphere` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:577:8 [INFO] [stdout] | [INFO] [stdout] 577 | fn rngNextInUnitHemisphere(&mut self) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rng_next_in_unit_hemisphere` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sinTheta` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:582:13 [INFO] [stdout] | [INFO] [stdout] 582 | let sinTheta = (1.0 - r2 * r2).sqrt(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `sin_theta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rngNextVec3InUnitDisk` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:591:8 [INFO] [stdout] | [INFO] [stdout] 591 | fn rngNextVec3InUnitDisk(&mut self) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rng_next_vec3_in_unit_disk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rngNextVec3InUnitSphere` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:602:12 [INFO] [stdout] | [INFO] [stdout] 602 | pub fn rngNextVec3InUnitSphere(&mut self) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rng_next_vec3_in_unit_sphere` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rngNextUintInRange` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:616:12 [INFO] [stdout] | [INFO] [stdout] 616 | pub fn rngNextUintInRange(&mut self, min: u32, max: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rng_next_uint_in_range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rngNextFloat` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:621:12 [INFO] [stdout] | [INFO] [stdout] 621 | pub fn rngNextFloat(&mut self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `rng_next_float` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rngNextInt` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:626:12 [INFO] [stdout] | [INFO] [stdout] 626 | pub fn rngNextInt(&mut self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `rng_next_int` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `oldState` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:628:13 [INFO] [stdout] | [INFO] [stdout] 628 | let oldState = (self.state.wrapping_mul(747796405)).wrapping_add(2891336453); // LCG [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `old_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `jenkinsHash` should have a snake case name [INFO] [stdout] --> cpu_tracer/src/compute_shader.rs:652:8 [INFO] [stdout] | [INFO] [stdout] 652 | fn jenkinsHash(input: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `jenkins_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compute_start_end_timestamps` [INFO] [stdout] --> gpu_tracer/src/gpu_timing.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let compute_start_end_timestamps = [timestamps[0], timestamps[1]]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compute_start_end_timestamps` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cursor_position` is never read [INFO] [stdout] --> gpu_tracer/src/app.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct App<'a> { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | cursor_position: winit::dpi::PhysicalPosition, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `image_buffer`, `spheres_buffer`, `materials_buffer`, and `bvh_buffer` are never read [INFO] [stdout] --> gpu_tracer/src/path_tracer/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct PathTracer { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 14 | image_buffer: GPUBuffer, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | spheres_buffer: GPUBuffer, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 18 | materials_buffer: GPUBuffer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | bvh_buffer: GPUBuffer, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> gpu_tracer/src/query_gpu.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl QueryResults { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Queries` is never constructed [INFO] [stdout] --> gpu_tracer/src/gpu_timing.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Queries { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `running_avg` is never read [INFO] [stdout] --> gpu_tracer/src/gpu_timing.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct QueryResults { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 14 | compute_start_end_timestamps: [u64; 2], [INFO] [stdout] 15 | running_avg: VecDeque [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `NUM_QUERIES`, `RUNNING_AVG_LENGTH`, `new`, `process_raw_results`, and `get_running_avg` are never used [INFO] [stdout] --> gpu_tracer/src/gpu_timing.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 18 | impl QueryResults { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub const NUM_QUERIES: u64 = 2; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 23 | pub const RUNNING_AVG_LENGTH: usize = 10; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | [INFO] [stdout] 25 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn process_raw_results(&mut self, queue: &Queue, timestamps: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn get_running_avg(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `resolve`, and `wait_for_results` are never used [INFO] [stdout] --> gpu_tracer/src/gpu_timing.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 72 | impl Queries { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 73 | pub(crate) fn new(device: &wgpu::Device, num_queries: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn resolve(&self, encoder: &mut wgpu::CommandEncoder) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn wait_for_results(&self, device: &wgpu::Device) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glam::Vec3` [INFO] [stdout] --> gpu_tracer/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use glam::Vec3; [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: `glam::Vec3` [INFO] [stdout] --> gpu_tracer/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use glam::Vec3; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 53.91s [INFO] running `Command { std: "docker" "inspect" "56b8b12d44e14c9bb5e5b49c534544583257a78d03520726b7e9165ca8da37fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56b8b12d44e14c9bb5e5b49c534544583257a78d03520726b7e9165ca8da37fb", kill_on_drop: false }` [INFO] [stdout] 56b8b12d44e14c9bb5e5b49c534544583257a78d03520726b7e9165ca8da37fb