[INFO] fetching crate munsellspace 1.1.0... [INFO] building munsellspace-1.1.0 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate munsellspace 1.1.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate munsellspace 1.1.0 [INFO] finished tweaking crates.io crate munsellspace 1.1.0 [INFO] tweaked toml for crates.io crate munsellspace 1.1.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate munsellspace 1.1.0 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate munsellspace 1.1.0 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c9187fbc447c6c45d25e184ebd33a800d3708eb76b50d599876c4a22e70d29c1 [INFO] running `Command { std: "docker" "start" "-a" "c9187fbc447c6c45d25e184ebd33a800d3708eb76b50d599876c4a22e70d29c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c9187fbc447c6c45d25e184ebd33a800d3708eb76b50d599876c4a22e70d29c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9187fbc447c6c45d25e184ebd33a800d3708eb76b50d599876c4a22e70d29c1", kill_on_drop: false }` [INFO] [stdout] c9187fbc447c6c45d25e184ebd33a800d3708eb76b50d599876c4a22e70d29c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d04a971e53ac0cbd4f64e4336fa73c11985d128e32f4b495d2d68bc402ac8193 [INFO] running `Command { std: "docker" "start" "-a" "d04a971e53ac0cbd4f64e4336fa73c11985d128e32f4b495d2d68bc402ac8193", kill_on_drop: false }` [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling hash32 v0.3.1 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling robust v1.2.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling i_tree v0.8.3 [INFO] [stderr] Compiling palette v0.7.6 [INFO] [stderr] Compiling i_key_sort v0.2.0 [INFO] [stderr] Compiling by_address v1.2.1 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling float_next_after v1.0.0 [INFO] [stderr] Compiling fast-srgb8 v1.0.0 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling geographiclib-rs v0.2.5 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling rstar v0.12.2 [INFO] [stderr] Compiling spade v2.14.0 [INFO] [stderr] Compiling earcutr v0.4.3 [INFO] [stderr] Compiling ordered-float v4.6.0 [INFO] [stderr] Compiling geo-types v0.7.17 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling palette_derive v0.7.6 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling i_float v1.7.0 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling i_shape v1.7.0 [INFO] [stderr] Compiling i_overlay v2.0.5 [INFO] [stderr] Compiling geo v0.30.0 [INFO] [stderr] Compiling munsellspace v1.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `weighted_y` [INFO] [stdout] --> src/mathematical.rs:2320:17 [INFO] [stdout] | [INFO] [stdout] 2320 | let mut weighted_y = 0.0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 2320 | let mut _weighted_y = 0.0; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `CIE_K` [INFO] [stdout] | [INFO] [stdout] 2320 - let mut weighted_y = 0.0; [INFO] [stdout] 2320 + let mut lab_color_space::lab_to_xyz::CIE_K = 0.0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mathematical.rs:2320:13 [INFO] [stdout] | [INFO] [stdout] 2320 | let mut weighted_y = 0.0; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_x` [INFO] [stdout] --> src/mathematical.rs:2359:73 [INFO] [stdout] | [INFO] [stdout] 2359 | fn refine_munsell_specification(&self, spec: &MunsellSpecification, target_x: f64, target_y: f64, error_x: f64, error_y: f64) -> Resu... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 2359 | fn refine_munsell_specification(&self, spec: &MunsellSpecification, _target_x: f64, target_y: f64, error_x: f64, error_y: f64) -> Result { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `CIE_K` [INFO] [stdout] | [INFO] [stdout] 2359 - fn refine_munsell_specification(&self, spec: &MunsellSpecification, target_x: f64, target_y: f64, error_x: f64, error_y: f64) -> Result { [INFO] [stdout] 2359 + fn refine_munsell_specification(&self, spec: &MunsellSpecification, lab_color_space::lab_to_xyz::CIE_K: f64, target_y: f64, error_x: f64, error_y: f64) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_y` [INFO] [stdout] --> src/mathematical.rs:2359:88 [INFO] [stdout] | [INFO] [stdout] 2359 | fn refine_munsell_specification(&self, spec: &MunsellSpecification, target_x: f64, target_y: f64, error_x: f64, error_y: f64) -> Resu... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 2359 | fn refine_munsell_specification(&self, spec: &MunsellSpecification, target_x: f64, _target_y: f64, error_x: f64, error_y: f64) -> Result { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `CIE_K` [INFO] [stdout] | [INFO] [stdout] 2359 - fn refine_munsell_specification(&self, spec: &MunsellSpecification, target_x: f64, target_y: f64, error_x: f64, error_y: f64) -> Result { [INFO] [stdout] 2359 + fn refine_munsell_specification(&self, spec: &MunsellSpecification, target_x: f64, lab_color_space::lab_to_xyz::CIE_K: f64, error_x: f64, error_y: f64) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test_point` [INFO] [stdout] --> src/mechanical_wedges.rs:823:21 [INFO] [stdout] | [INFO] [stdout] 823 | let test_point = geo::Point::new(chroma, value); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chroma_inner_unclamped` [INFO] [stdout] --> src/munsell_color_science.rs:1519:21 [INFO] [stdout] | [INFO] [stdout] 1519 | let chroma_inner_unclamped = chroma_inner; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 1519 | let _chroma_inner_unclamped = chroma_inner; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `CIE_K` [INFO] [stdout] | [INFO] [stdout] 1519 - let chroma_inner_unclamped = chroma_inner; [INFO] [stdout] 1519 + let lab_color_space::lab_to_xyz::CIE_K = chroma_inner; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HUE_FAMILY_CODES` is never used [INFO] [stdout] --> src/mathematical.rs:294:11 [INFO] [stdout] | [INFO] [stdout] 294 | const HUE_FAMILY_CODES: [(u8, &str); 10] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `family_to_code` is never used [INFO] [stdout] --> src/mathematical.rs:470:12 [INFO] [stdout] | [INFO] [stdout] 470 | pub fn family_to_code(family: &str) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `InterpolationMethod` is never used [INFO] [stdout] --> src/mathematical.rs:504:14 [INFO] [stdout] | [INFO] [stdout] 504 | pub enum InterpolationMethod { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `interpolation_method_from_renotation_ovoid` is never used [INFO] [stdout] --> src/mathematical.rs:512:12 [INFO] [stdout] | [INFO] [stdout] 512 | pub fn interpolation_method_from_renotation_ovoid(hue: f64, value: f64, chroma: f64, code: u8) -> InterpolationMethod { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TOLERANCE_ABSOLUTE_DEFAULT` is never used [INFO] [stdout] --> src/mathematical.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const TOLERANCE_ABSOLUTE_DEFAULT: f64 = 1e-8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/mathematical.rs:1454:8 [INFO] [stdout] | [INFO] [stdout] 843 | impl MathematicalMunsellConverter { [INFO] [stdout] | --------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 1454 | fn lchab_to_munsell_specification(&self, _l: f64, _c: f64, hab: f64) -> (f64, u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2023 | fn linear_interpolate_xy(&self, hue: f64, value: f64, chroma: f64, code: u8) -> Result<(f64, f64)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2029 | fn radial_interpolate_xy(&self, hue: f64, value: f64, chroma: f64, code: u8) -> Result<(f64, f64)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2035 | fn interpolate_hue_chroma_to_xy(&self, _hue: f64, value: f64, _chroma: f64, _code: u8) -> Result<(f64, f64)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2104 | fn is_achromatic_d65(&self, x: f64, y: f64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2119 | fn is_achromatic(&self, x: f64, y: f64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2136 | fn interpolate_hue_chroma(&self, x: f64, y: f64, luma: f64) -> Result<(f64, String, f64)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2174 | fn find_nearest_neighbor(&self, x: f64, y: f64, luma: f64) -> Result<(f64, String, f64)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2207 | fn munsell_specification_to_xyy_interpolated(&self, spec: &MunsellSpecification) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2235 | fn find_interpolation_neighbors(&self, target_hue: &str, target_value: f64, target_chroma: f64) -> Vec<&'static ((&'static str, f64, ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2277 | fn hue_families_match(&self, hue1: &str, hue2: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2284 | fn calculate_hue_distance(&self, hue1: &str, hue2: &str) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2302 | fn hue_to_angle(&self, hue: f64, family: &str) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2312 | fn radial_basis_interpolation(&self, neighbors: &[&'static ((&'static str, f64, f64), (f64, f64, f64))], target_value: f64, target_ch... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2359 | fn refine_munsell_specification(&self, spec: &MunsellSpecification, target_x: f64, target_y: f64, error_x: f64, error_y: f64) -> Resu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2377 | fn parse_hue_string(&self, hue_str: &str) -> Result<(f64, String)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cylindrical_to_cartesian` is never used [INFO] [stdout] --> src/mathematical.rs:284:12 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn cylindrical_to_cartesian(rho: f64, phi: f64, z: f64) -> (f64, f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rgb` is never read [INFO] [stdout] --> src/converter.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | struct MunsellReferencePoint { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 20 | rgb: [u8; 3], [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MunsellReferencePoint` 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: methods `chromatic_adaptation_d65_to_c` and `xyy_to_munsell` are never used [INFO] [stdout] --> src/converter.rs:444:8 [INFO] [stdout] | [INFO] [stdout] 115 | impl MunsellConverter { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 444 | fn chromatic_adaptation_d65_to_c(&self, xyz_d65: [f64; 3]) -> [f64; 3] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 500 | fn xyy_to_munsell(&self, xyy: [f64; 3]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.92s [INFO] running `Command { std: "docker" "inspect" "d04a971e53ac0cbd4f64e4336fa73c11985d128e32f4b495d2d68bc402ac8193", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d04a971e53ac0cbd4f64e4336fa73c11985d128e32f4b495d2d68bc402ac8193", kill_on_drop: false }` [INFO] [stdout] d04a971e53ac0cbd4f64e4336fa73c11985d128e32f4b495d2d68bc402ac8193 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d827c33852aa64c30790f7b8aa43a5528390a261d779a991ef5edf1b62e7024a [INFO] running `Command { std: "docker" "start" "-a" "d827c33852aa64c30790f7b8aa43a5528390a261d779a991ef5edf1b62e7024a", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling geo-types v0.7.17 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling clap_builder v4.5.41 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling clap v4.5.41 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling i_float v1.7.0 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling palette v0.7.6 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling proptest v1.7.0 [INFO] [stderr] Compiling i_shape v1.7.0 [INFO] [stderr] Compiling i_overlay v2.0.5 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling geo v0.30.0 [INFO] [stderr] Compiling munsellspace v1.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `test_point` [INFO] [stdout] --> src/mechanical_wedges.rs:823:21 [INFO] [stdout] | [INFO] [stdout] 823 | let test_point = geo::Point::new(chroma, value); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_point` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `weighted_y` [INFO] [stdout] --> src/mathematical.rs:2320:17 [INFO] [stdout] | [INFO] [stdout] 2320 | let mut weighted_y = 0.0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 2320 | let mut _weighted_y = 0.0; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `CIE_K` [INFO] [stdout] | [INFO] [stdout] 2320 - let mut weighted_y = 0.0; [INFO] [stdout] 2320 + let mut lab_color_space::lab_to_xyz::CIE_K = 0.0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mathematical.rs:2320:13 [INFO] [stdout] | [INFO] [stdout] 2320 | let mut weighted_y = 0.0; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_x` [INFO] [stdout] --> src/mathematical.rs:2359:73 [INFO] [stdout] | [INFO] [stdout] 2359 | fn refine_munsell_specification(&self, spec: &MunsellSpecification, target_x: f64, target_y: f64, error_x: f64, error_y: f64) -> Resu... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 2359 | fn refine_munsell_specification(&self, spec: &MunsellSpecification, _target_x: f64, target_y: f64, error_x: f64, error_y: f64) -> Result { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `CIE_K` [INFO] [stdout] | [INFO] [stdout] 2359 - fn refine_munsell_specification(&self, spec: &MunsellSpecification, target_x: f64, target_y: f64, error_x: f64, error_y: f64) -> Result { [INFO] [stdout] 2359 + fn refine_munsell_specification(&self, spec: &MunsellSpecification, lab_color_space::lab_to_xyz::CIE_K: f64, target_y: f64, error_x: f64, error_y: f64) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_y` [INFO] [stdout] --> src/mathematical.rs:2359:88 [INFO] [stdout] | [INFO] [stdout] 2359 | fn refine_munsell_specification(&self, spec: &MunsellSpecification, target_x: f64, target_y: f64, error_x: f64, error_y: f64) -> Resu... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 2359 | fn refine_munsell_specification(&self, spec: &MunsellSpecification, target_x: f64, _target_y: f64, error_x: f64, error_y: f64) -> Result { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `CIE_K` [INFO] [stdout] | [INFO] [stdout] 2359 - fn refine_munsell_specification(&self, spec: &MunsellSpecification, target_x: f64, target_y: f64, error_x: f64, error_y: f64) -> Result { [INFO] [stdout] 2359 + fn refine_munsell_specification(&self, spec: &MunsellSpecification, target_x: f64, lab_color_space::lab_to_xyz::CIE_K: f64, error_x: f64, error_y: f64) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chroma_inner_unclamped` [INFO] [stdout] --> src/munsell_color_science.rs:1519:21 [INFO] [stdout] | [INFO] [stdout] 1519 | let chroma_inner_unclamped = chroma_inner; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 1519 | let _chroma_inner_unclamped = chroma_inner; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `CIE_K` [INFO] [stdout] | [INFO] [stdout] 1519 - let chroma_inner_unclamped = chroma_inner; [INFO] [stdout] 1519 + let lab_color_space::lab_to_xyz::CIE_K = chroma_inner; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TOLERANCE_ABSOLUTE_DEFAULT` is never used [INFO] [stdout] --> src/mathematical.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const TOLERANCE_ABSOLUTE_DEFAULT: f64 = 1e-8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/mathematical.rs:1454:8 [INFO] [stdout] | [INFO] [stdout] 843 | impl MathematicalMunsellConverter { [INFO] [stdout] | --------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 1454 | fn lchab_to_munsell_specification(&self, _l: f64, _c: f64, hab: f64) -> (f64, u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2023 | fn linear_interpolate_xy(&self, hue: f64, value: f64, chroma: f64, code: u8) -> Result<(f64, f64)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2029 | fn radial_interpolate_xy(&self, hue: f64, value: f64, chroma: f64, code: u8) -> Result<(f64, f64)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2035 | fn interpolate_hue_chroma_to_xy(&self, _hue: f64, value: f64, _chroma: f64, _code: u8) -> Result<(f64, f64)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2104 | fn is_achromatic_d65(&self, x: f64, y: f64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2119 | fn is_achromatic(&self, x: f64, y: f64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2136 | fn interpolate_hue_chroma(&self, x: f64, y: f64, luma: f64) -> Result<(f64, String, f64)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2174 | fn find_nearest_neighbor(&self, x: f64, y: f64, luma: f64) -> Result<(f64, String, f64)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2207 | fn munsell_specification_to_xyy_interpolated(&self, spec: &MunsellSpecification) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2235 | fn find_interpolation_neighbors(&self, target_hue: &str, target_value: f64, target_chroma: f64) -> Vec<&'static ((&'static str, f64, ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2277 | fn hue_families_match(&self, hue1: &str, hue2: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2284 | fn calculate_hue_distance(&self, hue1: &str, hue2: &str) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2302 | fn hue_to_angle(&self, hue: f64, family: &str) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2312 | fn radial_basis_interpolation(&self, neighbors: &[&'static ((&'static str, f64, f64), (f64, f64, f64))], target_value: f64, target_ch... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2359 | fn refine_munsell_specification(&self, spec: &MunsellSpecification, target_x: f64, target_y: f64, error_x: f64, error_y: f64) -> Resu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2377 | fn parse_hue_string(&self, hue_str: &str) -> Result<(f64, String)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cylindrical_to_cartesian` is never used [INFO] [stdout] --> src/mathematical.rs:284:12 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn cylindrical_to_cartesian(rho: f64, phi: f64, z: f64) -> (f64, f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HUE_FAMILY_CODES` is never used [INFO] [stdout] --> src/mathematical.rs:294:11 [INFO] [stdout] | [INFO] [stdout] 294 | const HUE_FAMILY_CODES: [(u8, &str); 10] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `family_to_code` is never used [INFO] [stdout] --> src/mathematical.rs:470:12 [INFO] [stdout] | [INFO] [stdout] 470 | pub fn family_to_code(family: &str) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `InterpolationMethod` is never used [INFO] [stdout] --> src/mathematical.rs:504:14 [INFO] [stdout] | [INFO] [stdout] 504 | pub enum InterpolationMethod { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `interpolation_method_from_renotation_ovoid` is never used [INFO] [stdout] --> src/mathematical.rs:512:12 [INFO] [stdout] | [INFO] [stdout] 512 | pub fn interpolation_method_from_renotation_ovoid(hue: f64, value: f64, chroma: f64, code: u8) -> InterpolationMethod { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rgb` is never read [INFO] [stdout] --> src/converter.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | struct MunsellReferencePoint { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 20 | rgb: [u8; 3], [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MunsellReferencePoint` 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: methods `chromatic_adaptation_d65_to_c` and `xyy_to_munsell` are never used [INFO] [stdout] --> src/converter.rs:444:8 [INFO] [stdout] | [INFO] [stdout] 115 | impl MunsellConverter { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 444 | fn chromatic_adaptation_d65_to_c(&self, xyz_d65: [f64; 3]) -> [f64; 3] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 500 | fn xyy_to_munsell(&self, xyy: [f64; 3]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/property_tests.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | /// Property: All valid RGB values should convert without error [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/property_tests.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | /// Property: Converting the same RGB value multiple times should always give the same result [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/property_tests.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | /// Property: Batch conversion should give same results as individual conversions [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/property_tests.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | /// Property: Neutral colors (grayscale) should have no hue information [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/property_tests.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | /// Property: Colors with higher luminance should have higher Munsell value [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/property_tests.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | /// Property: Thread safety - multiple threads should produce consistent results [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/property_tests.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | /// Property: Valid Munsell notation parsing should be invertible [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/property_tests.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | /// Property: Extreme RGB values should convert without overflow/underflow [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `invalid_y_count` is assigned to, but never used [INFO] [stdout] --> src/constants/mod.rs:225:17 [INFO] [stdout] | [INFO] [stdout] 225 | let mut invalid_y_count = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_invalid_y_count` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `weighted_y` [INFO] [stdout] --> src/mathematical.rs:2320:17 [INFO] [stdout] | [INFO] [stdout] 2320 | let mut weighted_y = 0.0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 2320 | let mut _weighted_y = 0.0; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `CIE_K` [INFO] [stdout] | [INFO] [stdout] 2320 - let mut weighted_y = 0.0; [INFO] [stdout] 2320 + let mut lab_color_space::lab_to_xyz::CIE_K = 0.0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mathematical.rs:2320:13 [INFO] [stdout] | [INFO] [stdout] 2320 | let mut weighted_y = 0.0; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_x` [INFO] [stdout] --> src/mathematical.rs:2359:73 [INFO] [stdout] | [INFO] [stdout] 2359 | fn refine_munsell_specification(&self, spec: &MunsellSpecification, target_x: f64, target_y: f64, error_x: f64, error_y: f64) -> Resu... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 2359 | fn refine_munsell_specification(&self, spec: &MunsellSpecification, _target_x: f64, target_y: f64, error_x: f64, error_y: f64) -> Result { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `CIE_K` [INFO] [stdout] | [INFO] [stdout] 2359 - fn refine_munsell_specification(&self, spec: &MunsellSpecification, target_x: f64, target_y: f64, error_x: f64, error_y: f64) -> Result { [INFO] [stdout] 2359 + fn refine_munsell_specification(&self, spec: &MunsellSpecification, lab_color_space::lab_to_xyz::CIE_K: f64, target_y: f64, error_x: f64, error_y: f64) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_y` [INFO] [stdout] --> src/mathematical.rs:2359:88 [INFO] [stdout] | [INFO] [stdout] 2359 | fn refine_munsell_specification(&self, spec: &MunsellSpecification, target_x: f64, target_y: f64, error_x: f64, error_y: f64) -> Resu... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 2359 | fn refine_munsell_specification(&self, spec: &MunsellSpecification, target_x: f64, _target_y: f64, error_x: f64, error_y: f64) -> Result { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `CIE_K` [INFO] [stdout] | [INFO] [stdout] 2359 - fn refine_munsell_specification(&self, spec: &MunsellSpecification, target_x: f64, target_y: f64, error_x: f64, error_y: f64) -> Result { [INFO] [stdout] 2359 + fn refine_munsell_specification(&self, spec: &MunsellSpecification, target_x: f64, lab_color_space::lab_to_xyz::CIE_K: f64, error_x: f64, error_y: f64) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chroma_inner_unclamped` [INFO] [stdout] --> src/munsell_color_science.rs:1519:21 [INFO] [stdout] | [INFO] [stdout] 1519 | let chroma_inner_unclamped = chroma_inner; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 1519 | let _chroma_inner_unclamped = chroma_inner; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `CIE_K` [INFO] [stdout] | [INFO] [stdout] 1519 - let chroma_inner_unclamped = chroma_inner; [INFO] [stdout] 1519 + let lab_color_space::lab_to_xyz::CIE_K = chroma_inner; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test_point` [INFO] [stdout] --> src/mechanical_wedges.rs:823:21 [INFO] [stdout] | [INFO] [stdout] 823 | let test_point = geo::Point::new(chroma, value); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cylindrical_to_cartesian` is never used [INFO] [stdout] --> src/mathematical.rs:284:12 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn cylindrical_to_cartesian(rho: f64, phi: f64, z: f64) -> (f64, f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HUE_FAMILY_CODES` is never used [INFO] [stdout] --> src/mathematical.rs:294:11 [INFO] [stdout] | [INFO] [stdout] 294 | const HUE_FAMILY_CODES: [(u8, &str); 10] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `family_to_code` is never used [INFO] [stdout] --> src/mathematical.rs:470:12 [INFO] [stdout] | [INFO] [stdout] 470 | pub fn family_to_code(family: &str) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `InterpolationMethod` is never used [INFO] [stdout] --> src/mathematical.rs:504:14 [INFO] [stdout] | [INFO] [stdout] 504 | pub enum InterpolationMethod { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `interpolation_method_from_renotation_ovoid` is never used [INFO] [stdout] --> src/mathematical.rs:512:12 [INFO] [stdout] | [INFO] [stdout] 512 | pub fn interpolation_method_from_renotation_ovoid(hue: f64, value: f64, chroma: f64, code: u8) -> InterpolationMethod { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rgb` is never read [INFO] [stdout] --> src/converter.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | struct MunsellReferencePoint { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 20 | rgb: [u8; 3], [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MunsellReferencePoint` 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: methods `chromatic_adaptation_d65_to_c` and `xyy_to_munsell` are never used [INFO] [stdout] --> src/converter.rs:444:8 [INFO] [stdout] | [INFO] [stdout] 115 | impl MunsellConverter { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 444 | fn chromatic_adaptation_d65_to_c(&self, xyz_d65: [f64; 3]) -> [f64; 3] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 500 | fn xyy_to_munsell(&self, xyy: [f64; 3]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TOLERANCE_ABSOLUTE_DEFAULT` is never used [INFO] [stdout] --> src/mathematical.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const TOLERANCE_ABSOLUTE_DEFAULT: f64 = 1e-8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/mathematical.rs:1454:8 [INFO] [stdout] | [INFO] [stdout] 843 | impl MathematicalMunsellConverter { [INFO] [stdout] | --------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 1454 | fn lchab_to_munsell_specification(&self, _l: f64, _c: f64, hab: f64) -> (f64, u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2023 | fn linear_interpolate_xy(&self, hue: f64, value: f64, chroma: f64, code: u8) -> Result<(f64, f64)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2029 | fn radial_interpolate_xy(&self, hue: f64, value: f64, chroma: f64, code: u8) -> Result<(f64, f64)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2035 | fn interpolate_hue_chroma_to_xy(&self, _hue: f64, value: f64, _chroma: f64, _code: u8) -> Result<(f64, f64)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2104 | fn is_achromatic_d65(&self, x: f64, y: f64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2136 | fn interpolate_hue_chroma(&self, x: f64, y: f64, luma: f64) -> Result<(f64, String, f64)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2174 | fn find_nearest_neighbor(&self, x: f64, y: f64, luma: f64) -> Result<(f64, String, f64)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2207 | fn munsell_specification_to_xyy_interpolated(&self, spec: &MunsellSpecification) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2235 | fn find_interpolation_neighbors(&self, target_hue: &str, target_value: f64, target_chroma: f64) -> Vec<&'static ((&'static str, f64, ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2277 | fn hue_families_match(&self, hue1: &str, hue2: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2284 | fn calculate_hue_distance(&self, hue1: &str, hue2: &str) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2302 | fn hue_to_angle(&self, hue: f64, family: &str) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2312 | fn radial_basis_interpolation(&self, neighbors: &[&'static ((&'static str, f64, f64), (f64, f64, f64))], target_value: f64, target_ch... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2359 | fn refine_munsell_specification(&self, spec: &MunsellSpecification, target_x: f64, target_y: f64, error_x: f64, error_y: f64) -> Resu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 29.02s [INFO] running `Command { std: "docker" "inspect" "d827c33852aa64c30790f7b8aa43a5528390a261d779a991ef5edf1b62e7024a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d827c33852aa64c30790f7b8aa43a5528390a261d779a991ef5edf1b62e7024a", kill_on_drop: false }` [INFO] [stdout] d827c33852aa64c30790f7b8aa43a5528390a261d779a991ef5edf1b62e7024a