[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] building CcydtN/SmoothParticleHydrodynamics against try#334963c956d25708feab489a3816ae63f639355d for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCcydtN%2FSmoothParticleHydrodynamics" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/CcydtN/SmoothParticleHydrodynamics on toolchain 334963c956d25708feab489a3816ae63f639355d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "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-6-tc2/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" "+334963c956d25708feab489a3816ae63f639355d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5bb9af39bd695602e41a4a4d2a1dae745e12a38f74733c67e509e304e65426f5
[INFO] running `Command { std: "docker" "start" "-a" "5bb9af39bd695602e41a4a4d2a1dae745e12a38f74733c67e509e304e65426f5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5bb9af39bd695602e41a4a4d2a1dae745e12a38f74733c67e509e304e65426f5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5bb9af39bd695602e41a4a4d2a1dae745e12a38f74733c67e509e304e65426f5", kill_on_drop: false }`
[INFO] [stdout] 5bb9af39bd695602e41a4a4d2a1dae745e12a38f74733c67e509e304e65426f5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9171c19297bf20041375c5aa81316eaf51a172f6b4694382a170d51df648f685
[INFO] running `Command { std: "docker" "start" "-a" "9171c19297bf20041375c5aa81316eaf51a172f6b4694382a170d51df648f685", kill_on_drop: false }`
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.78
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling simd-adler32 v0.3.7
[INFO] [stderr]    Compiling crc32fast v1.4.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling zerocopy v0.7.32
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling serde v1.0.198
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling miniquad v0.4.0
[INFO] [stderr]    Compiling either v1.10.0
[INFO] [stderr]    Compiling ttf-parser v0.15.2
[INFO] [stderr]    Compiling miniz_oxide v0.7.2
[INFO] [stderr]    Compiling fdeflate v0.3.4
[INFO] [stderr]    Compiling bytemuck v1.14.3
[INFO] [stderr]    Compiling serde_json v1.0.116
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling color_quant v1.1.0
[INFO] [stderr]    Compiling ryu v1.0.17
[INFO] [stderr]    Compiling bumpalo v3.15.3
[INFO] [stderr]    Compiling macroquad_macro v0.1.7
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling glam v0.21.3
[INFO] [stderr]    Compiling ahash v0.8.9
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling slotmap v1.0.7
[INFO] [stderr]    Compiling quad-rand v0.2.1
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling flate2 v1.0.28
[INFO] [stderr]    Compiling hashbrown v0.13.2
[INFO] [stderr]    Compiling syn v2.0.51
[INFO] [stderr]    Compiling crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling png v0.17.13
[INFO] [stderr]    Compiling fontdue v0.7.3
[INFO] [stderr]    Compiling uom v0.35.0
[INFO] [stderr]    Compiling image v0.24.9
[INFO] [stderr]    Compiling rayon v1.9.0
[INFO] [stderr]    Compiling serde_derive v1.0.198
[INFO] [stderr]    Compiling macroquad v0.4.5
[INFO] [stderr]    Compiling 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: `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: `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: `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/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: 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: 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<Vec<f64>>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 38 |     gradient: Vec<Vec<f64>>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 39 |     laplacian: Vec<Vec<f64>>,
[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: 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<Particle> {
[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<Item = &Particle> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 79  |     pub fn par_particles_mut(&mut self) -> impl ParallelIterator<Item = &mut Particle> {
[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<usize>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 12 |     info: HashMap<Key, Range<usize>>,
[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<Vec3>) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub fn lookup(&self, position: &Vec3, support_radius: f32) -> impl Iterator<Item = &usize> {
[INFO] [stdout]    |            ^^^^^^
[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<Vec<f64>>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 38 |     gradient: Vec<Vec<f64>>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 39 |     laplacian: Vec<Vec<f64>>,
[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<Particle> {
[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<Item = &Particle> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 79  |     pub fn par_particles_mut(&mut self) -> impl ParallelIterator<Item = &mut Particle> {
[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<usize>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 12 |     info: HashMap<Key, Range<usize>>,
[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<Vec3>) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub fn lookup(&self, position: &Vec3, support_radius: f32) -> impl Iterator<Item = &usize> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 38.83s
[INFO] running `Command { std: "docker" "inspect" "9171c19297bf20041375c5aa81316eaf51a172f6b4694382a170d51df648f685", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9171c19297bf20041375c5aa81316eaf51a172f6b4694382a170d51df648f685", kill_on_drop: false }`
[INFO] [stdout] 9171c19297bf20041375c5aa81316eaf51a172f6b4694382a170d51df648f685
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 744b7a8cd5edb50e279e28417a16faac68d4e232ac449fddb5af216c4192c5e0
[INFO] running `Command { std: "docker" "start" "-a" "744b7a8cd5edb50e279e28417a16faac68d4e232ac449fddb5af216c4192c5e0", kill_on_drop: false }`
[INFO] [stderr]    Compiling 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 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: 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: 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: 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<Item = &Particle> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 79  |     pub fn par_particles_mut(&mut self) -> impl ParallelIterator<Item = &mut Particle> {
[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: 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: 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<Item = &Particle> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 79  |     pub fn par_particles_mut(&mut self) -> impl ParallelIterator<Item = &mut Particle> {
[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] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.16s
[INFO] running `Command { std: "docker" "inspect" "744b7a8cd5edb50e279e28417a16faac68d4e232ac449fddb5af216c4192c5e0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "744b7a8cd5edb50e279e28417a16faac68d4e232ac449fddb5af216c4192c5e0", kill_on_drop: false }`
[INFO] [stdout] 744b7a8cd5edb50e279e28417a16faac68d4e232ac449fddb5af216c4192c5e0
