[INFO] cloning repository https://github.com/lucas2-718/atmo_raytrace [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lucas2-718/atmo_raytrace" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucas2-718%2Fatmo_raytrace", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucas2-718%2Fatmo_raytrace'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c096cf3d672cd0af879d319241c95150dc21c330 [INFO] checking lucas2-718/atmo_raytrace against master#59fd4ef94daa991e6797b5aa6127e824f3067def for pr-145108-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucas2-718%2Fatmo_raytrace" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lucas2-718/atmo_raytrace [INFO] finished tweaking git repo https://github.com/lucas2-718/atmo_raytrace [INFO] tweaked toml for git repo https://github.com/lucas2-718/atmo_raytrace written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lucas2-718/atmo_raytrace on toolchain 59fd4ef94daa991e6797b5aa6127e824f3067def [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+59fd4ef94daa991e6797b5aa6127e824f3067def" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lucas2-718/atmo_raytrace 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" "+59fd4ef94daa991e6797b5aa6127e824f3067def" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded memmap2 v0.9.4 [INFO] [stderr] Downloaded gpp v0.6.2 [INFO] [stderr] Downloaded wayland-sys v0.31.4 [INFO] [stderr] Downloaded wayland-backend v0.3.6 [INFO] [stderr] Downloaded wayland-client v0.31.5 [INFO] [stderr] Downloaded wayland-scanner v0.31.4 [INFO] [stderr] Downloaded wayland-protocols v0.32.3 [INFO] [stderr] Downloaded quick-xml v0.34.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+59fd4ef94daa991e6797b5aa6127e824f3067def" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 978b42e7496a6ba2150881168779cc2041b92deb74bdd4781c3dcee7c426d7f7 [INFO] running `Command { std: "docker" "start" "-a" "978b42e7496a6ba2150881168779cc2041b92deb74bdd4781c3dcee7c426d7f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "978b42e7496a6ba2150881168779cc2041b92deb74bdd4781c3dcee7c426d7f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "978b42e7496a6ba2150881168779cc2041b92deb74bdd4781c3dcee7c426d7f7", kill_on_drop: false }` [INFO] [stdout] 978b42e7496a6ba2150881168779cc2041b92deb74bdd4781c3dcee7c426d7f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+59fd4ef94daa991e6797b5aa6127e824f3067def" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c1c3056825a62b37ba3d1efa2e00e2d5b3ef377ad27258bfefacd7fde330536 [INFO] running `Command { std: "docker" "start" "-a" "0c1c3056825a62b37ba3d1efa2e00e2d5b3ef377ad27258bfefacd7fde330536", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Checking once_cell v1.20.3 [INFO] [stderr] Checking log v0.4.25 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling wayland-sys v0.31.4 [INFO] [stderr] Compiling cc v1.1.13 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Compiling wayland-client v0.31.5 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling naga v24.0.0 [INFO] [stderr] Compiling ash v0.38.0+1.3.281 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling wgpu-hal v24.0.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking xcursor v0.3.8 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling quick-xml v0.34.0 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking unicode-xid v0.2.6 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking ordered-float v4.6.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling wgpu-core v24.0.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking glow v0.16.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Compiling wgpu v24.0.1 [INFO] [stderr] Compiling winit v0.30.5 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking khronos-egl v6.0.0 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking x11-dl v2.21.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking gpp v0.6.2 [INFO] [stderr] Checking indexmap v2.4.0 [INFO] [stderr] Compiling wayland-scanner v0.31.4 [INFO] [stderr] Checking bitflags v2.8.0 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking wgpu-types v24.0.0 [INFO] [stderr] Checking gpu-descriptor v0.3.0 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Compiling wayland-backend v0.3.6 [INFO] [stderr] Checking polling v3.7.3 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking wayland-protocols v0.32.3 [INFO] [stderr] Checking wayland-cursor v0.31.5 [INFO] [stderr] Compiling bytemuck_derive v1.7.1 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.3 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.3 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking bytemuck v1.21.0 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking untitled1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BufferAddress`, `Color`, `CommandEncoder`, `SurfaceConfiguration`, `TextureView`, `VertexAttribute`, and `VertexStepMode` [INFO] [stdout] --> src/shaders.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | ...::{BufferAddress, Color, ColorTargetState, CommandEncoder, Device, Error, ErrorFilter, MultisampleState, PipelineLayout, RenderPass, RenderPipeline, ShaderModule, SurfaceConfiguration, TextureView, VertexAttribute, VertexBufferLayout, VertexStepMode}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wgpu::BindGroupLayout` [INFO] [stdout] --> src/shaders.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use wgpu::BindGroupLayout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TextureView` [INFO] [stdout] --> src/app.rs:2:134 [INFO] [stdout] | [INFO] [stdout] 2 | ...Mode, Queue, Surface, SurfaceCapabilities, SurfaceTexture, TextureView}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Device` and `RenderPipeline` [INFO] [stdout] --> src/pipelines.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use wgpu::{Device, RenderPipeline}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::marker::PhantomData` [INFO] [stdout] --> src/mesh.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufferSlice` [INFO] [stdout] --> src/mesh.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use wgpu::{BufferSlice, Device, RenderPass, RenderPipeline, VertexBufferLayout}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wgpu::util::DeviceExt` [INFO] [stdout] --> src/mesh.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use wgpu::util::DeviceExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BindGroupLayout` [INFO] [stdout] --> src/trace.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use wgpu::{BindGroupLayout, Device, RenderPipeline}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::buffer::Buffer` [INFO] [stdout] --> src/trace.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::buffer::Buffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wgpu::core::id::markers::Queue` [INFO] [stdout] --> src/buffer.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use wgpu::core::id::markers::Queue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Matrix3` [INFO] [stdout] --> src/camera.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use cgmath::{InnerSpace, Matrix3, Matrix4, Point3, SquareMatrix, Vector3, Vector4}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wgpu::naga::SwitchValue::Default` [INFO] [stdout] --> src/camera.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wgpu::naga::SwitchValue::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Match` [INFO] [stdout] --> src/wgsl.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use regex::{Match, Regex, RegexBuilder}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `intersperse` [INFO] [stdout] --> src/wgsl.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use itertools::{intersperse, Itertools}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/wgsl.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 51 | if (idx>=self.namecarr.len()) { [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] 51 - if (idx>=self.namecarr.len()) { [INFO] [stdout] 51 + if idx>=self.namecarr.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/wgsl.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 76 | if (c == self.namecarr[idx]) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 76 - if (c == self.namecarr[idx]) { [INFO] [stdout] 76 + if c == self.namecarr[idx] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/wgsl.rs:234:12 [INFO] [stdout] | [INFO] [stdout] 234 | if (line.starts_with('#')) {directiveBin.push(line);} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 234 - if (line.starts_with('#')) {directiveBin.push(line);} [INFO] [stdout] 234 + if line.starts_with('#') {directiveBin.push(line);} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CommandEncoder`, `RenderPipeline`, and `TextureView` [INFO] [stdout] --> src/main.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | use wgpu::{CommandEncoder, RenderPipeline, TextureView, TextureViewDescriptor}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::mesh::*` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::mesh::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufferAddress`, `Color`, `CommandEncoder`, `SurfaceConfiguration`, `TextureView`, `VertexAttribute`, and `VertexStepMode` [INFO] [stdout] --> src/shaders.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | ...::{BufferAddress, Color, ColorTargetState, CommandEncoder, Device, Error, ErrorFilter, MultisampleState, PipelineLayout, RenderPass, RenderPipeline, ShaderModule, SurfaceConfiguration, TextureView, VertexAttribute, VertexBufferLayout, VertexStepMode}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wgpu::BindGroupLayout` [INFO] [stdout] --> src/shaders.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use wgpu::BindGroupLayout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TextureView` [INFO] [stdout] --> src/app.rs:2:134 [INFO] [stdout] | [INFO] [stdout] 2 | ...Mode, Queue, Surface, SurfaceCapabilities, SurfaceTexture, TextureView}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Device` and `RenderPipeline` [INFO] [stdout] --> src/pipelines.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use wgpu::{Device, RenderPipeline}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::marker::PhantomData` [INFO] [stdout] --> src/mesh.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufferSlice` [INFO] [stdout] --> src/mesh.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use wgpu::{BufferSlice, Device, RenderPass, RenderPipeline, VertexBufferLayout}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wgpu::util::DeviceExt` [INFO] [stdout] --> src/mesh.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use wgpu::util::DeviceExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BindGroupLayout` [INFO] [stdout] --> src/trace.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use wgpu::{BindGroupLayout, Device, RenderPipeline}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::buffer::Buffer` [INFO] [stdout] --> src/trace.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::buffer::Buffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wgpu::core::id::markers::Queue` [INFO] [stdout] --> src/buffer.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use wgpu::core::id::markers::Queue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Matrix3` [INFO] [stdout] --> src/camera.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use cgmath::{InnerSpace, Matrix3, Matrix4, Point3, SquareMatrix, Vector3, Vector4}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wgpu::naga::SwitchValue::Default` [INFO] [stdout] --> src/camera.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wgpu::naga::SwitchValue::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Match` [INFO] [stdout] --> src/wgsl.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use regex::{Match, Regex, RegexBuilder}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `intersperse` [INFO] [stdout] --> src/wgsl.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use itertools::{intersperse, Itertools}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/wgsl.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 51 | if (idx>=self.namecarr.len()) { [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] 51 - if (idx>=self.namecarr.len()) { [INFO] [stdout] 51 + if idx>=self.namecarr.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/wgsl.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 76 | if (c == self.namecarr[idx]) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 76 - if (c == self.namecarr[idx]) { [INFO] [stdout] 76 + if c == self.namecarr[idx] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/wgsl.rs:234:12 [INFO] [stdout] | [INFO] [stdout] 234 | if (line.starts_with('#')) {directiveBin.push(line);} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 234 - if (line.starts_with('#')) {directiveBin.push(line);} [INFO] [stdout] 234 + if line.starts_with('#') {directiveBin.push(line);} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CommandEncoder`, `RenderPipeline`, and `TextureView` [INFO] [stdout] --> src/main.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | use wgpu::{CommandEncoder, RenderPipeline, TextureView, TextureViewDescriptor}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::mesh::*` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::mesh::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/wgsl.rs:237:57 [INFO] [stdout] | [INFO] [stdout] 237 | directiveBin.into_iter().chain(codeBin.into_iter()).intersperse("\n").collect() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `itertools::Itertools::intersperse(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] help: add `#![feature(iter_intersperse)]` to the crate attributes to enable `std::iter::Iterator::intersperse` [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(iter_intersperse)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/wgsl.rs:237:57 [INFO] [stdout] | [INFO] [stdout] 237 | directiveBin.into_iter().chain(codeBin.into_iter()).intersperse("\n").collect() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `itertools::Itertools::intersperse(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] help: add `#![feature(iter_intersperse)]` to the crate attributes to enable `std::iter::Iterator::intersperse` [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(iter_intersperse)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label` [INFO] [stdout] --> src/shaders.rs:27:60 [INFO] [stdout] | [INFO] [stdout] 27 | ...der: Option, label: &str, render_pipeline_layout: &PipelineLayout, vbuffers: &[VertexBufferLayout], fbuffers: &[Opt... [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_label` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta` [INFO] [stdout] --> src/app.rs:37:30 [INFO] [stdout] | [INFO] [stdout] 37 | fn mouse_move(&mut self, delta: (f64, f64)) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/app.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | fn mouse(&mut self, state: ElementState) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta` [INFO] [stdout] --> src/app.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | fn mouse_wheel(&mut self, delta: (f64, f64)) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_loop` [INFO] [stdout] --> src/app.rs:76:32 [INFO] [stdout] | [INFO] [stdout] 76 | fn device_event(&mut self, event_loop: &ActiveEventLoop, device_id: DeviceId, event: DeviceEvent) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_id` [INFO] [stdout] --> src/app.rs:76:62 [INFO] [stdout] | [INFO] [stdout] 76 | fn device_event(&mut self, event_loop: &ActiveEventLoop, device_id: DeviceId, event: DeviceEvent) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_device_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label` [INFO] [stdout] --> src/shaders.rs:27:60 [INFO] [stdout] | [INFO] [stdout] 27 | ...der: Option, label: &str, render_pipeline_layout: &PipelineLayout, vbuffers: &[VertexBufferLayout], fbuffers: &[Opt... [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_label` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta` [INFO] [stdout] --> src/app.rs:37:30 [INFO] [stdout] | [INFO] [stdout] 37 | fn mouse_move(&mut self, delta: (f64, f64)) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/app.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | fn mouse(&mut self, state: ElementState) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta` [INFO] [stdout] --> src/app.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | fn mouse_wheel(&mut self, delta: (f64, f64)) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_loop` [INFO] [stdout] --> src/app.rs:76:32 [INFO] [stdout] | [INFO] [stdout] 76 | fn device_event(&mut self, event_loop: &ActiveEventLoop, device_id: DeviceId, event: DeviceEvent) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_id` [INFO] [stdout] --> src/app.rs:76:62 [INFO] [stdout] | [INFO] [stdout] 76 | fn device_event(&mut self, event_loop: &ActiveEventLoop, device_id: DeviceId, event: DeviceEvent) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_device_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ipm` [INFO] [stdout] --> src/camera.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 105 | if let Some(ipm) = pm.invert() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ipm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/wgsl.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 68 | (0, c) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ipm` [INFO] [stdout] --> src/camera.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 105 | if let Some(ipm) = pm.invert() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ipm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e1` [INFO] [stdout] --> src/wgsl.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | Err(e1) => match std::fs::read_to_string(format!("C:/Users/Home/RustroverProjects/untitled1/src/{}",path)) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_e1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e2` [INFO] [stdout] --> src/wgsl.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | Err(e2) => match std::fs::read_to_string(format!("C:/Users/Home/RustroverProjects/untitled1/src{}",path)) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_e2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e3` [INFO] [stdout] --> src/wgsl.rs:140:21 [INFO] [stdout] | [INFO] [stdout] 140 | Err(e3) => format!("Error: Unable to find file {}!",path) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_e3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/wgsl.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 68 | (0, c) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CameraUniforms` is more private than the item `camera::Camera::camera_uniforms` [INFO] [stdout] --> src/camera.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub camera_uniforms: CameraUniforms, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `camera::Camera::camera_uniforms` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `CameraUniforms` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/camera.rs:130:1 [INFO] [stdout] | [INFO] [stdout] 130 | struct CameraUniforms { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mesh_pipeline` is never read [INFO] [stdout] --> src/pipelines.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Pipelines { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 7 | pub mesh_pipeline: MeshPipelines, [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] --> src/mesh.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Vertex { [INFO] [stdout] | ^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/mesh.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / #[repr(C)] [INFO] [stdout] 8 | | #[derive(Copy,Clone,Debug,Pod,Zeroable)] [INFO] [stdout] 9 | | pub struct Vertex { [INFO] [stdout] 10 | | pub pos: [f32; 3], [INFO] [stdout] 11 | | pub clr: [f32; 3], [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mesh` is never constructed [INFO] [stdout] --> src/mesh.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Mesh { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_components`, `new`, and `draw` are never used [INFO] [stdout] --> src/mesh.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl Mesh { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 48 | pub fn from_components(vertex_buffer: Buffer, index_buffer: Buffer) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn new(device: &Device, vertices: &[Vertex], indices: &[u32]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn draw(&self, pass: &mut RenderPass) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `basic` is never read [INFO] [stdout] --> src/mesh.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct MeshPipelines { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 65 | pub basic: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Buffer` is never constructed [INFO] [stdout] --> src/buffer.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Buffer { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `buf`, `all`, and `len` are never used [INFO] [stdout] --> src/buffer.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Buffer { [INFO] [stdout] | --------------------------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new(device: &Device, values: &[T], usage: wgpu::BufferUsages) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn buf(&self) -> &wgpu::Buffer { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn all(&self) -> BufferSlice { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn len(&self) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `view_matrix_3` and `build_view_projection_matrix` are never used [INFO] [stdout] --> src/camera.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 46 | impl Camera { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 83 | fn view_matrix_3(&self) -> cgmath::Matrix3 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | fn build_view_projection_matrix(&self) -> cgmath::Matrix4 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e1` [INFO] [stdout] --> src/wgsl.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | Err(e1) => match std::fs::read_to_string(format!("C:/Users/Home/RustroverProjects/untitled1/src/{}",path)) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_e1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/camera.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | struct CameraUniforms { [INFO] [stdout] | ^^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/camera.rs:127:1 [INFO] [stdout] | [INFO] [stdout] 127 | / #[repr(C)] [INFO] [stdout] 128 | | // This is so we can store this in a buffer [INFO] [stdout] 129 | | #[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 130 | | struct CameraUniforms { [INFO] [stdout] ... | [INFO] [stdout] 140 | | time_ms: u32, [INFO] [stdout] 141 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `args` are never read [INFO] [stdout] --> src/wgsl.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | struct Instantiator { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 14 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | namecarr: Vec, [INFO] [stdout] 16 | args: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instantiator` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_path` is never used [INFO] [stdout] --> src/wgsl.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 155 | impl GenericsCode { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 156 | pub fn from_path(path: &str) -> GenericsCode { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/buffer.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn all(&self) -> BufferSlice { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 28 | pub fn all(&self) -> BufferSlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e2` [INFO] [stdout] --> src/wgsl.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | Err(e2) => match std::fs::read_to_string(format!("C:/Users/Home/RustroverProjects/untitled1/src{}",path)) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_e2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `directiveBin` should have a snake case name [INFO] [stdout] --> src/wgsl.rs:231:13 [INFO] [stdout] | [INFO] [stdout] 231 | let mut directiveBin = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `directive_bin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e3` [INFO] [stdout] --> src/wgsl.rs:140:21 [INFO] [stdout] | [INFO] [stdout] 140 | Err(e3) => format!("Error: Unable to find file {}!",path) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_e3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `codeBin` should have a snake case name [INFO] [stdout] --> src/wgsl.rs:232:13 [INFO] [stdout] | [INFO] [stdout] 232 | let mut codeBin = Vec::new(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `code_bin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CameraUniforms` is more private than the item `camera::Camera::camera_uniforms` [INFO] [stdout] --> src/camera.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub camera_uniforms: CameraUniforms, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `camera::Camera::camera_uniforms` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `CameraUniforms` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/camera.rs:130:1 [INFO] [stdout] | [INFO] [stdout] 130 | struct CameraUniforms { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mesh_pipeline` is never read [INFO] [stdout] --> src/pipelines.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Pipelines { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 7 | pub mesh_pipeline: MeshPipelines, [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] --> src/mesh.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Vertex { [INFO] [stdout] | ^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/mesh.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / #[repr(C)] [INFO] [stdout] 8 | | #[derive(Copy,Clone,Debug,Pod,Zeroable)] [INFO] [stdout] 9 | | pub struct Vertex { [INFO] [stdout] 10 | | pub pos: [f32; 3], [INFO] [stdout] 11 | | pub clr: [f32; 3], [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mesh` is never constructed [INFO] [stdout] --> src/mesh.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Mesh { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_components`, `new`, and `draw` are never used [INFO] [stdout] --> src/mesh.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl Mesh { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 48 | pub fn from_components(vertex_buffer: Buffer, index_buffer: Buffer) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn new(device: &Device, vertices: &[Vertex], indices: &[u32]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn draw(&self, pass: &mut RenderPass) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `basic` is never read [INFO] [stdout] --> src/mesh.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct MeshPipelines { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 65 | pub basic: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Buffer` is never constructed [INFO] [stdout] --> src/buffer.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Buffer { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `buf`, `all`, and `len` are never used [INFO] [stdout] --> src/buffer.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Buffer { [INFO] [stdout] | --------------------------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new(device: &Device, values: &[T], usage: wgpu::BufferUsages) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn buf(&self) -> &wgpu::Buffer { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn all(&self) -> BufferSlice { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn len(&self) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `view_matrix_3` and `build_view_projection_matrix` are never used [INFO] [stdout] --> src/camera.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 46 | impl Camera { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 83 | fn view_matrix_3(&self) -> cgmath::Matrix3 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | fn build_view_projection_matrix(&self) -> cgmath::Matrix4 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/camera.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | struct CameraUniforms { [INFO] [stdout] | ^^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/camera.rs:127:1 [INFO] [stdout] | [INFO] [stdout] 127 | / #[repr(C)] [INFO] [stdout] 128 | | // This is so we can store this in a buffer [INFO] [stdout] 129 | | #[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 130 | | struct CameraUniforms { [INFO] [stdout] ... | [INFO] [stdout] 140 | | time_ms: u32, [INFO] [stdout] 141 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `args` are never read [INFO] [stdout] --> src/wgsl.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | struct Instantiator { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 14 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | namecarr: Vec, [INFO] [stdout] 16 | args: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instantiator` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_path` is never used [INFO] [stdout] --> src/wgsl.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 155 | impl GenericsCode { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 156 | pub fn from_path(path: &str) -> GenericsCode { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/buffer.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn all(&self) -> BufferSlice { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 28 | pub fn all(&self) -> BufferSlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `directiveBin` should have a snake case name [INFO] [stdout] --> src/wgsl.rs:231:13 [INFO] [stdout] | [INFO] [stdout] 231 | let mut directiveBin = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `directive_bin` [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 `codeBin` should have a snake case name [INFO] [stdout] --> src/wgsl.rs:232:13 [INFO] [stdout] | [INFO] [stdout] 232 | let mut codeBin = Vec::new(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `code_bin` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 58s [INFO] running `Command { std: "docker" "inspect" "0c1c3056825a62b37ba3d1efa2e00e2d5b3ef377ad27258bfefacd7fde330536", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c1c3056825a62b37ba3d1efa2e00e2d5b3ef377ad27258bfefacd7fde330536", kill_on_drop: false }` [INFO] [stdout] 0c1c3056825a62b37ba3d1efa2e00e2d5b3ef377ad27258bfefacd7fde330536