[INFO] cloning repository https://github.com/patsore/particle-fun
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/patsore/particle-fun" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatsore%2Fparticle-fun", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatsore%2Fparticle-fun'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0919c51d9350371b04a7e850889c2c1dea56ccf3
[INFO] checking patsore/particle-fun against master#dc375db7d8df0aa450e622c529147c95eee756f5 for pr-156749
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatsore%2Fparticle-fun" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/patsore/particle-fun
[INFO] finished tweaking git repo https://github.com/patsore/particle-fun
[INFO] tweaked toml for git repo https://github.com/patsore/particle-fun written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/patsore/particle-fun on toolchain dc375db7d8df0aa450e622c529147c95eee756f5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dc375db7d8df0aa450e622c529147c95eee756f5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/patsore/particle-fun 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" "+dc375db7d8df0aa450e622c529147c95eee756f5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded winit_input_helper v0.16.0
[INFO] [stderr]   Downloaded proc-macro2 v1.0.83
[INFO] [stderr]   Downloaded wayland-sys v0.31.4
[INFO] [stderr]   Downloaded wayland-cursor v0.31.1
[INFO] [stderr]   Downloaded wayland-scanner v0.31.4
[INFO] [stderr]   Downloaded wayland-client v0.31.5
[INFO] [stderr]   Downloaded wayland-backend v0.3.6
[INFO] [stderr]   Downloaded cc v1.0.98
[INFO] [stderr]   Downloaded syn v2.0.66
[INFO] [stderr]   Downloaded quick-xml v0.34.0
[INFO] [stderr]   Downloaded sctk-adwaita v0.8.1
[INFO] [stderr]   Downloaded tokio v1.39.3
[INFO] [stderr]   Downloaded object v0.36.3
[INFO] [stderr]   Downloaded rand_core v0.9.0-alpha.2
[INFO] [stderr]   Downloaded rand_chacha v0.9.0-alpha.2
[INFO] [stderr]   Downloaded rand v0.9.0-alpha.2
[INFO] [stderr]   Downloaded tobj v4.0.2
[INFO] [stderr]   Downloaded flate2 v1.0.31
[INFO] [stderr]   Downloaded rgb v0.8.48
[INFO] [stderr]   Downloaded ravif v0.11.10
[INFO] [stderr]   Downloaded toml_edit v0.22.16
[INFO] [stderr]   Downloaded toml v0.8.15
[INFO] [stderr]   Downloaded serde_spanned v0.6.7
[INFO] [stderr]   Downloaded profiling-procmacros v1.0.15
[INFO] [stderr]   Downloaded built v0.7.4
[INFO] [stderr]   Downloaded bitstream-io v2.5.0
[INFO] [stderr]   Downloaded avif-serialize v0.8.1
[INFO] [stderr]   Downloaded imgref v1.10.1
[INFO] [stderr]   Downloaded image-webp v0.1.3
[INFO] [stderr]   Downloaded flume v0.11.0
[INFO] [stderr]   Downloaded exr v1.72.0
[INFO] [stderr]   Downloaded egui-winit v0.28.1
[INFO] [stderr]   Downloaded ecolor v0.28.1
[INFO] [stderr]   Downloaded emath v0.28.1
[INFO] [stderr]   Downloaded egui v0.28.1
[INFO] [stderr]   Downloaded arboard v3.4.0
[INFO] [stderr]   Downloaded smithay-clipboard v0.7.1
[INFO] [stderr]   Downloaded epaint v0.28.1
[INFO] [stderr]   Downloaded error-code v3.2.0
[INFO] [stderr]   Downloaded clipboard-win v5.3.1
[INFO] [stderr]   Downloaded egui-wgpu v0.28.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 7d9ff76cf6dbe484d28fb1f460920e9a860b94f797be0a785d7b5219a5530127
[INFO] running `Command { std: "docker" "start" "7d9ff76cf6dbe484d28fb1f460920e9a860b94f797be0a785d7b5219a5530127", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7d9ff76cf6dbe484d28fb1f460920e9a860b94f797be0a785d7b5219a5530127" "/opt/rustwide/cargo-home/bin/cargo" "+dc375db7d8df0aa450e622c529147c95eee756f5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7d9ff76cf6dbe484d28fb1f460920e9a860b94f797be0a785d7b5219a5530127", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7d9ff76cf6dbe484d28fb1f460920e9a860b94f797be0a785d7b5219a5530127" "/opt/rustwide/cargo-home/bin/cargo" "+dc375db7d8df0aa450e622c529147c95eee756f5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.83
[INFO] [stderr]     Checking bitflags v2.6.0
[INFO] [stderr]    Compiling rustix v0.38.34
[INFO] [stderr]     Checking linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling cc v1.0.98
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling wayland-sys v0.31.4
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling memchr v2.7.2
[INFO] [stderr]    Compiling wayland-client v0.31.5
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]     Checking ttf-parser v0.21.1
[INFO] [stderr]    Compiling smithay-client-toolkit v0.18.1
[INFO] [stderr]     Checking xcursor v0.3.5
[INFO] [stderr]     Checking unicode-width v0.1.12
[INFO] [stderr]     Checking miniz_oxide v0.7.4
[INFO] [stderr]     Checking gpu-descriptor-types v0.2.0
[INFO] [stderr]     Checking spirv v0.3.0+sdk-1.3.268.0
[INFO] [stderr]     Checking gpu-alloc-types v0.3.0
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking codespan-reporting v0.11.1
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]    Compiling wgpu-hal v0.21.1
[INFO] [stderr]    Compiling winit v0.29.15
[INFO] [stderr]     Checking aligned-vec v0.5.0
[INFO] [stderr]    Compiling built v0.7.4
[INFO] [stderr]     Checking either v1.13.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 v_frame v0.3.8
[INFO] [stderr]     Checking khronos-egl v6.0.0
[INFO] [stderr]     Checking x11-dl v2.21.0
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking gpu-alloc v0.6.0
[INFO] [stderr]     Checking wgpu-types v0.20.0
[INFO] [stderr]     Checking xkbcommon-dl v0.4.2
[INFO] [stderr]    Compiling rav1e v0.7.1
[INFO] [stderr]     Checking unicode-normalization v0.1.23
[INFO] [stderr]     Checking parking_lot v0.12.2
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling quick-xml v0.34.0
[INFO] [stderr]    Compiling wgpu-core v0.21.1
[INFO] [stderr]     Checking nohash-hasher v0.2.0
[INFO] [stderr]     Checking flate2 v1.0.31
[INFO] [stderr]     Checking itertools v0.12.1
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]    Compiling wgpu v0.20.1
[INFO] [stderr]     Checking maybe-rayon v0.1.1
[INFO] [stderr]     Checking imgref v1.10.1
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]    Compiling simd_helpers v0.1.0
[INFO] [stderr]     Checking quick-error v2.0.1
[INFO] [stderr]     Checking new_debug_unreachable v1.0.6
[INFO] [stderr]     Checking weezl v0.1.8
[INFO] [stderr]    Compiling noop_proc_macro v0.3.0
[INFO] [stderr]     Checking bitstream-io v2.5.0
[INFO] [stderr]     Checking flume v0.11.0
[INFO] [stderr]     Checking loop9 v0.1.5
[INFO] [stderr]     Checking zune-inflate v0.2.54
[INFO] [stderr]     Checking avif-serialize v0.8.1
[INFO] [stderr]    Compiling wayland-scanner v0.31.4
[INFO] [stderr]     Checking half v2.4.1
[INFO] [stderr]     Checking jpeg-decoder v0.3.1
[INFO] [stderr]     Checking bit_field v0.10.2
[INFO] [stderr]     Checking lebe v0.5.2
[INFO] [stderr]     Checking url v2.5.0
[INFO] [stderr]     Checking png v0.17.13
[INFO] [stderr]     Checking gif v0.13.1
[INFO] [stderr]     Checking zune-jpeg v0.4.13
[INFO] [stderr]     Checking num-rational v0.4.2
[INFO] [stderr]     Checking exr v1.72.0
[INFO] [stderr]    Compiling wayland-backend v0.3.6
[INFO] [stderr]     Checking image-webp v0.1.3
[INFO] [stderr]     Checking rayon v1.10.0
[INFO] [stderr]     Checking webbrowser v1.0.1
[INFO] [stderr]     Checking socket2 v0.5.7
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking tiff v0.9.1
[INFO] [stderr]     Checking mio v1.0.2
[INFO] [stderr]     Checking type-map v0.5.0
[INFO] [stderr]     Checking web-time v1.1.0
[INFO] [stderr]     Checking bytes v1.6.0
[INFO] [stderr]     Checking pollster v0.3.0
[INFO] [stderr]     Checking owned_ttf_parser v0.21.0
[INFO] [stderr]     Checking ab_glyph v0.2.26
[INFO] [stderr]     Checking av1-grain v0.2.3
[INFO] [stderr]    Compiling zerocopy-derive v0.7.34
[INFO] [stderr]    Compiling thiserror-impl v1.0.63
[INFO] [stderr]    Compiling bytemuck_derive v1.6.0
[INFO] [stderr]    Compiling profiling-procmacros v1.0.15
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]    Compiling arg_enum_proc_macro v0.3.4
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]     Checking polling v3.7.0
[INFO] [stderr]     Checking x11rb v0.13.1
[INFO] [stderr]     Checking tokio v1.39.3
[INFO] [stderr]     Checking profiling v1.0.15
[INFO] [stderr]     Checking zerocopy v0.7.34
[INFO] [stderr]     Checking wayland-csd-frame v0.3.0
[INFO] [stderr]     Checking thiserror v1.0.63
[INFO] [stderr]     Checking calloop v0.12.4
[INFO] [stderr]     Checking rand_core v0.9.0-alpha.2
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking bytemuck v1.16.0
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking tobj v4.0.2
[INFO] [stderr]     Checking tiny-skia-path v0.11.4
[INFO] [stderr]     Checking emath v0.28.1
[INFO] [stderr]     Checking rgb v0.8.48
[INFO] [stderr]     Checking qoi v0.4.1
[INFO] [stderr]     Checking glam v0.28.0
[INFO] [stderr]     Checking rand_chacha v0.9.0-alpha.2
[INFO] [stderr]     Checking rand v0.9.0-alpha.2
[INFO] [stderr]     Checking ecolor v0.28.1
[INFO] [stderr]     Checking indexmap v2.2.6
[INFO] [stderr]     Checking gpu-descriptor v0.3.0
[INFO] [stderr]     Checking wayland-protocols v0.31.2
[INFO] [stderr]     Checking calloop-wayland-source v0.2.0
[INFO] [stderr]     Checking wayland-cursor v0.31.1
[INFO] [stderr]     Checking tiny-skia v0.11.4
[INFO] [stderr]     Checking epaint v0.28.1
[INFO] [stderr]     Checking arboard v3.4.0
[INFO] [stderr]     Checking naga v0.20.0
[INFO] [stderr]     Checking egui v0.28.1
[INFO] [stderr]     Checking ravif v0.11.10
[INFO] [stderr]     Checking wayland-protocols-wlr v0.2.0
[INFO] [stderr]     Checking wayland-protocols-plasma v0.2.0
[INFO] [stderr]     Checking image v0.25.2
[INFO] [stderr]     Checking sctk-adwaita v0.8.1
[INFO] [stderr]     Checking smithay-clipboard v0.7.1
[INFO] [stderr]     Checking egui-winit v0.28.1
[INFO] [stderr]     Checking winit_input_helper v0.16.0
[INFO] [stderr]     Checking egui-wgpu v0.28.1
[INFO] [stderr]     Checking vector-field-visualizer v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Fullscreen`
[INFO] [stdout]   --> src/main.rs:14:37
[INFO] [stdout]    |
[INFO] [stdout] 14 | use winit::window::{CursorGrabMode, Fullscreen};
[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 imports: `Face`, `IndexFormat`, and `Queue`
[INFO] [stdout]  --> src/renderer.rs:3:172
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...e, Face, FragmentState, FrontFace, include_wgsl, IndexFormat, LoadOp, Operations, PipelineLayoutDescriptor, PolygonMode, PrimitiveState, PrimitiveTopology, Queue, R...
[INFO] [stdout]   |       ^^^^                                          ^^^^^^^^^^^                                                                                                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::vector::Vector`
[INFO] [stdout]  --> src/renderer.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::vector::Vector;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `glam::Vec3`
[INFO] [stdout]  --> src/camera/mod.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use glam::Vec3;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Fullscreen`
[INFO] [stdout]   --> src/main.rs:14:37
[INFO] [stdout]    |
[INFO] [stdout] 14 | use winit::window::{CursorGrabMode, Fullscreen};
[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 imports: `Face`, `IndexFormat`, and `Queue`
[INFO] [stdout]  --> src/renderer.rs:3:172
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...e, Face, FragmentState, FrontFace, include_wgsl, IndexFormat, LoadOp, Operations, PipelineLayoutDescriptor, PolygonMode, PrimitiveState, PrimitiveTopology, Queue, R...
[INFO] [stdout]   |       ^^^^                                          ^^^^^^^^^^^                                                                                                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::vector::Vector`
[INFO] [stdout]  --> src/renderer.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::vector::Vector;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `glam::Vec3`
[INFO] [stdout]  --> src/camera/mod.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use glam::Vec3;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ui`
[INFO] [stdout]   --> src/egui_tools.rs:70:65
[INFO] [stdout]    |
[INFO] [stdout] 70 |         let full_output = self.state.egui_ctx().run(raw_input, |ui| {
[INFO] [stdout]    |                                                                 ^^ help: if this is intentional, prefix it with an underscore: `_ui`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `smoke_radius`
[INFO] [stdout]   --> src/fluid_vec.rs:63:63
[INFO] [stdout]    |
[INFO] [stdout] 63 |     pub fn setup_wind_tunnel(&mut self, inflow_velocity: f32, smoke_radius: usize) {
[INFO] [stdout]    |                                                               ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_smoke_radius`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `center_y`
[INFO] [stdout]   --> src/fluid_vec.rs:88:13
[INFO] [stdout]    |
[INFO] [stdout] 88 |         let center_y = self.grid_height / 2;
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_center_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `center_y`
[INFO] [stdout]    --> src/fluid_vec.rs:101:13
[INFO] [stdout]     |
[INFO] [stdout] 101 |         let center_y = self.grid_height / 2;
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_center_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/fluid_vec.rs:154:25
[INFO] [stdout]     |
[INFO] [stdout] 154 |                     let s = self.cell_kind[index] as f32;
[INFO] [stdout]     |                         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]    --> src/fluid_vec.rs:335:13
[INFO] [stdout]     |
[INFO] [stdout] 335 |         let n = self.grid_width;
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ui`
[INFO] [stdout]   --> src/egui_tools.rs:70:65
[INFO] [stdout]    |
[INFO] [stdout] 70 |         let full_output = self.state.egui_ctx().run(raw_input, |ui| {
[INFO] [stdout]    |                                                                 ^^ help: if this is intentional, prefix it with an underscore: `_ui`
[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]    --> src/main.rs:138:9
[INFO] [stdout]     |
[INFO] [stdout] 138 |     let mut scale_factor = 1.0;
[INFO] [stdout]     |         ----^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `smoke_radius`
[INFO] [stdout]   --> src/fluid_vec.rs:63:63
[INFO] [stdout]    |
[INFO] [stdout] 63 |     pub fn setup_wind_tunnel(&mut self, inflow_velocity: f32, smoke_radius: usize) {
[INFO] [stdout]    |                                                               ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_smoke_radius`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `center_y`
[INFO] [stdout]   --> src/fluid_vec.rs:88:13
[INFO] [stdout]    |
[INFO] [stdout] 88 |         let center_y = self.grid_height / 2;
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_center_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `models::Mesh` is more private than the item `models::Model::meshes`
[INFO] [stdout]   --> src/models.rs:72:5
[INFO] [stdout]    |
[INFO] [stdout] 72 |     pub meshes: Vec<Mesh>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^ field `models::Model::meshes` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `models::Mesh` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/models.rs:76:1
[INFO] [stdout]    |
[INFO] [stdout] 76 | struct Mesh {
[INFO] [stdout]    | ^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `models::Material` is more private than the item `models::Model::materials`
[INFO] [stdout]   --> src/models.rs:73:5
[INFO] [stdout]    |
[INFO] [stdout] 73 |     pub materials: Vec<Material>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `models::Model::materials` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `models::Material` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/models.rs:84:1
[INFO] [stdout]    |
[INFO] [stdout] 84 | struct Material {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `models::Mesh` is more private than the item `DrawModel::draw_mesh`
[INFO] [stdout]    --> src/models.rs:211:5
[INFO] [stdout]     |
[INFO] [stdout] 211 |     fn draw_mesh(&mut self, mesh: &'a Mesh);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `DrawModel::draw_mesh` is reachable at visibility `pub(crate)`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `models::Mesh` is only usable at visibility `pub(self)`
[INFO] [stdout]    --> src/models.rs:76:1
[INFO] [stdout]     |
[INFO] [stdout]  76 | struct Mesh {
[INFO] [stdout]     | ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `models::Mesh` is more private than the item `DrawModel::draw_mesh_instanced`
[INFO] [stdout]    --> src/models.rs:212:5
[INFO] [stdout]     |
[INFO] [stdout] 212 | /     fn draw_mesh_instanced(
[INFO] [stdout] 213 | |         &mut self,
[INFO] [stdout] 214 | |         mesh: &'a Mesh,
[INFO] [stdout] 215 | |         instances: Range<u32>,
[INFO] [stdout] 216 | |     );
[INFO] [stdout]     | |______^ method `DrawModel::draw_mesh_instanced` is reachable at visibility `pub(crate)`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `models::Mesh` is only usable at visibility `pub(self)`
[INFO] [stdout]    --> src/models.rs:76:1
[INFO] [stdout]     |
[INFO] [stdout]  76 | struct Mesh {
[INFO] [stdout]     | ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `center_y`
[INFO] [stdout]    --> src/fluid_vec.rs:101:13
[INFO] [stdout]     |
[INFO] [stdout] 101 |         let center_y = self.grid_height / 2;
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_center_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `models::Mesh` is more private than the item `<egui_wgpu::wgpu::RenderPass<'a> as DrawModel<'b>>::draw_mesh`
[INFO] [stdout]    --> src/models.rs:222:5
[INFO] [stdout]     |
[INFO] [stdout] 222 |     fn draw_mesh(&mut self, mesh: &'b Mesh) {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `<egui_wgpu::wgpu::RenderPass<'a> as DrawModel<'b>>::draw_mesh` is reachable at visibility `pub(crate)`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `models::Mesh` is only usable at visibility `pub(self)`
[INFO] [stdout]    --> src/models.rs:76:1
[INFO] [stdout]     |
[INFO] [stdout]  76 | struct Mesh {
[INFO] [stdout]     | ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `models::Mesh` is more private than the item `<egui_wgpu::wgpu::RenderPass<'a> as DrawModel<'b>>::draw_mesh_instanced`
[INFO] [stdout]    --> src/models.rs:226:5
[INFO] [stdout]     |
[INFO] [stdout] 226 | /     fn draw_mesh_instanced(
[INFO] [stdout] 227 | |         &mut self,
[INFO] [stdout] 228 | |         mesh: &'b Mesh,
[INFO] [stdout] 229 | |         instances: Range<u32>,
[INFO] [stdout] 230 | |     ){
[INFO] [stdout]     | |_____^ method `<egui_wgpu::wgpu::RenderPass<'a> as DrawModel<'b>>::draw_mesh_instanced` is reachable at visibility `pub(crate)`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `models::Mesh` is only usable at visibility `pub(self)`
[INFO] [stdout]    --> src/models.rs:76:1
[INFO] [stdout]     |
[INFO] [stdout]  76 | struct Mesh {
[INFO] [stdout]     | ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `context` and `ppp` are never used
[INFO] [stdout]   --> src/egui_tools.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl EguiRenderer {
[INFO] [stdout]    | ----------------- methods in this implementation
[INFO] [stdout] 14 |     pub fn context(&self) -> &Context {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub fn ppp(&mut self, v: f32) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/fluid_vec.rs:154:25
[INFO] [stdout]     |
[INFO] [stdout] 154 |                     let s = self.cell_kind[index] as f32;
[INFO] [stdout]     |                         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `camera_buffer` is never read
[INFO] [stdout]   --> src/renderer.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct Renderer {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 16 |     camera_buffer: Arc<Buffer>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/vector.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct Vector {
[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/vector.rs:6:1
[INFO] [stdout]    |
[INFO] [stdout]  6 | / #[repr(C)]
[INFO] [stdout]  7 | | #[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stdout]  8 | | pub struct Vector {
[INFO] [stdout]  9 | |     pub(crate) start: Vec3,
[INFO] [stdout] ...  |
[INFO] [stdout] 12 | |     pub(crate) rotation: Mat3,
[INFO] [stdout] 13 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `DESC`, `new`, `update_rotation`, and `calculate_rotation_matrix` are never used
[INFO] [stdout]   --> src/vector.rs:16:22
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Vector {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 16 |     pub(crate) const DESC: VertexBufferLayout<'static> =
[INFO] [stdout]    |                      ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn new(start: Vec3, direction: Vec3, magnitude: f32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn update_rotation(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     fn calculate_rotation_matrix(direction: Vec3) -> Mat3 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `up` and `z_far` are never read
[INFO] [stdout]   --> src/camera/camera.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct Camera {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |     pub up: Vec3,
[INFO] [stdout]    |         ^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub z_far: f32,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/models.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct ModelVertex {
[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/models.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | / #[repr(C)]
[INFO] [stdout] 14 | | #[derive(Copy, Clone, Debug, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stdout] 15 | | pub struct ModelVertex {
[INFO] [stdout] 16 | |     pub position: [f32; 3],
[INFO] [stdout] 17 | |     pub tex_coords: [f32; 2],
[INFO] [stdout] 18 | |     pub normal: [f32; 3],
[INFO] [stdout] 19 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/models.rs:50:12
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub struct CloudPoint {
[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/models.rs:48:1
[INFO] [stdout]    |
[INFO] [stdout] 48 | / #[repr(C)]
[INFO] [stdout] 49 | | #[derive(Copy, Clone, Debug, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stdout] 50 | | pub struct CloudPoint {
[INFO] [stdout] 51 | |     pub position: [f32;4],
[INFO] [stdout] 52 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Model` is never constructed
[INFO] [stdout]   --> src/models.rs:71:19
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub(crate) struct Model {
[INFO] [stdout]    |                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Mesh` is never constructed
[INFO] [stdout]   --> src/models.rs:76:8
[INFO] [stdout]    |
[INFO] [stdout] 76 | struct Mesh {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Material` is never constructed
[INFO] [stdout]   --> src/models.rs:84:8
[INFO] [stdout]    |
[INFO] [stdout] 84 | struct Material {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_texture` is never used
[INFO] [stdout]   --> src/models.rs:90:14
[INFO] [stdout]    |
[INFO] [stdout] 90 | pub async fn load_texture(
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_string` is never used
[INFO] [stdout]   --> src/models.rs:99:14
[INFO] [stdout]    |
[INFO] [stdout] 99 | pub async fn load_string(file_name: &str) -> anyhow::Result<String> {
[INFO] [stdout]    |              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_model` is never used
[INFO] [stdout]    --> src/models.rs:105:14
[INFO] [stdout]     |
[INFO] [stdout] 105 | pub async fn load_model(
[INFO] [stdout]     |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `DrawModel` is never used
[INFO] [stdout]    --> src/models.rs:210:11
[INFO] [stdout]     |
[INFO] [stdout] 210 | pub trait DrawModel<'a> {
[INFO] [stdout]     |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `texture` and `sampler` are never read
[INFO] [stdout]  --> src/texture.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub(crate) struct Texture {
[INFO] [stdout]   |                   ------- fields in this struct
[INFO] [stdout] 6 |     pub texture: egui_wgpu::wgpu::Texture,
[INFO] [stdout]   |         ^^^^^^^
[INFO] [stdout] 7 |     pub view: TextureView,
[INFO] [stdout] 8 |     pub sampler: Sampler,
[INFO] [stdout]   |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `from_bytes` and `from_image` are never used
[INFO] [stdout]   --> src/texture.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Texture {
[INFO] [stdout]    | ------------ associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub fn from_bytes(
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub fn from_image(device: &Device, queue: &Queue, image: &DynamicImage, label: Option<&str>) -> Result<Self> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FluidSim` is never constructed
[INFO] [stdout]  --> src/fluid_vec.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct FluidSim {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DT` is never used
[INFO] [stdout]   --> src/fluid_vec.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | const DT: f32 = 0.001;
[INFO] [stdout]    |       ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GRAVITY_VEC` is never used
[INFO] [stdout]   --> src/fluid_vec.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | const GRAVITY_VEC: Vec2 = Vec2::new(0.0, -9.8);
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `OVER_RELAXATION` is never used
[INFO] [stdout]   --> src/fluid_vec.rs:18:7
[INFO] [stdout]    |
[INFO] [stdout] 18 | const OVER_RELAXATION: f32 = 1.9;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `FieldType` is never used
[INFO] [stdout]   --> src/fluid_vec.rs:20:6
[INFO] [stdout]    |
[INFO] [stdout] 20 | enum FieldType {
[INFO] [stdout]    |      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/fluid_vec.rs:27:12
[INFO] [stdout]     |
[INFO] [stdout]  26 | impl FluidSim {
[INFO] [stdout]     | ------------- associated items in this implementation
[INFO] [stdout]  27 |     pub fn new(grid_width: usize, grid_height: usize, cell_size: f32, density: f32) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  63 |     pub fn setup_wind_tunnel(&mut self, inflow_velocity: f32, smoke_radius: usize) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  99 |     pub fn add_smoke(&mut self){
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 113 |     pub fn simulate(&mut self, dt: f32, gravity: Vec2, num_iters: usize) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 126 |     pub fn integrate(&mut self, dt: f32, gravity: Vec2) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |     pub fn solve_incompressibility(&mut self, num_iters: usize) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 181 |     fn sample_field(&self, x: f32, y: f32, field: FieldType) -> f32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 226 |     fn avg_u(&self, i: usize, j: usize) -> f32 {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 231 |     fn avg_v(&self, i: usize, j: usize) -> f32 {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 236 |     pub fn advect_vel(&mut self, dt: f32) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 274 |     pub fn advect_smoke(&mut self, dt: f32) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 302 |     pub fn to_vectors(&self) -> Vec<crate::vector::Vector> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 334 |     pub fn extrapolate(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `point_buffer` is never read
[INFO] [stdout]   --> src/compute.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct Compute {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout]  9 |     pub pipeline: ComputePipeline,
[INFO] [stdout] 10 |     pub point_buffer: Arc<Buffer>,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/compute.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct Inputs {
[INFO] [stdout]    |            ^^^^^^ field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]    --> src/fluid_vec.rs:335:13
[INFO] [stdout]     |
[INFO] [stdout] 335 |         let n = self.grid_width;
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check` is never used
[INFO] [stdout]   --> src/compute.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | / #[repr(C)]
[INFO] [stdout] 19 | | #[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stdout] 20 | | pub struct Inputs {
[INFO] [stdout] 21 | |     pub time: f32,
[INFO] [stdout] ...  |
[INFO] [stdout] 24 | |     pub c2: f32,
[INFO] [stdout] 25 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `EventResponse` that must be used
[INFO] [stdout]   --> src/egui_tools.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |         self.state.on_window_event(window, event);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 48 |         let _ = self.state.on_window_event(window, event);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:138:9
[INFO] [stdout]     |
[INFO] [stdout] 138 |     let mut scale_factor = 1.0;
[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: type `models::Mesh` is more private than the item `models::Model::meshes`
[INFO] [stdout]   --> src/models.rs:72:5
[INFO] [stdout]    |
[INFO] [stdout] 72 |     pub meshes: Vec<Mesh>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^ field `models::Model::meshes` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `models::Mesh` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/models.rs:76:1
[INFO] [stdout]    |
[INFO] [stdout] 76 | struct Mesh {
[INFO] [stdout]    | ^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `models::Material` is more private than the item `models::Model::materials`
[INFO] [stdout]   --> src/models.rs:73:5
[INFO] [stdout]    |
[INFO] [stdout] 73 |     pub materials: Vec<Material>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `models::Model::materials` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `models::Material` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/models.rs:84:1
[INFO] [stdout]    |
[INFO] [stdout] 84 | struct Material {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `models::Mesh` is more private than the item `DrawModel::draw_mesh`
[INFO] [stdout]    --> src/models.rs:211:5
[INFO] [stdout]     |
[INFO] [stdout] 211 |     fn draw_mesh(&mut self, mesh: &'a Mesh);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `DrawModel::draw_mesh` is reachable at visibility `pub(crate)`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `models::Mesh` is only usable at visibility `pub(self)`
[INFO] [stdout]    --> src/models.rs:76:1
[INFO] [stdout]     |
[INFO] [stdout]  76 | struct Mesh {
[INFO] [stdout]     | ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `models::Mesh` is more private than the item `DrawModel::draw_mesh_instanced`
[INFO] [stdout]    --> src/models.rs:212:5
[INFO] [stdout]     |
[INFO] [stdout] 212 | /     fn draw_mesh_instanced(
[INFO] [stdout] 213 | |         &mut self,
[INFO] [stdout] 214 | |         mesh: &'a Mesh,
[INFO] [stdout] 215 | |         instances: Range<u32>,
[INFO] [stdout] 216 | |     );
[INFO] [stdout]     | |______^ method `DrawModel::draw_mesh_instanced` is reachable at visibility `pub(crate)`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `models::Mesh` is only usable at visibility `pub(self)`
[INFO] [stdout]    --> src/models.rs:76:1
[INFO] [stdout]     |
[INFO] [stdout]  76 | struct Mesh {
[INFO] [stdout]     | ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `models::Mesh` is more private than the item `<egui_wgpu::wgpu::RenderPass<'a> as DrawModel<'b>>::draw_mesh`
[INFO] [stdout]    --> src/models.rs:222:5
[INFO] [stdout]     |
[INFO] [stdout] 222 |     fn draw_mesh(&mut self, mesh: &'b Mesh) {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `<egui_wgpu::wgpu::RenderPass<'a> as DrawModel<'b>>::draw_mesh` is reachable at visibility `pub(crate)`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `models::Mesh` is only usable at visibility `pub(self)`
[INFO] [stdout]    --> src/models.rs:76:1
[INFO] [stdout]     |
[INFO] [stdout]  76 | struct Mesh {
[INFO] [stdout]     | ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `models::Mesh` is more private than the item `<egui_wgpu::wgpu::RenderPass<'a> as DrawModel<'b>>::draw_mesh_instanced`
[INFO] [stdout]    --> src/models.rs:226:5
[INFO] [stdout]     |
[INFO] [stdout] 226 | /     fn draw_mesh_instanced(
[INFO] [stdout] 227 | |         &mut self,
[INFO] [stdout] 228 | |         mesh: &'b Mesh,
[INFO] [stdout] 229 | |         instances: Range<u32>,
[INFO] [stdout] 230 | |     ){
[INFO] [stdout]     | |_____^ method `<egui_wgpu::wgpu::RenderPass<'a> as DrawModel<'b>>::draw_mesh_instanced` is reachable at visibility `pub(crate)`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `models::Mesh` is only usable at visibility `pub(self)`
[INFO] [stdout]    --> src/models.rs:76:1
[INFO] [stdout]     |
[INFO] [stdout]  76 | struct Mesh {
[INFO] [stdout]     | ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `context` and `ppp` are never used
[INFO] [stdout]   --> src/egui_tools.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl EguiRenderer {
[INFO] [stdout]    | ----------------- methods in this implementation
[INFO] [stdout] 14 |     pub fn context(&self) -> &Context {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub fn ppp(&mut self, v: f32) {
[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 `camera_buffer` is never read
[INFO] [stdout]   --> src/renderer.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct Renderer {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 16 |     camera_buffer: Arc<Buffer>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/vector.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct Vector {
[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/vector.rs:6:1
[INFO] [stdout]    |
[INFO] [stdout]  6 | / #[repr(C)]
[INFO] [stdout]  7 | | #[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stdout]  8 | | pub struct Vector {
[INFO] [stdout]  9 | |     pub(crate) start: Vec3,
[INFO] [stdout] ...  |
[INFO] [stdout] 12 | |     pub(crate) rotation: Mat3,
[INFO] [stdout] 13 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `DESC`, `new`, `update_rotation`, and `calculate_rotation_matrix` are never used
[INFO] [stdout]   --> src/vector.rs:16:22
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Vector {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 16 |     pub(crate) const DESC: VertexBufferLayout<'static> =
[INFO] [stdout]    |                      ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn new(start: Vec3, direction: Vec3, magnitude: f32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn update_rotation(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     fn calculate_rotation_matrix(direction: Vec3) -> Mat3 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `up` and `z_far` are never read
[INFO] [stdout]   --> src/camera/camera.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct Camera {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |     pub up: Vec3,
[INFO] [stdout]    |         ^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub z_far: f32,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/models.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct ModelVertex {
[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/models.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | / #[repr(C)]
[INFO] [stdout] 14 | | #[derive(Copy, Clone, Debug, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stdout] 15 | | pub struct ModelVertex {
[INFO] [stdout] 16 | |     pub position: [f32; 3],
[INFO] [stdout] 17 | |     pub tex_coords: [f32; 2],
[INFO] [stdout] 18 | |     pub normal: [f32; 3],
[INFO] [stdout] 19 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/models.rs:50:12
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub struct CloudPoint {
[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/models.rs:48:1
[INFO] [stdout]    |
[INFO] [stdout] 48 | / #[repr(C)]
[INFO] [stdout] 49 | | #[derive(Copy, Clone, Debug, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stdout] 50 | | pub struct CloudPoint {
[INFO] [stdout] 51 | |     pub position: [f32;4],
[INFO] [stdout] 52 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Model` is never constructed
[INFO] [stdout]   --> src/models.rs:71:19
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub(crate) struct Model {
[INFO] [stdout]    |                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Mesh` is never constructed
[INFO] [stdout]   --> src/models.rs:76:8
[INFO] [stdout]    |
[INFO] [stdout] 76 | struct Mesh {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Material` is never constructed
[INFO] [stdout]   --> src/models.rs:84:8
[INFO] [stdout]    |
[INFO] [stdout] 84 | struct Material {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_texture` is never used
[INFO] [stdout]   --> src/models.rs:90:14
[INFO] [stdout]    |
[INFO] [stdout] 90 | pub async fn load_texture(
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_string` is never used
[INFO] [stdout]   --> src/models.rs:99:14
[INFO] [stdout]    |
[INFO] [stdout] 99 | pub async fn load_string(file_name: &str) -> anyhow::Result<String> {
[INFO] [stdout]    |              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_model` is never used
[INFO] [stdout]    --> src/models.rs:105:14
[INFO] [stdout]     |
[INFO] [stdout] 105 | pub async fn load_model(
[INFO] [stdout]     |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `DrawModel` is never used
[INFO] [stdout]    --> src/models.rs:210:11
[INFO] [stdout]     |
[INFO] [stdout] 210 | pub trait DrawModel<'a> {
[INFO] [stdout]     |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `texture` and `sampler` are never read
[INFO] [stdout]  --> src/texture.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub(crate) struct Texture {
[INFO] [stdout]   |                   ------- fields in this struct
[INFO] [stdout] 6 |     pub texture: egui_wgpu::wgpu::Texture,
[INFO] [stdout]   |         ^^^^^^^
[INFO] [stdout] 7 |     pub view: TextureView,
[INFO] [stdout] 8 |     pub sampler: Sampler,
[INFO] [stdout]   |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `from_bytes` and `from_image` are never used
[INFO] [stdout]   --> src/texture.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Texture {
[INFO] [stdout]    | ------------ associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub fn from_bytes(
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub fn from_image(device: &Device, queue: &Queue, image: &DynamicImage, label: Option<&str>) -> Result<Self> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FluidSim` is never constructed
[INFO] [stdout]  --> src/fluid_vec.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct FluidSim {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DT` is never used
[INFO] [stdout]   --> src/fluid_vec.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | const DT: f32 = 0.001;
[INFO] [stdout]    |       ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GRAVITY_VEC` is never used
[INFO] [stdout]   --> src/fluid_vec.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | const GRAVITY_VEC: Vec2 = Vec2::new(0.0, -9.8);
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `OVER_RELAXATION` is never used
[INFO] [stdout]   --> src/fluid_vec.rs:18:7
[INFO] [stdout]    |
[INFO] [stdout] 18 | const OVER_RELAXATION: f32 = 1.9;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `FieldType` is never used
[INFO] [stdout]   --> src/fluid_vec.rs:20:6
[INFO] [stdout]    |
[INFO] [stdout] 20 | enum FieldType {
[INFO] [stdout]    |      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/fluid_vec.rs:27:12
[INFO] [stdout]     |
[INFO] [stdout]  26 | impl FluidSim {
[INFO] [stdout]     | ------------- associated items in this implementation
[INFO] [stdout]  27 |     pub fn new(grid_width: usize, grid_height: usize, cell_size: f32, density: f32) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  63 |     pub fn setup_wind_tunnel(&mut self, inflow_velocity: f32, smoke_radius: usize) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  99 |     pub fn add_smoke(&mut self){
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 113 |     pub fn simulate(&mut self, dt: f32, gravity: Vec2, num_iters: usize) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 126 |     pub fn integrate(&mut self, dt: f32, gravity: Vec2) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |     pub fn solve_incompressibility(&mut self, num_iters: usize) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 181 |     fn sample_field(&self, x: f32, y: f32, field: FieldType) -> f32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 226 |     fn avg_u(&self, i: usize, j: usize) -> f32 {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 231 |     fn avg_v(&self, i: usize, j: usize) -> f32 {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 236 |     pub fn advect_vel(&mut self, dt: f32) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 274 |     pub fn advect_smoke(&mut self, dt: f32) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 302 |     pub fn to_vectors(&self) -> Vec<crate::vector::Vector> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 334 |     pub fn extrapolate(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `point_buffer` is never read
[INFO] [stdout]   --> src/compute.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct Compute {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout]  9 |     pub pipeline: ComputePipeline,
[INFO] [stdout] 10 |     pub point_buffer: Arc<Buffer>,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/compute.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct Inputs {
[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/compute.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | / #[repr(C)]
[INFO] [stdout] 19 | | #[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stdout] 20 | | pub struct Inputs {
[INFO] [stdout] 21 | |     pub time: f32,
[INFO] [stdout] ...  |
[INFO] [stdout] 24 | |     pub c2: f32,
[INFO] [stdout] 25 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `EventResponse` that must be used
[INFO] [stdout]   --> src/egui_tools.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |         self.state.on_window_event(window, event);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 48 |         let _ = self.state.on_window_event(window, event);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 06s
[INFO] running `Command { std: "docker" "inspect" "7d9ff76cf6dbe484d28fb1f460920e9a860b94f797be0a785d7b5219a5530127", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7d9ff76cf6dbe484d28fb1f460920e9a860b94f797be0a785d7b5219a5530127", kill_on_drop: false }`
[INFO] [stdout] 7d9ff76cf6dbe484d28fb1f460920e9a860b94f797be0a785d7b5219a5530127
