[INFO] fetching crate psd 0.3.0... [INFO] testing psd-0.3.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate psd 0.3.0 into /workspace/builds/worker-103/source [INFO] validating manifest of crates.io crate psd 0.3.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate psd 0.3.0 [INFO] finished tweaking crates.io crate psd 0.3.0 [INFO] tweaked toml for crates.io crate psd 0.3.0 written to /workspace/builds/worker-103/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3fd98f7309c672849657377a44e184365f56bb64e74a15bd1f068fe388d530c9 [INFO] running `Command { std: "docker" "start" "-a" "3fd98f7309c672849657377a44e184365f56bb64e74a15bd1f068fe388d530c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3fd98f7309c672849657377a44e184365f56bb64e74a15bd1f068fe388d530c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fd98f7309c672849657377a44e184365f56bb64e74a15bd1f068fe388d530c9", kill_on_drop: false }` [INFO] [stdout] 3fd98f7309c672849657377a44e184365f56bb64e74a15bd1f068fe388d530c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 428f638bee78f441e330cf80257fe5c7f3d5cb9c295c636e06116a53a753490b [INFO] running `Command { std: "docker" "start" "-a" "428f638bee78f441e330cf80257fe5c7f3d5cb9c295c636e06116a53a753490b", kill_on_drop: false }` [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling psd v0.3.0 (/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 variable: `color_b` [INFO] [stdout] --> src/blend.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | 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:111:31 [INFO] [stdout] | [INFO] [stdout] 111 | 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:120:11 [INFO] [stdout] | [INFO] [stdout] 120 | 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:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | 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:124:27 [INFO] [stdout] | [INFO] [stdout] 124 | 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:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | 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:184:31 [INFO] [stdout] | [INFO] [stdout] 184 | 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:248:18 [INFO] [stdout] | [INFO] [stdout] 248 | 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:248:32 [INFO] [stdout] | [INFO] [stdout] 248 | 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:322:16 [INFO] [stdout] | [INFO] [stdout] 322 | 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:322:30 [INFO] [stdout] | [INFO] [stdout] 322 | 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:326:17 [INFO] [stdout] | [INFO] [stdout] 326 | 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:326:31 [INFO] [stdout] | [INFO] [stdout] 326 | 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:331:14 [INFO] [stdout] | [INFO] [stdout] 331 | 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:331:28 [INFO] [stdout] | [INFO] [stdout] 331 | 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:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | 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:336:27 [INFO] [stdout] | [INFO] [stdout] 336 | 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:389:8 [INFO] [stdout] | [INFO] [stdout] 389 | 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:389:22 [INFO] [stdout] | [INFO] [stdout] 389 | 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:393:15 [INFO] [stdout] | [INFO] [stdout] 393 | 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:393:29 [INFO] [stdout] | [INFO] [stdout] 393 | 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:397:10 [INFO] [stdout] | [INFO] [stdout] 397 | 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:397:24 [INFO] [stdout] | [INFO] [stdout] 397 | 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:401:15 [INFO] [stdout] | [INFO] [stdout] 401 | 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:401:29 [INFO] [stdout] | [INFO] [stdout] 401 | 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:532:13 [INFO] [stdout] | [INFO] [stdout] 532 | 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:527:9 [INFO] [stdout] | [INFO] [stdout] 527 | 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:549:13 [INFO] [stdout] | [INFO] [stdout] 549 | 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:544:9 [INFO] [stdout] | [INFO] [stdout] 544 | 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:626:13 [INFO] [stdout] | [INFO] [stdout] 626 | 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: function is never used: `rle_decompress` [INFO] [stdout] --> src/psd_channel.rs:181:4 [INFO] [stdout] | [INFO] [stdout] 181 | fn rle_decompress(bytes: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sixteen_to_eight_rgba` [INFO] [stdout] --> src/psd_channel.rs:212:4 [INFO] [stdout] | [INFO] [stdout] 212 | fn sixteen_to_eight_rgba(channel1: &[u8], channel2: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `color_mode_data` [INFO] [stdout] --> src/sections/mod.rs:17:5 [INFO] [stdout] | [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] --> src/sections/mod.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `version` [INFO] [stdout] --> src/sections/file_header_section.rs:35:5 [INFO] [stdout] | [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] --> src/sections/file_header_section.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/sections/image_resources_section.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/sections/layer_and_mask_information_section/layers.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.00s [INFO] running `Command { std: "docker" "inspect" "428f638bee78f441e330cf80257fe5c7f3d5cb9c295c636e06116a53a753490b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "428f638bee78f441e330cf80257fe5c7f3d5cb9c295c636e06116a53a753490b", kill_on_drop: false }` [INFO] [stdout] 428f638bee78f441e330cf80257fe5c7f3d5cb9c295c636e06116a53a753490b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e4246171a8950753906a07ad8094209cf1afd695625c87c41dd01669fd59ae6 [INFO] running `Command { std: "docker" "start" "-a" "6e4246171a8950753906a07ad8094209cf1afd695625c87c41dd01669fd59ae6", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.56 [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:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | 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:111:31 [INFO] [stdout] | [INFO] [stdout] 111 | 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:120:11 [INFO] [stdout] | [INFO] [stdout] 120 | 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:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | 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:124:27 [INFO] [stdout] | [INFO] [stdout] 124 | 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:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | 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:184:31 [INFO] [stdout] | [INFO] [stdout] 184 | 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:248:18 [INFO] [stdout] | [INFO] [stdout] 248 | 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:248:32 [INFO] [stdout] | [INFO] [stdout] 248 | 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:322:16 [INFO] [stdout] | [INFO] [stdout] 322 | 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:322:30 [INFO] [stdout] | [INFO] [stdout] 322 | 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:326:17 [INFO] [stdout] | [INFO] [stdout] 326 | 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:326:31 [INFO] [stdout] | [INFO] [stdout] 326 | 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:331:14 [INFO] [stdout] | [INFO] [stdout] 331 | 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:331:28 [INFO] [stdout] | [INFO] [stdout] 331 | 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:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | 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:336:27 [INFO] [stdout] | [INFO] [stdout] 336 | 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:389:8 [INFO] [stdout] | [INFO] [stdout] 389 | 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:389:22 [INFO] [stdout] | [INFO] [stdout] 389 | 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:393:15 [INFO] [stdout] | [INFO] [stdout] 393 | 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:393:29 [INFO] [stdout] | [INFO] [stdout] 393 | 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:397:10 [INFO] [stdout] | [INFO] [stdout] 397 | 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:397:24 [INFO] [stdout] | [INFO] [stdout] 397 | 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:401:15 [INFO] [stdout] | [INFO] [stdout] 401 | 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:401:29 [INFO] [stdout] | [INFO] [stdout] 401 | 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:532:13 [INFO] [stdout] | [INFO] [stdout] 532 | 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:527:9 [INFO] [stdout] | [INFO] [stdout] 527 | 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:549:13 [INFO] [stdout] | [INFO] [stdout] 549 | 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:544:9 [INFO] [stdout] | [INFO] [stdout] 544 | 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:626:13 [INFO] [stdout] | [INFO] [stdout] 626 | 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: function is never used: `rle_decompress` [INFO] [stdout] --> src/psd_channel.rs:181:4 [INFO] [stdout] | [INFO] [stdout] 181 | fn rle_decompress(bytes: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sixteen_to_eight_rgba` [INFO] [stdout] --> src/psd_channel.rs:212:4 [INFO] [stdout] | [INFO] [stdout] 212 | fn sixteen_to_eight_rgba(channel1: &[u8], channel2: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `color_mode_data` [INFO] [stdout] --> src/sections/mod.rs:17:5 [INFO] [stdout] | [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] --> src/sections/mod.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `version` [INFO] [stdout] --> src/sections/file_header_section.rs:35:5 [INFO] [stdout] | [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] --> src/sections/file_header_section.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/sections/image_resources_section.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/sections/layer_and_mask_information_section/layers.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling psd v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant is never used: `BLEND_VIVID_LIGHT_BLUE_RED_PIXEL` [INFO] [stdout] --> tests/blend.rs:23:1 [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 is never used: `BLEND_LINEAR_LIGHT_BLUE_RED_PIXEL` [INFO] [stdout] --> tests/blend.rs:24:1 [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 is never used: `BLEND_PIN_LIGHT_BLUE_RED_PIXEL` [INFO] [stdout] --> tests/blend.rs:25:1 [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 is never used: `BLEND_HARD_MIX_BLUE_RED_PIXEL` [INFO] [stdout] --> tests/blend.rs:26:1 [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 is never used: `make_image` [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 is never used: `put_pixel` [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] [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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | 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:111:31 [INFO] [stdout] | [INFO] [stdout] 111 | 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:120:11 [INFO] [stdout] | [INFO] [stdout] 120 | 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:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | 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:124:27 [INFO] [stdout] | [INFO] [stdout] 124 | 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:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | 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:184:31 [INFO] [stdout] | [INFO] [stdout] 184 | 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:248:18 [INFO] [stdout] | [INFO] [stdout] 248 | 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:248:32 [INFO] [stdout] | [INFO] [stdout] 248 | 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:322:16 [INFO] [stdout] | [INFO] [stdout] 322 | 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:322:30 [INFO] [stdout] | [INFO] [stdout] 322 | 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:326:17 [INFO] [stdout] | [INFO] [stdout] 326 | 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:326:31 [INFO] [stdout] | [INFO] [stdout] 326 | 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:331:14 [INFO] [stdout] | [INFO] [stdout] 331 | 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:331:28 [INFO] [stdout] | [INFO] [stdout] 331 | 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:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | 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:336:27 [INFO] [stdout] | [INFO] [stdout] 336 | 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:389:8 [INFO] [stdout] | [INFO] [stdout] 389 | 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:389:22 [INFO] [stdout] | [INFO] [stdout] 389 | 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:393:15 [INFO] [stdout] | [INFO] [stdout] 393 | 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:393:29 [INFO] [stdout] | [INFO] [stdout] 393 | 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:397:10 [INFO] [stdout] | [INFO] [stdout] 397 | 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:397:24 [INFO] [stdout] | [INFO] [stdout] 397 | 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:401:15 [INFO] [stdout] | [INFO] [stdout] 401 | 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:401:29 [INFO] [stdout] | [INFO] [stdout] 401 | 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:532:13 [INFO] [stdout] | [INFO] [stdout] 532 | 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:527:9 [INFO] [stdout] | [INFO] [stdout] 527 | 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:549:13 [INFO] [stdout] | [INFO] [stdout] 549 | 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:544:9 [INFO] [stdout] | [INFO] [stdout] 544 | 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:626:13 [INFO] [stdout] | [INFO] [stdout] 626 | 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: function is never used: `rle_decompress` [INFO] [stdout] --> src/psd_channel.rs:181:4 [INFO] [stdout] | [INFO] [stdout] 181 | fn rle_decompress(bytes: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sixteen_to_eight_rgba` [INFO] [stdout] --> src/psd_channel.rs:212:4 [INFO] [stdout] | [INFO] [stdout] 212 | fn sixteen_to_eight_rgba(channel1: &[u8], channel2: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `color_mode_data` [INFO] [stdout] --> src/sections/mod.rs:17:5 [INFO] [stdout] | [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] --> src/sections/mod.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `version` [INFO] [stdout] --> src/sections/file_header_section.rs:35:5 [INFO] [stdout] | [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] --> src/sections/file_header_section.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/sections/image_resources_section.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/sections/layer_and_mask_information_section/layers.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 10.23s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/psd-c8ff6fc587eca918) [INFO] [stderr] Executable tests/blend.rs (/opt/rustwide/target/debug/deps/blend-eef3e03ac20b8c4c) [INFO] [stderr] Executable tests/channels.rs (/opt/rustwide/target/debug/deps/channels-c6ca3a486da95dc2) [INFO] [stderr] Executable tests/compression.rs (/opt/rustwide/target/debug/deps/compression-da0610007d097d3f) [INFO] [stderr] Executable tests/file_header_section.rs (/opt/rustwide/target/debug/deps/file_header_section-30743e54c03fa8fd) [INFO] [stderr] Executable tests/flatten_layers.rs (/opt/rustwide/target/debug/deps/flatten_layers-c0f9ad13afca5891) [INFO] [stderr] Executable tests/image_data_section.rs (/opt/rustwide/target/debug/deps/image_data_section-98dbe1d5d7b8d67e) [INFO] [stderr] Executable tests/image_resources_section.rs (/opt/rustwide/target/debug/deps/image_resources_section-409faba20bbfbc84) [INFO] [stderr] Executable tests/layer_and_mask_information_section.rs (/opt/rustwide/target/debug/deps/layer_and_mask_information_section-b7aa8c0a83ffcb9c) [INFO] [stderr] Executable tests/layer_groups.rs (/opt/rustwide/target/debug/deps/layer_groups-61f9a8b1ed091c4f) [INFO] [stderr] Executable tests/slices_resource.rs (/opt/rustwide/target/debug/deps/slices_resource-9a7fb00fe0a850c6) [INFO] [stderr] Executable tests/transparency.rs (/opt/rustwide/target/debug/deps/transparency-1fcbf678e60f90a1) [INFO] running `Command { std: "docker" "inspect" "6e4246171a8950753906a07ad8094209cf1afd695625c87c41dd01669fd59ae6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e4246171a8950753906a07ad8094209cf1afd695625c87c41dd01669fd59ae6", kill_on_drop: false }` [INFO] [stdout] 6e4246171a8950753906a07ad8094209cf1afd695625c87c41dd01669fd59ae6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] edeeb52714f717e6438a2652b4eb2e8c40c3d1524a50d10d818f2d493cd6206a [INFO] running `Command { std: "docker" "start" "-a" "edeeb52714f717e6438a2652b4eb2e8c40c3d1524a50d10d818f2d493cd6206a", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: unused import: `Range` [INFO] [stdout] running 7 tests [INFO] [stderr] --> src/sections/layer_and_mask_information_section/layers.rs:3:23 [INFO] [stdout] test sections::file_header_section::tests::first_four_bytes_incorrect ... ok [INFO] [stderr] | [INFO] [stdout] test sections::file_header_section::tests::incorrect_file_header_section_length ... ok [INFO] [stderr] 3 | use std::ops::{Deref, Range}; [INFO] [stdout] test sections::file_header_section::tests::invalid_channel_count ... ok [INFO] [stderr] | ^^^^^ [INFO] [stdout] test sections::file_header_section::tests::invalid_reserved_section ... ok [INFO] [stderr] | [INFO] [stdout] test sections::file_header_section::tests::valid_channel_count ... ok [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] test sections::file_header_section::tests::version_incorrect ... ok [INFO] [stderr] [INFO] [stdout] test tests::psd_signature_fail ... ok [INFO] [stderr] warning: unused variable: `color_b` [INFO] [stdout] [INFO] [stderr] --> src/blend.rs:111:17 [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 111 | fn pass_through(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] running 16 tests [INFO] [stderr] | [INFO] [stdout] test color_burn ... ok [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] test color_dodge ... ok [INFO] [stderr] [INFO] [stdout] test darken ... ok [INFO] [stderr] warning: unused variable: `color_s` [INFO] [stdout] test difference ... ok [INFO] [stderr] --> src/blend.rs:111:31 [INFO] [stdout] test exclusion ... ok [INFO] [stderr] | [INFO] [stdout] test divide ... ok [INFO] [stderr] 111 | fn pass_through(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] test hard_light ... ok [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] test lighten ... ok [INFO] [stderr] [INFO] [stdout] test linear_burn ... ok [INFO] [stderr] warning: unused variable: `color_b` [INFO] [stdout] test multiply ... ok [INFO] [stderr] --> src/blend.rs:120:11 [INFO] [stdout] test linear_dodge ... ok [INFO] [stderr] | [INFO] [stdout] test normal ... ok [INFO] [stderr] 120 | fn normal(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] test soft_light ... ok [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] test overlay ... ok [INFO] [stderr] [INFO] [stdout] test screen ... ok [INFO] [stderr] warning: unused variable: `color_b` [INFO] [stdout] test subtract ... ok [INFO] [stderr] --> src/blend.rs:124:13 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 124 | fn dissolve(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] running 2 tests [INFO] [stderr] warning: unused variable: `color_s` [INFO] [stdout] test one_channel_grayscale_raw_data ... ok [INFO] [stderr] --> src/blend.rs:124:27 [INFO] [stdout] test two_channel_grayscale_raw_data ... ok [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 124 | fn dissolve(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] [INFO] [stderr] warning: unused variable: `color_b` [INFO] [stdout] running 2 tests [INFO] [stderr] --> src/blend.rs:184:17 [INFO] [stdout] test rle_decompress_final_image ... ok [INFO] [stderr] | [INFO] [stdout] test rle_decompress_layer ... ok [INFO] [stderr] 184 | fn darker_color(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] [INFO] [stdout] [INFO] [stderr] warning: unused variable: `color_s` [INFO] [stdout] [INFO] [stderr] --> src/blend.rs:184:31 [INFO] [stdout] running 2 tests [INFO] [stderr] | [INFO] [stdout] test file_header_section ... ok [INFO] [stderr] 184 | fn darker_color(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] test negative_top_left ... ok [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] warning: unused variable: `color_b` [INFO] [stdout] [INFO] [stderr] --> src/blend.rs:248:18 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] running 2 tests [INFO] [stderr] 248 | fn lighter_color(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] test no_matching_layers ... ok [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] test flatten_fully_transparent_pixel_replaced_by_pixel_below ... ok [INFO] [stderr] [INFO] [stdout] [INFO] [stderr] warning: unused variable: `color_s` [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] --> src/blend.rs:248:32 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 248 | fn lighter_color(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] running 1 test [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] test image_data_section ... ok [INFO] [stderr] [INFO] [stdout] [INFO] [stderr] warning: unused variable: `color_b` [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] --> src/blend.rs:322:16 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 322 | fn vivid_light(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] running 2 tests [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] test image_check_16x16p_bound_field ... ok [INFO] [stderr] [INFO] [stdout] test image_check_1x1p_bound_field ... ok [INFO] [stderr] warning: unused variable: `color_s` [INFO] [stdout] [INFO] [stderr] --> src/blend.rs:322:30 [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 322 | fn vivid_light(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] running 9 tests [INFO] [stderr] [INFO] [stdout] test layer_and_mask_information_section ... ok [INFO] [stderr] warning: unused variable: `color_b` [INFO] [stdout] test layer_with_clipping ... ok [INFO] [stderr] --> src/blend.rs:326:17 [INFO] [stdout] test layer_with_chinese_name ... ok [INFO] [stderr] | [INFO] [stdout] test one_group_one_layer_inside ... ok [INFO] [stderr] 326 | fn linear_light(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] test layer_with_cyrillic_name ... ok [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] test one_group_inside_another ... ok [INFO] [stderr] [INFO] [stdout] test one_group_one_layer_inside_one_outside ... ok [INFO] [stderr] warning: unused variable: `color_s` [INFO] [stdout] test two_groups_two_layers_inside ... ok [INFO] [stderr] --> src/blend.rs:326:31 [INFO] [stdout] test one_group_with_two_subgroups ... ok [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 326 | fn linear_light(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] warning: unused variable: `color_b` [INFO] [stderr] --> src/blend.rs:331:14 [INFO] [stderr] | [INFO] [stderr] 331 | fn pin_light(color_b: f32, color_s: f32) -> f32 { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `color_s` [INFO] [stderr] --> src/blend.rs:331:28 [INFO] [stderr] | [INFO] [stderr] 331 | fn pin_light(color_b: f32, color_s: f32) -> f32 { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `color_b` [INFO] [stderr] --> src/blend.rs:336:13 [INFO] [stderr] | [INFO] [stderr] 336 | fn hard_mix(color_b: f32, color_s: f32) -> f32 { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `color_s` [INFO] [stderr] --> src/blend.rs:336:27 [INFO] [stderr] | [INFO] [stderr] 336 | fn hard_mix(color_b: f32, color_s: f32) -> f32 { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `color_b` [INFO] [stderr] --> src/blend.rs:389:8 [INFO] [stderr] | [INFO] [stderr] 389 | fn hue(color_b: f32, color_s: f32) -> f32 { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `color_s` [INFO] [stderr] --> src/blend.rs:389:22 [INFO] [stderr] | [INFO] [stderr] 389 | fn hue(color_b: f32, color_s: f32) -> f32 { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `color_b` [INFO] [stderr] --> src/blend.rs:393:15 [INFO] [stderr] | [INFO] [stderr] 393 | fn saturation(color_b: f32, color_s: f32) -> f32 { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `color_s` [INFO] [stderr] --> src/blend.rs:393:29 [INFO] [stderr] | [INFO] [stderr] 393 | fn saturation(color_b: f32, color_s: f32) -> f32 { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `color_b` [INFO] [stderr] --> src/blend.rs:397:10 [INFO] [stderr] | [INFO] [stderr] 397 | fn color(color_b: f32, color_s: f32) -> f32 { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `color_s` [INFO] [stderr] --> src/blend.rs:397:24 [INFO] [stderr] | [INFO] [stderr] 397 | fn color(color_b: f32, color_s: f32) -> f32 { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `color_b` [INFO] [stderr] --> src/blend.rs:401:15 [INFO] [stderr] | [INFO] [stderr] 401 | fn luminosity(color_b: f32, color_s: f32) -> f32 { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `color_s` [INFO] [stderr] --> src/blend.rs:401:29 [INFO] [stderr] | [INFO] [stderr] 401 | fn luminosity(color_b: f32, color_s: f32) -> f32 { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n` [INFO] [stderr] --> src/sections/image_resources_section.rs:532:13 [INFO] [stderr] | [INFO] [stderr] 532 | for n in 0..count { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sub_list` [INFO] [stderr] --> src/sections/image_resources_section.rs:527:9 [INFO] [stderr] | [INFO] [stderr] 527 | sub_list: bool, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_list` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n` [INFO] [stderr] --> src/sections/image_resources_section.rs:549:13 [INFO] [stderr] | [INFO] [stderr] 549 | for n in 0..count { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sub_list` [INFO] [stderr] --> src/sections/image_resources_section.rs:544:9 [INFO] [stderr] | [INFO] [stderr] 544 | sub_list: bool, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_list` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n` [INFO] [stderr] --> src/sections/image_resources_section.rs:626:13 [INFO] [stderr] | [INFO] [stderr] 626 | for n in 0..count { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `rle_decompress` [INFO] [stderr] --> src/psd_channel.rs:181:4 [INFO] [stderr] | [INFO] [stderr] 181 | fn rle_decompress(bytes: &[u8]) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `sixteen_to_eight_rgba` [INFO] [stderr] --> src/psd_channel.rs:212:4 [INFO] [stderr] | [INFO] [stderr] 212 | fn sixteen_to_eight_rgba(channel1: &[u8], channel2: &[u8]) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `color_mode_data` [INFO] [stderr] --> src/sections/mod.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | pub(crate) color_mode_data: &'a [u8], [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MajorSections` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/sections/mod.rs:14:10 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `version` [INFO] [stderr] --> src/sections/file_header_section.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | pub(in crate) version: PsdVersion, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `FileHeaderSection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/sections/file_header_section.rs:33:10 [INFO] [stderr] | [INFO] [stderr] 33 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `name` [INFO] [stderr] --> src/sections/image_resources_section.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | name: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/sections/layer_and_mask_information_section/layers.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `psd` (lib) generated 37 warnings [INFO] [stderr] warning: `psd` (lib test) generated 37 warnings (37 duplicates) [INFO] [stderr] warning: constant is never used: `BLEND_VIVID_LIGHT_BLUE_RED_PIXEL` [INFO] [stderr] --> tests/blend.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | const BLEND_VIVID_LIGHT_BLUE_RED_PIXEL: [u8; 4] = [85, 0, 170, 192]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `BLEND_LINEAR_LIGHT_BLUE_RED_PIXEL` [INFO] [stderr] --> tests/blend.rs:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | const BLEND_LINEAR_LIGHT_BLUE_RED_PIXEL: [u8; 4] = [85, 0, 169, 192]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `BLEND_PIN_LIGHT_BLUE_RED_PIXEL` [INFO] [stderr] --> tests/blend.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | const BLEND_PIN_LIGHT_BLUE_RED_PIXEL: [u8; 4] = [85, 0, 170, 192]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `BLEND_HARD_MIX_BLUE_RED_PIXEL` [INFO] [stderr] --> tests/blend.rs:26:1 [INFO] [stderr] | [INFO] [stderr] 26 | const BLEND_HARD_MIX_BLUE_RED_PIXEL: [u8; 4] = [170, 0, 85, 192]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `make_image` [INFO] [stderr] --> tests/transparency.rs:118:4 [INFO] [stderr] | [INFO] [stderr] 118 | fn make_image(pixel: [u8; 4], pixel_count: u32) -> Vec { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `put_pixel` [INFO] [stderr] --> tests/transparency.rs:132:4 [INFO] [stderr] | [INFO] [stderr] 132 | fn put_pixel(image: &mut Vec, width: usize, left: usize, top: usize, new: [u8; 4]) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `psd` (test "blend") generated 4 warnings [INFO] [stderr] warning: `psd` (test "transparency") generated 2 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/psd-c8ff6fc587eca918) [INFO] [stderr] Running tests/blend.rs (/opt/rustwide/target/debug/deps/blend-eef3e03ac20b8c4c) [INFO] [stderr] Running tests/channels.rs (/opt/rustwide/target/debug/deps/channels-c6ca3a486da95dc2) [INFO] [stderr] Running tests/compression.rs (/opt/rustwide/target/debug/deps/compression-da0610007d097d3f) [INFO] [stderr] Running tests/file_header_section.rs (/opt/rustwide/target/debug/deps/file_header_section-30743e54c03fa8fd) [INFO] [stderr] Running tests/flatten_layers.rs (/opt/rustwide/target/debug/deps/flatten_layers-c0f9ad13afca5891) [INFO] [stderr] Running tests/image_data_section.rs (/opt/rustwide/target/debug/deps/image_data_section-98dbe1d5d7b8d67e) [INFO] [stderr] Running tests/image_resources_section.rs (/opt/rustwide/target/debug/deps/image_resources_section-409faba20bbfbc84) [INFO] [stderr] Running tests/layer_and_mask_information_section.rs (/opt/rustwide/target/debug/deps/layer_and_mask_information_section-b7aa8c0a83ffcb9c) [INFO] [stderr] Running tests/layer_groups.rs (/opt/rustwide/target/debug/deps/layer_groups-61f9a8b1ed091c4f) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test group_by_id ... ok [INFO] [stdout] test one_group_inside_another ... ok [INFO] [stdout] test one_group_with_two_subgroups ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/slices_resource.rs (/opt/rustwide/target/debug/deps/slices_resource-9a7fb00fe0a850c6) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test name_of_slices_resource_group ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/transparency.rs (/opt/rustwide/target/debug/deps/transparency-1fcbf678e60f90a1) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test transparency_raw_data ... ok [INFO] [stdout] test transparent_above_opaque ... ok [INFO] [stdout] test transparency_rle_compressed ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests psd [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - Psd::from_bytes (line 81) ... ignored [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "edeeb52714f717e6438a2652b4eb2e8c40c3d1524a50d10d818f2d493cd6206a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edeeb52714f717e6438a2652b4eb2e8c40c3d1524a50d10d818f2d493cd6206a", kill_on_drop: false }` [INFO] [stdout] edeeb52714f717e6438a2652b4eb2e8c40c3d1524a50d10d818f2d493cd6206a