[INFO] fetching crate psd 0.3.5... [INFO] checking psd-0.3.5 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate psd 0.3.5 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate psd 0.3.5 [INFO] finished tweaking crates.io crate psd 0.3.5 [INFO] tweaked toml for crates.io crate psd 0.3.5 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate psd 0.3.5 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 7 packages to latest compatible versions [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.12) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 59cf415fa0e169d63cda7851ee4f8d8ea27343008de3f5c599f7a5ea568fdf5a [INFO] running `Command { std: "docker" "start" "-a" "59cf415fa0e169d63cda7851ee4f8d8ea27343008de3f5c599f7a5ea568fdf5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "59cf415fa0e169d63cda7851ee4f8d8ea27343008de3f5c599f7a5ea568fdf5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59cf415fa0e169d63cda7851ee4f8d8ea27343008de3f5c599f7a5ea568fdf5a", kill_on_drop: false }` [INFO] [stdout] 59cf415fa0e169d63cda7851ee4f8d8ea27343008de3f5c599f7a5ea568fdf5a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0af01bf91edfdc3208aacf42dc2b5ef59a19dcb41e484413a005c4b927c29aeb [INFO] running `Command { std: "docker" "start" "-a" "0af01bf91edfdc3208aacf42dc2b5ef59a19dcb41e484413a005c4b927c29aeb", kill_on_drop: false }` [INFO] [stderr] Checking psd v0.3.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Range` [INFO] [stdout] --> src/sections/layer_and_mask_information_section/layers.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::{Deref, Range}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Range` [INFO] [stdout] --> src/sections/layer_and_mask_information_section/layers.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::{Deref, Range}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | fn pass_through(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:109:31 [INFO] [stdout] | [INFO] [stdout] 109 | fn pass_through(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:118:11 [INFO] [stdout] | [INFO] [stdout] 118 | fn normal(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | fn dissolve(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:122:27 [INFO] [stdout] | [INFO] [stdout] 122 | fn dissolve(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | fn darker_color(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:182:31 [INFO] [stdout] | [INFO] [stdout] 182 | fn darker_color(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:246:18 [INFO] [stdout] | [INFO] [stdout] 246 | fn lighter_color(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:246:32 [INFO] [stdout] | [INFO] [stdout] 246 | fn lighter_color(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:320:16 [INFO] [stdout] | [INFO] [stdout] 320 | fn vivid_light(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:320:30 [INFO] [stdout] | [INFO] [stdout] 320 | fn vivid_light(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:324:17 [INFO] [stdout] | [INFO] [stdout] 324 | fn linear_light(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:324:31 [INFO] [stdout] | [INFO] [stdout] 324 | fn linear_light(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:329:14 [INFO] [stdout] | [INFO] [stdout] 329 | fn pin_light(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:329:28 [INFO] [stdout] | [INFO] [stdout] 329 | fn pin_light(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:334:13 [INFO] [stdout] | [INFO] [stdout] 334 | fn hard_mix(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:334:27 [INFO] [stdout] | [INFO] [stdout] 334 | fn hard_mix(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:387:8 [INFO] [stdout] | [INFO] [stdout] 387 | fn hue(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:387:22 [INFO] [stdout] | [INFO] [stdout] 387 | fn hue(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:391:15 [INFO] [stdout] | [INFO] [stdout] 391 | fn saturation(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:391:29 [INFO] [stdout] | [INFO] [stdout] 391 | fn saturation(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:395:10 [INFO] [stdout] | [INFO] [stdout] 395 | fn color(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:395:24 [INFO] [stdout] | [INFO] [stdout] 395 | fn color(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:399:15 [INFO] [stdout] | [INFO] [stdout] 399 | fn luminosity(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:399:29 [INFO] [stdout] | [INFO] [stdout] 399 | fn luminosity(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | fn pass_through(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:109:31 [INFO] [stdout] | [INFO] [stdout] 109 | fn pass_through(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:118:11 [INFO] [stdout] | [INFO] [stdout] 118 | fn normal(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | fn dissolve(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:122:27 [INFO] [stdout] | [INFO] [stdout] 122 | fn dissolve(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | fn darker_color(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:182:31 [INFO] [stdout] | [INFO] [stdout] 182 | fn darker_color(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:246:18 [INFO] [stdout] | [INFO] [stdout] 246 | fn lighter_color(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:246:32 [INFO] [stdout] | [INFO] [stdout] 246 | fn lighter_color(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:320:16 [INFO] [stdout] | [INFO] [stdout] 320 | fn vivid_light(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:320:30 [INFO] [stdout] | [INFO] [stdout] 320 | fn vivid_light(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:324:17 [INFO] [stdout] | [INFO] [stdout] 324 | fn linear_light(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:324:31 [INFO] [stdout] | [INFO] [stdout] 324 | fn linear_light(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:329:14 [INFO] [stdout] | [INFO] [stdout] 329 | fn pin_light(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:329:28 [INFO] [stdout] | [INFO] [stdout] 329 | fn pin_light(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:334:13 [INFO] [stdout] | [INFO] [stdout] 334 | fn hard_mix(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:334:27 [INFO] [stdout] | [INFO] [stdout] 334 | fn hard_mix(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:387:8 [INFO] [stdout] | [INFO] [stdout] 387 | fn hue(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:387:22 [INFO] [stdout] | [INFO] [stdout] 387 | fn hue(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:391:15 [INFO] [stdout] | [INFO] [stdout] 391 | fn saturation(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:391:29 [INFO] [stdout] | [INFO] [stdout] 391 | fn saturation(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:395:10 [INFO] [stdout] | [INFO] [stdout] 395 | fn color(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:395:24 [INFO] [stdout] | [INFO] [stdout] 395 | fn color(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:399:15 [INFO] [stdout] | [INFO] [stdout] 399 | fn luminosity(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:399:29 [INFO] [stdout] | [INFO] [stdout] 399 | fn luminosity(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/sections/image_resources_section.rs:542:13 [INFO] [stdout] | [INFO] [stdout] 542 | for n in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sub_list` [INFO] [stdout] --> src/sections/image_resources_section.rs:537:9 [INFO] [stdout] | [INFO] [stdout] 537 | sub_list: bool, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/sections/image_resources_section.rs:559:13 [INFO] [stdout] | [INFO] [stdout] 559 | for n in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sub_list` [INFO] [stdout] --> src/sections/image_resources_section.rs:554:9 [INFO] [stdout] | [INFO] [stdout] 554 | sub_list: bool, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/sections/image_resources_section.rs:636:13 [INFO] [stdout] | [INFO] [stdout] 636 | for n in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/sections/image_resources_section.rs:542:13 [INFO] [stdout] | [INFO] [stdout] 542 | for n in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sub_list` [INFO] [stdout] --> src/sections/image_resources_section.rs:537:9 [INFO] [stdout] | [INFO] [stdout] 537 | sub_list: bool, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generate_16_bit_grayscale_rgba` is never used [INFO] [stdout] --> src/psd_channel.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait IntoRgba { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 90 | fn generate_16_bit_grayscale_rgba(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rle_decompress` is never used [INFO] [stdout] --> src/psd_channel.rs:200:4 [INFO] [stdout] | [INFO] [stdout] 200 | fn rle_decompress(bytes: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sixteen_to_eight_rgba` is never used [INFO] [stdout] --> src/psd_channel.rs:231:4 [INFO] [stdout] | [INFO] [stdout] 231 | fn sixteen_to_eight_rgba(channel1: &[u8], channel2: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/sections/image_resources_section.rs:559:13 [INFO] [stdout] | [INFO] [stdout] 559 | for n in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `color_mode_data` is never read [INFO] [stdout] --> src/sections/mod.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct MajorSections<'a> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 16 | pub(crate) file_header: &'a [u8], [INFO] [stdout] 17 | pub(crate) color_mode_data: &'a [u8], [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MajorSections` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `version` is never read [INFO] [stdout] --> src/sections/file_header_section.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct FileHeaderSection { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 35 | pub(in crate) version: PsdVersion, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileHeaderSection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sub_list` [INFO] [stdout] --> src/sections/image_resources_section.rs:554:9 [INFO] [stdout] | [INFO] [stdout] 554 | sub_list: bool, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/sections/image_resources_section.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | struct ImageResourcesBlock { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 17 | resource_id: i16, [INFO] [stdout] 18 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/sections/mod.rs:59:30 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn from_bytes(bytes: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 59 | pub fn from_bytes(bytes: &[u8]) -> Result, FileHeaderSectionError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/sections/image_resources_section.rs:636:13 [INFO] [stdout] | [INFO] [stdout] 636 | for n in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/sections/mod.rs:115:23 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn new(bytes: &[u8]) -> PsdCursor { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 115 | pub fn new(bytes: &[u8]) -> PsdCursor<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generate_16_bit_grayscale_rgba` is never used [INFO] [stdout] --> src/psd_channel.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait IntoRgba { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 90 | fn generate_16_bit_grayscale_rgba(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rle_decompress` is never used [INFO] [stdout] --> src/psd_channel.rs:200:4 [INFO] [stdout] | [INFO] [stdout] 200 | fn rle_decompress(bytes: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sixteen_to_eight_rgba` is never used [INFO] [stdout] --> src/psd_channel.rs:231:4 [INFO] [stdout] | [INFO] [stdout] 231 | fn sixteen_to_eight_rgba(channel1: &[u8], channel2: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `color_mode_data` is never read [INFO] [stdout] --> src/sections/mod.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct MajorSections<'a> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 16 | pub(crate) file_header: &'a [u8], [INFO] [stdout] 17 | pub(crate) color_mode_data: &'a [u8], [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MajorSections` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `version` is never read [INFO] [stdout] --> src/sections/file_header_section.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct FileHeaderSection { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 35 | pub(in crate) version: PsdVersion, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileHeaderSection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/sections/image_resources_section.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | struct ImageResourcesBlock { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 17 | resource_id: i16, [INFO] [stdout] 18 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/sections/mod.rs:59:30 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn from_bytes(bytes: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 59 | pub fn from_bytes(bytes: &[u8]) -> Result, FileHeaderSectionError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/sections/mod.rs:115:23 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn new(bytes: &[u8]) -> PsdCursor { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 115 | pub fn new(bytes: &[u8]) -> PsdCursor<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLEND_VIVID_LIGHT_BLUE_RED_PIXEL` is never used [INFO] [stdout] --> tests/blend.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | const BLEND_VIVID_LIGHT_BLUE_RED_PIXEL: [u8; 4] = [85, 0, 170, 192]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLEND_LINEAR_LIGHT_BLUE_RED_PIXEL` is never used [INFO] [stdout] --> tests/blend.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | const BLEND_LINEAR_LIGHT_BLUE_RED_PIXEL: [u8; 4] = [85, 0, 169, 192]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLEND_PIN_LIGHT_BLUE_RED_PIXEL` is never used [INFO] [stdout] --> tests/blend.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | const BLEND_PIN_LIGHT_BLUE_RED_PIXEL: [u8; 4] = [85, 0, 170, 192]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLEND_HARD_MIX_BLUE_RED_PIXEL` is never used [INFO] [stdout] --> tests/blend.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | const BLEND_HARD_MIX_BLUE_RED_PIXEL: [u8; 4] = [170, 0, 85, 192]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_image` is never used [INFO] [stdout] --> tests/transparency.rs:118:4 [INFO] [stdout] | [INFO] [stdout] 118 | fn make_image(pixel: [u8; 4], pixel_count: u32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `put_pixel` is never used [INFO] [stdout] --> tests/transparency.rs:132:4 [INFO] [stdout] | [INFO] [stdout] 132 | fn put_pixel(image: &mut Vec, width: usize, left: usize, top: usize, new: [u8; 4]) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.05s [INFO] running `Command { std: "docker" "inspect" "0af01bf91edfdc3208aacf42dc2b5ef59a19dcb41e484413a005c4b927c29aeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0af01bf91edfdc3208aacf42dc2b5ef59a19dcb41e484413a005c4b927c29aeb", kill_on_drop: false }` [INFO] [stdout] 0af01bf91edfdc3208aacf42dc2b5ef59a19dcb41e484413a005c4b927c29aeb