[INFO] cloning repository https://github.com/g00dm0us3/sizzling1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/g00dm0us3/sizzling1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fg00dm0us3%2Fsizzling1", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fg00dm0us3%2Fsizzling1'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 36009c960f0aff75a97d29a85934fadf18fde88a [INFO] checking g00dm0us3/sizzling1 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fg00dm0us3%2Fsizzling1" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/g00dm0us3/sizzling1 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/g00dm0us3/sizzling1 [INFO] finished tweaking git repo https://github.com/g00dm0us3/sizzling1 [INFO] tweaked toml for git repo https://github.com/g00dm0us3/sizzling1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/g00dm0us3/sizzling1 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f271ee9148f86f2f8108cc5fc0190665078c8f0d61528045b5865741e81e232 [INFO] running `Command { std: "docker" "start" "-a" "7f271ee9148f86f2f8108cc5fc0190665078c8f0d61528045b5865741e81e232", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f271ee9148f86f2f8108cc5fc0190665078c8f0d61528045b5865741e81e232", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f271ee9148f86f2f8108cc5fc0190665078c8f0d61528045b5865741e81e232", kill_on_drop: false }` [INFO] [stdout] 7f271ee9148f86f2f8108cc5fc0190665078c8f0d61528045b5865741e81e232 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1b209221c4c598de2a924dcc03027b68536f12bd24400e285b1a2822fdb1584 [INFO] running `Command { std: "docker" "start" "-a" "a1b209221c4c598de2a924dcc03027b68536f12bd24400e285b1a2822fdb1584", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Checking weezl v0.1.7 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking fdeflate v0.3.0 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking half v2.2.1 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Checking flate2 v1.0.27 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking png v0.17.10 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking exr v1.71.0 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Checking jpeg-decoder v0.3.0 [INFO] [stderr] Checking tiff v0.9.0 [INFO] [stderr] Checking image v0.24.7 [INFO] [stderr] Checking sizzling1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `omega` [INFO] [stdout] --> src/mutators/mutator_lib.rs:121:14 [INFO] [stdout] | [INFO] [stdout] 121 | macro_rules! omega { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `omega` [INFO] [stdout] --> src/mutators/mutator_lib.rs:121:14 [INFO] [stdout] | [INFO] [stdout] 121 | macro_rules! omega { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cell` [INFO] [stdout] --> src/modnar/rnd_vec.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::{Cell, RefCell}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cell` [INFO] [stdout] --> src/modnar/rnd_vec.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::{Cell, RefCell}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `statistics::grid_density::DensityEstimator2D` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use statistics::grid_density::DensityEstimator2D; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chaos_game::ChaosGame` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use chaos_game::ChaosGame; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::frac_render::RgbRenderer` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::frac_render::RgbRenderer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MutatorConfig`, `Mutators` [INFO] [stdout] --> src/main.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::mutators::{MutatorConfig, Mutators}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::alg::combinations::Combinations` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::alg::combinations::Combinations; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HDRender`, `RenderIter` [INFO] [stdout] --> src/main.rs:25:33 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::usecase::hd_render::{HDRender, RenderIter}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::usecase::starship_enterprise::StarshipEnterprise` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::usecase::starship_enterprise::StarshipEnterprise; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `statistics::grid_density::DensityEstimator2D` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use statistics::grid_density::DensityEstimator2D; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chaos_game::ChaosGame` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use chaos_game::ChaosGame; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::frac_render::RgbRenderer` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::frac_render::RgbRenderer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MutatorConfig`, `Mutators` [INFO] [stdout] --> src/main.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::mutators::{MutatorConfig, Mutators}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::alg::combinations::Combinations` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::alg::combinations::Combinations; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HDRender`, `RenderIter` [INFO] [stdout] --> src/main.rs:25:33 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::usecase::hd_render::{HDRender, RenderIter}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::usecase::starship_enterprise::StarshipEnterprise` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::usecase::starship_enterprise::StarshipEnterprise; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util::Len` [INFO] [stdout] --> src/modnar/rnd_vec.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::util::Len; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/chaos_game.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | for i in 1..=ITERATIONS { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util::Len` [INFO] [stdout] --> src/modnar/rnd_vec.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::util::Len; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/chaos_game.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | for i in 1..=ITERATIONS { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/mutators/mutator_lib.rs:480:20 [INFO] [stdout] | [INFO] [stdout] 480 | pub(super) fn blur(p: &Point, rnd: &mut Modnar) -> Point { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/mutators/mutator_lib.rs:492:24 [INFO] [stdout] | [INFO] [stdout] 492 | pub(super) fn gaussian(p: &Point, rnd: &mut Modnar) -> Point { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/mutators/mutator_lib.rs:528:19 [INFO] [stdout] | [INFO] [stdout] 528 | pub(super) fn pie(p: &Point, rnd: &mut Modnar, slices: f32, rotation: f32, thickness: f32) -> Point { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/mutators/mutator_lib.rs:581:20 [INFO] [stdout] | [INFO] [stdout] 581 | pub(super) fn arch(p: &Point, rnd: &mut Modnar, v41: f32) -> Point { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/mutators/mutator_lib.rs:599:22 [INFO] [stdout] | [INFO] [stdout] 599 | pub(super) fn square(p: &Point, rnd: &mut Modnar) -> Point { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `discarded` is assigned to, but never used [INFO] [stdout] --> src/usecase/starship_enterprise.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | let mut discarded = 0u16; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_discarded` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m_rank` [INFO] [stdout] --> src/usecase/hd_render.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | m_rank: Option, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_m_rank` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mutator_repo` [INFO] [stdout] --> src/usecase/hd_render.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | mutator_repo: Option<&MutatorDescriptionService>, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mutator_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/modnar/mod.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | fn dummy(r: &mut Modnar) -> u64 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `presets` [INFO] [stdout] --> src/main.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let presets = PresetsRepository::load(ifs_presets_json_path) [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_presets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mut_desc` [INFO] [stdout] --> src/main.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let mut_desc = MutatorDescriptionService::load(mut_desc_json_path) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mut_desc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IFS_NAME` is never used [INFO] [stdout] --> src/main.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | const IFS_NAME: &str = "Serpinski carpet"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Combinations` is never constructed [INFO] [stdout] --> src/alg/combinations.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct Combinations { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/alg/combinations.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 9 | impl Combinations { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 10 | const CACHE_SIZE: usize = u16::MAX as usize; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | [INFO] [stdout] 12 | pub(crate) fn new() -> Self { Self { cache: vec![0; Self::CACHE_SIZE] } } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub(crate) fn combinations(&mut self, n: u8, k: u8) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub(crate) fn unrank(&mut self, rank: u64, pool_sz: u8, draw_sz: u8) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub(crate) fn rank(&mut self, combination: &Vec, pool_sz: u8, draw_sz: u8) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | fn key(n: u8, k: u8) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | fn lookup(&self, n: u8, k: u8) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CombinatoricsOps` is never used [INFO] [stdout] --> src/alg/combinations.rs:107:7 [INFO] [stdout] | [INFO] [stdout] 107 | trait CombinatoricsOps { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lower_bound`, `upper_bound`, `generated_count`, `hashmap`, and `rand` are never read [INFO] [stdout] --> src/alg/big_range_random_cursor.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct BigRangeRandomCursor { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 13 | hash: u64, [INFO] [stdout] 14 | lower_bound: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 15 | upper_bound: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 16 | generated_count: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | hashmap: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | rand: Modnar [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_clean`, `new`, `iter_mut`, `next`, `next_`, and `is_empty` are never used [INFO] [stdout] --> src/alg/big_range_random_cursor.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 29 | impl BigRangeRandomCursor { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 30 | pub(crate) fn new_clean(range: RangeInclusive) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub(crate) fn new(range: RangeInclusive, preexisting: &[u64]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub(crate) fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub(crate) fn next(&mut self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn next_(&mut self, rng_number: u64) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub(crate) fn is_empty(&self) -> bool { self.lower_bound >= self.upper_bound } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IterMut` is never constructed [INFO] [stdout] --> src/alg/big_range_random_cursor.rs:110:19 [INFO] [stdout] | [INFO] [stdout] 110 | pub(crate) struct IterMut<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChaosGame` is never constructed [INFO] [stdout] --> src/chaos_game.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct ChaosGame { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AffineTransformProvider` is never used [INFO] [stdout] --> src/chaos_game.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) trait AffineTransformProvider { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `run_chaos_game`, `run_chaos_game_`, and `run_convergence_test` are never used [INFO] [stdout] --> src/chaos_game.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 31 | impl ChaosGame { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 32 | pub(crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub(crate) fn run_chaos_game( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn run_chaos_game_( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub(crate) fn run_convergence_test( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_ifs_by` is never used [INFO] [stdout] --> src/ff_repository/presets_repository.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 11 | impl PresetsRepository { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub(crate) fn find_ifs_by(&self, name: &str) -> Option<&AffIfs> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `screen_name`, `is_rand`, `requires_affine`, `param_order`, and `params` are never read [INFO] [stdout] --> src/ff_repository/mutator_description_service.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct MutatorDescription { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 8 | pub enum_id: u8, [INFO] [stdout] 9 | pub screen_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 10 | pub is_rand: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | pub requires_affine: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub param_order: Option>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 13 | pub params: Option> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MutatorDescription` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `param` is never used [INFO] [stdout] --> src/ff_repository/mutator_description_service.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 16 | impl MutatorDescription { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] 17 | pub(crate) fn param(&self, name: &str) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `lower_bound`, `upper_bound`, and `default_value` are never read [INFO] [stdout] --> src/ff_repository/mutator_description_service.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub(crate) struct MutatorParam { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 31 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 32 | pub lower_bound: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 33 | pub upper_bound: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 34 | pub default_value: f32 [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MutatorParam` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DensityEstimator2D` is never constructed [INFO] [stdout] --> src/statistics/grid_density.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) struct DensityEstimator2D { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/statistics/grid_density.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 12 | impl DensityEstimator2D { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 13 | pub(crate) fn new(data: &[f32]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `histogram` is never used [INFO] [stdout] --> src/statistics/grid_density.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 18 | impl DensityEstimator2D { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub(crate) fn histogram(&self, width: usize, height: usize) -> Array2D { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `ADAPTIVE_APPROX_STEPS`, `kde_const`, `kde_adapt`, `kde`, and `cells_to_inc_around` are never used [INFO] [stdout] --> src/statistics/grid_density.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 41 | impl DensityEstimator2D { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 42 | const ADAPTIVE_APPROX_STEPS: u8 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | [INFO] [stdout] 44 | pub(crate) fn kde_const(&self, width: usize, height: usize, h: f32) -> Array2D { self.kde(width, height, |_| h) } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 45 | [INFO] [stdout] 46 | pub(crate) fn kde_adapt(&self, width: usize, height: usize) -> Array2D { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | fn kde(&self, width: usize, height: usize, get_h: F) -> Array2D where F: Fn(&RandomVec2D)->f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | fn cells_to_inc_around( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `x` and `y` are never constructed [INFO] [stdout] --> src/statistics/samples.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) enum Axis { x, y } [INFO] [stdout] | ---- ^ ^ [INFO] [stdout] | | [INFO] [stdout] | variants in this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BivariateSample` is never constructed [INFO] [stdout] --> src/statistics/samples.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) struct BivariateSample { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/statistics/samples.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 20 | impl RandomVec<2> { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 21 | pub(crate) const fn from(x: f32, y: f32) -> Self { Self { array: [x, y] } } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from`, `len`, and `region` are never used [INFO] [stdout] --> src/statistics/samples.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 35 | impl BivariateSample { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 36 | pub(crate) fn from(data: &[f32]) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub(crate) fn len(&self) -> usize { self.samples.len() } [INFO] [stdout] | ^^^ [INFO] [stdout] 61 | [INFO] [stdout] 62 | pub(crate) fn region(&self) -> &Range2D { &self.region } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Iter` is never constructed [INFO] [stdout] --> src/statistics/samples.rs:66:19 [INFO] [stdout] | [INFO] [stdout] 66 | pub(crate) struct Iter<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `iter` is never used [INFO] [stdout] --> src/statistics/samples.rs:81:19 [INFO] [stdout] | [INFO] [stdout] 80 | impl BivariateSample { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 81 | pub(crate) fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `AxisRange` is never used [INFO] [stdout] --> src/statistics/plane.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | type AxisRange = RangeInclusive; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Range2D` is never constructed [INFO] [stdout] --> src/statistics/plane.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct Range2D { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `x_range`, and `y_range` are never used [INFO] [stdout] --> src/statistics/plane.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 10 | impl Range2D { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 11 | pub(crate) fn new(x: AxisRange, y: AxisRange) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub(crate) fn x_range(&self) -> &AxisRange { &self.x } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 19 | [INFO] [stdout] 20 | pub(crate) fn y_range(&self) -> &AxisRange { &self.y } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Len` is never used [INFO] [stdout] --> src/util.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) trait Len [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remap` is never used [INFO] [stdout] --> src/util.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) fn remap(val: f32, old_range: &RangeInclusive, new_range: &RangeInclusive) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `next` is never used [INFO] [stdout] --> src/ds/array_2d.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 8 | impl MultiIndex { [INFO] [stdout] | ---------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | fn next(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from`, `x`, and `y` are never used [INFO] [stdout] --> src/ds/array_2d.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 35 | impl MultiIndex<2> { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 36 | pub(crate) const fn from(x: usize, y: usize) -> Self { Self { axis: [x, y] } } [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | [INFO] [stdout] 38 | pub(crate) fn x(&self) -> usize { self.axis[0] } [INFO] [stdout] | ^ [INFO] [stdout] 39 | pub(crate) fn y(&self) -> usize { self.axis[1] } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Iter` is never constructed [INFO] [stdout] --> src/ds/array_2d.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | pub(crate) struct Iter { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `width`, `height`, and `non_zero_count` are never used [INFO] [stdout] --> src/ds/array_2d.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 76 | impl Array<2> { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 77 | pub(crate) fn new(width: usize, height: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub(crate) fn width(&self) -> usize { self.dims[0] } [INFO] [stdout] | ^^^^^ [INFO] [stdout] 85 | pub(crate) fn height(&self) -> usize { self.dims[1] } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 86 | [INFO] [stdout] 87 | pub(crate) fn non_zero_count(&self) -> usize { self.array.iter().filter(|val| **val != 0.0).count() } [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `e` and `f` are never read [INFO] [stdout] --> src/ds/affine_mat.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) struct AffineMat { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub(crate) e: f32, [INFO] [stdout] | ^ [INFO] [stdout] 8 | pub(crate) f: f32 [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `AffineMat` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/ds/aff_ifs.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) struct AffIfs { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 7 | pub(crate) name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AffIfs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> src/ds/point.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `zero`, `transform`, `dst_fast`, `dot`, and `len` are never used [INFO] [stdout] --> src/ds/point.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 9 | impl Point { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 10 | pub(crate) fn new(x: f32, y: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub(crate) fn zero() -> Self { Self { x: 0.0, y: 0.0 } } [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | [INFO] [stdout] 15 | pub(crate) fn transform(&mut self, mat: &AffineMat) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub(crate) fn dst_fast(&self, rhs: &Point) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub(crate) fn dot(&self, rhs: &Point) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub(crate) fn len(&self) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RgbRenderer` is never constructed [INFO] [stdout] --> src/frac_render.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct RgbRenderer; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/frac_render.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 9 | impl RgbRenderer { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 10 | const LUM_LEVELS: usize = 10_000; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | [INFO] [stdout] 12 | pub(crate) fn img_bw_simple(array: &Array2D) -> RgbaImage { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub(crate) fn img_bw_(array: &Array2D) -> RgbaImage { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | fn non_smoothed_cdf(array: &Array2D, log_max: f32, alpha_range: &RangeInclusive) -> [f32; Self::LUM_LEVELS] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | fn smoothed_cdf(array: &Array2D, log_max: f32, alpha_range: &RangeInclusive) -> [f32; Self::LUM_LEVELS] { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | fn density_to_alpha(density: f32, log_max: f32)-> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | fn find_log_max(array: &Array2D) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | fn log(density: f32) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | fn pdf(array: &Array2D, log_max: f32, alpha_range: &RangeInclusive) -> [f32; Self::LUM_LEVELS] { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | fn range(array: &Array2D, only_non_zero: bool, transform: F) -> RangeInclusive [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | fn bin_idx(lum: f32, lum_range: &RangeInclusive) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MutatorConfig` is never constructed [INFO] [stdout] --> src/mutators/mod.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) struct MutatorConfig{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/mutators/mod.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 14 | impl MutatorConfig { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 15 | pub(crate) fn new(weight: f32, mutator: Mutators) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply_mutator_combination` is never used [INFO] [stdout] --> src/mutators/mod.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) fn apply_mutator_combination( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ALL_MUTATOR_DISCRIMINANTS` is never used [INFO] [stdout] --> src/mutators/mod.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | pub(crate) const ALL_MUTATOR_DISCRIMINANTS: RangeInclusive = 1..=48; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `call` is never used [INFO] [stdout] --> src/mutators/mod.rs:95:4 [INFO] [stdout] | [INFO] [stdout] 95 | fn call( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `r_f`, `rsq_f`, `theta_f`, and `phi_f` are never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 5 | impl Point { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 6 | fn r_f(&self) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | fn rsq_f(&self) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | fn theta_f(&self) -> f32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn phi_f(&self) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/mutators/mutator_lib.rs:480:20 [INFO] [stdout] | [INFO] [stdout] 480 | pub(super) fn blur(p: &Point, rnd: &mut Modnar) -> Point { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/mutators/mutator_lib.rs:492:24 [INFO] [stdout] | [INFO] [stdout] 492 | pub(super) fn gaussian(p: &Point, rnd: &mut Modnar) -> Point { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/mutators/mutator_lib.rs:528:19 [INFO] [stdout] | [INFO] [stdout] 528 | pub(super) fn pie(p: &Point, rnd: &mut Modnar, slices: f32, rotation: f32, thickness: f32) -> Point { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/mutators/mutator_lib.rs:581:20 [INFO] [stdout] | [INFO] [stdout] 581 | pub(super) fn arch(p: &Point, rnd: &mut Modnar, v41: f32) -> Point { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/mutators/mutator_lib.rs:599:22 [INFO] [stdout] | [INFO] [stdout] 599 | pub(super) fn square(p: &Point, rnd: &mut Modnar) -> Point { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `phi` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn phi(p: &Point) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `psi` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn psi(rnd: &mut Modnar) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `omega` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn omega(rnd: &mut Modnar) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lambda` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn lambda(rnd: &mut Modnar) -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sinus` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | pub(super) fn sinus(p: &Point) -> Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `spherical` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | pub(super) fn spherical(p: &Point) -> Point { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `swirl` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | pub(super) fn swirl(p: &Point) -> Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `horseshoe` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | pub(super) fn horseshoe(p: &Point) -> Point { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `polar` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:70:15 [INFO] [stdout] | [INFO] [stdout] 70 | pub(super) fn polar(p: &Point) -> Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handkerchief` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:78:15 [INFO] [stdout] | [INFO] [stdout] 78 | pub(super) fn handkerchief(p: &Point) -> Point { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sin` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:133:4 [INFO] [stdout] | [INFO] [stdout] 133 | fn sin(val: f32) -> f32 { val.sin() } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cos` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:134:4 [INFO] [stdout] | [INFO] [stdout] 134 | fn cos(val: f32) -> f32 { val.cos() } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sqrt` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:135:4 [INFO] [stdout] | [INFO] [stdout] 135 | fn sqrt(val: f32) -> f32 { val.sqrt() } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tan` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:136:4 [INFO] [stdout] | [INFO] [stdout] 136 | fn tan(val: f32) -> f32 { val.tan() } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `heart` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:139:15 [INFO] [stdout] | [INFO] [stdout] 139 | pub(super) fn heart(p: &Point) -> Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `disc` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:148:15 [INFO] [stdout] | [INFO] [stdout] 148 | pub(super) fn disc(p: &Point) -> Point { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `spiral` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:160:15 [INFO] [stdout] | [INFO] [stdout] 160 | pub(super) fn spiral(p: &Point) -> Point { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `discarded` is assigned to, but never used [INFO] [stdout] --> src/usecase/starship_enterprise.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | let mut discarded = 0u16; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_discarded` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hyperbolic` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:172:15 [INFO] [stdout] | [INFO] [stdout] 172 | pub(super) fn hyperbolic(p: &Point) -> Point { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `diamond` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:185:15 [INFO] [stdout] | [INFO] [stdout] 185 | pub(super) fn diamond(p: &Point) -> Point { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ex` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:196:15 [INFO] [stdout] | [INFO] [stdout] 196 | pub(super) fn ex(p: &Point) -> Point { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `julia` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:210:15 [INFO] [stdout] | [INFO] [stdout] 210 | pub(super) fn julia(p: &Point, rnd: &mut Modnar) -> Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bent` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:223:15 [INFO] [stdout] | [INFO] [stdout] 223 | pub(super) fn bent(p: &Point) -> Point { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `waves` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:240:15 [INFO] [stdout] | [INFO] [stdout] 240 | pub(super) fn waves(p: &Point, b: f32, c: f32, e: f32, f: f32) -> Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fisheye` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:248:15 [INFO] [stdout] | [INFO] [stdout] 248 | pub(super) fn fisheye(p: &Point) -> Point { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `popcorn` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:258:15 [INFO] [stdout] | [INFO] [stdout] 258 | pub(super) fn popcorn(p: &Point, c: f32, f: f32) -> Point { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exponential` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:266:15 [INFO] [stdout] | [INFO] [stdout] 266 | pub(super) fn exponential(p: &Point) -> Point { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `power` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:277:15 [INFO] [stdout] | [INFO] [stdout] 277 | pub(super) fn power(p: &Point) -> Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sinh` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:287:4 [INFO] [stdout] | [INFO] [stdout] 287 | fn sinh(val: f32) -> f32 { val.sinh() } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cosh` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:288:4 [INFO] [stdout] | [INFO] [stdout] 288 | fn cosh(val: f32) -> f32 { val.cosh() } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cosine` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:291:15 [INFO] [stdout] | [INFO] [stdout] 291 | pub(super) fn cosine(p: &Point) -> Point { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fmod` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:300:4 [INFO] [stdout] | [INFO] [stdout] 300 | fn fmod(val: f32, val1: f32) -> f32 { val % val1 } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rings` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:303:15 [INFO] [stdout] | [INFO] [stdout] 303 | pub(super) fn rings(p: &Point, c: f32) -> Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fan` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:315:15 [INFO] [stdout] | [INFO] [stdout] 315 | pub(super) fn fan(p: &Point, c: f32, f: f32) -> Point { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `blob` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:336:15 [INFO] [stdout] | [INFO] [stdout] 336 | pub(super) fn blob(p: &Point, blob_h: f32, blob_l: f32, blob_waves: f32) -> Point { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pdj` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:349:15 [INFO] [stdout] | [INFO] [stdout] 349 | pub(super) fn pdj(p: &Point, pdj_a: f32, pdj_b: f32, pdj_c: f32, pdj_d: f32) -> Point { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `trunc` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:356:4 [INFO] [stdout] | [INFO] [stdout] 356 | fn trunc(val: f32) -> f32 { val.trunc() } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fan2` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:359:15 [INFO] [stdout] | [INFO] [stdout] 359 | pub(super) fn fan2(p: &Point, fx: f32, fy: f32) -> Point { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rings2` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:383:15 [INFO] [stdout] | [INFO] [stdout] 383 | pub(super) fn rings2(p: &Point, rings2_val: f32) -> Point { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eyefish` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:397:15 [INFO] [stdout] | [INFO] [stdout] 397 | pub(super) fn eyefish(p: &Point) -> Point { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m_rank` [INFO] [stdout] --> src/usecase/hd_render.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | m_rank: Option, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_m_rank` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mutator_repo` [INFO] [stdout] --> src/usecase/hd_render.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | mutator_repo: Option<&MutatorDescriptionService>, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mutator_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bubble` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:407:15 [INFO] [stdout] | [INFO] [stdout] 407 | pub(super) fn bubble(p: &Point) -> Point { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cylinder` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:417:15 [INFO] [stdout] | [INFO] [stdout] 417 | pub(super) fn cylinder(p: &Point) -> Point { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `perspective` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:425:15 [INFO] [stdout] | [INFO] [stdout] 425 | pub(super) fn perspective(p: &Point, p1_angle: f32, p2_dist: f32) -> Point { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `noise` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:435:15 [INFO] [stdout] | [INFO] [stdout] 435 | pub(super) fn noise(p: &Point, rnd: &mut Modnar) -> Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `julian` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:447:15 [INFO] [stdout] | [INFO] [stdout] 447 | pub(super) fn julian(p: &Point, rnd: &mut Modnar, power: f32, dist: f32) -> Point { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `julias` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:463:15 [INFO] [stdout] | [INFO] [stdout] 463 | pub(super) fn julias(p: &Point, rnd: &mut Modnar, power: f32, dist: f32) -> Point { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `blur` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:480:15 [INFO] [stdout] | [INFO] [stdout] 480 | pub(super) fn blur(p: &Point, rnd: &mut Modnar) -> Point { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gaussian` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:492:15 [INFO] [stdout] | [INFO] [stdout] 492 | pub(super) fn gaussian(p: &Point, rnd: &mut Modnar) -> Point { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `radian_blur` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:509:15 [INFO] [stdout] | [INFO] [stdout] 509 | pub(super) fn radian_blur(p: &Point, rnd: &mut Modnar, angle: f32, v36: f32) -> Point { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pie` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:528:15 [INFO] [stdout] | [INFO] [stdout] 528 | pub(super) fn pie(p: &Point, rnd: &mut Modnar, slices: f32, rotation: f32, thickness: f32) -> Point { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ngon` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:544:15 [INFO] [stdout] | [INFO] [stdout] 544 | pub(super) fn ngon(p: &Point, power: f32, sides: f32, corners: f32, circle: f32) -> Point { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `curl` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:560:15 [INFO] [stdout] | [INFO] [stdout] 560 | pub(super) fn curl(p: &Point, c1: f32, c2: f32) -> Point { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `floor` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:570:4 [INFO] [stdout] | [INFO] [stdout] 570 | fn floor(val: f32) -> f32 { val.floor() } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rectangles` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:573:15 [INFO] [stdout] | [INFO] [stdout] 573 | pub(super) fn rectangles(p: &Point, rect_x: f32, rect_y: f32) -> Point { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `arch` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:581:15 [INFO] [stdout] | [INFO] [stdout] 581 | pub(super) fn arch(p: &Point, rnd: &mut Modnar, v41: f32) -> Point { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tangent` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:591:15 [INFO] [stdout] | [INFO] [stdout] 591 | pub(super) fn tangent(p: &Point) -> Point { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `square` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:599:15 [INFO] [stdout] | [INFO] [stdout] 599 | pub(super) fn square(p: &Point, rnd: &mut Modnar) -> Point { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rays` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:610:15 [INFO] [stdout] | [INFO] [stdout] 610 | pub(super) fn rays(p: &Point, rnd: &mut Modnar, v44: f32) -> Point { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `blade` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:623:15 [INFO] [stdout] | [INFO] [stdout] 623 | pub(super) fn blade(p: &Point, rnd: &mut Modnar, v45: f32) -> Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `secant` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:634:15 [INFO] [stdout] | [INFO] [stdout] 634 | pub(super) fn secant(p: &Point, v46: f32) -> Point { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `twintrian` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:644:15 [INFO] [stdout] | [INFO] [stdout] 644 | pub(super) fn twintrian(p: &Point, rnd: &mut Modnar, v47: f32) -> Point { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cross` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:658:15 [INFO] [stdout] | [INFO] [stdout] 658 | pub(super) fn cross(p: &Point) -> Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StarshipEnterprise` is never constructed [INFO] [stdout] --> src/usecase/starship_enterprise.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) struct StarshipEnterprise<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `roll_dice_presets` are never used [INFO] [stdout] --> src/usecase/starship_enterprise.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 31 | impl<'a> StarshipEnterprise<'a> { [INFO] [stdout] | ------------------------------- associated items in this implementation [INFO] [stdout] 32 | pub(crate) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub(crate) fn roll_dice_presets( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into` is never used [INFO] [stdout] --> src/usecase/starship_enterprise.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 116 | impl MutatorDescription { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] 117 | fn into(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HDRender` is never constructed [INFO] [stdout] --> src/usecase/hd_render.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) struct HDRender; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `render` is never used [INFO] [stdout] --> src/usecase/hd_render.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 17 | impl HDRender { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 18 | pub(crate) fn render( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RenderIter` is never used [INFO] [stdout] --> src/usecase/hd_render.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | pub(crate) enum RenderIter { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `generator` is never read [INFO] [stdout] --> src/modnar/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Modnar { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 7 | seed: u64, [INFO] [stdout] 8 | generator: fn(&mut Self) -> u64 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_lsfr`, `gen`, `gen_f32`, and `gen_f64` are never used [INFO] [stdout] --> src/modnar/mod.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 20 | impl Modnar { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 21 | pub(crate) fn new_lsfr(seed: u64) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub(crate) fn gen(&mut self, range: RangeInclusive) -> u64 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub(crate) fn gen_f32(&mut self) -> f32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | fn gen_f64(&mut self) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lsfr_` is never used [INFO] [stdout] --> src/modnar/mod.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn lsfr_(r: &mut Modnar) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BYTE_FEEDBACK` is never used [INFO] [stdout] --> src/modnar/mod.rs:76:7 [INFO] [stdout] | [INFO] [stdout] 76 | const BYTE_FEEDBACK: [u64; 256] = [ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rnd` is never read [INFO] [stdout] --> src/modnar/rnd_vec.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct RndVec { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 7 | base: Vec, [INFO] [stdout] 8 | rnd: RefCell [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `select`, and `select_mut` are never used [INFO] [stdout] --> src/modnar/rnd_vec.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl RndVec { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 21 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn select(&self) -> &T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn select_mut(&mut self) -> &mut T { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/modnar/mod.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | fn dummy(r: &mut Modnar) -> u64 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `presets` [INFO] [stdout] --> src/main.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let presets = PresetsRepository::load(ifs_presets_json_path) [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_presets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mut_desc` [INFO] [stdout] --> src/main.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let mut_desc = MutatorDescriptionService::load(mut_desc_json_path) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mut_desc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/mutators/mutator_lib.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | self.dot(self.deref()).sqrt() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Point` does not implement `Deref`, so calling `deref` on `&Point` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 7 - self.dot(self.deref()).sqrt() [INFO] [stdout] 7 + self.dot(self).sqrt() [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Point`, implement `Clone` for it [INFO] [stdout] --> src/ds/point.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #[derive(Clone)] [INFO] [stdout] 5 | pub(crate) struct Point { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/mutators/mutator_lib.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | self.dot(self.deref()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Point` does not implement `Deref`, so calling `deref` on `&Point` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 11 - self.dot(self.deref()) [INFO] [stdout] 11 + self.dot(self) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Point`, implement `Clone` for it [INFO] [stdout] --> src/ds/point.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #[derive(Clone)] [INFO] [stdout] 5 | pub(crate) struct Point { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_clean` is never used [INFO] [stdout] --> src/alg/big_range_random_cursor.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 29 | impl BigRangeRandomCursor { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 30 | pub(crate) fn new_clean(range: RangeInclusive) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChaosGame` is never constructed [INFO] [stdout] --> src/chaos_game.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct ChaosGame { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AffineTransformProvider` is never used [INFO] [stdout] --> src/chaos_game.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) trait AffineTransformProvider { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `run_chaos_game`, `run_chaos_game_`, and `run_convergence_test` are never used [INFO] [stdout] --> src/chaos_game.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 31 | impl ChaosGame { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 32 | pub(crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub(crate) fn run_chaos_game( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn run_chaos_game_( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub(crate) fn run_convergence_test( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_ifs_by` is never used [INFO] [stdout] --> src/ff_repository/presets_repository.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 11 | impl PresetsRepository { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub(crate) fn find_ifs_by(&self, name: &str) -> Option<&AffIfs> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `is_rand`, `requires_affine`, and `param_order` are never read [INFO] [stdout] --> src/ff_repository/mutator_description_service.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct MutatorDescription { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub is_rand: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | pub requires_affine: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub param_order: Option>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MutatorDescription` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lower_bound` and `upper_bound` are never read [INFO] [stdout] --> src/ff_repository/mutator_description_service.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub(crate) struct MutatorParam { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 31 | pub name: String, [INFO] [stdout] 32 | pub lower_bound: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 33 | pub upper_bound: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MutatorParam` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `samples` is never read [INFO] [stdout] --> src/statistics/grid_density.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) struct DensityEstimator2D { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 9 | samples: BivariateSample [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/statistics/grid_density.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 12 | impl DensityEstimator2D { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 13 | pub(crate) fn new(data: &[f32]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `histogram` is never used [INFO] [stdout] --> src/statistics/grid_density.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 18 | impl DensityEstimator2D { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub(crate) fn histogram(&self, width: usize, height: usize) -> Array2D { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `ADAPTIVE_APPROX_STEPS`, `kde_const`, `kde_adapt`, and `kde` are never used [INFO] [stdout] --> src/statistics/grid_density.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 41 | impl DensityEstimator2D { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 42 | const ADAPTIVE_APPROX_STEPS: u8 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | [INFO] [stdout] 44 | pub(crate) fn kde_const(&self, width: usize, height: usize, h: f32) -> Array2D { self.kde(width, height, |_| h) } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 45 | [INFO] [stdout] 46 | pub(crate) fn kde_adapt(&self, width: usize, height: usize) -> Array2D { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | fn kde(&self, width: usize, height: usize, get_h: F) -> Array2D where F: Fn(&RandomVec2D)->f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `samples` and `region` are never read [INFO] [stdout] --> src/statistics/samples.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) struct BivariateSample { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 12 | samples: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | region: Range2D [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from`, `len`, and `region` are never used [INFO] [stdout] --> src/statistics/samples.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 35 | impl BivariateSample { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 36 | pub(crate) fn from(data: &[f32]) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub(crate) fn len(&self) -> usize { self.samples.len() } [INFO] [stdout] | ^^^ [INFO] [stdout] 61 | [INFO] [stdout] 62 | pub(crate) fn region(&self) -> &Range2D { &self.region } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Iter` is never constructed [INFO] [stdout] --> src/statistics/samples.rs:66:19 [INFO] [stdout] | [INFO] [stdout] 66 | pub(crate) struct Iter<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `iter` is never used [INFO] [stdout] --> src/statistics/samples.rs:81:19 [INFO] [stdout] | [INFO] [stdout] 80 | impl BivariateSample { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 81 | pub(crate) fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> src/statistics/plane.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct Range2D { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 6 | x: AxisRange, [INFO] [stdout] | ^ [INFO] [stdout] 7 | y: AxisRange [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `x_range`, and `y_range` are never used [INFO] [stdout] --> src/statistics/plane.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 10 | impl Range2D { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 11 | pub(crate) fn new(x: AxisRange, y: AxisRange) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub(crate) fn x_range(&self) -> &AxisRange { &self.x } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 19 | [INFO] [stdout] 20 | pub(crate) fn y_range(&self) -> &AxisRange { &self.y } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `next` is never used [INFO] [stdout] --> src/ds/array_2d.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 8 | impl MultiIndex { [INFO] [stdout] | ---------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | fn next(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `x` and `y` are never used [INFO] [stdout] --> src/ds/array_2d.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 35 | impl MultiIndex<2> { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub(crate) fn x(&self) -> usize { self.axis[0] } [INFO] [stdout] | ^ [INFO] [stdout] 39 | pub(crate) fn y(&self) -> usize { self.axis[1] } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Iter` is never constructed [INFO] [stdout] --> src/ds/array_2d.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | pub(crate) struct Iter { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `width`, `height`, and `non_zero_count` are never used [INFO] [stdout] --> src/ds/array_2d.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 76 | impl Array<2> { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 84 | pub(crate) fn width(&self) -> usize { self.dims[0] } [INFO] [stdout] | ^^^^^ [INFO] [stdout] 85 | pub(crate) fn height(&self) -> usize { self.dims[1] } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 86 | [INFO] [stdout] 87 | pub(crate) fn non_zero_count(&self) -> usize { self.array.iter().filter(|val| **val != 0.0).count() } [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `e` and `f` are never read [INFO] [stdout] --> src/ds/affine_mat.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) struct AffineMat { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub(crate) e: f32, [INFO] [stdout] | ^ [INFO] [stdout] 8 | pub(crate) f: f32 [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `AffineMat` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/ds/aff_ifs.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) struct AffIfs { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 7 | pub(crate) name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AffIfs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> src/ds/point.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `zero`, `transform`, `dst_fast`, `dot`, and `len` are never used [INFO] [stdout] --> src/ds/point.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 9 | impl Point { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 10 | pub(crate) fn new(x: f32, y: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub(crate) fn zero() -> Self { Self { x: 0.0, y: 0.0 } } [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | [INFO] [stdout] 15 | pub(crate) fn transform(&mut self, mat: &AffineMat) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub(crate) fn dst_fast(&self, rhs: &Point) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub(crate) fn dot(&self, rhs: &Point) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub(crate) fn len(&self) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RgbRenderer` is never constructed [INFO] [stdout] --> src/frac_render.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct RgbRenderer; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/frac_render.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 9 | impl RgbRenderer { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 10 | const LUM_LEVELS: usize = 10_000; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | [INFO] [stdout] 12 | pub(crate) fn img_bw_simple(array: &Array2D) -> RgbaImage { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub(crate) fn img_bw_(array: &Array2D) -> RgbaImage { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | fn non_smoothed_cdf(array: &Array2D, log_max: f32, alpha_range: &RangeInclusive) -> [f32; Self::LUM_LEVELS] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | fn smoothed_cdf(array: &Array2D, log_max: f32, alpha_range: &RangeInclusive) -> [f32; Self::LUM_LEVELS] { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | fn density_to_alpha(density: f32, log_max: f32)-> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | fn find_log_max(array: &Array2D) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | fn log(density: f32) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | fn pdf(array: &Array2D, log_max: f32, alpha_range: &RangeInclusive) -> [f32; Self::LUM_LEVELS] { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | fn range(array: &Array2D, only_non_zero: bool, transform: F) -> RangeInclusive [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | fn bin_idx(lum: f32, lum_range: &RangeInclusive) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MutatorConfig` is never constructed [INFO] [stdout] --> src/mutators/mod.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) struct MutatorConfig{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/mutators/mod.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 14 | impl MutatorConfig { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 15 | pub(crate) fn new(weight: f32, mutator: Mutators) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply_mutator_combination` is never used [INFO] [stdout] --> src/mutators/mod.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) fn apply_mutator_combination( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ALL_MUTATOR_DISCRIMINANTS` is never used [INFO] [stdout] --> src/mutators/mod.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | pub(crate) const ALL_MUTATOR_DISCRIMINANTS: RangeInclusive = 1..=48; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `call` is never used [INFO] [stdout] --> src/mutators/mod.rs:95:4 [INFO] [stdout] | [INFO] [stdout] 95 | fn call( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `r_f`, `rsq_f`, `theta_f`, and `phi_f` are never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 5 | impl Point { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 6 | fn r_f(&self) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | fn rsq_f(&self) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | fn theta_f(&self) -> f32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn phi_f(&self) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `phi` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn phi(p: &Point) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `psi` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn psi(rnd: &mut Modnar) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `omega` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn omega(rnd: &mut Modnar) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lambda` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn lambda(rnd: &mut Modnar) -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sinus` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | pub(super) fn sinus(p: &Point) -> Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `spherical` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | pub(super) fn spherical(p: &Point) -> Point { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `swirl` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | pub(super) fn swirl(p: &Point) -> Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `horseshoe` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | pub(super) fn horseshoe(p: &Point) -> Point { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `polar` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:70:15 [INFO] [stdout] | [INFO] [stdout] 70 | pub(super) fn polar(p: &Point) -> Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handkerchief` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:78:15 [INFO] [stdout] | [INFO] [stdout] 78 | pub(super) fn handkerchief(p: &Point) -> Point { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sin` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:133:4 [INFO] [stdout] | [INFO] [stdout] 133 | fn sin(val: f32) -> f32 { val.sin() } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cos` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:134:4 [INFO] [stdout] | [INFO] [stdout] 134 | fn cos(val: f32) -> f32 { val.cos() } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sqrt` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:135:4 [INFO] [stdout] | [INFO] [stdout] 135 | fn sqrt(val: f32) -> f32 { val.sqrt() } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tan` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:136:4 [INFO] [stdout] | [INFO] [stdout] 136 | fn tan(val: f32) -> f32 { val.tan() } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `heart` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:139:15 [INFO] [stdout] | [INFO] [stdout] 139 | pub(super) fn heart(p: &Point) -> Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `disc` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:148:15 [INFO] [stdout] | [INFO] [stdout] 148 | pub(super) fn disc(p: &Point) -> Point { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `spiral` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:160:15 [INFO] [stdout] | [INFO] [stdout] 160 | pub(super) fn spiral(p: &Point) -> Point { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hyperbolic` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:172:15 [INFO] [stdout] | [INFO] [stdout] 172 | pub(super) fn hyperbolic(p: &Point) -> Point { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `diamond` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:185:15 [INFO] [stdout] | [INFO] [stdout] 185 | pub(super) fn diamond(p: &Point) -> Point { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ex` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:196:15 [INFO] [stdout] | [INFO] [stdout] 196 | pub(super) fn ex(p: &Point) -> Point { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `julia` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:210:15 [INFO] [stdout] | [INFO] [stdout] 210 | pub(super) fn julia(p: &Point, rnd: &mut Modnar) -> Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bent` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:223:15 [INFO] [stdout] | [INFO] [stdout] 223 | pub(super) fn bent(p: &Point) -> Point { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `waves` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:240:15 [INFO] [stdout] | [INFO] [stdout] 240 | pub(super) fn waves(p: &Point, b: f32, c: f32, e: f32, f: f32) -> Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fisheye` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:248:15 [INFO] [stdout] | [INFO] [stdout] 248 | pub(super) fn fisheye(p: &Point) -> Point { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `popcorn` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:258:15 [INFO] [stdout] | [INFO] [stdout] 258 | pub(super) fn popcorn(p: &Point, c: f32, f: f32) -> Point { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exponential` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:266:15 [INFO] [stdout] | [INFO] [stdout] 266 | pub(super) fn exponential(p: &Point) -> Point { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `power` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:277:15 [INFO] [stdout] | [INFO] [stdout] 277 | pub(super) fn power(p: &Point) -> Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sinh` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:287:4 [INFO] [stdout] | [INFO] [stdout] 287 | fn sinh(val: f32) -> f32 { val.sinh() } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cosh` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:288:4 [INFO] [stdout] | [INFO] [stdout] 288 | fn cosh(val: f32) -> f32 { val.cosh() } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cosine` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:291:15 [INFO] [stdout] | [INFO] [stdout] 291 | pub(super) fn cosine(p: &Point) -> Point { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fmod` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:300:4 [INFO] [stdout] | [INFO] [stdout] 300 | fn fmod(val: f32, val1: f32) -> f32 { val % val1 } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rings` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:303:15 [INFO] [stdout] | [INFO] [stdout] 303 | pub(super) fn rings(p: &Point, c: f32) -> Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fan` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:315:15 [INFO] [stdout] | [INFO] [stdout] 315 | pub(super) fn fan(p: &Point, c: f32, f: f32) -> Point { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `blob` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:336:15 [INFO] [stdout] | [INFO] [stdout] 336 | pub(super) fn blob(p: &Point, blob_h: f32, blob_l: f32, blob_waves: f32) -> Point { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pdj` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:349:15 [INFO] [stdout] | [INFO] [stdout] 349 | pub(super) fn pdj(p: &Point, pdj_a: f32, pdj_b: f32, pdj_c: f32, pdj_d: f32) -> Point { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `trunc` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:356:4 [INFO] [stdout] | [INFO] [stdout] 356 | fn trunc(val: f32) -> f32 { val.trunc() } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fan2` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:359:15 [INFO] [stdout] | [INFO] [stdout] 359 | pub(super) fn fan2(p: &Point, fx: f32, fy: f32) -> Point { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rings2` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:383:15 [INFO] [stdout] | [INFO] [stdout] 383 | pub(super) fn rings2(p: &Point, rings2_val: f32) -> Point { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eyefish` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:397:15 [INFO] [stdout] | [INFO] [stdout] 397 | pub(super) fn eyefish(p: &Point) -> Point { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bubble` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:407:15 [INFO] [stdout] | [INFO] [stdout] 407 | pub(super) fn bubble(p: &Point) -> Point { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cylinder` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:417:15 [INFO] [stdout] | [INFO] [stdout] 417 | pub(super) fn cylinder(p: &Point) -> Point { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `perspective` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:425:15 [INFO] [stdout] | [INFO] [stdout] 425 | pub(super) fn perspective(p: &Point, p1_angle: f32, p2_dist: f32) -> Point { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `noise` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:435:15 [INFO] [stdout] | [INFO] [stdout] 435 | pub(super) fn noise(p: &Point, rnd: &mut Modnar) -> Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `julian` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:447:15 [INFO] [stdout] | [INFO] [stdout] 447 | pub(super) fn julian(p: &Point, rnd: &mut Modnar, power: f32, dist: f32) -> Point { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `julias` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:463:15 [INFO] [stdout] | [INFO] [stdout] 463 | pub(super) fn julias(p: &Point, rnd: &mut Modnar, power: f32, dist: f32) -> Point { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `blur` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:480:15 [INFO] [stdout] | [INFO] [stdout] 480 | pub(super) fn blur(p: &Point, rnd: &mut Modnar) -> Point { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gaussian` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:492:15 [INFO] [stdout] | [INFO] [stdout] 492 | pub(super) fn gaussian(p: &Point, rnd: &mut Modnar) -> Point { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `radian_blur` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:509:15 [INFO] [stdout] | [INFO] [stdout] 509 | pub(super) fn radian_blur(p: &Point, rnd: &mut Modnar, angle: f32, v36: f32) -> Point { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pie` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:528:15 [INFO] [stdout] | [INFO] [stdout] 528 | pub(super) fn pie(p: &Point, rnd: &mut Modnar, slices: f32, rotation: f32, thickness: f32) -> Point { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ngon` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:544:15 [INFO] [stdout] | [INFO] [stdout] 544 | pub(super) fn ngon(p: &Point, power: f32, sides: f32, corners: f32, circle: f32) -> Point { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `curl` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:560:15 [INFO] [stdout] | [INFO] [stdout] 560 | pub(super) fn curl(p: &Point, c1: f32, c2: f32) -> Point { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `floor` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:570:4 [INFO] [stdout] | [INFO] [stdout] 570 | fn floor(val: f32) -> f32 { val.floor() } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rectangles` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:573:15 [INFO] [stdout] | [INFO] [stdout] 573 | pub(super) fn rectangles(p: &Point, rect_x: f32, rect_y: f32) -> Point { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `arch` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:581:15 [INFO] [stdout] | [INFO] [stdout] 581 | pub(super) fn arch(p: &Point, rnd: &mut Modnar, v41: f32) -> Point { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tangent` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:591:15 [INFO] [stdout] | [INFO] [stdout] 591 | pub(super) fn tangent(p: &Point) -> Point { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `square` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:599:15 [INFO] [stdout] | [INFO] [stdout] 599 | pub(super) fn square(p: &Point, rnd: &mut Modnar) -> Point { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rays` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:610:15 [INFO] [stdout] | [INFO] [stdout] 610 | pub(super) fn rays(p: &Point, rnd: &mut Modnar, v44: f32) -> Point { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `blade` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:623:15 [INFO] [stdout] | [INFO] [stdout] 623 | pub(super) fn blade(p: &Point, rnd: &mut Modnar, v45: f32) -> Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `secant` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:634:15 [INFO] [stdout] | [INFO] [stdout] 634 | pub(super) fn secant(p: &Point, v46: f32) -> Point { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `twintrian` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:644:15 [INFO] [stdout] | [INFO] [stdout] 644 | pub(super) fn twintrian(p: &Point, rnd: &mut Modnar, v47: f32) -> Point { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cross` is never used [INFO] [stdout] --> src/mutators/mutator_lib.rs:658:15 [INFO] [stdout] | [INFO] [stdout] 658 | pub(super) fn cross(p: &Point) -> Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StarshipEnterprise` is never constructed [INFO] [stdout] --> src/usecase/starship_enterprise.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) struct StarshipEnterprise<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `roll_dice_presets` are never used [INFO] [stdout] --> src/usecase/starship_enterprise.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 31 | impl<'a> StarshipEnterprise<'a> { [INFO] [stdout] | ------------------------------- associated items in this implementation [INFO] [stdout] 32 | pub(crate) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub(crate) fn roll_dice_presets( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HDRender` is never constructed [INFO] [stdout] --> src/usecase/hd_render.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) struct HDRender; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `render` is never used [INFO] [stdout] --> src/usecase/hd_render.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 17 | impl HDRender { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 18 | pub(crate) fn render( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RenderIter` is never used [INFO] [stdout] --> src/usecase/hd_render.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | pub(crate) enum RenderIter { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rnd` is never read [INFO] [stdout] --> src/modnar/rnd_vec.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct RndVec { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 7 | base: Vec, [INFO] [stdout] 8 | rnd: RefCell [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `select`, and `select_mut` are never used [INFO] [stdout] --> src/modnar/rnd_vec.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl RndVec { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 21 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn select(&self) -> &T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn select_mut(&mut self) -> &mut T { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 143 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/mutators/mutator_lib.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | self.dot(self.deref()).sqrt() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Point` does not implement `Deref`, so calling `deref` on `&Point` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 7 - self.dot(self.deref()).sqrt() [INFO] [stdout] 7 + self.dot(self).sqrt() [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Point`, implement `Clone` for it [INFO] [stdout] --> src/ds/point.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #[derive(Clone)] [INFO] [stdout] 5 | pub(crate) struct Point { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/mutators/mutator_lib.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | self.dot(self.deref()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Point` does not implement `Deref`, so calling `deref` on `&Point` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 11 - self.dot(self.deref()) [INFO] [stdout] 11 + self.dot(self) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Point`, implement `Clone` for it [INFO] [stdout] --> src/ds/point.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + #[derive(Clone)] [INFO] [stdout] 5 | pub(crate) struct Point { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 126 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.45s [INFO] running `Command { std: "docker" "inspect" "a1b209221c4c598de2a924dcc03027b68536f12bd24400e285b1a2822fdb1584", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1b209221c4c598de2a924dcc03027b68536f12bd24400e285b1a2822fdb1584", kill_on_drop: false }` [INFO] [stdout] a1b209221c4c598de2a924dcc03027b68536f12bd24400e285b1a2822fdb1584