[INFO] fetching crate pixel 0.1.3... [INFO] checking pixel-0.1.3 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate pixel 0.1.3 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate pixel 0.1.3 [INFO] finished tweaking crates.io crate pixel 0.1.3 [INFO] tweaked toml for crates.io crate pixel 0.1.3 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pixel 0.1.3 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 16a4db0275f6e78505d8e4d595c24e56b93d57e12236eaa4409acd6f81c9af8d [INFO] running `Command { std: "docker" "start" "-a" "16a4db0275f6e78505d8e4d595c24e56b93d57e12236eaa4409acd6f81c9af8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16a4db0275f6e78505d8e4d595c24e56b93d57e12236eaa4409acd6f81c9af8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16a4db0275f6e78505d8e4d595c24e56b93d57e12236eaa4409acd6f81c9af8d", kill_on_drop: false }` [INFO] [stdout] 16a4db0275f6e78505d8e4d595c24e56b93d57e12236eaa4409acd6f81c9af8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c8c10a484e627f058245e118dfa93d8e9e80b134895e822c060c0b85de9a82b [INFO] running `Command { std: "docker" "start" "-a" "9c8c10a484e627f058245e118dfa93d8e9e80b134895e822c060c0b85de9a82b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking pixel v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/color/utils.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | ((green - blue) / color) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 28 - ((green - blue) / color) [INFO] [stdout] 28 + (green - blue) / color [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/color/blending.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | /// B(Cb, Cs) = 1 - [(1 - Cb) x (1 - Cs)] = Cb + Cs -(Cb x Cs) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 121 | Screen => op_on_channels(backdrop, source, |b, s| 1.0 - (1.0 - b) * (1.0 - s)), [INFO] [stdout] | ------------------------------------------------------------------------------ rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/color/blending.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | /// B(Cb, Cs) = HardLight(Cs, Cb) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 123 | Overlay => blend(source, backdrop, BlendMode::HardLight), [INFO] [stdout] | -------------------------------------------------------- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/color/blending.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | /// B(Cb, Cs) = min(Cb, Cs) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 125 | Darken => op_on_channels(backdrop, source, |b, s| utils::min(b, s)), [INFO] [stdout] | ------------------------------------------------------------------- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/color/blending.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | /// B(Cb, Cs) = max(Cb, Cs) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 127 | Lighten => op_on_channels(backdrop, source, |b, s| utils::max(b, s)), [INFO] [stdout] | -------------------------------------------------------------------- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/color/blending.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | / /// if(Cb == 0) [INFO] [stdout] 129 | | /// B(Cb, Cs) = 0 [INFO] [stdout] 130 | | /// else if(Cs == 1) [INFO] [stdout] 131 | | /// B(Cb, Cs) = 1 [INFO] [stdout] 132 | | /// else [INFO] [stdout] 133 | | /// B(Cb, Cs) = min(1, Cb / (1 - Cs)) [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] 134 | Dodge => op_on_channels(backdrop, source, |b, s| if b == 0.0 { 0.0 } else if s == 1.0 { 1.0 } else { utils::min(1.0, b / (1.0 - s)) } ), [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/color/blending.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | / /// if(Cb == 1) [INFO] [stdout] 136 | | /// B(Cb, Cs) = 1 [INFO] [stdout] 137 | | /// else if(Cs == 0) [INFO] [stdout] 138 | | /// B(Cb, Cs) = 0 [INFO] [stdout] 139 | | /// else [INFO] [stdout] 140 | | /// B(Cb, Cs) = 1 - min(1, (1 - Cb) / Cs) [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] 141 | Burn => op_on_channels(backdrop, source, |b, s| if b == 1.0 { 1.0 } else if s == 0.0 { 0.0 } else { utils::min(1.0, (1.0 - b) / s) } ), [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/color/blending.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | / /// if(Cs <= 0.5) [INFO] [stdout] 143 | | /// B(Cb, Cs) = Multiply(Cb, 2 x Cs) [INFO] [stdout] 144 | | /// else [INFO] [stdout] 145 | | /// B(Cb, Cs) = Screen(Cb, 2 x Cs -1) [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] 146 | HardLight => op_on_channels(backdrop, source, |b, s| if s <= 0.5 { b * s } else { (1.0 - (1.0 - b) * (1.0 - s)) } ), [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/color/blending.rs:146:91 [INFO] [stdout] | [INFO] [stdout] 146 | HardLight => op_on_channels(backdrop, source, |b, s| if s <= 0.5 { b * s } else { (1.0 - (1.0 - b) * (1.0 - s)) } ), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 146 - HardLight => op_on_channels(backdrop, source, |b, s| if s <= 0.5 { b * s } else { (1.0 - (1.0 - b) * (1.0 - s)) } ), [INFO] [stdout] 146 + HardLight => op_on_channels(backdrop, source, |b, s| if s <= 0.5 { b * s } else { 1.0 - (1.0 - b) * (1.0 - s) } ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/color/blending.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | / /// if(Cs <= 0.5) [INFO] [stdout] 148 | | /// B(Cb, Cs) = Cb - (1 - 2 x Cs) x Cb x (1 - Cb) [INFO] [stdout] 149 | | /// else [INFO] [stdout] 150 | | /// B(Cb, Cs) = Cb + (2 x Cs - 1) x (D(Cb) - Cb) [INFO] [stdout] ... | [INFO] [stdout] 154 | | /// else [INFO] [stdout] 155 | | /// D(Cb) = sqrt(Cb) [INFO] [stdout] | |____________________________________^ [INFO] [stdout] 156 | SoftLight => op_on_channels(backdrop, source, |b, s| if s <= 0.5 { b - (1.0 - 2.0 * s) * b * (1.0 - b) } else { b + (2.0 + s - 1.0) * (if b <= 0.25 { ((16.0 * b - 12.0) * b + 4.0) * b } else { b.sqrt() }) - b }), [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/color/blending.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | /// B(Cb, Cs) = | Cb - Cs | [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 158 | Difference => op_on_channels(backdrop, source, |b, s| (b - s).abs()), [INFO] [stdout] | -------------------------------------------------------------------- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/color/blending.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | /// B(Cb, Cs) = Cb + Cs - 2 x Cb x Cs [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 160 | Exclusion => op_on_channels(backdrop, source, |b, s| b + s - 2.0 * b * s ), [INFO] [stdout] | -------------------------------------------------------------------------- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/color/blending.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | /// B(Cb, Cs) = SetLum(SetSat(Cs, Sat(Cb)), Lum(Cb)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 162 | / Hue => { [INFO] [stdout] 163 | | HSL{ hue: source.get_hue(), saturation: backdrop.get_hsl_saturation(), lightness: backdrop.get_lightness() }.to_rgb() [INFO] [stdout] 164 | | }, [INFO] [stdout] | |_________- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/color/blending.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | /// B(Cb, Cs) = SetLum(SetSat(Cb, Sat(Cs)), Lum(Cb)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 166 | / Saturation => { [INFO] [stdout] 167 | | HSL{ hue: backdrop.get_hue(), saturation: source.get_hsl_saturation(), lightness: backdrop.get_lightness() }.to_rgb() [INFO] [stdout] 168 | | }, [INFO] [stdout] | |_________- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/color/blending.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | /// B(Cb, Cs) = SetLum(Cs, Lum(Cb)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 170 | / Color => { [INFO] [stdout] 171 | | HSL{ hue: source.get_hue(), saturation: source.get_hsl_saturation(), lightness: backdrop.get_lightness() }.to_rgb() [INFO] [stdout] 172 | | }, [INFO] [stdout] | |_________- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/color/blending.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | /// B(Cb, Cs) = SetLum(Cb, Lum(Cs)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 174 | / Luminosity => { [INFO] [stdout] 175 | | HSL{ hue: backdrop.get_hue(), saturation: backdrop.get_hsl_saturation(), lightness: source.get_lightness() }.to_rgb() [INFO] [stdout] 176 | | }, [INFO] [stdout] | |_________- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `color::*` [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use color::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core` has been stable since 1.6.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(core)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/color/utils.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | ((green - blue) / color) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 28 - ((green - blue) / color) [INFO] [stdout] 28 + (green - blue) / color [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/color/blending.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | /// B(Cb, Cs) = 1 - [(1 - Cb) x (1 - Cs)] = Cb + Cs -(Cb x Cs) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 121 | Screen => op_on_channels(backdrop, source, |b, s| 1.0 - (1.0 - b) * (1.0 - s)), [INFO] [stdout] | ------------------------------------------------------------------------------ rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/color/blending.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | /// B(Cb, Cs) = HardLight(Cs, Cb) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 123 | Overlay => blend(source, backdrop, BlendMode::HardLight), [INFO] [stdout] | -------------------------------------------------------- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/color/blending.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | /// B(Cb, Cs) = min(Cb, Cs) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 125 | Darken => op_on_channels(backdrop, source, |b, s| utils::min(b, s)), [INFO] [stdout] | ------------------------------------------------------------------- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/color/blending.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | /// B(Cb, Cs) = max(Cb, Cs) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 127 | Lighten => op_on_channels(backdrop, source, |b, s| utils::max(b, s)), [INFO] [stdout] | -------------------------------------------------------------------- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/color/blending.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | / /// if(Cb == 0) [INFO] [stdout] 129 | | /// B(Cb, Cs) = 0 [INFO] [stdout] 130 | | /// else if(Cs == 1) [INFO] [stdout] 131 | | /// B(Cb, Cs) = 1 [INFO] [stdout] 132 | | /// else [INFO] [stdout] 133 | | /// B(Cb, Cs) = min(1, Cb / (1 - Cs)) [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] 134 | Dodge => op_on_channels(backdrop, source, |b, s| if b == 0.0 { 0.0 } else if s == 1.0 { 1.0 } else { utils::min(1.0, b / (1.0 - s)) } ), [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/color/blending.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | / /// if(Cb == 1) [INFO] [stdout] 136 | | /// B(Cb, Cs) = 1 [INFO] [stdout] 137 | | /// else if(Cs == 0) [INFO] [stdout] 138 | | /// B(Cb, Cs) = 0 [INFO] [stdout] 139 | | /// else [INFO] [stdout] 140 | | /// B(Cb, Cs) = 1 - min(1, (1 - Cb) / Cs) [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] 141 | Burn => op_on_channels(backdrop, source, |b, s| if b == 1.0 { 1.0 } else if s == 0.0 { 0.0 } else { utils::min(1.0, (1.0 - b) / s) } ), [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/color/blending.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | / /// if(Cs <= 0.5) [INFO] [stdout] 143 | | /// B(Cb, Cs) = Multiply(Cb, 2 x Cs) [INFO] [stdout] 144 | | /// else [INFO] [stdout] 145 | | /// B(Cb, Cs) = Screen(Cb, 2 x Cs -1) [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] 146 | HardLight => op_on_channels(backdrop, source, |b, s| if s <= 0.5 { b * s } else { (1.0 - (1.0 - b) * (1.0 - s)) } ), [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/color/blending.rs:146:91 [INFO] [stdout] | [INFO] [stdout] 146 | HardLight => op_on_channels(backdrop, source, |b, s| if s <= 0.5 { b * s } else { (1.0 - (1.0 - b) * (1.0 - s)) } ), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 146 - HardLight => op_on_channels(backdrop, source, |b, s| if s <= 0.5 { b * s } else { (1.0 - (1.0 - b) * (1.0 - s)) } ), [INFO] [stdout] 146 + HardLight => op_on_channels(backdrop, source, |b, s| if s <= 0.5 { b * s } else { 1.0 - (1.0 - b) * (1.0 - s) } ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/color/blending.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | / /// if(Cs <= 0.5) [INFO] [stdout] 148 | | /// B(Cb, Cs) = Cb - (1 - 2 x Cs) x Cb x (1 - Cb) [INFO] [stdout] 149 | | /// else [INFO] [stdout] 150 | | /// B(Cb, Cs) = Cb + (2 x Cs - 1) x (D(Cb) - Cb) [INFO] [stdout] ... | [INFO] [stdout] 154 | | /// else [INFO] [stdout] 155 | | /// D(Cb) = sqrt(Cb) [INFO] [stdout] | |____________________________________^ [INFO] [stdout] 156 | SoftLight => op_on_channels(backdrop, source, |b, s| if s <= 0.5 { b - (1.0 - 2.0 * s) * b * (1.0 - b) } else { b + (2.0 + s - 1.0) * (if b <= 0.25 { ((16.0 * b - 12.0) * b + 4.0) * b } else { b.sqrt() }) - b }), [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/color/blending.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | /// B(Cb, Cs) = | Cb - Cs | [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 158 | Difference => op_on_channels(backdrop, source, |b, s| (b - s).abs()), [INFO] [stdout] | -------------------------------------------------------------------- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/color/blending.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | /// B(Cb, Cs) = Cb + Cs - 2 x Cb x Cs [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 160 | Exclusion => op_on_channels(backdrop, source, |b, s| b + s - 2.0 * b * s ), [INFO] [stdout] | -------------------------------------------------------------------------- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/color/blending.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | /// B(Cb, Cs) = SetLum(SetSat(Cs, Sat(Cb)), Lum(Cb)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 162 | / Hue => { [INFO] [stdout] 163 | | HSL{ hue: source.get_hue(), saturation: backdrop.get_hsl_saturation(), lightness: backdrop.get_lightness() }.to_rgb() [INFO] [stdout] 164 | | }, [INFO] [stdout] | |_________- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/color/blending.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | /// B(Cb, Cs) = SetLum(SetSat(Cb, Sat(Cs)), Lum(Cb)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 166 | / Saturation => { [INFO] [stdout] 167 | | HSL{ hue: backdrop.get_hue(), saturation: source.get_hsl_saturation(), lightness: backdrop.get_lightness() }.to_rgb() [INFO] [stdout] 168 | | }, [INFO] [stdout] | |_________- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/color/blending.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | /// B(Cb, Cs) = SetLum(Cs, Lum(Cb)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 170 | / Color => { [INFO] [stdout] 171 | | HSL{ hue: source.get_hue(), saturation: source.get_hsl_saturation(), lightness: backdrop.get_lightness() }.to_rgb() [INFO] [stdout] 172 | | }, [INFO] [stdout] | |_________- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/color/blending.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | /// B(Cb, Cs) = SetLum(Cb, Lum(Cs)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 174 | / Luminosity => { [INFO] [stdout] 175 | | HSL{ hue: backdrop.get_hue(), saturation: backdrop.get_hsl_saturation(), lightness: source.get_lightness() }.to_rgb() [INFO] [stdout] 176 | | }, [INFO] [stdout] | |_________- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `color::*` [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use color::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core` has been stable since 1.6.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(core)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] running `Command { std: "docker" "inspect" "9c8c10a484e627f058245e118dfa93d8e9e80b134895e822c060c0b85de9a82b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c8c10a484e627f058245e118dfa93d8e9e80b134895e822c060c0b85de9a82b", kill_on_drop: false }` [INFO] [stdout] 9c8c10a484e627f058245e118dfa93d8e9e80b134895e822c060c0b85de9a82b