[INFO] cloning repository https://github.com/OwenJPage/color-systems [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/OwenJPage/color-systems" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOwenJPage%2Fcolor-systems", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOwenJPage%2Fcolor-systems'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 251cfbe97f0ca9cb464b80e9da49ad83a11a0829 [INFO] checking OwenJPage/color-systems/251cfbe97f0ca9cb464b80e9da49ad83a11a0829 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOwenJPage%2Fcolor-systems" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/OwenJPage/color-systems on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/OwenJPage/color-systems [INFO] finished tweaking git repo https://github.com/OwenJPage/color-systems [INFO] tweaked toml for git repo https://github.com/OwenJPage/color-systems written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/OwenJPage/color-systems 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2d5a9bc1f4a7a32dc7e97186635926080e11c18e217a5d9940fc083f522b9efe [INFO] running `Command { std: "docker" "start" "-a" "2d5a9bc1f4a7a32dc7e97186635926080e11c18e217a5d9940fc083f522b9efe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d5a9bc1f4a7a32dc7e97186635926080e11c18e217a5d9940fc083f522b9efe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d5a9bc1f4a7a32dc7e97186635926080e11c18e217a5d9940fc083f522b9efe", kill_on_drop: false }` [INFO] [stdout] 2d5a9bc1f4a7a32dc7e97186635926080e11c18e217a5d9940fc083f522b9efe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c01cea443fae9f27b5d14f4300e98996447ea6e914299c0dbee5d439e2fd06da [INFO] running `Command { std: "docker" "start" "-a" "c01cea443fae9f27b5d14f4300e98996447ea6e914299c0dbee5d439e2fd06da", kill_on_drop: false }` [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking color-systems v0.0.0-dev (/opt/rustwide/workdir/color-systems) [INFO] [stdout] error: unused imports: `circle_degrees` and `p32` [INFO] [stdout] --> color-systems/src/models/cmyk.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | circle_degrees, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | p32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unused-imports` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `assert_rgb_color` [INFO] [stdout] --> color-systems/src/models/color_model.rs:75:18 [INFO] [stdout] | [INFO] [stdout] 75 | macro_rules! assert_rgb_color { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `rgb_tests` [INFO] [stdout] --> color-systems/src/models/color_model.rs:98:18 [INFO] [stdout] | [INFO] [stdout] 98 | macro_rules! rgb_tests { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking proc-macro2 v1.0.86 [INFO] [stdout] warning: struct `Color` is never constructed [INFO] [stdout] --> color-systems/src/color.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> color-systems/src/color.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Color { [INFO] [stdout] | ---------------------------- methods in this implementation [INFO] [stdout] 12 | #[inline] [INFO] [stdout] 13 | pub fn red(&self) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn green(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn blue(&self) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn red_float(&self) -> PercentageF32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn green_float(&self) -> PercentageF32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn blue_float(&self) -> PercentageF32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn hue(&self) -> CircleDegrees { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn saturation_hsv(&self) -> PercentageF32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn saturation_hsl(&self) -> PercentageF32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn hsv_value(&self) -> PercentageF32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn luminosity(&self) -> PercentageF32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn cyan(&self) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn magenta(&self) -> u8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn yellow(&self) -> u8 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn key_black(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_cmyk` and `into_cmyk` are never used [INFO] [stdout] --> color-systems/src/models/cmyk.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 114 | impl Color { [INFO] [stdout] | ---------------------------- methods in this implementation [INFO] [stdout] 115 | #[inline] [INFO] [stdout] 116 | pub fn to_cmyk(&self) -> Color { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn into_cmyk(self) -> Color { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_cmyk` is never used [INFO] [stdout] --> color-systems/src/models/cmyk.rs:135:18 [INFO] [stdout] | [INFO] [stdout] 133 | impl Color { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 134 | #[inline] [INFO] [stdout] 135 | pub const fn new_cmyk(cyan: u8, magenta: u8, yellow: u8, key_black: u8) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_cmyk_float` and `into_cmyk_float` are never used [INFO] [stdout] --> color-systems/src/models/cmyk_float.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 106 | impl Color { [INFO] [stdout] | ---------------------------- methods in this implementation [INFO] [stdout] 107 | #[inline] [INFO] [stdout] 108 | pub fn to_cmyk_float(&self) -> Color { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn into_cmyk_float(self) -> Color { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_cmyk_float` is never used [INFO] [stdout] --> color-systems/src/models/cmyk_float.rs:127:18 [INFO] [stdout] | [INFO] [stdout] 125 | impl Color { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 126 | #[inline] [INFO] [stdout] 127 | pub const fn new_cmyk_float( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `select_cmyk`, `select_rgb`, `select_hsv`, and `select_hsl` are never used [INFO] [stdout] --> color-systems/src/models/color_model.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait ColorModel { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] 7 | fn select_cmyk( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn select_rgb( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn select_hsv( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn select_hsl( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generate` is never used [INFO] [stdout] --> color-systems/src/models/color_model.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub trait GenerateColour { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] 59 | fn generate(&self) -> C; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cmyk_float`, `hsl`, `hsv`, `rgb`, and `rgb_float` are never read [INFO] [stdout] --> color-systems/src/models/color_model.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct TestColour { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 63 | pub cmyk: (u8, u8, u8, u8), [INFO] [stdout] 64 | pub cmyk_float: (PercentageF32, PercentageF32, PercentageF32, PercentageF32), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 65 | pub hsl: (CircleDegrees, PercentageF32, PercentageF32), [INFO] [stdout] | ^^^ [INFO] [stdout] 66 | pub hsv: (CircleDegrees, PercentageF32, PercentageF32), [INFO] [stdout] | ^^^ [INFO] [stdout] 67 | pub rgb: (u8, u8, u8), [INFO] [stdout] | ^^^ [INFO] [stdout] 68 | pub rgb_float: (PercentageF32, PercentageF32, PercentageF32), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_hsl` and `into_hsl` are never used [INFO] [stdout] --> color-systems/src/models/hsl.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 133 | impl Color { [INFO] [stdout] | ---------------------------- methods in this implementation [INFO] [stdout] 134 | #[inline] [INFO] [stdout] 135 | pub fn to_hsl(&self) -> Color { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn into_hsl(self) -> Color { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_hsl` is never used [INFO] [stdout] --> color-systems/src/models/hsl.rs:153:18 [INFO] [stdout] | [INFO] [stdout] 151 | impl Color { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 152 | #[inline] [INFO] [stdout] 153 | pub const fn new_hsl( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_hsv` and `into_hsv` are never used [INFO] [stdout] --> color-systems/src/models/hsv.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 127 | impl Color { [INFO] [stdout] | ---------------------------- methods in this implementation [INFO] [stdout] 128 | pub fn as_hsv(&self) -> Color { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn into_hsv(self) -> Color { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_hsv` is never used [INFO] [stdout] --> color-systems/src/models/hsv.rs:146:18 [INFO] [stdout] | [INFO] [stdout] 145 | impl Color { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 146 | pub const fn new_hsv( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_rgb` and `into_rgb` are never used [INFO] [stdout] --> color-systems/src/models/rgb.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 112 | impl Color { [INFO] [stdout] | ---------------------------- methods in this implementation [INFO] [stdout] 113 | #[inline] [INFO] [stdout] 114 | pub fn to_rgb(&self) -> Color { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn into_rgb(self) -> Color { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_hex` and `new_rgb` are never used [INFO] [stdout] --> color-systems/src/models/rgb.rs:134:18 [INFO] [stdout] | [INFO] [stdout] 132 | impl Color { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] 133 | #[inline] [INFO] [stdout] 134 | pub const fn from_hex(from: u32) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub const fn new_rgb(red: u8, green: u8, blue: u8) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_rgb_float` and `into_rgb_float` are never used [INFO] [stdout] --> color-systems/src/models/rgb_float.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl Color { [INFO] [stdout] | ---------------------------- methods in this implementation [INFO] [stdout] 93 | pub fn to_rgb_float(&self) -> Color { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn into_rgb_float(self) -> Color { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_rgb_float` is never used [INFO] [stdout] --> color-systems/src/models/rgb_float.rs:111:18 [INFO] [stdout] | [INFO] [stdout] 110 | impl Color { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 111 | pub const fn new_rgb_float( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for the crate [INFO] [stdout] --> color-systems/src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / mod circle_degrees; [INFO] [stdout] 3 | | mod color; [INFO] [stdout] 4 | | mod models; [INFO] [stdout] 5 | | mod percentage_f32; [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W missing-docs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a macro [INFO] [stdout] --> color-systems/src/circle_degrees.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | macro_rules! circle_degrees_wrapped { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a macro [INFO] [stdout] --> color-systems/src/circle_degrees.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | macro_rules! circle_degrees { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a macro [INFO] [stdout] --> color-systems/src/percentage_f32.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | macro_rules! p32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a macro [INFO] [stdout] --> color-systems/src/percentage_f32.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | macro_rules! try_percentage_f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `color-systems` (lib test) due to 2 previous errors; 24 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: struct `Color` is never constructed [INFO] [stdout] --> color-systems/src/color.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> color-systems/src/color.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Color { [INFO] [stdout] | ---------------------------- methods in this implementation [INFO] [stdout] 12 | #[inline] [INFO] [stdout] 13 | pub fn red(&self) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn green(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn blue(&self) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn red_float(&self) -> PercentageF32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn green_float(&self) -> PercentageF32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn blue_float(&self) -> PercentageF32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn hue(&self) -> CircleDegrees { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn saturation_hsv(&self) -> PercentageF32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn saturation_hsl(&self) -> PercentageF32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn hsv_value(&self) -> PercentageF32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn luminosity(&self) -> PercentageF32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn cyan(&self) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn magenta(&self) -> u8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn yellow(&self) -> u8 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn key_black(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_cmyk` and `into_cmyk` are never used [INFO] [stdout] --> color-systems/src/models/cmyk.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 114 | impl Color { [INFO] [stdout] | ---------------------------- methods in this implementation [INFO] [stdout] 115 | #[inline] [INFO] [stdout] 116 | pub fn to_cmyk(&self) -> Color { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn into_cmyk(self) -> Color { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_cmyk` is never used [INFO] [stdout] --> color-systems/src/models/cmyk.rs:135:18 [INFO] [stdout] | [INFO] [stdout] 133 | impl Color { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 134 | #[inline] [INFO] [stdout] 135 | pub const fn new_cmyk(cyan: u8, magenta: u8, yellow: u8, key_black: u8) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_cmyk_float` and `into_cmyk_float` are never used [INFO] [stdout] --> color-systems/src/models/cmyk_float.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 106 | impl Color { [INFO] [stdout] | ---------------------------- methods in this implementation [INFO] [stdout] 107 | #[inline] [INFO] [stdout] 108 | pub fn to_cmyk_float(&self) -> Color { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn into_cmyk_float(self) -> Color { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_cmyk_float` is never used [INFO] [stdout] --> color-systems/src/models/cmyk_float.rs:127:18 [INFO] [stdout] | [INFO] [stdout] 125 | impl Color { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 126 | #[inline] [INFO] [stdout] 127 | pub const fn new_cmyk_float( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `select_cmyk`, `select_rgb`, `select_hsv`, and `select_hsl` are never used [INFO] [stdout] --> color-systems/src/models/color_model.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait ColorModel { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] 7 | fn select_cmyk( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn select_rgb( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn select_hsv( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn select_hsl( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_hsl` and `into_hsl` are never used [INFO] [stdout] --> color-systems/src/models/hsl.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 133 | impl Color { [INFO] [stdout] | ---------------------------- methods in this implementation [INFO] [stdout] 134 | #[inline] [INFO] [stdout] 135 | pub fn to_hsl(&self) -> Color { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn into_hsl(self) -> Color { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_hsl` is never used [INFO] [stdout] --> color-systems/src/models/hsl.rs:153:18 [INFO] [stdout] | [INFO] [stdout] 151 | impl Color { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 152 | #[inline] [INFO] [stdout] 153 | pub const fn new_hsl( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_hsv` and `into_hsv` are never used [INFO] [stdout] --> color-systems/src/models/hsv.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 127 | impl Color { [INFO] [stdout] | ---------------------------- methods in this implementation [INFO] [stdout] 128 | pub fn as_hsv(&self) -> Color { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn into_hsv(self) -> Color { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_hsv` is never used [INFO] [stdout] --> color-systems/src/models/hsv.rs:146:18 [INFO] [stdout] | [INFO] [stdout] 145 | impl Color { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 146 | pub const fn new_hsv( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_rgb` and `into_rgb` are never used [INFO] [stdout] --> color-systems/src/models/rgb.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 112 | impl Color { [INFO] [stdout] | ---------------------------- methods in this implementation [INFO] [stdout] 113 | #[inline] [INFO] [stdout] 114 | pub fn to_rgb(&self) -> Color { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn into_rgb(self) -> Color { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_hex` and `new_rgb` are never used [INFO] [stdout] --> color-systems/src/models/rgb.rs:134:18 [INFO] [stdout] | [INFO] [stdout] 132 | impl Color { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] 133 | #[inline] [INFO] [stdout] 134 | pub const fn from_hex(from: u32) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub const fn new_rgb(red: u8, green: u8, blue: u8) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_rgb_float` and `into_rgb_float` are never used [INFO] [stdout] --> color-systems/src/models/rgb_float.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl Color { [INFO] [stdout] | ---------------------------- methods in this implementation [INFO] [stdout] 93 | pub fn to_rgb_float(&self) -> Color { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn into_rgb_float(self) -> Color { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_rgb_float` is never used [INFO] [stdout] --> color-systems/src/models/rgb_float.rs:111:18 [INFO] [stdout] | [INFO] [stdout] 110 | impl Color { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 111 | pub const fn new_rgb_float( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for the crate [INFO] [stdout] --> color-systems/src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / mod circle_degrees; [INFO] [stdout] 3 | | mod color; [INFO] [stdout] 4 | | mod models; [INFO] [stdout] 5 | | mod percentage_f32; [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W missing-docs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a macro [INFO] [stdout] --> color-systems/src/circle_degrees.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | macro_rules! circle_degrees_wrapped { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a macro [INFO] [stdout] --> color-systems/src/circle_degrees.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | macro_rules! circle_degrees { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a macro [INFO] [stdout] --> color-systems/src/percentage_f32.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | macro_rules! p32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a macro [INFO] [stdout] --> color-systems/src/percentage_f32.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | macro_rules! try_percentage_f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c01cea443fae9f27b5d14f4300e98996447ea6e914299c0dbee5d439e2fd06da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c01cea443fae9f27b5d14f4300e98996447ea6e914299c0dbee5d439e2fd06da", kill_on_drop: false }` [INFO] [stdout] c01cea443fae9f27b5d14f4300e98996447ea6e914299c0dbee5d439e2fd06da