[INFO] cloning repository https://github.com/Tahyel27/rust-fvm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Tahyel27/rust-fvm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTahyel27%2Frust-fvm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTahyel27%2Frust-fvm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 43465f28190e414911d8f3e7cbe8d8d258e625c5 [INFO] checking Tahyel27/rust-fvm against try#5f6abd89da253a562ad85d235b9342a3ac336c28 for pr-156114 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTahyel27%2Frust-fvm" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Tahyel27/rust-fvm [INFO] finished tweaking git repo https://github.com/Tahyel27/rust-fvm [INFO] tweaked toml for git repo https://github.com/Tahyel27/rust-fvm written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Tahyel27/rust-fvm on toolchain 5f6abd89da253a562ad85d235b9342a3ac336c28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5f6abd89da253a562ad85d235b9342a3ac336c28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Tahyel27/rust-fvm 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" "+5f6abd89da253a562ad85d235b9342a3ac336c28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+5f6abd89da253a562ad85d235b9342a3ac336c28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d1f4163419b23178d85f9810c3fc42181eb318a48dd198d4795429b8a7fba046 [INFO] running `Command { std: "docker" "start" "-a" "d1f4163419b23178d85f9810c3fc42181eb318a48dd198d4795429b8a7fba046", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1f4163419b23178d85f9810c3fc42181eb318a48dd198d4795429b8a7fba046", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1f4163419b23178d85f9810c3fc42181eb318a48dd198d4795429b8a7fba046", kill_on_drop: false }` [INFO] [stdout] d1f4163419b23178d85f9810c3fc42181eb318a48dd198d4795429b8a7fba046 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+5f6abd89da253a562ad85d235b9342a3ac336c28" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1d61c52225ff32ee0d72a48b88281b93a2e5c775eb7479b9cf9ae86fb73a624 [INFO] running `Command { std: "docker" "start" "-a" "e1d61c52225ff32ee0d72a48b88281b93a2e5c775eb7479b9cf9ae86fb73a624", kill_on_drop: false }` [INFO] [stderr] Checking bitflags v2.11.0 [INFO] [stderr] Compiling wayland-sys v0.31.10 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling winnow v1.0.0 [INFO] [stderr] Compiling wayland-backend v0.3.14 [INFO] [stderr] Compiling toml_datetime v1.1.0+spec-1.1.0 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Checking rustix v1.1.4 [INFO] [stderr] Compiling wayland-client v0.31.13 [INFO] [stderr] Compiling wayland-scanner v0.31.9 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling zerocopy-derive v0.8.48 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Checking bytemuck v1.25.0 [INFO] [stderr] Checking proc-macro2 v1.0.106 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Compiling toml_parser v1.1.0+spec-1.1.0 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking quote v1.0.45 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking syn v2.0.117 [INFO] [stderr] Checking futures-lite v2.6.1 [INFO] [stderr] Compiling toml_edit v0.25.8+spec-1.1.0 [INFO] [stderr] Checking zerocopy v0.8.48 [INFO] [stderr] Checking uuid v1.23.0 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling proc-macro-crate v3.5.0 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking async-channel v2.5.0 [INFO] [stderr] Checking polling v3.11.0 [INFO] [stderr] Checking enumflags2 v0.7.12 [INFO] [stderr] Checking async-io v2.6.0 [INFO] [stderr] Compiling zvariant_utils v3.3.0 [INFO] [stderr] Compiling quick-xml v0.38.4 [INFO] [stderr] Checking piper v0.2.5 [INFO] [stderr] Checking async-signal v0.2.13 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking async-lock v3.4.2 [INFO] [stderr] Checking thiserror v2.0.18 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zvariant_derive v5.10.0 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking async-process v2.5.0 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking rustix v0.38.44 [INFO] [stderr] Checking blocking v1.6.2 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Compiling zvariant v5.10.0 [INFO] [stderr] Checking wayland-protocols v0.32.11 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking wayland-cursor v0.31.13 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking async-executor v1.14.0 [INFO] [stderr] Checking accesskit v0.24.0 [INFO] [stderr] Checking async-broadcast v0.7.2 [INFO] [stderr] Checking color v0.3.2 [INFO] [stderr] Checking kurbo v0.13.0 [INFO] [stderr] Compiling naga v29.0.1 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Checking linebender_resource_handle v0.1.1 [INFO] [stderr] Compiling phf_shared v0.13.1 [INFO] [stderr] Checking codespan-reporting v0.13.1 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking peniko v0.6.0 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking fearless_simd v0.3.0 [INFO] [stderr] Checking font-types v0.11.1 [INFO] [stderr] Checking indexmap v2.13.0 [INFO] [stderr] Checking spirv v0.4.0+sdk-1.4.341.0 [INFO] [stderr] Checking zbus_names v4.3.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking zbus_xml v5.1.0 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Compiling phf_generator v0.13.1 [INFO] [stderr] Checking read-fonts v0.37.0 [INFO] [stderr] Checking gethostname v1.1.0 [INFO] [stderr] Checking wgpu-types v29.0.1 [INFO] [stderr] Checking emath v0.34.1 [INFO] [stderr] Checking zbus-lockstep v0.5.2 [INFO] [stderr] Compiling zbus_macros v5.14.0 [INFO] [stderr] Compiling wgpu-hal v29.0.1 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Compiling zbus-lockstep-macros v0.5.2 [INFO] [stderr] Checking x11rb v0.13.2 [INFO] [stderr] Checking gpu-allocator v0.28.0 [INFO] [stderr] Checking gpu-descriptor v0.3.2 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.11 [INFO] [stderr] Checking ecolor v0.34.1 [INFO] [stderr] Checking vello_common v0.0.6 [INFO] [stderr] Compiling phf_macros v0.13.1 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking vello_cpu v0.0.6 [INFO] [stderr] Checking smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking khronos-egl v6.0.0 [INFO] [stderr] Checking ordered-float v5.3.0 [INFO] [stderr] Checking zbus v5.14.0 [INFO] [stderr] Checking epaint_default_fonts v0.34.1 [INFO] [stderr] Checking self_cell v1.2.2 [INFO] [stderr] Checking phf v0.13.1 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.11 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking x11-dl v2.21.0 [INFO] [stderr] Checking accesskit_consumer v0.35.0 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking calloop v0.14.4 [INFO] [stderr] Compiling wgpu-core v29.0.1 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Checking unicode-segmentation v1.13.2 [INFO] [stderr] Checking pxfm v0.1.28 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Checking calloop-wayland-source v0.4.1 [INFO] [stderr] Checking png v0.18.1 [INFO] [stderr] Checking wayland-protocols-experimental v20250721.0.1 [INFO] [stderr] Checking skrifa v0.40.0 [INFO] [stderr] Checking wayland-protocols-misc v0.3.11 [INFO] [stderr] Compiling wgpu v29.0.1 [INFO] [stderr] Checking smithay-client-toolkit v0.20.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Checking winit v0.30.13 [INFO] [stderr] Checking type-map v0.5.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking moxcms v0.8.1 [INFO] [stderr] Checking webbrowser v1.2.0 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking smithay-clipboard v0.7.3 [INFO] [stderr] Checking epaint v0.34.1 [INFO] [stderr] Compiling rfd v0.17.2 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking atspi-common v0.13.0 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking egui v0.34.1 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking ndarray v0.17.2 [INFO] [stderr] Checking wgpu-naga-bridge v29.0.1 [INFO] [stderr] Checking image v0.25.10 [INFO] [stderr] Checking egui_plot v0.35.0 [INFO] [stderr] Checking arboard v3.6.1 [INFO] [stderr] Checking wgpu-core-deps-windows-linux-android v29.0.0 [INFO] [stderr] Checking atspi-proxies v0.13.0 [INFO] [stderr] Checking accesskit_atspi_common v0.18.0 [INFO] [stderr] Checking atspi v0.29.0 [INFO] [stderr] Checking accesskit_unix v0.21.0 [INFO] [stderr] Checking accesskit_winit v0.32.2 [INFO] [stderr] Checking egui-winit v0.34.1 [INFO] [stderr] Checking egui-wgpu v0.34.1 [INFO] [stderr] Checking eframe v0.34.1 [INFO] [stderr] Checking shockwaves v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/geoprimitives.rs:462:36 [INFO] [stdout] | [INFO] [stdout] 462 | self.line_iter().for_each(|(l)| { [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] 462 - self.line_iter().for_each(|(l)| { [INFO] [stdout] 462 + self.line_iter().for_each(|l | { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/geoprimitives.rs:462:36 [INFO] [stdout] | [INFO] [stdout] 462 | self.line_iter().for_each(|(l)| { [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] 462 - self.line_iter().for_each(|(l)| { [INFO] [stdout] 462 + self.line_iter().for_each(|l | { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cvar` [INFO] [stdout] --> src/mpscsingle.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | let (lock, cvar) = &*self.inner; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cvar` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cvar` [INFO] [stdout] --> src/mpscsingle.rs:66:20 [INFO] [stdout] | [INFO] [stdout] 66 | let (lock, cvar) = &*self.inner; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cvar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mask` [INFO] [stdout] --> src/fv.rs:58:71 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn new_case(h: Array2, hu: Array2, hv: Array2, mask: Array2) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mask` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/fv.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | let mut q_sl_y_slice = q_sl_y.slice_mut(s![1..-1,1..-1]); [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/fv.rs:435:27 [INFO] [stdout] | [INFO] [stdout] 435 | fn send_result(&self, ctx: &crate::simhandler::SimulationContext) -> Self::SimRes { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mask` [INFO] [stdout] --> src/fvgeometry.rs:182:78 [INFO] [stdout] | [INFO] [stdout] 182 | fn create(ghost_cell: (usize, usize), normal: Vec2D, distance: f64, mask: &Array2) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mask` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | let mut geometry = FVGeometry::new(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mask` [INFO] [stdout] --> src/main.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let mask = MaskBuilderU8::new(dims) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mask` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cvar` [INFO] [stdout] --> src/mpscsingle.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | let (lock, cvar) = &*self.inner; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cvar` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cvar` [INFO] [stdout] --> src/mpscsingle.rs:66:20 [INFO] [stdout] | [INFO] [stdout] 66 | let (lock, cvar) = &*self.inner; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cvar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> src/main.rs:167:41 [INFO] [stdout] | [INFO] [stdout] 167 | fn ui(&mut self, ui: &mut egui::Ui, frame: &mut eframe::Frame) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:276:26 [INFO] [stdout] | [INFO] [stdout] 276 | fn update(&mut self, ctx: &egui::Context, frame: &mut eframe::Frame) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> src/main.rs:276:47 [INFO] [stdout] | [INFO] [stdout] 276 | fn update(&mut self, ctx: &egui::Context, frame: &mut eframe::Frame) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mask` [INFO] [stdout] --> src/fv.rs:58:71 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn new_case(h: Array2, hu: Array2, hv: Array2, mask: Array2) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mask` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/fd_tools.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl MaskBuilder { [INFO] [stdout] | --------------------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn mul(mut self, value: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn add(mut self, value: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn add_circle(mut self, center: (f64, f64), radius: f64, value: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn set_circle(mut self, center: (f64, f64), radius: f64, value: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn set_rectangle(mut self, pos: (usize, usize), size: (usize, usize), value: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | fn is_point_in_polygon(x: f64, y: f64, points: &[(f64, f64)]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn add_polygon(mut self, points: Vec<(f64, f64)>, value: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn set_polygon(mut self, points: Vec<(f64, f64)>, value: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn invert(mut self) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn set_for_each(mut self, mut f: F) -> Self [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_circle_mut`, `set_circle_mut`, `set_rectangle_mut`, and `add_gaussian_mut` are never used [INFO] [stdout] --> src/fd_tools.rs:165:8 [INFO] [stdout] | [INFO] [stdout] 164 | pub trait FieldExt { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] 165 | fn add_circle_mut(&mut self, center: (f64, f64), radius: f64, value: T); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 166 | fn set_circle_mut(&mut self, center: (f64, f64), radius: f64, value: T); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 167 | fn add_rectangle_mut(&mut self, pos: (usize, usize), size: (usize, usize), value: T); [INFO] [stdout] 168 | fn set_rectangle_mut(&mut self, pos: (usize, usize), size: (usize, usize), value: T); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 169 | fn add_gaussian_mut(&mut self, center: (f64, f64), width: f64, height: f64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/fd_tools.rs:276:12 [INFO] [stdout] | [INFO] [stdout] 271 | impl FieldBuilder { [INFO] [stdout] | ----------------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 276 | pub fn from_val(shape: (usize, usize), value: T) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | pub fn add(mut self, value: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 294 | pub fn add_circle(mut self, center: (f64, f64), radius: f64, value: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 299 | pub fn set_circle(mut self, center: (f64, f64), radius: f64, value: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | pub fn set_rectangle(mut self, pos: (usize, usize), size: (usize, usize), value: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | pub fn add_gaussian(mut self, center: (f64, f64), width: f64, height: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 324 | pub fn set_for_each(mut self, mut f: F) -> Self [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | pub fn add_for_each(mut self, mut f: F) -> Self [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NeumannCell` is never constructed [INFO] [stdout] --> src/fd_tools.rs:346:8 [INFO] [stdout] | [INFO] [stdout] 346 | struct NeumannCell { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FDWalls` is never constructed [INFO] [stdout] --> src/fd_tools.rs:353:8 [INFO] [stdout] | [INFO] [stdout] 353 | struct FDWalls { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/fv.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | let mut q_sl_y_slice = q_sl_y.slice_mut(s![1..-1,1..-1]); [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: multiple associated items are never used [INFO] [stdout] --> src/fd_tools.rs:360:12 [INFO] [stdout] | [INFO] [stdout] 359 | impl FDWalls { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 360 | pub fn new(dimx: usize, dimy: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | pub fn from_mask(mask: &Array2) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 370 | pub fn change_mask(&mut self, mask: &Array2) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 374 | pub fn get_mask(&self) -> &Array2 { &self.mask} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 375 | [INFO] [stdout] 376 | fn precalculate_setup(&mut self, input_mask: &Array2) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 419 | pub fn apply_neumann(&self, u: &mut Array2) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 430 | pub fn apply_dirichlet(&self, u: &mut Array2, val: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HeatmapStateOwned` is never constructed [INFO] [stdout] --> src/heatmap.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct HeatmapStateOwned { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove_mask` is never used [INFO] [stdout] --> src/heatmap.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 85 | impl HeatmapState { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn remove_mask(&mut self) {self.mask = None} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `render_data` and `apply_cmap` are never used [INFO] [stdout] --> src/heatmap.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 99 | impl HeatmapStateOwned { [INFO] [stdout] | ----------------------------------- methods in this implementation [INFO] [stdout] 100 | pub fn render_data(&mut self, data: Array2, ctx: &egui::Context, cmap: CMAP) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn apply_cmap(&mut self, ctx: &egui::Context, cmap: CMAP) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_scale`, `show_axes`, and `show_grid` are never used [INFO] [stdout] --> src/heatmap.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 148 | impl<'a, State: HeatmapStateGeneric> HeatmapPlot<'a, State> { [INFO] [stdout] | ----------------------------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn set_scale(mut self, scale: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn show_axes(mut self, on: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn show_grid(mut self, on: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_step` is never used [INFO] [stdout] --> src/simhandler.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl SimulationContext { [INFO] [stdout] | -------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn get_step(&self) -> usize {self.step} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `send_frequency` and `get_params` are never used [INFO] [stdout] --> src/simhandler.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl SimulationHandler { [INFO] [stdout] | ------------------------------------------------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn send_frequency(mut self, frequency: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn get_params(&self) -> SimData::SimParams { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `recv` is never used [INFO] [stdout] --> src/mpscsingle.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl Receiver { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 42 | pub fn recv(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BWColormap` is never constructed [INFO] [stdout] --> src/colormap.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct BWColormap { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/colormap.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl BWColormap { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 24 | pub fn new(min: f64, max: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RainbowColormap` is never constructed [INFO] [stdout] --> src/colormap.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct RainbowColormap { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/colormap.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl RainbowColormap { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 44 | pub fn new(min: f64, max: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ColormapPoint` is never constructed [INFO] [stdout] --> src/colormap.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct ColormapPoint { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/colormap.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 94 | impl ColormapPoint { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 95 | fn new(color: (u8, u8, u8), value: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LinearColormap` is never constructed [INFO] [stdout] --> src/colormap.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct LinearColormap { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_points` is never used [INFO] [stdout] --> src/colormap.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 105 | impl LinearColormap { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 106 | fn from_points(points: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lerp` is never used [INFO] [stdout] --> src/colormap.rs:181:4 [INFO] [stdout] | [INFO] [stdout] 181 | fn lerp(c1: u8, c2: u8, t: f64) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BRBColormap` is never constructed [INFO] [stdout] --> src/colormap.rs:214:12 [INFO] [stdout] | [INFO] [stdout] 214 | pub struct BRBColormap { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/colormap.rs:220:12 [INFO] [stdout] | [INFO] [stdout] 219 | impl BRBColormap { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 220 | pub fn new(min: f64, max: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Line` is never constructed [INFO] [stdout] --> src/geoprimitives.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Line { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from_unit`, `from_normal`, `slope`, `intercept`, and `line_params` are never used [INFO] [stdout] --> src/geoprimitives.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 176 | impl Line { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 177 | pub fn new(point: Point, direction: Vec2D ) -> Self { Self { point, direction: direction.normalize() } } [INFO] [stdout] | ^^^ [INFO] [stdout] 178 | [INFO] [stdout] 179 | pub fn from_unit(point: Point, direction: Vec2D) -> Self { Self { point, direction } } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 180 | [INFO] [stdout] 181 | pub fn from_normal(point: Point, normal: Vec2D ) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | pub fn slope(&self) -> T { self.direction.x2 / self.direction.x2 } [INFO] [stdout] | ^^^^^ [INFO] [stdout] 186 | [INFO] [stdout] 187 | pub fn intercept(&self) -> T { self.point.y - self.point.x * self.slope() } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 188 | [INFO] [stdout] 189 | pub fn line_params(&self) -> (T, T) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `normal_vect`, `intercept`, `length`, `is_close`, and `isect_vertical_point` are never used [INFO] [stdout] --> src/geoprimitives.rs:214:12 [INFO] [stdout] | [INFO] [stdout] 209 | impl LineSegment { [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn normal_vect(&self) -> Vec2D { (self.p2 - self.p1).orth().normalize() } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn intercept(&self) -> T { self.p1.y - self.p1.x * self.slope() } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | pub fn length(&self) -> T { (self.p2 - self.p1).norm() } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 226 | [INFO] [stdout] 227 | pub fn is_close(&self, point: Point) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | fn isect_vertical_point(&self, x_line: T) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `vertices` and `line_iter` are never used [INFO] [stdout] --> src/geoprimitives.rs:525:12 [INFO] [stdout] | [INFO] [stdout] 520 | impl ExpandedPolygon { [INFO] [stdout] | --------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 525 | pub fn vertices(&self) -> usize {self.polygon.points.len()} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 526 | [INFO] [stdout] 527 | pub fn line_iter<'a>(&'a self) -> PolygonLineIterator<'a, T> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `buffer` is never read [INFO] [stdout] --> src/fv.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct FVData { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 33 | buffer: Array2, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `new_case`, and `add_to_hu` are never used [INFO] [stdout] --> src/fv.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl FVData { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 44 | pub fn new(dims: (usize,usize)) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn new_case(h: Array2, hu: Array2, hv: Array2, mask: Array2) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn add_to_hu(&mut self, hu: Array2) {self.q.hu += &hu; } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reconstruct_slopes` is never used [INFO] [stdout] --> src/fv.rs:106:4 [INFO] [stdout] | [INFO] [stdout] 106 | fn reconstruct_slopes(q: &Array2, q_sl_x: &mut Array2, q_sl_y: &mut Array2) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mask_field` is never used [INFO] [stdout] --> src/fv.rs:273:4 [INFO] [stdout] | [INFO] [stdout] 273 | fn mask_field(u: &mut Array2, mask: &Array2) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `van_leer` is never used [INFO] [stdout] --> src/fv.rs:344:4 [INFO] [stdout] | [INFO] [stdout] 344 | fn van_leer(a: f64, b: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dissipation` is never used [INFO] [stdout] --> src/fv.rs:356:4 [INFO] [stdout] | [INFO] [stdout] 356 | fn dissipation(u: &mut Array2, buffer: &mut Array2, c: f64, dt: f64) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WallCell` is never constructed [INFO] [stdout] --> src/fv.rs:618:8 [INFO] [stdout] | [INFO] [stdout] 618 | struct WallCell { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Rectangle` and `Polygon` are never constructed [INFO] [stdout] --> src/fvgeometry.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum FVShape { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 6 | Rectangle(Rectangle), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | Circle(Circle), [INFO] [stdout] 8 | Polygon(Polygon), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FVShape` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_rectangle` and `add_polygon` are never used [INFO] [stdout] --> src/fvgeometry.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 81 | impl FVGeometry { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn add_rectangle(&mut self, point_a: (f64, f64), point_b: (f64, f64)) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn add_polygon(&mut self, points: Vec>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_default_case` is never used [INFO] [stdout] --> src/files.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn save_default_case() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_windtunnel_case` is never used [INFO] [stdout] --> src/files.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn save_windtunnel_case() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/fv.rs:435:27 [INFO] [stdout] | [INFO] [stdout] 435 | fn send_result(&self, ctx: &crate::simhandler::SimulationContext) -> Self::SimRes { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | tx.send(data.clone_fields()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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] 131 | let _ = tx.send(data.clone_fields()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:284:5 [INFO] [stdout] | [INFO] [stdout] 284 | / eframe::run_native("Wave simulation", native_options, [INFO] [stdout] 285 | | Box::new(|cc| Ok(Box::new(App::new(cc))))); [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 284 | let _ = eframe::run_native("Wave simulation", native_options, [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pointA` should have a snake case name [INFO] [stdout] --> src/fvgeometry.rs:135:40 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn add_beveled_rect(&mut self, pointA: (f64, f64), pointB: (f64, f64), bevel: f64) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `point_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pointB` should have a snake case name [INFO] [stdout] --> src/fvgeometry.rs:135:60 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn add_beveled_rect(&mut self, pointA: (f64, f64), pointB: (f64, f64), bevel: f64) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `point_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mask` [INFO] [stdout] --> src/fvgeometry.rs:182:78 [INFO] [stdout] | [INFO] [stdout] 182 | fn create(ghost_cell: (usize, usize), normal: Vec2D, distance: f64, mask: &Array2) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mask` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | let mut geometry = FVGeometry::new(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mask` [INFO] [stdout] --> src/main.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let mask = MaskBuilderU8::new(dims) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mask` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> src/main.rs:167:41 [INFO] [stdout] | [INFO] [stdout] 167 | fn ui(&mut self, ui: &mut egui::Ui, frame: &mut eframe::Frame) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:276:26 [INFO] [stdout] | [INFO] [stdout] 276 | fn update(&mut self, ctx: &egui::Context, frame: &mut eframe::Frame) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> src/main.rs:276:47 [INFO] [stdout] | [INFO] [stdout] 276 | fn update(&mut self, ctx: &egui::Context, frame: &mut eframe::Frame) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/fd_tools.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl MaskBuilder { [INFO] [stdout] | --------------------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn mul(mut self, value: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn add(mut self, value: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn add_circle(mut self, center: (f64, f64), radius: f64, value: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn set_circle(mut self, center: (f64, f64), radius: f64, value: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn set_rectangle(mut self, pos: (usize, usize), size: (usize, usize), value: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | fn is_point_in_polygon(x: f64, y: f64, points: &[(f64, f64)]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn add_polygon(mut self, points: Vec<(f64, f64)>, value: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn set_polygon(mut self, points: Vec<(f64, f64)>, value: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn invert(mut self) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn set_for_each(mut self, mut f: F) -> Self [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_circle_mut`, `set_circle_mut`, `set_rectangle_mut`, and `add_gaussian_mut` are never used [INFO] [stdout] --> src/fd_tools.rs:165:8 [INFO] [stdout] | [INFO] [stdout] 164 | pub trait FieldExt { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] 165 | fn add_circle_mut(&mut self, center: (f64, f64), radius: f64, value: T); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 166 | fn set_circle_mut(&mut self, center: (f64, f64), radius: f64, value: T); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 167 | fn add_rectangle_mut(&mut self, pos: (usize, usize), size: (usize, usize), value: T); [INFO] [stdout] 168 | fn set_rectangle_mut(&mut self, pos: (usize, usize), size: (usize, usize), value: T); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 169 | fn add_gaussian_mut(&mut self, center: (f64, f64), width: f64, height: f64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/fd_tools.rs:276:12 [INFO] [stdout] | [INFO] [stdout] 271 | impl FieldBuilder { [INFO] [stdout] | ----------------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 276 | pub fn from_val(shape: (usize, usize), value: T) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | pub fn add(mut self, value: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 294 | pub fn add_circle(mut self, center: (f64, f64), radius: f64, value: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 299 | pub fn set_circle(mut self, center: (f64, f64), radius: f64, value: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | pub fn set_rectangle(mut self, pos: (usize, usize), size: (usize, usize), value: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | pub fn add_gaussian(mut self, center: (f64, f64), width: f64, height: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 324 | pub fn set_for_each(mut self, mut f: F) -> Self [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | pub fn add_for_each(mut self, mut f: F) -> Self [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NeumannCell` is never constructed [INFO] [stdout] --> src/fd_tools.rs:346:8 [INFO] [stdout] | [INFO] [stdout] 346 | struct NeumannCell { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FDWalls` is never constructed [INFO] [stdout] --> src/fd_tools.rs:353:8 [INFO] [stdout] | [INFO] [stdout] 353 | struct FDWalls { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/fd_tools.rs:360:12 [INFO] [stdout] | [INFO] [stdout] 359 | impl FDWalls { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 360 | pub fn new(dimx: usize, dimy: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | pub fn from_mask(mask: &Array2) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 370 | pub fn change_mask(&mut self, mask: &Array2) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 374 | pub fn get_mask(&self) -> &Array2 { &self.mask} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 375 | [INFO] [stdout] 376 | fn precalculate_setup(&mut self, input_mask: &Array2) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 419 | pub fn apply_neumann(&self, u: &mut Array2) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 430 | pub fn apply_dirichlet(&self, u: &mut Array2, val: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HeatmapStateOwned` is never constructed [INFO] [stdout] --> src/heatmap.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct HeatmapStateOwned { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove_mask` is never used [INFO] [stdout] --> src/heatmap.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 85 | impl HeatmapState { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn remove_mask(&mut self) {self.mask = None} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `render_data` and `apply_cmap` are never used [INFO] [stdout] --> src/heatmap.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 99 | impl HeatmapStateOwned { [INFO] [stdout] | ----------------------------------- methods in this implementation [INFO] [stdout] 100 | pub fn render_data(&mut self, data: Array2, ctx: &egui::Context, cmap: CMAP) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn apply_cmap(&mut self, ctx: &egui::Context, cmap: CMAP) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_scale`, `show_axes`, and `show_grid` are never used [INFO] [stdout] --> src/heatmap.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 148 | impl<'a, State: HeatmapStateGeneric> HeatmapPlot<'a, State> { [INFO] [stdout] | ----------------------------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn set_scale(mut self, scale: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn show_axes(mut self, on: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn show_grid(mut self, on: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_step` is never used [INFO] [stdout] --> src/simhandler.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl SimulationContext { [INFO] [stdout] | -------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn get_step(&self) -> usize {self.step} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `send_frequency` and `get_params` are never used [INFO] [stdout] --> src/simhandler.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl SimulationHandler { [INFO] [stdout] | ------------------------------------------------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn send_frequency(mut self, frequency: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn get_params(&self) -> SimData::SimParams { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `recv` is never used [INFO] [stdout] --> src/mpscsingle.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl Receiver { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 42 | pub fn recv(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BWColormap` is never constructed [INFO] [stdout] --> src/colormap.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct BWColormap { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/colormap.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl BWColormap { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 24 | pub fn new(min: f64, max: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RainbowColormap` is never constructed [INFO] [stdout] --> src/colormap.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct RainbowColormap { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/colormap.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl RainbowColormap { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 44 | pub fn new(min: f64, max: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ColormapPoint` is never constructed [INFO] [stdout] --> src/colormap.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct ColormapPoint { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/colormap.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 94 | impl ColormapPoint { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 95 | fn new(color: (u8, u8, u8), value: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LinearColormap` is never constructed [INFO] [stdout] --> src/colormap.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct LinearColormap { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_points` is never used [INFO] [stdout] --> src/colormap.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 105 | impl LinearColormap { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 106 | fn from_points(points: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lerp` is never used [INFO] [stdout] --> src/colormap.rs:181:4 [INFO] [stdout] | [INFO] [stdout] 181 | fn lerp(c1: u8, c2: u8, t: f64) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BRBColormap` is never constructed [INFO] [stdout] --> src/colormap.rs:214:12 [INFO] [stdout] | [INFO] [stdout] 214 | pub struct BRBColormap { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/colormap.rs:220:12 [INFO] [stdout] | [INFO] [stdout] 219 | impl BRBColormap { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 220 | pub fn new(min: f64, max: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Line` is never constructed [INFO] [stdout] --> src/geoprimitives.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Line { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from_unit`, `from_normal`, `slope`, `intercept`, and `line_params` are never used [INFO] [stdout] --> src/geoprimitives.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 176 | impl Line { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 177 | pub fn new(point: Point, direction: Vec2D ) -> Self { Self { point, direction: direction.normalize() } } [INFO] [stdout] | ^^^ [INFO] [stdout] 178 | [INFO] [stdout] 179 | pub fn from_unit(point: Point, direction: Vec2D) -> Self { Self { point, direction } } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 180 | [INFO] [stdout] 181 | pub fn from_normal(point: Point, normal: Vec2D ) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | pub fn slope(&self) -> T { self.direction.x2 / self.direction.x2 } [INFO] [stdout] | ^^^^^ [INFO] [stdout] 186 | [INFO] [stdout] 187 | pub fn intercept(&self) -> T { self.point.y - self.point.x * self.slope() } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 188 | [INFO] [stdout] 189 | pub fn line_params(&self) -> (T, T) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `normal_vect`, `intercept`, `length`, `is_close`, and `isect_vertical_point` are never used [INFO] [stdout] --> src/geoprimitives.rs:214:12 [INFO] [stdout] | [INFO] [stdout] 209 | impl LineSegment { [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn normal_vect(&self) -> Vec2D { (self.p2 - self.p1).orth().normalize() } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn intercept(&self) -> T { self.p1.y - self.p1.x * self.slope() } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | pub fn length(&self) -> T { (self.p2 - self.p1).norm() } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 226 | [INFO] [stdout] 227 | pub fn is_close(&self, point: Point) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | fn isect_vertical_point(&self, x_line: T) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `vertices` and `line_iter` are never used [INFO] [stdout] --> src/geoprimitives.rs:525:12 [INFO] [stdout] | [INFO] [stdout] 520 | impl ExpandedPolygon { [INFO] [stdout] | --------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 525 | pub fn vertices(&self) -> usize {self.polygon.points.len()} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 526 | [INFO] [stdout] 527 | pub fn line_iter<'a>(&'a self) -> PolygonLineIterator<'a, T> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `buffer` is never read [INFO] [stdout] --> src/fv.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct FVData { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 33 | buffer: Array2, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `new_case`, and `add_to_hu` are never used [INFO] [stdout] --> src/fv.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl FVData { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 44 | pub fn new(dims: (usize,usize)) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn new_case(h: Array2, hu: Array2, hv: Array2, mask: Array2) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn add_to_hu(&mut self, hu: Array2) {self.q.hu += &hu; } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reconstruct_slopes` is never used [INFO] [stdout] --> src/fv.rs:106:4 [INFO] [stdout] | [INFO] [stdout] 106 | fn reconstruct_slopes(q: &Array2, q_sl_x: &mut Array2, q_sl_y: &mut Array2) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mask_field` is never used [INFO] [stdout] --> src/fv.rs:273:4 [INFO] [stdout] | [INFO] [stdout] 273 | fn mask_field(u: &mut Array2, mask: &Array2) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `van_leer` is never used [INFO] [stdout] --> src/fv.rs:344:4 [INFO] [stdout] | [INFO] [stdout] 344 | fn van_leer(a: f64, b: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dissipation` is never used [INFO] [stdout] --> src/fv.rs:356:4 [INFO] [stdout] | [INFO] [stdout] 356 | fn dissipation(u: &mut Array2, buffer: &mut Array2, c: f64, dt: f64) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WallCell` is never constructed [INFO] [stdout] --> src/fv.rs:618:8 [INFO] [stdout] | [INFO] [stdout] 618 | struct WallCell { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Rectangle` and `Polygon` are never constructed [INFO] [stdout] --> src/fvgeometry.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum FVShape { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 6 | Rectangle(Rectangle), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | Circle(Circle), [INFO] [stdout] 8 | Polygon(Polygon), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FVShape` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_rectangle` and `add_polygon` are never used [INFO] [stdout] --> src/fvgeometry.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 81 | impl FVGeometry { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn add_rectangle(&mut self, point_a: (f64, f64), point_b: (f64, f64)) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn add_polygon(&mut self, points: Vec>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_default_case` is never used [INFO] [stdout] --> src/files.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn save_default_case() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_windtunnel_case` is never used [INFO] [stdout] --> src/files.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn save_windtunnel_case() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | tx.send(data.clone_fields()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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] 131 | let _ = tx.send(data.clone_fields()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:284:5 [INFO] [stdout] | [INFO] [stdout] 284 | / eframe::run_native("Wave simulation", native_options, [INFO] [stdout] 285 | | Box::new(|cc| Ok(Box::new(App::new(cc))))); [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 284 | let _ = eframe::run_native("Wave simulation", native_options, [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pointA` should have a snake case name [INFO] [stdout] --> src/fvgeometry.rs:135:40 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn add_beveled_rect(&mut self, pointA: (f64, f64), pointB: (f64, f64), bevel: f64) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `point_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pointB` should have a snake case name [INFO] [stdout] --> src/fvgeometry.rs:135:60 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn add_beveled_rect(&mut self, pointA: (f64, f64), pointB: (f64, f64), bevel: f64) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `point_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 50s [INFO] running `Command { std: "docker" "inspect" "e1d61c52225ff32ee0d72a48b88281b93a2e5c775eb7479b9cf9ae86fb73a624", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1d61c52225ff32ee0d72a48b88281b93a2e5c775eb7479b9cf9ae86fb73a624", kill_on_drop: false }` [INFO] [stdout] e1d61c52225ff32ee0d72a48b88281b93a2e5c775eb7479b9cf9ae86fb73a624