[INFO] fetching crate psd 0.3.5...
[INFO] building psd-0.3.5 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1
[INFO] extracting crate psd 0.3.5 into /workspace/builds/worker-2-tc2/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-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate psd 0.3.5 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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.16)
[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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 75532e33347e6a4fac32a383df207ff4286b91c41754f9f2fe388cb22695e7e0
[INFO] running `Command { std: "docker" "start" "-a" "75532e33347e6a4fac32a383df207ff4286b91c41754f9f2fe388cb22695e7e0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "75532e33347e6a4fac32a383df207ff4286b91c41754f9f2fe388cb22695e7e0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "75532e33347e6a4fac32a383df207ff4286b91c41754f9f2fe388cb22695e7e0", kill_on_drop: false }`
[INFO] [stdout] 75532e33347e6a4fac32a383df207ff4286b91c41754f9f2fe388cb22695e7e0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] cf3ee7d12651e4645527a3a940f9d41c00e227f9d87b42c0202076e1d51eb839
[INFO] running `Command { std: "docker" "start" "-a" "cf3ee7d12651e4645527a3a940f9d41c00e227f9d87b42c0202076e1d51eb839", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling unicode-ident v1.0.19
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling 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)]` (part of `#[warn(unused)]`) on by default
[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]     |             ^
[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] 542 |         for _n in 0..count {
[INFO] [stdout]     |             +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `EXPECTED_DESCRIPTOR_VERSION`
[INFO] [stdout]     |
[INFO] [stdout] 542 -         for n in 0..count {
[INFO] [stdout] 542 +         for sections::image_resources_section::EXPECTED_DESCRIPTOR_VERSION in 0..count {
[INFO] [stdout]     |
[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]     |             ^
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 559 |         for _n in 0..count {
[INFO] [stdout]     |             +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `EXPECTED_DESCRIPTOR_VERSION`
[INFO] [stdout]     |
[INFO] [stdout] 559 -         for n in 0..count {
[INFO] [stdout] 559 +         for sections::image_resources_section::EXPECTED_DESCRIPTOR_VERSION in 0..count {
[INFO] [stdout]     |
[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: `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] 
[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:636:13
[INFO] [stdout]     |
[INFO] [stdout] 636 |         for n in 0..count {
[INFO] [stdout]     |             ^
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 636 |         for _n in 0..count {
[INFO] [stdout]     |             +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `EXPECTED_DESCRIPTOR_VERSION`
[INFO] [stdout]     |
[INFO] [stdout] 636 -         for n in 0..count {
[INFO] [stdout] 636 +         for sections::image_resources_section::EXPECTED_DESCRIPTOR_VERSION in 0..count {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/sections/mod.rs:59:30
[INFO] [stdout]    |
[INFO] [stdout] 59 |     pub fn from_bytes(bytes: &[u8]) -> Result<MajorSections, FileHeaderSectionError> {
[INFO] [stdout]    |                              ^^^^^            ^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 59 |     pub fn from_bytes(bytes: &[u8]) -> Result<MajorSections<'_>, FileHeaderSectionError> {
[INFO] [stdout]    |                                                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/sections/mod.rs:115:23
[INFO] [stdout]     |
[INFO] [stdout] 115 |     pub fn new(bytes: &[u8]) -> PsdCursor {
[INFO] [stdout]     |                       ^^^^^     ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type 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<u8> {
[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 `rle_decompress` is never used
[INFO] [stdout]    --> src/psd_channel.rs:200:4
[INFO] [stdout]     |
[INFO] [stdout] 200 | fn rle_decompress(bytes: &[u8]) -> Vec<u8> {
[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<u8> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^
[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: 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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.33s
[INFO] running `Command { std: "docker" "inspect" "cf3ee7d12651e4645527a3a940f9d41c00e227f9d87b42c0202076e1d51eb839", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cf3ee7d12651e4645527a3a940f9d41c00e227f9d87b42c0202076e1d51eb839", kill_on_drop: false }`
[INFO] [stdout] cf3ee7d12651e4645527a3a940f9d41c00e227f9d87b42c0202076e1d51eb839
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 1949296bb88662bd22c8374dd1ba1e7c48f375769f02e1532c28e0469b1a4f05
[INFO] running `Command { std: "docker" "start" "-a" "1949296bb88662bd22c8374dd1ba1e7c48f375769f02e1532c28e0469b1a4f05", kill_on_drop: false }`
[INFO] [stderr]    Compiling anyhow v1.0.100
[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)]` (part of `#[warn(unused)]`) on by default
[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]     |             ^
[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] 542 |         for _n in 0..count {
[INFO] [stdout]     |             +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `EXPECTED_DESCRIPTOR_VERSION`
[INFO] [stdout]     |
[INFO] [stdout] 542 -         for n in 0..count {
[INFO] [stdout] 542 +         for sections::image_resources_section::EXPECTED_DESCRIPTOR_VERSION in 0..count {
[INFO] [stdout]     |
[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]     |             ^
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 559 |         for _n in 0..count {
[INFO] [stdout]     |             +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `EXPECTED_DESCRIPTOR_VERSION`
[INFO] [stdout]     |
[INFO] [stdout] 559 -         for n in 0..count {
[INFO] [stdout] 559 +         for sections::image_resources_section::EXPECTED_DESCRIPTOR_VERSION in 0..count {
[INFO] [stdout]     |
[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: `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] 
[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:636:13
[INFO] [stdout]     |
[INFO] [stdout] 636 |         for n in 0..count {
[INFO] [stdout]     |             ^
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 636 |         for _n in 0..count {
[INFO] [stdout]     |             +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `EXPECTED_DESCRIPTOR_VERSION`
[INFO] [stdout]     |
[INFO] [stdout] 636 -         for n in 0..count {
[INFO] [stdout] 636 +         for sections::image_resources_section::EXPECTED_DESCRIPTOR_VERSION in 0..count {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/sections/mod.rs:59:30
[INFO] [stdout]    |
[INFO] [stdout] 59 |     pub fn from_bytes(bytes: &[u8]) -> Result<MajorSections, FileHeaderSectionError> {
[INFO] [stdout]    |                              ^^^^^            ^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 59 |     pub fn from_bytes(bytes: &[u8]) -> Result<MajorSections<'_>, FileHeaderSectionError> {
[INFO] [stdout]    |                                                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/sections/mod.rs:115:23
[INFO] [stdout]     |
[INFO] [stdout] 115 |     pub fn new(bytes: &[u8]) -> PsdCursor {
[INFO] [stdout]     |                       ^^^^^     ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type 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<u8> {
[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 `rle_decompress` is never used
[INFO] [stdout]    --> src/psd_channel.rs:200:4
[INFO] [stdout]     |
[INFO] [stdout] 200 | fn rle_decompress(bytes: &[u8]) -> Vec<u8> {
[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<u8> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^
[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: 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] [stderr]    Compiling 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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]     |             ^
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 542 |         for _n in 0..count {
[INFO] [stdout]     |             +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `EXPECTED_DESCRIPTOR_VERSION`
[INFO] [stdout]     |
[INFO] [stdout] 542 -         for n in 0..count {
[INFO] [stdout] 542 +         for sections::image_resources_section::EXPECTED_DESCRIPTOR_VERSION in 0..count {
[INFO] [stdout]     |
[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]     |             ^
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 559 |         for _n in 0..count {
[INFO] [stdout]     |             +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `EXPECTED_DESCRIPTOR_VERSION`
[INFO] [stdout]     |
[INFO] [stdout] 559 -         for n in 0..count {
[INFO] [stdout] 559 +         for sections::image_resources_section::EXPECTED_DESCRIPTOR_VERSION in 0..count {
[INFO] [stdout]     |
[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]     |             ^
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 636 |         for _n in 0..count {
[INFO] [stdout]     |             +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `EXPECTED_DESCRIPTOR_VERSION`
[INFO] [stdout]     |
[INFO] [stdout] 636 -         for n in 0..count {
[INFO] [stdout] 636 +         for sections::image_resources_section::EXPECTED_DESCRIPTOR_VERSION in 0..count {
[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)]` (part of `#[warn(unused)]`) 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<u8> {
[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 `put_pixel` is never used
[INFO] [stdout]    --> tests/transparency.rs:132:4
[INFO] [stdout]     |
[INFO] [stdout] 132 | fn put_pixel(image: &mut Vec<u8>, width: usize, left: usize, top: usize, new: [u8; 4]) {
[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<u8> {
[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 `rle_decompress` is never used
[INFO] [stdout]    --> src/psd_channel.rs:200:4
[INFO] [stdout]     |
[INFO] [stdout] 200 | fn rle_decompress(bytes: &[u8]) -> Vec<u8> {
[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<u8> {
[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: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/sections/mod.rs:59:30
[INFO] [stdout]    |
[INFO] [stdout] 59 |     pub fn from_bytes(bytes: &[u8]) -> Result<MajorSections, FileHeaderSectionError> {
[INFO] [stdout]    |                              ^^^^^            ^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 59 |     pub fn from_bytes(bytes: &[u8]) -> Result<MajorSections<'_>, FileHeaderSectionError> {
[INFO] [stdout]    |                                                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/sections/mod.rs:115:23
[INFO] [stdout]     |
[INFO] [stdout] 115 |     pub fn new(bytes: &[u8]) -> PsdCursor {
[INFO] [stdout]     |                       ^^^^^     ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 115 |     pub fn new(bytes: &[u8]) -> PsdCursor<'_> {
[INFO] [stdout]     |                                          ++++
[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: 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] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.61s
[INFO] running `Command { std: "docker" "inspect" "1949296bb88662bd22c8374dd1ba1e7c48f375769f02e1532c28e0469b1a4f05", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1949296bb88662bd22c8374dd1ba1e7c48f375769f02e1532c28e0469b1a4f05", kill_on_drop: false }`
[INFO] [stdout] 1949296bb88662bd22c8374dd1ba1e7c48f375769f02e1532c28e0469b1a4f05
