[INFO] fetching crate psd 0.3.0... [INFO] testing psd-0.3.0 against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] extracting crate psd 0.3.0 into /workspace/builds/worker-51/source [INFO] validating manifest of crates.io crate psd 0.3.0 on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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-51/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-51/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-51/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2fef621304d59c44e4ccfd51e99ef8e67f2894820975c901c6d73db4ad219b41 [INFO] running `Command { std: "docker" "start" "-a" "2fef621304d59c44e4ccfd51e99ef8e67f2894820975c901c6d73db4ad219b41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2fef621304d59c44e4ccfd51e99ef8e67f2894820975c901c6d73db4ad219b41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fef621304d59c44e4ccfd51e99ef8e67f2894820975c901c6d73db4ad219b41", kill_on_drop: false }` [INFO] [stdout] 2fef621304d59c44e4ccfd51e99ef8e67f2894820975c901c6d73db4ad219b41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-51/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-51/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 391a48548ec839187ee376a0340b5bdc7cfb6316fa19a9d088d795c77a458935 [INFO] running `Command { std: "docker" "start" "-a" "391a48548ec839187ee376a0340b5bdc7cfb6316fa19a9d088d795c77a458935", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling quote v1.0.10 [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: `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] [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: 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] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.45s [INFO] running `Command { std: "docker" "inspect" "391a48548ec839187ee376a0340b5bdc7cfb6316fa19a9d088d795c77a458935", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "391a48548ec839187ee376a0340b5bdc7cfb6316fa19a9d088d795c77a458935", kill_on_drop: false }` [INFO] [stdout] 391a48548ec839187ee376a0340b5bdc7cfb6316fa19a9d088d795c77a458935 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-51/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-51/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c8905d38b40e17dd0e29efdbf513deeeb7e55ba2c74baa22f344c22835a5f75d [INFO] running `Command { std: "docker" "start" "-a" "c8905d38b40e17dd0e29efdbf513deeeb7e55ba2c74baa22f344c22835a5f75d", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.47 [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: `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] [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: 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] [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: 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: `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] [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: 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] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.70s [INFO] running `Command { std: "docker" "inspect" "c8905d38b40e17dd0e29efdbf513deeeb7e55ba2c74baa22f344c22835a5f75d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8905d38b40e17dd0e29efdbf513deeeb7e55ba2c74baa22f344c22835a5f75d", kill_on_drop: false }` [INFO] [stdout] c8905d38b40e17dd0e29efdbf513deeeb7e55ba2c74baa22f344c22835a5f75d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-51/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-51/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bd063cbfab09be2e0e65a06f91934730a5a530c17e0d997b4db29e3283cdabe7 [INFO] running `Command { std: "docker" "start" "-a" "bd063cbfab09be2e0e65a06f91934730a5a530c17e0d997b4db29e3283cdabe7", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `Range` [INFO] [stderr] --> src/sections/layer_and_mask_information_section/layers.rs:3:23 [INFO] [stderr] | [INFO] [stderr] 3 | use std::ops::{Deref, Range}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `color_b` [INFO] [stderr] --> src/blend.rs:111:17 [INFO] [stderr] | [INFO] [stderr] 111 | fn pass_through(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] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `color_s` [INFO] [stderr] --> src/blend.rs:111:31 [INFO] [stderr] | [INFO] [stderr] 111 | fn pass_through(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:120:11 [INFO] [stderr] | [INFO] [stderr] 120 | fn normal(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_b` [INFO] [stderr] --> src/blend.rs:124:13 [INFO] [stderr] | [INFO] [stderr] 124 | fn dissolve(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:124:27 [INFO] [stderr] | [INFO] [stderr] 124 | fn dissolve(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:184:17 [INFO] [stderr] | [INFO] [stderr] 184 | fn darker_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:184:31 [INFO] [stderr] | [INFO] [stderr] 184 | fn darker_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:248:18 [INFO] [stderr] | [INFO] [stderr] 248 | fn lighter_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:248:32 [INFO] [stderr] | [INFO] [stderr] 248 | fn lighter_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:322:16 [INFO] [stderr] | [INFO] [stderr] 322 | fn vivid_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:322:30 [INFO] [stderr] | [INFO] [stderr] 322 | fn vivid_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:326:17 [INFO] [stderr] | [INFO] [stderr] 326 | fn linear_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:326:31 [INFO] [stderr] | [INFO] [stderr] 326 | fn linear_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: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: `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] 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: 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] 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.22s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/psd-a77fa527d7c9d19b) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test sections::file_header_section::tests::first_four_bytes_incorrect ... ok [INFO] [stdout] test sections::file_header_section::tests::incorrect_file_header_section_length ... ok [INFO] [stdout] test sections::file_header_section::tests::invalid_channel_count ... ok [INFO] [stdout] test sections::file_header_section::tests::invalid_reserved_section ... ok [INFO] [stdout] test sections::file_header_section::tests::version_incorrect ... ok [INFO] [stdout] test sections::file_header_section::tests::valid_channel_count ... ok [INFO] [stdout] test tests::psd_signature_fail ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/blend.rs (/opt/rustwide/target/debug/deps/blend-de1d8cd5e6d82028) [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test darken ... ok [INFO] [stdout] test color_burn ... ok [INFO] [stdout] test exclusion ... ok [INFO] [stdout] test lighten ... ok [INFO] [stdout] test hard_light ... ok [INFO] [stdout] test divide ... ok [INFO] [stdout] test difference ... ok [INFO] [stdout] test color_dodge ... ok [INFO] [stdout] test linear_burn ... ok [INFO] [stdout] test overlay ... ok [INFO] [stdout] test normal ... ok [INFO] [stdout] test linear_dodge ... ok [INFO] [stdout] test multiply ... ok [INFO] [stdout] test screen ... ok [INFO] [stdout] test soft_light ... ok [INFO] [stdout] test subtract ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/channels.rs (/opt/rustwide/target/debug/deps/channels-b0b7309643e406c4) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test two_channel_grayscale_raw_data ... ok [INFO] [stdout] test one_channel_grayscale_raw_data ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/compression.rs (/opt/rustwide/target/debug/deps/compression-ab31a45e4ad0f1cf) [INFO] [stdout] [INFO] [stderr] Running tests/file_header_section.rs (/opt/rustwide/target/debug/deps/file_header_section-535366f451899c6c) [INFO] [stdout] running 2 tests [INFO] [stderr] Running tests/flatten_layers.rs (/opt/rustwide/target/debug/deps/flatten_layers-1daf3b113e92fb02) [INFO] [stdout] test rle_decompress_final_image ... ok [INFO] [stdout] test rle_decompress_layer ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test file_header_section ... ok [INFO] [stdout] test negative_top_left ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test flatten_fully_transparent_pixel_replaced_by_pixel_below ... ok [INFO] [stdout] test no_matching_layers ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/image_data_section.rs (/opt/rustwide/target/debug/deps/image_data_section-b8469077b0ff3348) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test image_data_section ... 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/image_resources_section.rs (/opt/rustwide/target/debug/deps/image_resources_section-8f4b15e8ea77ceab) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test image_check_16x16p_bound_field ... ok [INFO] [stdout] test image_check_1x1p_bound_field ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/layer_and_mask_information_section.rs (/opt/rustwide/target/debug/deps/layer_and_mask_information_section-0958407ed125113b) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test layer_and_mask_information_section ... ok [INFO] [stdout] test layer_with_clipping ... ok [INFO] [stdout] test layer_with_chinese_name ... ok [INFO] [stdout] test layer_with_cyrillic_name ... ok [INFO] [stdout] test one_group_one_layer_inside ... ok [INFO] [stdout] test one_group_one_layer_inside_one_outside ... ok [INFO] [stdout] test two_groups_two_layers_inside ... 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. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/layer_groups.rs (/opt/rustwide/target/debug/deps/layer_groups-453239263741284d) [INFO] [stdout] [INFO] [stderr] Running tests/slices_resource.rs (/opt/rustwide/target/debug/deps/slices_resource-8b60fb083b664389) [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] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test name_of_slices_resource_group ... ok [INFO] [stderr] Running tests/transparency.rs (/opt/rustwide/target/debug/deps/transparency-7b0fda2633d37ee7) [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] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test transparent_above_opaque ... ok [INFO] [stdout] test transparency_raw_data ... 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" "bd063cbfab09be2e0e65a06f91934730a5a530c17e0d997b4db29e3283cdabe7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd063cbfab09be2e0e65a06f91934730a5a530c17e0d997b4db29e3283cdabe7", kill_on_drop: false }` [INFO] [stdout] bd063cbfab09be2e0e65a06f91934730a5a530c17e0d997b4db29e3283cdabe7