[INFO] crate psd 0.1.8 is already in cache [INFO] checking psd-0.1.8 against try#d7b51666469c792a8a3f40849607739bae1e705e for pr-71665 [INFO] extracting crate psd 0.1.8 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate psd 0.1.8 on toolchain d7b51666469c792a8a3f40849607739bae1e705e [INFO] running `"/workspace/cargo-home/bin/cargo" "+d7b51666469c792a8a3f40849607739bae1e705e" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate psd 0.1.8 [INFO] finished tweaking crates.io crate psd 0.1.8 [INFO] tweaked toml for crates.io crate psd 0.1.8 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+d7b51666469c792a8a3f40849607739bae1e705e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+d7b51666469c792a8a3f40849607739bae1e705e" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+d7b51666469c792a8a3f40849607739bae1e705e" "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] 62a9647a1c62c1e96b31921ec8cced57f87a0ccfee59e600d255b81e759bb1ff [INFO] running `"docker" "start" "-a" "62a9647a1c62c1e96b31921ec8cced57f87a0ccfee59e600d255b81e759bb1ff"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling syn v1.0.19 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Compiling backtrace-sys v0.1.37 [INFO] [stderr] Checking backtrace v0.3.46 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking psd v0.1.8 (/opt/rustwide/workdir) [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] = note: `#[warn(unused_imports)]` on by default [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::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] = note: `#[warn(unused_imports)]` on by default [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: `slice_id` [INFO] [stderr] --> src/sections/image_resources_section.rs:183:13 [INFO] [stderr] | [INFO] [stderr] 183 | let slice_id = cursor.read_i32()?; [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_slice_id` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `group_id` [INFO] [stderr] --> src/sections/image_resources_section.rs:184:13 [INFO] [stderr] | [INFO] [stderr] 184 | 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:197:13 [INFO] [stderr] | [INFO] [stderr] 197 | 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:199:13 [INFO] [stderr] | [INFO] [stderr] 199 | 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:201:13 [INFO] [stderr] | [INFO] [stderr] 201 | 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:203:13 [INFO] [stderr] | [INFO] [stderr] 203 | 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:536:13 [INFO] [stderr] | [INFO] [stderr] 536 | 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:531:9 [INFO] [stderr] | [INFO] [stderr] 531 | 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:550:13 [INFO] [stderr] | [INFO] [stderr] 550 | 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:546:42 [INFO] [stderr] | [INFO] [stderr] 546 | 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:623:13 [INFO] [stderr] | [INFO] [stderr] 623 | 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:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | name: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function 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: 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: 18 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: unused variable: `slice_id` [INFO] [stderr] --> src/sections/image_resources_section.rs:183:13 [INFO] [stderr] | [INFO] [stderr] 183 | let slice_id = cursor.read_i32()?; [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_slice_id` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `group_id` [INFO] [stderr] --> src/sections/image_resources_section.rs:184:13 [INFO] [stderr] | [INFO] [stderr] 184 | 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:197:13 [INFO] [stderr] | [INFO] [stderr] 197 | 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:199:13 [INFO] [stderr] | [INFO] [stderr] 199 | 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:201:13 [INFO] [stderr] | [INFO] [stderr] 201 | 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:203:13 [INFO] [stderr] | [INFO] [stderr] 203 | 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:536:13 [INFO] [stderr] | [INFO] [stderr] 536 | 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:531:9 [INFO] [stderr] | [INFO] [stderr] 531 | 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:550:13 [INFO] [stderr] | [INFO] [stderr] 550 | 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:546:42 [INFO] [stderr] | [INFO] [stderr] 546 | 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:623:13 [INFO] [stderr] | [INFO] [stderr] 623 | 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: `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] 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:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | name: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function 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: 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: 18 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 24.77s [INFO] running `"docker" "inspect" "62a9647a1c62c1e96b31921ec8cced57f87a0ccfee59e600d255b81e759bb1ff"` [INFO] running `"docker" "rm" "-f" "62a9647a1c62c1e96b31921ec8cced57f87a0ccfee59e600d255b81e759bb1ff"` [INFO] [stdout] 62a9647a1c62c1e96b31921ec8cced57f87a0ccfee59e600d255b81e759bb1ff