[INFO] fetching crate psd 0.1.9... [INFO] checking psd-0.1.9 against master#a5f164faad4a2fed606b8160fd7ecd2d5cbba381 for pr-84920 [INFO] extracting crate psd 0.1.9 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate psd 0.1.9 on toolchain a5f164faad4a2fed606b8160fd7ecd2d5cbba381 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate psd 0.1.9 [INFO] finished tweaking crates.io crate psd 0.1.9 [INFO] tweaked toml for crates.io crate psd 0.1.9 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] efca360f14c7fb13f9f8546668ef52c067d6ded7e050f883e2156601b88b1aec [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "efca360f14c7fb13f9f8546668ef52c067d6ded7e050f883e2156601b88b1aec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "efca360f14c7fb13f9f8546668ef52c067d6ded7e050f883e2156601b88b1aec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efca360f14c7fb13f9f8546668ef52c067d6ded7e050f883e2156601b88b1aec", kill_on_drop: false }` [INFO] [stdout] efca360f14c7fb13f9f8546668ef52c067d6ded7e050f883e2156601b88b1aec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee5d3d1b7f2d66a93012a0e02cdedda4093642d386dd52b426658868ce09f777 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ee5d3d1b7f2d66a93012a0e02cdedda4093642d386dd52b426658868ce09f777", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling backtrace v0.3.58 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking psd v0.1.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `DescriptorStructure` [INFO] [stdout] --> src/lib.rs:22:48 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::sections::image_resources_section::{DescriptorStructure, ImageResourcesSection}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/sections/layer_and_mask_information_section/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::FromIterator` [INFO] [stdout] --> src/sections/layer_and_mask_information_section/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DescriptorStructure` [INFO] [stdout] --> src/lib.rs:22:48 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::sections::image_resources_section::{DescriptorStructure, ImageResourcesSection}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/sections/layer_and_mask_information_section/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::FromIterator` [INFO] [stdout] --> src/sections/layer_and_mask_information_section/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/sections/image_resources_section.rs:520:13 [INFO] [stdout] | [INFO] [stdout] 520 | for n in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sub_list` [INFO] [stdout] --> src/sections/image_resources_section.rs:515:9 [INFO] [stdout] | [INFO] [stdout] 515 | 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:534:13 [INFO] [stdout] | [INFO] [stdout] 534 | 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:530:42 [INFO] [stdout] | [INFO] [stdout] 530 | fn read_list(cursor: &mut PsdCursor, sub_list: bool) -> Result, Error> { [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:607:13 [INFO] [stdout] | [INFO] [stdout] 607 | for n in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/sections/image_resources_section.rs:520:13 [INFO] [stdout] | [INFO] [stdout] 520 | for n in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sub_list` [INFO] [stdout] --> src/sections/image_resources_section.rs:515:9 [INFO] [stdout] | [INFO] [stdout] 515 | 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:534:13 [INFO] [stdout] | [INFO] [stdout] 534 | 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:530:42 [INFO] [stdout] | [INFO] [stdout] 530 | fn read_list(cursor: &mut PsdCursor, sub_list: bool) -> Result, Error> { [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:607:13 [INFO] [stdout] | [INFO] [stdout] 607 | 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: `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/container.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MissingChannels` [INFO] [stdout] --> src/sections/layer_and_mask_information_section/layer.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | MissingChannels { channel: PsdChannelKind }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [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: `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/container.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MissingChannels` [INFO] [stdout] --> src/sections/layer_and_mask_information_section/layer.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | MissingChannels { channel: PsdChannelKind }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `make_image` [INFO] [stdout] --> tests/transparency.rs:109:4 [INFO] [stdout] | [INFO] [stdout] 109 | 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:123:4 [INFO] [stdout] | [INFO] [stdout] 123 | fn put_pixel(image: &mut Vec, width: usize, left: usize, top: usize, new: [u8; 4]) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 28.40s [INFO] running `Command { std: "docker" "inspect" "ee5d3d1b7f2d66a93012a0e02cdedda4093642d386dd52b426658868ce09f777", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee5d3d1b7f2d66a93012a0e02cdedda4093642d386dd52b426658868ce09f777", kill_on_drop: false }` [INFO] [stdout] ee5d3d1b7f2d66a93012a0e02cdedda4093642d386dd52b426658868ce09f777