[INFO] cloning repository https://github.com/patsore/vector-field-visualizer
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/patsore/vector-field-visualizer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatsore%2Fvector-field-visualizer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatsore%2Fvector-field-visualizer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ebc6d08f8b94098af64a7a3877e9df1ddfc65f6e
[INFO] checking patsore/vector-field-visualizer against try#ad93f57d532978d6739002a21bc66b45ed22f998 for pr-155418
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatsore%2Fvector-field-visualizer" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/patsore/vector-field-visualizer
[INFO] finished tweaking git repo https://github.com/patsore/vector-field-visualizer
[INFO] tweaked toml for git repo https://github.com/patsore/vector-field-visualizer written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/patsore/vector-field-visualizer on toolchain ad93f57d532978d6739002a21bc66b45ed22f998
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad93f57d532978d6739002a21bc66b45ed22f998" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/patsore/vector-field-visualizer 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" "+ad93f57d532978d6739002a21bc66b45ed22f998" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ad93f57d532978d6739002a21bc66b45ed22f998" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] bcc7d38971941a8d7963ff1a2381d78caa8c18f8e4de25ca6f367b8b2ed51ba8
[INFO] running `Command { std: "docker" "start" "-a" "bcc7d38971941a8d7963ff1a2381d78caa8c18f8e4de25ca6f367b8b2ed51ba8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bcc7d38971941a8d7963ff1a2381d78caa8c18f8e4de25ca6f367b8b2ed51ba8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bcc7d38971941a8d7963ff1a2381d78caa8c18f8e4de25ca6f367b8b2ed51ba8", kill_on_drop: false }`
[INFO] [stdout] bcc7d38971941a8d7963ff1a2381d78caa8c18f8e4de25ca6f367b8b2ed51ba8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ad93f57d532978d6739002a21bc66b45ed22f998" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d034ce2661237267114f95e90ae295b98292b2f68c33e6d14e350bf7a49c7151
[INFO] running `Command { std: "docker" "start" "-a" "d034ce2661237267114f95e90ae295b98292b2f68c33e6d14e350bf7a49c7151", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]     Checking libloading v0.8.3
[INFO] [stderr]    Compiling rustix v0.38.34
[INFO] [stderr]    Compiling cc v1.0.98
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling wayland-sys v0.31.4
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]     Checking arrayvec v0.7.4
[INFO] [stderr]    Compiling memchr v2.7.2
[INFO] [stderr]     Checking zerocopy v0.7.34
[INFO] [stderr]     Checking getrandom v0.2.15
[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]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking xcursor v0.3.5
[INFO] [stderr]     Checking dlib v0.5.2
[INFO] [stderr]     Checking xkeysym v0.2.0
[INFO] [stderr]     Checking allocator-api2 v0.2.18
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]     Checking memmap2 v0.9.4
[INFO] [stderr]     Checking arrayref v0.3.7
[INFO] [stderr]     Checking parking_lot v0.12.2
[INFO] [stderr]    Compiling x11-dl v2.21.0
[INFO] [stderr]     Checking unicode-width v0.1.12
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking miniz_oxide v0.7.4
[INFO] [stderr]    Compiling wgpu-hal v0.21.1
[INFO] [stderr]     Checking codespan-reporting v0.11.1
[INFO] [stderr]    Compiling built v0.7.4
[INFO] [stderr]     Checking ash v0.37.3+1.3.251
[INFO] [stderr]     Checking khronos-egl v6.0.0
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking v_frame v0.3.8
[INFO] [stderr]    Compiling wgpu-core v0.21.1
[INFO] [stderr]    Compiling quick-xml v0.34.0
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]     Checking num-bigint v0.4.6
[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 flate2 v1.0.31
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling wgpu v0.20.1
[INFO] [stderr]    Compiling wayland-backend v0.3.6
[INFO] [stderr]    Compiling simd_helpers v0.1.0
[INFO] [stderr]     Checking maybe-rayon v0.1.1
[INFO] [stderr]     Checking indexmap v2.2.6
[INFO] [stderr]     Checking gpu-descriptor v0.3.0
[INFO] [stderr]     Checking imgref v1.10.1
[INFO] [stderr]     Checking weezl v0.1.8
[INFO] [stderr]     Checking bitstream-io v2.5.0
[INFO] [stderr]     Checking rayon-core v1.12.1
[INFO] [stderr]     Checking loop9 v0.1.5
[INFO] [stderr]     Checking flume v0.11.0
[INFO] [stderr]    Compiling wayland-scanner v0.31.4
[INFO] [stderr]     Checking avif-serialize v0.8.1
[INFO] [stderr]     Checking fdeflate v0.3.4
[INFO] [stderr]     Checking half v2.4.1
[INFO] [stderr]     Checking web-time v0.2.4
[INFO] [stderr]     Checking home v0.5.9
[INFO] [stderr]     Checking gif v0.13.1
[INFO] [stderr]     Checking image-webp v0.1.3
[INFO] [stderr]     Checking webbrowser v1.0.1
[INFO] [stderr]     Checking rayon v1.10.0
[INFO] [stderr]     Checking owned_ttf_parser v0.21.0
[INFO] [stderr]     Checking tiff v0.9.1
[INFO] [stderr]     Checking png v0.17.13
[INFO] [stderr]     Checking exr v1.72.0
[INFO] [stderr]     Checking ab_glyph v0.2.26
[INFO] [stderr]     Checking zune-jpeg v0.4.13
[INFO] [stderr]     Checking type-map v0.5.0
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking mio v1.0.2
[INFO] [stderr]     Checking tobj v4.0.2
[INFO] [stderr]     Checking num-rational v0.4.2
[INFO] [stderr]     Checking av1-grain v0.2.3
[INFO] [stderr]     Checking polling v3.7.0
[INFO] [stderr]     Checking x11rb v0.13.1
[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 profiling v1.0.15
[INFO] [stderr]     Checking tokio v1.39.3
[INFO] [stderr]     Checking wayland-csd-frame v0.3.0
[INFO] [stderr]     Checking bytemuck v1.16.0
[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 thiserror v1.0.63
[INFO] [stderr]     Checking ecolor v0.28.1
[INFO] [stderr]     Checking calloop v0.12.4
[INFO] [stderr]     Checking naga v0.20.0
[INFO] [stderr]     Checking tiny-skia v0.11.4
[INFO] [stderr]     Checking epaint v0.28.1
[INFO] [stderr]     Checking wayland-protocols v0.31.2
[INFO] [stderr]     Checking wayland-cursor v0.31.1
[INFO] [stderr]     Checking calloop-wayland-source v0.2.0
[INFO] [stderr]     Checking arboard v3.4.0
[INFO] [stderr]     Checking egui v0.28.1
[INFO] [stderr]     Checking wayland-protocols-wlr v0.2.0
[INFO] [stderr]     Checking wayland-protocols-plasma v0.2.0
[INFO] [stderr]     Checking smithay-client-toolkit v0.18.1
[INFO] [stderr]     Checking ravif v0.11.10
[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 winit v0.29.15
[INFO] [stderr]     Checking winit_input_helper v0.16.0
[INFO] [stderr]     Checking egui-winit v0.28.1
[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: `Queue`
[INFO] [stdout]  --> src/renderer.rs:3:325
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...utDescriptor, PolygonMode, PrimitiveState, PrimitiveTopology, Queue, RenderPassColorAttachment, RenderPassDepthStencilAttachment, ...
[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: `std::mem`
[INFO] [stdout]  --> src/state.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::mem;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Queue`
[INFO] [stdout]  --> src/renderer.rs:3:325
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...utDescriptor, PolygonMode, PrimitiveState, PrimitiveTopology, Queue, RenderPassColorAttachment, RenderPassDepthStencilAttachment, ...
[INFO] [stdout]   |                                                                  ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]   --> src/utils.rs:48:22
[INFO] [stdout]    |
[INFO] [stdout] 48 |         indices.push((num_sides - 1));
[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] 48 -         indices.push((num_sides - 1));
[INFO] [stdout] 48 +         indices.push(num_sides - 1 );
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem`
[INFO] [stdout]  --> src/state.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::mem;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]   --> src/utils.rs:48:22
[INFO] [stdout]    |
[INFO] [stdout] 48 |         indices.push((num_sides - 1));
[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] 48 -         indices.push((num_sides - 1));
[INFO] [stdout] 48 +         indices.push(num_sides - 1 );
[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: `camera`
[INFO] [stdout]   --> src/camera/mod.rs:25:16
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub fn new(camera: Camera, device: &wgpu::Device, queue: Arc<wgpu::Queue>) -> (Self, BindGroupLayout) {
[INFO] [stdout]    |                ^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera`
[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: `camera`
[INFO] [stdout]   --> src/camera/mod.rs:25:16
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub fn new(camera: Camera, device: &wgpu::Device, queue: Arc<wgpu::Queue>) -> (Self, BindGroupLayout) {
[INFO] [stdout]    |                ^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera`
[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: `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: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:134:9
[INFO] [stdout]     |
[INFO] [stdout] 134 |     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: `ctx`
[INFO] [stdout]    --> src/main.rs:211:30
[INFO] [stdout]     |
[INFO] [stdout] 211 | ...                   |ctx| {
[INFO] [stdout]     |                        ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:134:9
[INFO] [stdout]     |
[INFO] [stdout] 134 |     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: `ctx`
[INFO] [stdout]    --> src/main.rs:211:30
[INFO] [stdout]     |
[INFO] [stdout] 211 | ...                   |ctx| {
[INFO] [stdout]     |                        ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `models::Mesh` is more private than the item `models::Model::meshes`
[INFO] [stdout]   --> src/models.rs:78:5
[INFO] [stdout]    |
[INFO] [stdout] 78 |     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:82:1
[INFO] [stdout]    |
[INFO] [stdout] 82 | 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:79:5
[INFO] [stdout]    |
[INFO] [stdout] 79 |     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:90:1
[INFO] [stdout]    |
[INFO] [stdout] 90 | 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:217:5
[INFO] [stdout]     |
[INFO] [stdout] 217 |     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:82:1
[INFO] [stdout]     |
[INFO] [stdout]  82 | 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:218:5
[INFO] [stdout]     |
[INFO] [stdout] 218 | /     fn draw_mesh_instanced(
[INFO] [stdout] 219 | |         &mut self,
[INFO] [stdout] 220 | |         mesh: &'a Mesh,
[INFO] [stdout] 221 | |         instances: Range<u32>,
[INFO] [stdout] 222 | |     );
[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:82:1
[INFO] [stdout]     |
[INFO] [stdout]  82 | 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:228:5
[INFO] [stdout]     |
[INFO] [stdout] 228 |     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:82:1
[INFO] [stdout]     |
[INFO] [stdout]  82 | 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:232:5
[INFO] [stdout]     |
[INFO] [stdout] 232 | /     fn draw_mesh_instanced(
[INFO] [stdout] 233 | |         &mut self,
[INFO] [stdout] 234 | |         mesh: &'b Mesh,
[INFO] [stdout] 235 | |         instances: Range<u32>,
[INFO] [stdout] 236 | |     ){
[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:82:1
[INFO] [stdout]     |
[INFO] [stdout]  82 | 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: constant `K` is never used
[INFO] [stdout]   --> src/vector.rs:78:7
[INFO] [stdout]    |
[INFO] [stdout] 78 | const K: f32 = 10.0;
[INFO] [stdout]    |       ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `animate_vectors` is never used
[INFO] [stdout]   --> src/vector.rs:80:8
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub fn animate_vectors(vectors: &mut [Vector], time: f32) {
[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 TestVertex {
[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 TestVertex {
[INFO] [stdout] 51 | |     pub position: [f32; 3],
[INFO] [stdout] 52 | |     pub color: [f32;4],
[INFO] [stdout] 53 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Model` is never constructed
[INFO] [stdout]   --> src/models.rs:77:19
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub(crate) struct Model {
[INFO] [stdout]    |                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Mesh` is never constructed
[INFO] [stdout]   --> src/models.rs:82:8
[INFO] [stdout]    |
[INFO] [stdout] 82 | struct Mesh {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Material` is never constructed
[INFO] [stdout]   --> src/models.rs:90:8
[INFO] [stdout]    |
[INFO] [stdout] 90 | struct Material {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_texture` is never used
[INFO] [stdout]   --> src/models.rs:96:14
[INFO] [stdout]    |
[INFO] [stdout] 96 | 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:105:14
[INFO] [stdout]     |
[INFO] [stdout] 105 | 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:111:14
[INFO] [stdout]     |
[INFO] [stdout] 111 | pub async fn load_model(
[INFO] [stdout]     |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `DrawModel` is never used
[INFO] [stdout]    --> src/models.rs:216:11
[INFO] [stdout]     |
[INFO] [stdout] 216 | 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: field `vertices` is never read
[INFO] [stdout]   --> src/state.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub(crate) struct State{
[INFO] [stdout]    |                   ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 14 |     vertices: Vec<TestVertex>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `update_indices`, `update_vertices`, `VISCOSITY`, `DIFFUSION_RATE`, `DELTA_TIME`, and `update_vectors_from_sim` are never used
[INFO] [stdout]   --> src/state.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl State{
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 66 |     pub fn update_indices(&self){
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 70 |     pub fn update_vertices(&self){
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 88 |     const VISCOSITY: f32 = 0.00000001;
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 89 |     const DIFFUSION_RATE: f32 = 0.01;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^
[INFO] [stdout] 90 |     const DELTA_TIME: f32 = 0.016;
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 91 |
[INFO] [stdout] 92 |     pub fn update_vectors_from_sim(&mut self, fluid_sim: &FluidSim) {
[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: 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: type `models::Mesh` is more private than the item `models::Model::meshes`
[INFO] [stdout]   --> src/models.rs:78:5
[INFO] [stdout]    |
[INFO] [stdout] 78 |     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:82:1
[INFO] [stdout]    |
[INFO] [stdout] 82 | 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:79:5
[INFO] [stdout]    |
[INFO] [stdout] 79 |     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:90:1
[INFO] [stdout]    |
[INFO] [stdout] 90 | 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:217:5
[INFO] [stdout]     |
[INFO] [stdout] 217 |     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:82:1
[INFO] [stdout]     |
[INFO] [stdout]  82 | 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:218:5
[INFO] [stdout]     |
[INFO] [stdout] 218 | /     fn draw_mesh_instanced(
[INFO] [stdout] 219 | |         &mut self,
[INFO] [stdout] 220 | |         mesh: &'a Mesh,
[INFO] [stdout] 221 | |         instances: Range<u32>,
[INFO] [stdout] 222 | |     );
[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:82:1
[INFO] [stdout]     |
[INFO] [stdout]  82 | 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:228:5
[INFO] [stdout]     |
[INFO] [stdout] 228 |     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:82:1
[INFO] [stdout]     |
[INFO] [stdout]  82 | 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:232:5
[INFO] [stdout]     |
[INFO] [stdout] 232 | /     fn draw_mesh_instanced(
[INFO] [stdout] 233 | |         &mut self,
[INFO] [stdout] 234 | |         mesh: &'b Mesh,
[INFO] [stdout] 235 | |         instances: Range<u32>,
[INFO] [stdout] 236 | |     ){
[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:82:1
[INFO] [stdout]     |
[INFO] [stdout]  82 | 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: constant `K` is never used
[INFO] [stdout]   --> src/vector.rs:78:7
[INFO] [stdout]    |
[INFO] [stdout] 78 | const K: f32 = 10.0;
[INFO] [stdout]    |       ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `animate_vectors` is never used
[INFO] [stdout]   --> src/vector.rs:80:8
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub fn animate_vectors(vectors: &mut [Vector], time: f32) {
[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 TestVertex {
[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 TestVertex {
[INFO] [stdout] 51 | |     pub position: [f32; 3],
[INFO] [stdout] 52 | |     pub color: [f32;4],
[INFO] [stdout] 53 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Model` is never constructed
[INFO] [stdout]   --> src/models.rs:77:19
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub(crate) struct Model {
[INFO] [stdout]    |                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Mesh` is never constructed
[INFO] [stdout]   --> src/models.rs:82:8
[INFO] [stdout]    |
[INFO] [stdout] 82 | struct Mesh {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Material` is never constructed
[INFO] [stdout]   --> src/models.rs:90:8
[INFO] [stdout]    |
[INFO] [stdout] 90 | struct Material {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_texture` is never used
[INFO] [stdout]   --> src/models.rs:96:14
[INFO] [stdout]    |
[INFO] [stdout] 96 | 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:105:14
[INFO] [stdout]     |
[INFO] [stdout] 105 | 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:111:14
[INFO] [stdout]     |
[INFO] [stdout] 111 | pub async fn load_model(
[INFO] [stdout]     |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `DrawModel` is never used
[INFO] [stdout]    --> src/models.rs:216:11
[INFO] [stdout]     |
[INFO] [stdout] 216 | 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: field `vertices` is never read
[INFO] [stdout]   --> src/state.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub(crate) struct State{
[INFO] [stdout]    |                   ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 14 |     vertices: Vec<TestVertex>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `update_indices`, `update_vertices`, `VISCOSITY`, `DIFFUSION_RATE`, `DELTA_TIME`, and `update_vectors_from_sim` are never used
[INFO] [stdout]   --> src/state.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl State{
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 66 |     pub fn update_indices(&self){
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 70 |     pub fn update_vertices(&self){
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 88 |     const VISCOSITY: f32 = 0.00000001;
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 89 |     const DIFFUSION_RATE: f32 = 0.01;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^
[INFO] [stdout] 90 |     const DELTA_TIME: f32 = 0.016;
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 91 |
[INFO] [stdout] 92 |     pub fn update_vectors_from_sim(&mut self, fluid_sim: &FluidSim) {
[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: 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 41.80s
[INFO] running `Command { std: "docker" "inspect" "d034ce2661237267114f95e90ae295b98292b2f68c33e6d14e350bf7a49c7151", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d034ce2661237267114f95e90ae295b98292b2f68c33e6d14e350bf7a49c7151", kill_on_drop: false }`
[INFO] [stdout] d034ce2661237267114f95e90ae295b98292b2f68c33e6d14e350bf7a49c7151
