[INFO] fetching crate psd 0.1.7... [INFO] checking psd-0.1.7 against master#ba72b15666b2491415aec703a02c2364fe5e2790 for pr-71140 [INFO] extracting crate psd 0.1.7 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate psd 0.1.7 on toolchain ba72b15666b2491415aec703a02c2364fe5e2790 [INFO] running `"/workspace/cargo-home/bin/cargo" "+ba72b15666b2491415aec703a02c2364fe5e2790" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate psd 0.1.7 [INFO] finished tweaking crates.io crate psd 0.1.7 [INFO] tweaked toml for crates.io crate psd 0.1.7 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+ba72b15666b2491415aec703a02c2364fe5e2790" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+ba72b15666b2491415aec703a02c2364fe5e2790" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+ba72b15666b2491415aec703a02c2364fe5e2790" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5ac7f7275071c8f9abf64423f78e6ebedb87501e96a872b4089c39c4a23e0619 [INFO] running `"docker" "start" "-a" "5ac7f7275071c8f9abf64423f78e6ebedb87501e96a872b4089c39c4a23e0619"` [INFO] [stderr] Checking psd v0.1.7 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `std::iter::Map` [INFO] [stderr] --> src/sections/image_resources_section.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::iter::Map; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::borrow::Cow` [INFO] [stderr] --> src/sections/layer_and_mask_information_section/mod.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::borrow::Cow; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::iter::FromIterator` [INFO] [stderr] --> src/sections/layer_and_mask_information_section/mod.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::iter::FromIterator; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::iter::Map` [INFO] [stderr] --> src/sections/image_resources_section.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::iter::Map; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::borrow::Cow` [INFO] [stderr] --> src/sections/layer_and_mask_information_section/mod.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::borrow::Cow; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::iter::FromIterator` [INFO] [stderr] --> src/sections/layer_and_mask_information_section/mod.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::iter::FromIterator; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n` [INFO] [stderr] --> src/sections/image_resources_section.rs:133:13 [INFO] [stderr] | [INFO] [stderr] 133 | for n in 0..number_of_slices { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `slice_id` [INFO] [stderr] --> src/sections/image_resources_section.rs:173:13 [INFO] [stderr] | [INFO] [stderr] 173 | let slice_id = cursor.read_i32()?; [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_slice_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `group_id` [INFO] [stderr] --> src/sections/image_resources_section.rs:174:13 [INFO] [stderr] | [INFO] [stderr] 174 | let group_id = cursor.read_i32()?; [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_group_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `top` [INFO] [stderr] --> src/sections/image_resources_section.rs:187:13 [INFO] [stderr] | [INFO] [stderr] 187 | let top = cursor.read_i32()?; [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_top` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `left` [INFO] [stderr] --> src/sections/image_resources_section.rs:189:13 [INFO] [stderr] | [INFO] [stderr] 189 | let left = cursor.read_i32()?; [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_left` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `bottom` [INFO] [stderr] --> src/sections/image_resources_section.rs:191:13 [INFO] [stderr] | [INFO] [stderr] 191 | let bottom = cursor.read_i32()?; [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bottom` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `right` [INFO] [stderr] --> src/sections/image_resources_section.rs:193:13 [INFO] [stderr] | [INFO] [stderr] 193 | let right = cursor.read_i32()?; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_right` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n` [INFO] [stderr] --> src/sections/image_resources_section.rs:531:13 [INFO] [stderr] | [INFO] [stderr] 531 | for n in 0..count { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sub_list` [INFO] [stderr] --> src/sections/image_resources_section.rs:527:44 [INFO] [stderr] | [INFO] [stderr] 527 | fn read_fields(cursor: &mut PsdCursor, sub_list: bool) -> Result, Error> { [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:545:13 [INFO] [stderr] | [INFO] [stderr] 545 | for n in 0..count { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sub_list` [INFO] [stderr] --> src/sections/image_resources_section.rs:541:42 [INFO] [stderr] | [INFO] [stderr] 541 | fn read_list(cursor: &mut PsdCursor, sub_list: bool) -> Result, Error> { [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:598:13 [INFO] [stderr] | [INFO] [stderr] 598 | for n in 0..count { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n` [INFO] [stderr] --> src/sections/image_resources_section.rs:133:13 [INFO] [stderr] | [INFO] [stderr] 133 | for n in 0..number_of_slices { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `slice_id` [INFO] [stderr] --> src/sections/image_resources_section.rs:173:13 [INFO] [stderr] | [INFO] [stderr] 173 | let slice_id = cursor.read_i32()?; [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_slice_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `group_id` [INFO] [stderr] --> src/sections/image_resources_section.rs:174:13 [INFO] [stderr] | [INFO] [stderr] 174 | let group_id = cursor.read_i32()?; [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_group_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `top` [INFO] [stderr] --> src/sections/image_resources_section.rs:187:13 [INFO] [stderr] | [INFO] [stderr] 187 | let top = cursor.read_i32()?; [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_top` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `left` [INFO] [stderr] --> src/sections/image_resources_section.rs:189:13 [INFO] [stderr] | [INFO] [stderr] 189 | let left = cursor.read_i32()?; [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_left` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `bottom` [INFO] [stderr] --> src/sections/image_resources_section.rs:191:13 [INFO] [stderr] | [INFO] [stderr] 191 | let bottom = cursor.read_i32()?; [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bottom` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `right` [INFO] [stderr] --> src/sections/image_resources_section.rs:193:13 [INFO] [stderr] | [INFO] [stderr] 193 | let right = cursor.read_i32()?; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_right` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n` [INFO] [stderr] --> src/sections/image_resources_section.rs:531:13 [INFO] [stderr] | [INFO] [stderr] 531 | for n in 0..count { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sub_list` [INFO] [stderr] --> src/sections/image_resources_section.rs:527:44 [INFO] [stderr] | [INFO] [stderr] 527 | fn read_fields(cursor: &mut PsdCursor, sub_list: bool) -> Result, Error> { [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:545:13 [INFO] [stderr] | [INFO] [stderr] 545 | for n in 0..count { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sub_list` [INFO] [stderr] --> src/sections/image_resources_section.rs:541:42 [INFO] [stderr] | [INFO] [stderr] 541 | fn read_list(cursor: &mut PsdCursor, sub_list: bool) -> Result, Error> { [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:598:13 [INFO] [stderr] | [INFO] [stderr] 598 | for n in 0..count { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `rle_decompress` [INFO] [stderr] --> src/psd_channel.rs:181:4 [INFO] [stderr] | [INFO] [stderr] 181 | fn rle_decompress(bytes: &[u8]) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `sixteen_to_eight_rgba` [INFO] [stderr] --> src/psd_channel.rs:212:4 [INFO] [stderr] | [INFO] [stderr] 212 | fn sixteen_to_eight_rgba(channel1: &[u8], channel2: &[u8]) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `name` [INFO] [stderr] --> src/sections/image_resources_section.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | name: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `MissingChannels` [INFO] [stderr] --> src/sections/layer_and_mask_information_section/layer.rs:174:5 [INFO] [stderr] | [INFO] [stderr] 174 | MissingChannels { channel: PsdChannelKind }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `new` [INFO] [stderr] --> src/sections/layer_and_mask_information_section/container.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn new() -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 20 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: function is never used: `rle_decompress` [INFO] [stderr] --> src/psd_channel.rs:181:4 [INFO] [stderr] | [INFO] [stderr] 181 | fn rle_decompress(bytes: &[u8]) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `sixteen_to_eight_rgba` [INFO] [stderr] --> src/psd_channel.rs:212:4 [INFO] [stderr] | [INFO] [stderr] 212 | fn sixteen_to_eight_rgba(channel1: &[u8], channel2: &[u8]) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `name` [INFO] [stderr] --> src/sections/image_resources_section.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | name: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `MissingChannels` [INFO] [stderr] --> src/sections/layer_and_mask_information_section/layer.rs:174:5 [INFO] [stderr] | [INFO] [stderr] 174 | MissingChannels { channel: PsdChannelKind }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `new` [INFO] [stderr] --> src/sections/layer_and_mask_information_section/container.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn new() -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 20 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: function is never used: `make_image` [INFO] [stderr] --> tests/transparency.rs:109:4 [INFO] [stderr] | [INFO] [stderr] 109 | fn make_image(pixel: [u8; 4], pixel_count: u32) -> Vec { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `put_pixel` [INFO] [stderr] --> tests/transparency.rs:123:4 [INFO] [stderr] | [INFO] [stderr] 123 | fn put_pixel(image: &mut Vec, width: usize, left: usize, top: usize, new: [u8; 4]) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.74s [INFO] running `"docker" "inspect" "5ac7f7275071c8f9abf64423f78e6ebedb87501e96a872b4089c39c4a23e0619"` [INFO] running `"docker" "rm" "-f" "5ac7f7275071c8f9abf64423f78e6ebedb87501e96a872b4089c39c4a23e0619"` [INFO] [stdout] 5ac7f7275071c8f9abf64423f78e6ebedb87501e96a872b4089c39c4a23e0619