[INFO] cloning repository https://github.com/CcydtN/SmoothParticleHydrodynamics [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CcydtN/SmoothParticleHydrodynamics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCcydtN%2FSmoothParticleHydrodynamics", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCcydtN%2FSmoothParticleHydrodynamics'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 73f7d4f8296f5c026b1385bf8bbcb9fdcfaebf28 [INFO] checking CcydtN/SmoothParticleHydrodynamics/73f7d4f8296f5c026b1385bf8bbcb9fdcfaebf28 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCcydtN%2FSmoothParticleHydrodynamics" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CcydtN/SmoothParticleHydrodynamics on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/CcydtN/SmoothParticleHydrodynamics [INFO] finished tweaking git repo https://github.com/CcydtN/SmoothParticleHydrodynamics [INFO] tweaked toml for git repo https://github.com/CcydtN/SmoothParticleHydrodynamics written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/CcydtN/SmoothParticleHydrodynamics 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ahash v0.8.9 [INFO] [stderr] Downloaded macroquad_macro v0.1.7 [INFO] [stderr] Downloaded rayon v1.9.0 [INFO] [stderr] Downloaded uom v0.35.0 [INFO] [stderr] Downloaded syn v2.0.51 [INFO] [stderr] Downloaded glam v0.21.3 [INFO] [stderr] Downloaded macroquad v0.4.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8abe5a55b2f94e37f3248f0d6f67db586c5bedcc3f192e9e660e576f14903219 [INFO] running `Command { std: "docker" "start" "-a" "8abe5a55b2f94e37f3248f0d6f67db586c5bedcc3f192e9e660e576f14903219", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8abe5a55b2f94e37f3248f0d6f67db586c5bedcc3f192e9e660e576f14903219", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8abe5a55b2f94e37f3248f0d6f67db586c5bedcc3f192e9e660e576f14903219", kill_on_drop: false }` [INFO] [stdout] 8abe5a55b2f94e37f3248f0d6f67db586c5bedcc3f192e9e660e576f14903219 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3322a003729f81b5aaa0b6df4930b7ee68e944c97869637aa53103a02dbd1b0 [INFO] running `Command { std: "docker" "start" "-a" "e3322a003729f81b5aaa0b6df4930b7ee68e944c97869637aa53103a02dbd1b0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling ahash v0.8.9 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Compiling miniquad v0.4.0 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking ttf-parser v0.15.2 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Checking bytemuck v1.14.3 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.51 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling macroquad_macro v0.1.7 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking bumpalo v3.15.3 [INFO] [stderr] Checking fontdue v0.7.3 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Checking glam v0.21.3 [INFO] [stderr] Checking quad-rand v0.2.1 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking uom v0.35.0 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking rayon v1.9.0 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking macroquad v0.4.5 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Checking sph_simulation v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/model/density.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/model/pressure/tait.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/model/pressure/tait.rs:58:25 [INFO] [stdout] | [INFO] [stdout] 58 | use crate::kernel::{self, CubicSpline}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/model/surface_tension/becker_teschner_07.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/model/viscosity/artificial.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Sum` [INFO] [stdout] --> src/util_3d/particle.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::iter::Sum; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `iter` and `ops::Deref` [INFO] [stdout] --> src/util_3d/space.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::HashMap, iter, ops::Deref}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::kernel` [INFO] [stdout] --> src/util_3d/space.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::kernel; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `spatial_hash_grid::SpatialHashGrid` [INFO] [stdout] --> src/util_3d/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use spatial_hash_grid::SpatialHashGrid; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/model/density.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/model/pressure/tait.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/model/pressure/tait.rs:58:25 [INFO] [stdout] | [INFO] [stdout] 58 | use crate::kernel::{self, CubicSpline}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/model/surface_tension/becker_teschner_07.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/model/viscosity/artificial.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Sum` [INFO] [stdout] --> src/util_3d/particle.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::iter::Sum; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/model/density.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/model/pressure/tait.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/model/surface_tension/becker_teschner_07.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/model/viscosity/artificial.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Sum` [INFO] [stdout] --> src/util_3d/particle.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::iter::Sum; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `iter` and `ops::Deref` [INFO] [stdout] --> src/util_3d/space.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::HashMap, iter, ops::Deref}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::kernel` [INFO] [stdout] --> src/util_3d/space.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::kernel; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `spatial_hash_grid::SpatialHashGrid` [INFO] [stdout] --> src/util_3d/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use spatial_hash_grid::SpatialHashGrid; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `iter` and `ops::Deref` [INFO] [stdout] --> src/util_3d/space.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::HashMap, iter, ops::Deref}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::kernel` [INFO] [stdout] --> src/util_3d/space.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::kernel; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `spatial_hash_grid::SpatialHashGrid` [INFO] [stdout] --> src/util_3d/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use spatial_hash_grid::SpatialHashGrid; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/model/density.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/model/pressure/tait.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/model/surface_tension/becker_teschner_07.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/model/viscosity/artificial.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Sum` [INFO] [stdout] --> src/util_3d/particle.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::iter::Sum; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `iter` and `ops::Deref` [INFO] [stdout] --> src/util_3d/space.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::HashMap, iter, ops::Deref}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::kernel` [INFO] [stdout] --> src/util_3d/space.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::kernel; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `spatial_hash_grid::SpatialHashGrid` [INFO] [stdout] --> src/util_3d/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use spatial_hash_grid::SpatialHashGrid; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Itertools` [INFO] [stdout] --> src/simulator.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use itertools::{izip, Itertools}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/util_3d/spatial_hash_grid.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/model/density.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/model/pressure/tait.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/simulator.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/model/viscosity/artificial.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/model/surface_tension/becker_teschner_07.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::kernel::Kernel` [INFO] [stdout] --> src/model/surface_tension/becker_teschner_07.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::kernel::Kernel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Itertools` [INFO] [stdout] --> src/simulator.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use itertools::{izip, Itertools}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/util_3d/spatial_hash_grid.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/model/density.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/model/pressure/tait.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/simulator.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/model/viscosity/artificial.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/model/surface_tension/becker_teschner_07.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::kernel::Kernel` [INFO] [stdout] --> src/model/surface_tension/becker_teschner_07.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::kernel::Kernel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/model/density.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/model/pressure/tait.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/simulator.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/model/surface_tension/becker_teschner_07.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::kernel::Kernel` [INFO] [stdout] --> src/model/surface_tension/becker_teschner_07.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::kernel::Kernel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/model/viscosity/artificial.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Itertools` [INFO] [stdout] --> src/simulator.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use itertools::{izip, Itertools}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/model/density.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/model/pressure/tait.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/simulator.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/model/surface_tension/becker_teschner_07.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::kernel::Kernel` [INFO] [stdout] --> src/model/surface_tension/becker_teschner_07.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::kernel::Kernel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/model/viscosity/artificial.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Itertools` [INFO] [stdout] --> src/simulator.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use itertools::{izip, Itertools}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/util_3d/init_setup.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let mut position = (0..count).map(|_| random_pos()).collect_vec(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/util_3d/init_setup.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let mut position = (0..count).map(|_| random_pos()).collect_vec(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/util_3d/init_setup.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let mut position = (0..count).map(|_| random_pos()).collect_vec(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `r` and `w` are never read [INFO] [stdout] --> src/kernel/tests_helper.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) struct Value { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 10 | r: f32, [INFO] [stdout] | ^ [INFO] [stdout] 11 | w: f32, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `h_value`, `function`, `gradient`, and `laplacian` are never read [INFO] [stdout] --> src/kernel/tests_helper.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct TestData { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 36 | h_value: f64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 37 | function: Vec>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 38 | gradient: Vec>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 39 | laplacian: Vec>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_h`, `get_function`, `get_gradient`, and `get_laplacian` are never used [INFO] [stdout] --> src/kernel/tests_helper.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl TestData { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 54 | pub fn new(file_path: &PathBuf) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn get_h(&self) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | value_impl!(get_function, function); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 68 | value_impl!(get_gradient, gradient); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 69 | value_impl!(get_laplacian, laplacian); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `value_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_function` is never used [INFO] [stdout] --> src/kernel/tests_helper.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | check_impl!(check_function, function_impl); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `check_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_gradient` is never used [INFO] [stdout] --> src/kernel/tests_helper.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | check_impl!(check_gradient, gradient_impl); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `check_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_lapcian` is never used [INFO] [stdout] --> src/kernel/tests_helper.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | check_impl!(check_lapcian, laplacian_impl); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `check_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `display_distance` is never read [INFO] [stdout] --> src/simulator.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Simulator { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 33 | display_distance: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Simulator` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_display_distance` and `get_space` are never used [INFO] [stdout] --> src/simulator.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl Simulator { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn get_display_distance(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn get_space(&self) -> &Space { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `diagonal_test` is never used [INFO] [stdout] --> src/util_3d/init_setup.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn diagonal_test(mass: f32, default_kernel_radius: f32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_points` is never used [INFO] [stdout] --> src/util_3d/init_setup.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn random_points( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_sphere` is never used [INFO] [stdout] --> src/util_3d/init_setup.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn create_sphere( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/util_3d/particle.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Particle { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 16 | pub fn new(position: Vec3, velocity: Vec3, mass: f32, kernel_radius: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `par_particles`, `par_particles_mut`, `par_neighbour`, and `par_neighbour_by_key` are never used [INFO] [stdout] --> src/util_3d/space.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Space { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn par_particles(&self) -> impl ParallelIterator { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn par_particles_mut(&mut self) -> impl ParallelIterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn par_neighbour( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | fn par_neighbour_by_key( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `grid_size`, `table`, and `info` are never read [INFO] [stdout] --> src/util_3d/spatial_hash_grid.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SpatialHashGrid { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 10 | grid_size: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 11 | table: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | info: HashMap>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpatialHashGrid` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/util_3d/init_setup.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let mut position = (0..count).map(|_| random_pos()).collect_vec(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `hash`, `update`, and `lookup` are never used [INFO] [stdout] --> src/util_3d/spatial_hash_grid.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl SpatialHashGrid { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 16 | pub fn new(grid_size: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn hash(&self, pos: Vec3) -> Key { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn update(&mut self, position: &Vec) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn lookup(&self, position: &Vec3, support_radius: f32) -> impl Iterator { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `display_distance` is never read [INFO] [stdout] --> src/simulator.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Simulator { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 33 | display_distance: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Simulator` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_display_distance` and `get_space` are never used [INFO] [stdout] --> src/simulator.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl Simulator { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn get_display_distance(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn get_space(&self) -> &Space { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/util_3d/particle.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Particle { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 16 | pub fn new(position: Vec3, velocity: Vec3, mass: f32, kernel_radius: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `par_particles`, `par_particles_mut`, `par_neighbour`, and `par_neighbour_by_key` are never used [INFO] [stdout] --> src/util_3d/space.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Space { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn par_particles(&self) -> impl ParallelIterator { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn par_particles_mut(&mut self) -> impl ParallelIterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn par_neighbour( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | fn par_neighbour_by_key( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/util_3d/particle.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Particle { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 16 | pub fn new(position: Vec3, velocity: Vec3, mass: f32, kernel_radius: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `par_particles`, `par_particles_mut`, `par_neighbour`, and `par_neighbour_by_key` are never used [INFO] [stdout] --> src/util_3d/space.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Space { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn par_particles(&self) -> impl ParallelIterator { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn par_particles_mut(&mut self) -> impl ParallelIterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn par_neighbour( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | fn par_neighbour_by_key( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `r` and `w` are never read [INFO] [stdout] --> src/kernel/tests_helper.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) struct Value { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 10 | r: f32, [INFO] [stdout] | ^ [INFO] [stdout] 11 | w: f32, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `h_value`, `function`, `gradient`, and `laplacian` are never read [INFO] [stdout] --> src/kernel/tests_helper.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct TestData { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 36 | h_value: f64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 37 | function: Vec>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 38 | gradient: Vec>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 39 | laplacian: Vec>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_h`, `get_function`, `get_gradient`, and `get_laplacian` are never used [INFO] [stdout] --> src/kernel/tests_helper.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl TestData { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 54 | pub fn new(file_path: &PathBuf) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn get_h(&self) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | value_impl!(get_function, function); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 68 | value_impl!(get_gradient, gradient); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 69 | value_impl!(get_laplacian, laplacian); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `value_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_function` is never used [INFO] [stdout] --> src/kernel/tests_helper.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | check_impl!(check_function, function_impl); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `check_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_gradient` is never used [INFO] [stdout] --> src/kernel/tests_helper.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | check_impl!(check_gradient, gradient_impl); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `check_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_lapcian` is never used [INFO] [stdout] --> src/kernel/tests_helper.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | check_impl!(check_lapcian, laplacian_impl); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `check_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `diagonal_test` is never used [INFO] [stdout] --> src/util_3d/init_setup.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn diagonal_test(mass: f32, default_kernel_radius: f32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_points` is never used [INFO] [stdout] --> src/util_3d/init_setup.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn random_points( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_sphere` is never used [INFO] [stdout] --> src/util_3d/init_setup.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn create_sphere( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/util_3d/particle.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Particle { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 16 | pub fn new(position: Vec3, velocity: Vec3, mass: f32, kernel_radius: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `par_particles`, `par_particles_mut`, `par_neighbour`, and `par_neighbour_by_key` are never used [INFO] [stdout] --> src/util_3d/space.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Space { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn par_particles(&self) -> impl ParallelIterator { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn par_particles_mut(&mut self) -> impl ParallelIterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn par_neighbour( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | fn par_neighbour_by_key( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `grid_size`, `table`, and `info` are never read [INFO] [stdout] --> src/util_3d/spatial_hash_grid.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SpatialHashGrid { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 10 | grid_size: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 11 | table: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | info: HashMap>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpatialHashGrid` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `hash`, `update`, and `lookup` are never used [INFO] [stdout] --> src/util_3d/spatial_hash_grid.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl SpatialHashGrid { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 16 | pub fn new(grid_size: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn hash(&self, pos: Vec3) -> Key { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn update(&mut self, position: &Vec) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn lookup(&self, position: &Vec3, support_radius: f32) -> impl Iterator { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.40s [INFO] running `Command { std: "docker" "inspect" "e3322a003729f81b5aaa0b6df4930b7ee68e944c97869637aa53103a02dbd1b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3322a003729f81b5aaa0b6df4930b7ee68e944c97869637aa53103a02dbd1b0", kill_on_drop: false }` [INFO] [stdout] e3322a003729f81b5aaa0b6df4930b7ee68e944c97869637aa53103a02dbd1b0