[INFO] fetching crate psd 0.3.5... [INFO] testing psd-0.3.5 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate psd 0.3.5 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate psd 0.3.5 [INFO] finished tweaking crates.io crate psd 0.3.5 [INFO] tweaked toml for crates.io crate psd 0.3.5 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate psd 0.3.5 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 7 packages to latest compatible versions [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 78edf55d09f722d6391fd79d8a71e29638b702625eba27ce61d0c59a230f9ee3 [INFO] running `Command { std: "docker" "start" "-a" "78edf55d09f722d6391fd79d8a71e29638b702625eba27ce61d0c59a230f9ee3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "78edf55d09f722d6391fd79d8a71e29638b702625eba27ce61d0c59a230f9ee3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78edf55d09f722d6391fd79d8a71e29638b702625eba27ce61d0c59a230f9ee3", kill_on_drop: false }` [INFO] [stdout] 78edf55d09f722d6391fd79d8a71e29638b702625eba27ce61d0c59a230f9ee3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c64a2219078420a53da2d881f1021bf429bbfad0d9018843bb8c425de41d39f2 [INFO] running `Command { std: "docker" "start" "-a" "c64a2219078420a53da2d881f1021bf429bbfad0d9018843bb8c425de41d39f2", kill_on_drop: false }` [INFO] [stderr] Compiling psd v0.3.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Range` [INFO] [stdout] --> src/sections/layer_and_mask_information_section/layers.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::{Deref, Range}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | fn pass_through(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:109:31 [INFO] [stdout] | [INFO] [stdout] 109 | fn pass_through(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:118:11 [INFO] [stdout] | [INFO] [stdout] 118 | fn normal(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | fn dissolve(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:122:27 [INFO] [stdout] | [INFO] [stdout] 122 | fn dissolve(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | fn darker_color(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:182:31 [INFO] [stdout] | [INFO] [stdout] 182 | fn darker_color(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:246:18 [INFO] [stdout] | [INFO] [stdout] 246 | fn lighter_color(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:246:32 [INFO] [stdout] | [INFO] [stdout] 246 | fn lighter_color(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:320:16 [INFO] [stdout] | [INFO] [stdout] 320 | fn vivid_light(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:320:30 [INFO] [stdout] | [INFO] [stdout] 320 | fn vivid_light(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:324:17 [INFO] [stdout] | [INFO] [stdout] 324 | fn linear_light(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:324:31 [INFO] [stdout] | [INFO] [stdout] 324 | fn linear_light(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:329:14 [INFO] [stdout] | [INFO] [stdout] 329 | fn pin_light(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:329:28 [INFO] [stdout] | [INFO] [stdout] 329 | fn pin_light(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:334:13 [INFO] [stdout] | [INFO] [stdout] 334 | fn hard_mix(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:334:27 [INFO] [stdout] | [INFO] [stdout] 334 | fn hard_mix(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:387:8 [INFO] [stdout] | [INFO] [stdout] 387 | fn hue(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:387:22 [INFO] [stdout] | [INFO] [stdout] 387 | fn hue(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:391:15 [INFO] [stdout] | [INFO] [stdout] 391 | fn saturation(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:391:29 [INFO] [stdout] | [INFO] [stdout] 391 | fn saturation(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:395:10 [INFO] [stdout] | [INFO] [stdout] 395 | fn color(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:395:24 [INFO] [stdout] | [INFO] [stdout] 395 | fn color(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:399:15 [INFO] [stdout] | [INFO] [stdout] 399 | fn luminosity(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:399:29 [INFO] [stdout] | [INFO] [stdout] 399 | fn luminosity(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/sections/image_resources_section.rs:542:13 [INFO] [stdout] | [INFO] [stdout] 542 | for n in 0..count { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 542 | for _n in 0..count { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `EXPECTED_DESCRIPTOR_VERSION` [INFO] [stdout] | [INFO] [stdout] 542 - for n in 0..count { [INFO] [stdout] 542 + for sections::image_resources_section::EXPECTED_DESCRIPTOR_VERSION in 0..count { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sub_list` [INFO] [stdout] --> src/sections/image_resources_section.rs:537:9 [INFO] [stdout] | [INFO] [stdout] 537 | sub_list: bool, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/sections/image_resources_section.rs:559:13 [INFO] [stdout] | [INFO] [stdout] 559 | for n in 0..count { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 559 | for _n in 0..count { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `EXPECTED_DESCRIPTOR_VERSION` [INFO] [stdout] | [INFO] [stdout] 559 - for n in 0..count { [INFO] [stdout] 559 + for sections::image_resources_section::EXPECTED_DESCRIPTOR_VERSION in 0..count { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sub_list` [INFO] [stdout] --> src/sections/image_resources_section.rs:554:9 [INFO] [stdout] | [INFO] [stdout] 554 | sub_list: bool, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/sections/image_resources_section.rs:636:13 [INFO] [stdout] | [INFO] [stdout] 636 | for n in 0..count { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 636 | for _n in 0..count { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `EXPECTED_DESCRIPTOR_VERSION` [INFO] [stdout] | [INFO] [stdout] 636 - for n in 0..count { [INFO] [stdout] 636 + for sections::image_resources_section::EXPECTED_DESCRIPTOR_VERSION in 0..count { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generate_16_bit_grayscale_rgba` is never used [INFO] [stdout] --> src/psd_channel.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait IntoRgba { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 90 | fn generate_16_bit_grayscale_rgba(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rle_decompress` is never used [INFO] [stdout] --> src/psd_channel.rs:200:4 [INFO] [stdout] | [INFO] [stdout] 200 | fn rle_decompress(bytes: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sixteen_to_eight_rgba` is never used [INFO] [stdout] --> src/psd_channel.rs:231:4 [INFO] [stdout] | [INFO] [stdout] 231 | fn sixteen_to_eight_rgba(channel1: &[u8], channel2: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `color_mode_data` is never read [INFO] [stdout] --> src/sections/mod.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct MajorSections<'a> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 16 | pub(crate) file_header: &'a [u8], [INFO] [stdout] 17 | pub(crate) color_mode_data: &'a [u8], [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MajorSections` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `version` is never read [INFO] [stdout] --> src/sections/file_header_section.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct FileHeaderSection { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 35 | pub(in crate) version: PsdVersion, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileHeaderSection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/sections/image_resources_section.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | struct ImageResourcesBlock { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 17 | resource_id: i16, [INFO] [stdout] 18 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sections/mod.rs:59:30 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn from_bytes(bytes: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 59 | pub fn from_bytes(bytes: &[u8]) -> Result, FileHeaderSectionError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sections/mod.rs:115:23 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn new(bytes: &[u8]) -> PsdCursor { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 115 | pub fn new(bytes: &[u8]) -> PsdCursor<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.81s [INFO] running `Command { std: "docker" "inspect" "c64a2219078420a53da2d881f1021bf429bbfad0d9018843bb8c425de41d39f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c64a2219078420a53da2d881f1021bf429bbfad0d9018843bb8c425de41d39f2", kill_on_drop: false }` [INFO] [stdout] c64a2219078420a53da2d881f1021bf429bbfad0d9018843bb8c425de41d39f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 890759afabb5383efe2a1c9b015113e38f4b92e8d97cc70b7ccd7e6e3b970a40 [INFO] running `Command { std: "docker" "start" "-a" "890759afabb5383efe2a1c9b015113e38f4b92e8d97cc70b7ccd7e6e3b970a40", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stdout] warning: unused import: `Range` [INFO] [stdout] --> src/sections/layer_and_mask_information_section/layers.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::{Deref, Range}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | fn pass_through(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:109:31 [INFO] [stdout] | [INFO] [stdout] 109 | fn pass_through(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:118:11 [INFO] [stdout] | [INFO] [stdout] 118 | fn normal(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | fn dissolve(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:122:27 [INFO] [stdout] | [INFO] [stdout] 122 | fn dissolve(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | fn darker_color(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:182:31 [INFO] [stdout] | [INFO] [stdout] 182 | fn darker_color(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:246:18 [INFO] [stdout] | [INFO] [stdout] 246 | fn lighter_color(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:246:32 [INFO] [stdout] | [INFO] [stdout] 246 | fn lighter_color(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:320:16 [INFO] [stdout] | [INFO] [stdout] 320 | fn vivid_light(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:320:30 [INFO] [stdout] | [INFO] [stdout] 320 | fn vivid_light(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:324:17 [INFO] [stdout] | [INFO] [stdout] 324 | fn linear_light(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:324:31 [INFO] [stdout] | [INFO] [stdout] 324 | fn linear_light(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:329:14 [INFO] [stdout] | [INFO] [stdout] 329 | fn pin_light(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:329:28 [INFO] [stdout] | [INFO] [stdout] 329 | fn pin_light(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:334:13 [INFO] [stdout] | [INFO] [stdout] 334 | fn hard_mix(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:334:27 [INFO] [stdout] | [INFO] [stdout] 334 | fn hard_mix(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:387:8 [INFO] [stdout] | [INFO] [stdout] 387 | fn hue(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:387:22 [INFO] [stdout] | [INFO] [stdout] 387 | fn hue(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:391:15 [INFO] [stdout] | [INFO] [stdout] 391 | fn saturation(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:391:29 [INFO] [stdout] | [INFO] [stdout] 391 | fn saturation(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:395:10 [INFO] [stdout] | [INFO] [stdout] 395 | fn color(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:395:24 [INFO] [stdout] | [INFO] [stdout] 395 | fn color(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:399:15 [INFO] [stdout] | [INFO] [stdout] 399 | fn luminosity(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:399:29 [INFO] [stdout] | [INFO] [stdout] 399 | fn luminosity(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/sections/image_resources_section.rs:542:13 [INFO] [stdout] | [INFO] [stdout] 542 | for n in 0..count { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 542 | for _n in 0..count { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `EXPECTED_DESCRIPTOR_VERSION` [INFO] [stdout] | [INFO] [stdout] 542 - for n in 0..count { [INFO] [stdout] 542 + for sections::image_resources_section::EXPECTED_DESCRIPTOR_VERSION in 0..count { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sub_list` [INFO] [stdout] --> src/sections/image_resources_section.rs:537:9 [INFO] [stdout] | [INFO] [stdout] 537 | sub_list: bool, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/sections/image_resources_section.rs:559:13 [INFO] [stdout] | [INFO] [stdout] 559 | for n in 0..count { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 559 | for _n in 0..count { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `EXPECTED_DESCRIPTOR_VERSION` [INFO] [stdout] | [INFO] [stdout] 559 - for n in 0..count { [INFO] [stdout] 559 + for sections::image_resources_section::EXPECTED_DESCRIPTOR_VERSION in 0..count { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sub_list` [INFO] [stdout] --> src/sections/image_resources_section.rs:554:9 [INFO] [stdout] | [INFO] [stdout] 554 | sub_list: bool, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/sections/image_resources_section.rs:636:13 [INFO] [stdout] | [INFO] [stdout] 636 | for n in 0..count { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 636 | for _n in 0..count { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `EXPECTED_DESCRIPTOR_VERSION` [INFO] [stdout] | [INFO] [stdout] 636 - for n in 0..count { [INFO] [stdout] 636 + for sections::image_resources_section::EXPECTED_DESCRIPTOR_VERSION in 0..count { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generate_16_bit_grayscale_rgba` is never used [INFO] [stdout] --> src/psd_channel.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait IntoRgba { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 90 | fn generate_16_bit_grayscale_rgba(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rle_decompress` is never used [INFO] [stdout] --> src/psd_channel.rs:200:4 [INFO] [stdout] | [INFO] [stdout] 200 | fn rle_decompress(bytes: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sixteen_to_eight_rgba` is never used [INFO] [stdout] --> src/psd_channel.rs:231:4 [INFO] [stdout] | [INFO] [stdout] 231 | fn sixteen_to_eight_rgba(channel1: &[u8], channel2: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `color_mode_data` is never read [INFO] [stdout] --> src/sections/mod.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct MajorSections<'a> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 16 | pub(crate) file_header: &'a [u8], [INFO] [stdout] 17 | pub(crate) color_mode_data: &'a [u8], [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MajorSections` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `version` is never read [INFO] [stdout] --> src/sections/file_header_section.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct FileHeaderSection { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 35 | pub(in crate) version: PsdVersion, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileHeaderSection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/sections/image_resources_section.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | struct ImageResourcesBlock { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 17 | resource_id: i16, [INFO] [stdout] 18 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sections/mod.rs:59:30 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn from_bytes(bytes: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 59 | pub fn from_bytes(bytes: &[u8]) -> Result, FileHeaderSectionError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sections/mod.rs:115:23 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn new(bytes: &[u8]) -> PsdCursor { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 115 | pub fn new(bytes: &[u8]) -> PsdCursor<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling psd v0.3.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Range` [INFO] [stdout] --> src/sections/layer_and_mask_information_section/layers.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::{Deref, Range}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLEND_VIVID_LIGHT_BLUE_RED_PIXEL` is never used [INFO] [stdout] --> tests/blend.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | const BLEND_VIVID_LIGHT_BLUE_RED_PIXEL: [u8; 4] = [85, 0, 170, 192]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLEND_LINEAR_LIGHT_BLUE_RED_PIXEL` is never used [INFO] [stdout] --> tests/blend.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | const BLEND_LINEAR_LIGHT_BLUE_RED_PIXEL: [u8; 4] = [85, 0, 169, 192]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLEND_PIN_LIGHT_BLUE_RED_PIXEL` is never used [INFO] [stdout] --> tests/blend.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | const BLEND_PIN_LIGHT_BLUE_RED_PIXEL: [u8; 4] = [85, 0, 170, 192]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLEND_HARD_MIX_BLUE_RED_PIXEL` is never used [INFO] [stdout] --> tests/blend.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | const BLEND_HARD_MIX_BLUE_RED_PIXEL: [u8; 4] = [170, 0, 85, 192]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | fn pass_through(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:109:31 [INFO] [stdout] | [INFO] [stdout] 109 | fn pass_through(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:118:11 [INFO] [stdout] | [INFO] [stdout] 118 | fn normal(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | fn dissolve(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:122:27 [INFO] [stdout] | [INFO] [stdout] 122 | fn dissolve(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | fn darker_color(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:182:31 [INFO] [stdout] | [INFO] [stdout] 182 | fn darker_color(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:246:18 [INFO] [stdout] | [INFO] [stdout] 246 | fn lighter_color(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:246:32 [INFO] [stdout] | [INFO] [stdout] 246 | fn lighter_color(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:320:16 [INFO] [stdout] | [INFO] [stdout] 320 | fn vivid_light(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:320:30 [INFO] [stdout] | [INFO] [stdout] 320 | fn vivid_light(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:324:17 [INFO] [stdout] | [INFO] [stdout] 324 | fn linear_light(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:324:31 [INFO] [stdout] | [INFO] [stdout] 324 | fn linear_light(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:329:14 [INFO] [stdout] | [INFO] [stdout] 329 | fn pin_light(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:329:28 [INFO] [stdout] | [INFO] [stdout] 329 | fn pin_light(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:334:13 [INFO] [stdout] | [INFO] [stdout] 334 | fn hard_mix(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:334:27 [INFO] [stdout] | [INFO] [stdout] 334 | fn hard_mix(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:387:8 [INFO] [stdout] | [INFO] [stdout] 387 | fn hue(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:387:22 [INFO] [stdout] | [INFO] [stdout] 387 | fn hue(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:391:15 [INFO] [stdout] | [INFO] [stdout] 391 | fn saturation(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:391:29 [INFO] [stdout] | [INFO] [stdout] 391 | fn saturation(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:395:10 [INFO] [stdout] | [INFO] [stdout] 395 | fn color(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:395:24 [INFO] [stdout] | [INFO] [stdout] 395 | fn color(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_b` [INFO] [stdout] --> src/blend.rs:399:15 [INFO] [stdout] | [INFO] [stdout] 399 | fn luminosity(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_s` [INFO] [stdout] --> src/blend.rs:399:29 [INFO] [stdout] | [INFO] [stdout] 399 | fn luminosity(color_b: f32, color_s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_image` is never used [INFO] [stdout] --> tests/transparency.rs:118:4 [INFO] [stdout] | [INFO] [stdout] 118 | fn make_image(pixel: [u8; 4], pixel_count: u32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `put_pixel` is never used [INFO] [stdout] --> tests/transparency.rs:132:4 [INFO] [stdout] | [INFO] [stdout] 132 | fn put_pixel(image: &mut Vec, width: usize, left: usize, top: usize, new: [u8; 4]) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/sections/image_resources_section.rs:542:13 [INFO] [stdout] | [INFO] [stdout] 542 | for n in 0..count { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 542 | for _n in 0..count { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `EXPECTED_DESCRIPTOR_VERSION` [INFO] [stdout] | [INFO] [stdout] 542 - for n in 0..count { [INFO] [stdout] 542 + for sections::image_resources_section::EXPECTED_DESCRIPTOR_VERSION in 0..count { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sub_list` [INFO] [stdout] --> src/sections/image_resources_section.rs:537:9 [INFO] [stdout] | [INFO] [stdout] 537 | sub_list: bool, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/sections/image_resources_section.rs:559:13 [INFO] [stdout] | [INFO] [stdout] 559 | for n in 0..count { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 559 | for _n in 0..count { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `EXPECTED_DESCRIPTOR_VERSION` [INFO] [stdout] | [INFO] [stdout] 559 - for n in 0..count { [INFO] [stdout] 559 + for sections::image_resources_section::EXPECTED_DESCRIPTOR_VERSION in 0..count { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sub_list` [INFO] [stdout] --> src/sections/image_resources_section.rs:554:9 [INFO] [stdout] | [INFO] [stdout] 554 | sub_list: bool, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/sections/image_resources_section.rs:636:13 [INFO] [stdout] | [INFO] [stdout] 636 | for n in 0..count { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 636 | for _n in 0..count { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `EXPECTED_DESCRIPTOR_VERSION` [INFO] [stdout] | [INFO] [stdout] 636 - for n in 0..count { [INFO] [stdout] 636 + for sections::image_resources_section::EXPECTED_DESCRIPTOR_VERSION in 0..count { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generate_16_bit_grayscale_rgba` is never used [INFO] [stdout] --> src/psd_channel.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait IntoRgba { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 90 | fn generate_16_bit_grayscale_rgba(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rle_decompress` is never used [INFO] [stdout] --> src/psd_channel.rs:200:4 [INFO] [stdout] | [INFO] [stdout] 200 | fn rle_decompress(bytes: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sixteen_to_eight_rgba` is never used [INFO] [stdout] --> src/psd_channel.rs:231:4 [INFO] [stdout] | [INFO] [stdout] 231 | fn sixteen_to_eight_rgba(channel1: &[u8], channel2: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `color_mode_data` is never read [INFO] [stdout] --> src/sections/mod.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct MajorSections<'a> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 16 | pub(crate) file_header: &'a [u8], [INFO] [stdout] 17 | pub(crate) color_mode_data: &'a [u8], [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MajorSections` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `version` is never read [INFO] [stdout] --> src/sections/file_header_section.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct FileHeaderSection { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 35 | pub(in crate) version: PsdVersion, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileHeaderSection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/sections/image_resources_section.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | struct ImageResourcesBlock { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 17 | resource_id: i16, [INFO] [stdout] 18 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sections/mod.rs:59:30 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn from_bytes(bytes: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 59 | pub fn from_bytes(bytes: &[u8]) -> Result, FileHeaderSectionError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sections/mod.rs:115:23 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn new(bytes: &[u8]) -> PsdCursor { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 115 | pub fn new(bytes: &[u8]) -> PsdCursor<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.20s [INFO] running `Command { std: "docker" "inspect" "890759afabb5383efe2a1c9b015113e38f4b92e8d97cc70b7ccd7e6e3b970a40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "890759afabb5383efe2a1c9b015113e38f4b92e8d97cc70b7ccd7e6e3b970a40", kill_on_drop: false }` [INFO] [stdout] 890759afabb5383efe2a1c9b015113e38f4b92e8d97cc70b7ccd7e6e3b970a40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3be555560d5038b8b18a1df2777ed0acf66bf6a343fa53a444136817fe882f30 [INFO] running `Command { std: "docker" "start" "-a" "3be555560d5038b8b18a1df2777ed0acf66bf6a343fa53a444136817fe882f30", kill_on_drop: false }` [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `color_b` [INFO] [stderr] --> src/blend.rs:109:17 [INFO] [stderr] | [INFO] [stderr] 109 | 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `color_s` [INFO] [stderr] --> src/blend.rs:109:31 [INFO] [stderr] | [INFO] [stderr] 109 | 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:118:11 [INFO] [stderr] | [INFO] [stderr] 118 | 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:122:13 [INFO] [stderr] | [INFO] [stderr] 122 | 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:122:27 [INFO] [stderr] | [INFO] [stderr] 122 | 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:182:17 [INFO] [stderr] | [INFO] [stderr] 182 | 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:182:31 [INFO] [stderr] | [INFO] [stderr] 182 | 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:246:18 [INFO] [stderr] | [INFO] [stderr] 246 | 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:246:32 [INFO] [stderr] | [INFO] [stderr] 246 | 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:320:16 [INFO] [stderr] | [INFO] [stderr] 320 | 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:320:30 [INFO] [stderr] | [INFO] [stderr] 320 | 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:324:17 [INFO] [stderr] | [INFO] [stderr] 324 | 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:324:31 [INFO] [stderr] | [INFO] [stderr] 324 | 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:329:14 [INFO] [stderr] | [INFO] [stderr] 329 | 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:329:28 [INFO] [stderr] | [INFO] [stderr] 329 | 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:334:13 [INFO] [stderr] | [INFO] [stderr] 334 | 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:334:27 [INFO] [stderr] | [INFO] [stderr] 334 | 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:387:8 [INFO] [stderr] | [INFO] [stderr] 387 | 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:387:22 [INFO] [stderr] | [INFO] [stderr] 387 | 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:391:15 [INFO] [stderr] | [INFO] [stderr] 391 | 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:391:29 [INFO] [stderr] | [INFO] [stderr] 391 | 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:395:10 [INFO] [stderr] | [INFO] [stderr] 395 | 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:395:24 [INFO] [stderr] | [INFO] [stderr] 395 | 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:399:15 [INFO] [stderr] | [INFO] [stderr] 399 | 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:399:29 [INFO] [stderr] | [INFO] [stderr] 399 | 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:542:13 [INFO] [stderr] | [INFO] [stderr] 542 | for n in 0..count { [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] help: if this is intentional, prefix it with an underscore [INFO] [stderr] | [INFO] [stderr] 542 | for _n in 0..count { [INFO] [stderr] | + [INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `EXPECTED_DESCRIPTOR_VERSION` [INFO] [stderr] | [INFO] [stderr] 542 - for n in 0..count { [INFO] [stderr] 542 + for sections::image_resources_section::EXPECTED_DESCRIPTOR_VERSION in 0..count { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sub_list` [INFO] [stderr] --> src/sections/image_resources_section.rs:537:9 [INFO] [stderr] | [INFO] [stderr] 537 | 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:559:13 [INFO] [stderr] | [INFO] [stderr] 559 | for n in 0..count { [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] help: if this is intentional, prefix it with an underscore [INFO] [stderr] | [INFO] [stderr] 559 | for _n in 0..count { [INFO] [stderr] | + [INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `EXPECTED_DESCRIPTOR_VERSION` [INFO] [stderr] | [INFO] [stderr] 559 - for n in 0..count { [INFO] [stderr] 559 + for sections::image_resources_section::EXPECTED_DESCRIPTOR_VERSION in 0..count { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sub_list` [INFO] [stderr] --> src/sections/image_resources_section.rs:554:9 [INFO] [stderr] | [INFO] [stderr] 554 | 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:636:13 [INFO] [stderr] | [INFO] [stderr] 636 | for n in 0..count { [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] help: if this is intentional, prefix it with an underscore [INFO] [stderr] | [INFO] [stderr] 636 | for _n in 0..count { [INFO] [stderr] | + [INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `EXPECTED_DESCRIPTOR_VERSION` [INFO] [stderr] | [INFO] [stderr] 636 - for n in 0..count { [INFO] [stderr] 636 + for sections::image_resources_section::EXPECTED_DESCRIPTOR_VERSION in 0..count { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: method `generate_16_bit_grayscale_rgba` is never used [INFO] [stderr] --> src/psd_channel.rs:90:8 [INFO] [stderr] | [INFO] [stderr] 5 | pub trait IntoRgba { [INFO] [stderr] | -------- method in this trait [INFO] [stderr] ... [INFO] [stderr] 90 | fn generate_16_bit_grayscale_rgba(&self) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `rle_decompress` is never used [INFO] [stderr] --> src/psd_channel.rs:200:4 [INFO] [stderr] | [INFO] [stderr] 200 | fn rle_decompress(bytes: &[u8]) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `sixteen_to_eight_rgba` is never used [INFO] [stderr] --> src/psd_channel.rs:231:4 [INFO] [stderr] | [INFO] [stderr] 231 | fn sixteen_to_eight_rgba(channel1: &[u8], channel2: &[u8]) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `color_mode_data` is never read [INFO] [stderr] --> src/sections/mod.rs:17:16 [INFO] [stderr] | [INFO] [stderr] 15 | pub struct MajorSections<'a> { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] 16 | pub(crate) file_header: &'a [u8], [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] [INFO] [stderr] warning: field `version` is never read [INFO] [stderr] --> src/sections/file_header_section.rs:35:19 [INFO] [stderr] | [INFO] [stderr] 34 | pub struct FileHeaderSection { [INFO] [stderr] | ----------------- field in this struct [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] [INFO] [stderr] warning: field `name` is never read [INFO] [stderr] --> src/sections/image_resources_section.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 16 | struct ImageResourcesBlock { [INFO] [stderr] | ------------------- field in this struct [INFO] [stderr] 17 | resource_id: i16, [INFO] [stderr] 18 | name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/sections/mod.rs:59:30 [INFO] [stderr] | [INFO] [stderr] 59 | pub fn from_bytes(bytes: &[u8]) -> Result { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 59 | pub fn from_bytes(bytes: &[u8]) -> Result, FileHeaderSectionError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/sections/mod.rs:115:23 [INFO] [stderr] | [INFO] [stderr] 115 | pub fn new(bytes: &[u8]) -> PsdCursor { [INFO] [stderr] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 115 | pub fn new(bytes: &[u8]) -> PsdCursor<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `psd` (lib) generated 39 warnings (run `cargo fix --lib -p psd` to apply 6 suggestions) [INFO] [stderr] warning: `psd` (lib test) generated 39 warnings (39 duplicates) [INFO] [stderr] warning: function `make_image` is never used [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `put_pixel` is never used [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: constant `BLEND_VIVID_LIGHT_BLUE_RED_PIXEL` is never used [INFO] [stderr] --> tests/blend.rs:23:7 [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: constant `BLEND_LINEAR_LIGHT_BLUE_RED_PIXEL` is never used [INFO] [stderr] --> tests/blend.rs:24:7 [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 `BLEND_PIN_LIGHT_BLUE_RED_PIXEL` is never used [INFO] [stderr] --> tests/blend.rs:25:7 [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 `BLEND_HARD_MIX_BLUE_RED_PIXEL` is never used [INFO] [stderr] --> tests/blend.rs:26:7 [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: `psd` (test "transparency") generated 2 warnings [INFO] [stderr] warning: `psd` (test "blend") generated 4 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/psd-c1b1b66c1e9acc8b) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test psd_channel::tests::does_not_read_beyond_rle_channels_bytes ... ok [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::valid_channel_count ... ok [INFO] [stdout] test tests::psd_signature_fail ... 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] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/blend.rs (/opt/rustwide/target/debug/deps/blend-27cbbdf07d68edfc) [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test color_burn ... ok [INFO] [stdout] test color_dodge ... ok [INFO] [stdout] test divide ... ok [INFO] [stdout] test exclusion ... ok [INFO] [stdout] test difference ... ok [INFO] [stdout] test darken ... ok [INFO] [stdout] test lighten ... ok [INFO] [stdout] test linear_burn ... ok [INFO] [stdout] test normal ... ok [INFO] [stdout] test multiply ... ok [INFO] [stdout] test overlay ... ok [INFO] [stdout] test screen ... ok [INFO] [stdout] test linear_dodge ... ok [INFO] [stdout] test soft_light ... ok [INFO] [stdout] test subtract ... ok [INFO] [stdout] test hard_light ... ok [INFO] [stderr] Running tests/channels.rs (/opt/rustwide/target/debug/deps/channels-da3f1bda54495bf1) [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] [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-6c7f8c7c0ea0efe6) [INFO] [stdout] [INFO] [stdout] running 2 tests [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] [stderr] Running tests/file_header_section.rs (/opt/rustwide/target/debug/deps/file_header_section-30a623c4bf9bf44b) [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] [stderr] Running tests/flatten_layers.rs (/opt/rustwide/target/debug/deps/flatten_layers-ca3dfaf072699b3d) [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-8dd3e2eabb16fa53) [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.02s [INFO] [stdout] [INFO] [stderr] Running tests/image_resources_section.rs (/opt/rustwide/target/debug/deps/image_resources_section-f7a2d13ff2639457) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test image_check_16x16p_bound_field ... ok [INFO] [stdout] test image_non_utf8_pascal_string ... ok [INFO] [stdout] test image_check_1x1p_bound_field ... ok [INFO] [stdout] test image_odd_length_pascal_string ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 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-a31b53dececcd7a5) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test layer_and_mask_information_section ... ok [INFO] [stdout] test layer_with_chinese_name ... ok [INFO] [stdout] test layer_with_cyrillic_name ... ok [INFO] [stdout] test one_group_inside_another ... ok [INFO] [stdout] test one_group_one_layer_inside_one_outside ... ok [INFO] [stdout] test layer_with_clipping ... ok [INFO] [stdout] test layer_larger_than_psd ... ok [INFO] [stdout] test one_group_with_two_subgroups ... ok [INFO] [stdout] test one_group_one_layer_inside ... ok [INFO] [stdout] test out_of_bounds_layer ... ok [INFO] [stdout] test layer_unicode_string ... ok [INFO] [stderr] Running tests/layer_groups.rs (/opt/rustwide/target/debug/deps/layer_groups-757630425a376c0c) [INFO] [stdout] test two_groups_two_layers_inside ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test one_group_inside_another ... ok [INFO] [stdout] test group_by_id ... ok [INFO] [stdout] test one_group_with_two_subgroups ... ok [INFO] [stdout] test rle_compressed_empty_channel ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 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-0940e27a27b2e514) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test name_of_slices_resource_group ... ok [INFO] [stdout] test slices_v7_8 ... 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/transparency.rs (/opt/rustwide/target/debug/deps/transparency-0e50cce248d8c30e) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test transparent_above_opaque ... ok [INFO] [stdout] test transparency_rle_compressed ... ok [INFO] [stdout] test transparency_raw_data ... 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" "3be555560d5038b8b18a1df2777ed0acf66bf6a343fa53a444136817fe882f30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3be555560d5038b8b18a1df2777ed0acf66bf6a343fa53a444136817fe882f30", kill_on_drop: false }` [INFO] [stdout] 3be555560d5038b8b18a1df2777ed0acf66bf6a343fa53a444136817fe882f30