[INFO] cloning repository https://github.com/jerry-lllman/psd-parse [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jerry-lllman/psd-parse" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjerry-lllman%2Fpsd-parse", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjerry-lllman%2Fpsd-parse'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 22bfb96b0c3b7ad53be1b957104ad1436f972ce0 [INFO] checking jerry-lllman/psd-parse against master#f2d69d5a7c04617d122facd0a7a5bdde0af928ae for pr-138363 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjerry-lllman%2Fpsd-parse" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jerry-lllman/psd-parse on toolchain f2d69d5a7c04617d122facd0a7a5bdde0af928ae [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f2d69d5a7c04617d122facd0a7a5bdde0af928ae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jerry-lllman/psd-parse [INFO] finished tweaking git repo https://github.com/jerry-lllman/psd-parse [INFO] tweaked toml for git repo https://github.com/jerry-lllman/psd-parse written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jerry-lllman/psd-parse already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f2d69d5a7c04617d122facd0a7a5bdde0af928ae" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+f2d69d5a7c04617d122facd0a7a5bdde0af928ae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 279dcc9383c7ef99baa44850be03d710c182abb78c39dfae362d2ddb000d3a54 [INFO] running `Command { std: "docker" "start" "-a" "279dcc9383c7ef99baa44850be03d710c182abb78c39dfae362d2ddb000d3a54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "279dcc9383c7ef99baa44850be03d710c182abb78c39dfae362d2ddb000d3a54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "279dcc9383c7ef99baa44850be03d710c182abb78c39dfae362d2ddb000d3a54", kill_on_drop: false }` [INFO] [stdout] 279dcc9383c7ef99baa44850be03d710c182abb78c39dfae362d2ddb000d3a54 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+f2d69d5a7c04617d122facd0a7a5bdde0af928ae" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3193f3dcdded117779fb2338a36245a48f524810d588bdf0645ade5b74a182a7 [INFO] running `Command { std: "docker" "start" "-a" "3193f3dcdded117779fb2338a36245a48f524810d588bdf0645ade5b74a182a7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.63 [INFO] [stderr] Compiling thiserror-impl v1.0.60 [INFO] [stderr] Checking psd-parse v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `file_header_section` and `image_resources_section` are never read [INFO] [stdout] --> src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct PSD { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 19 | file_header_section: FileHeaderSection, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | image_resources_section: ImageResourcesSection, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PSD` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `color_mode_data`, `layer_and_mask_information`, and `image_data` are never read [INFO] [stdout] --> src/sections/major_sections.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct MajorSections<'a> { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 6 | pub(crate) file_header: &'a [u8], [INFO] [stdout] 7 | pub(crate) color_mode_data: &'a [u8], [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | pub(crate) image_resources: &'a [u8], [INFO] [stdout] 9 | pub(crate) layer_and_mask_information: &'a [u8], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub(crate) image_data: &'a [u8], [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_ref` is never used [INFO] [stdout] --> src/sections/psd_cursor.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 7 | impl<'a> PSDCursor<'a> { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn get_ref(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `version`, `channel_count`, `height`, `width`, `depth`, and `color_mode` are never read [INFO] [stdout] --> src/sections/file_header_section.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct FileHeaderSection { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 19 | pub(crate) version: PSDVersion, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | pub(crate) channel_count: ChannelCount, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 21 | pub(crate) height: PSDHeight, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 22 | pub(crate) width: PSDWidth, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | pub(crate) depth: PSDDepth, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | pub(crate) color_mode: PSDColorMode, [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 `0` is never read [INFO] [stdout] --> src/sections/file_header_section.rs:131:25 [INFO] [stdout] | [INFO] [stdout] 131 | pub struct ChannelCount(u8); [INFO] [stdout] | ------------ ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `ChannelCount` 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 `0` is never read [INFO] [stdout] --> src/sections/file_header_section.rs:143:22 [INFO] [stdout] | [INFO] [stdout] 143 | pub struct PSDHeight(pub(crate) u32); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `PSDHeight` 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 `0` is never read [INFO] [stdout] --> src/sections/file_header_section.rs:155:21 [INFO] [stdout] | [INFO] [stdout] 155 | pub struct PSDWidth(pub(crate) u32); [INFO] [stdout] | -------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `PSDWidth` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `data_range` are never read [INFO] [stdout] --> src/sections/image_resources_section/image_resources_section.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 10 | struct ImageResourceBlock { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 11 | resource_id: i16, [INFO] [stdout] 12 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | data_range: Range, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_header_section` and `image_resources_section` are never read [INFO] [stdout] --> src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct PSD { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 19 | file_header_section: FileHeaderSection, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | image_resources_section: ImageResourcesSection, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PSD` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `color_mode_data`, `layer_and_mask_information`, and `image_data` are never read [INFO] [stdout] --> src/sections/major_sections.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct MajorSections<'a> { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 6 | pub(crate) file_header: &'a [u8], [INFO] [stdout] 7 | pub(crate) color_mode_data: &'a [u8], [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | pub(crate) image_resources: &'a [u8], [INFO] [stdout] 9 | pub(crate) layer_and_mask_information: &'a [u8], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub(crate) image_data: &'a [u8], [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_ref` is never used [INFO] [stdout] --> src/sections/psd_cursor.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 7 | impl<'a> PSDCursor<'a> { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn get_ref(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `version`, `channel_count`, `height`, `width`, `depth`, and `color_mode` are never read [INFO] [stdout] --> src/sections/file_header_section.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct FileHeaderSection { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 19 | pub(crate) version: PSDVersion, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | pub(crate) channel_count: ChannelCount, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 21 | pub(crate) height: PSDHeight, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 22 | pub(crate) width: PSDWidth, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | pub(crate) depth: PSDDepth, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | pub(crate) color_mode: PSDColorMode, [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 `0` is never read [INFO] [stdout] --> src/sections/file_header_section.rs:131:25 [INFO] [stdout] | [INFO] [stdout] 131 | pub struct ChannelCount(u8); [INFO] [stdout] | ------------ ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `ChannelCount` 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 `0` is never read [INFO] [stdout] --> src/sections/file_header_section.rs:143:22 [INFO] [stdout] | [INFO] [stdout] 143 | pub struct PSDHeight(pub(crate) u32); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `PSDHeight` 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 `0` is never read [INFO] [stdout] --> src/sections/file_header_section.rs:155:21 [INFO] [stdout] | [INFO] [stdout] 155 | pub struct PSDWidth(pub(crate) u32); [INFO] [stdout] | -------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `PSDWidth` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `data_range` are never read [INFO] [stdout] --> src/sections/image_resources_section/image_resources_section.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 10 | struct ImageResourceBlock { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 11 | resource_id: i16, [INFO] [stdout] 12 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | data_range: Range, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.13s [INFO] running `Command { std: "docker" "inspect" "3193f3dcdded117779fb2338a36245a48f524810d588bdf0645ade5b74a182a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3193f3dcdded117779fb2338a36245a48f524810d588bdf0645ade5b74a182a7", kill_on_drop: false }` [INFO] [stdout] 3193f3dcdded117779fb2338a36245a48f524810d588bdf0645ade5b74a182a7