[INFO] fetching crate giffy 0.2.0... [INFO] checking giffy-0.2.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate giffy 0.2.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate giffy 0.2.0 [INFO] finished tweaking crates.io crate giffy 0.2.0 [INFO] tweaked toml for crates.io crate giffy 0.2.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate giffy 0.2.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 29 packages to latest compatible versions [INFO] [stderr] Adding image v0.21.3 (available: v0.25.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 30e9225ff03450ac2a927ecfb80ac2726acac5b42600e41323cfda6a9ae56b48 [INFO] running `Command { std: "docker" "start" "-a" "30e9225ff03450ac2a927ecfb80ac2726acac5b42600e41323cfda6a9ae56b48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "30e9225ff03450ac2a927ecfb80ac2726acac5b42600e41323cfda6a9ae56b48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30e9225ff03450ac2a927ecfb80ac2726acac5b42600e41323cfda6a9ae56b48", kill_on_drop: false }` [INFO] [stdout] 30e9225ff03450ac2a927ecfb80ac2726acac5b42600e41323cfda6a9ae56b48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d305ed031bdf32b26585d144f52f52f44325957d8648aa2121a8ad115ada5ead [INFO] running `Command { std: "docker" "start" "-a" "d305ed031bdf32b26585d144f52f52f44325957d8648aa2121a8ad115ada5ead", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking giffy v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser.rs:490:14 [INFO] [stdout] | [INFO] [stdout] 490 | 4...7 => DisposalMethod::Undefined, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stdout] warning: field `version` is never read [INFO] [stdout] --> src/parser.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct Header { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 8 | pub(crate) sig: String, [INFO] [stdout] 9 | pub(crate) version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Header` 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: field `0` is never read [INFO] [stdout] --> src/parser.rs:44:30 [INFO] [stdout] | [INFO] [stdout] 44 | ApplicationExtensionType(ApplicationExtension), [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DataType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 44 - ApplicationExtensionType(ApplicationExtension), [INFO] [stdout] 44 + ApplicationExtensionType(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser.rs:45:26 [INFO] [stdout] | [INFO] [stdout] 45 | CommentExtensionType(CommentExtension), [INFO] [stdout] | -------------------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DataType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 45 - CommentExtensionType(CommentExtension), [INFO] [stdout] 45 + CommentExtensionType(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser.rs:46:28 [INFO] [stdout] | [INFO] [stdout] 46 | PlainTextExtensionType(PlainTextExtension), [INFO] [stdout] | ---------------------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DataType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 46 - PlainTextExtensionType(PlainTextExtension), [INFO] [stdout] 46 + PlainTextExtensionType(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user_input_expected` is never read [INFO] [stdout] --> src/parser.rs:53:16 [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) struct GraphicControlExtension { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] 52 | pub(crate) disposal_method: DisposalMethod, [INFO] [stdout] 53 | pub(crate) user_input_expected: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GraphicControlExtension` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/parser.rs:96:16 [INFO] [stdout] | [INFO] [stdout] 95 | pub(crate) struct PlainTextExtension { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 96 | pub(crate) graphic_control_extension: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 97 | pub(crate) text_grid_left_pos: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 98 | pub(crate) text_grid_top_pos: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 99 | pub(crate) text_grid_width: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 100 | pub(crate) text_grid_height: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 101 | pub(crate) char_cell_width: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 102 | pub(crate) char_cell_height: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 103 | pub(crate) text_fg_color_index: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 104 | pub(crate) text_bg_color_index: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 105 | pub(crate) plain_text_data: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlainTextExtension` 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 `id`, `auth_code`, and `data_sub_blocks` are never read [INFO] [stdout] --> src/parser.rs:110:16 [INFO] [stdout] | [INFO] [stdout] 109 | pub(crate) struct ApplicationExtension { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 110 | pub(crate) id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 111 | pub(crate) auth_code: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 112 | pub(crate) data_sub_blocks: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApplicationExtension` 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 `text` is never read [INFO] [stdout] --> src/parser.rs:117:16 [INFO] [stdout] | [INFO] [stdout] 116 | pub(crate) struct CommentExtension { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 117 | pub(crate) text: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommentExtension` 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 `header` is never read [INFO] [stdout] --> src/parser.rs:122:16 [INFO] [stdout] | [INFO] [stdout] 121 | pub(crate) struct ParseResult { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 122 | pub(crate) header: Header, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/parser.rs:280:21 [INFO] [stdout] | [INFO] [stdout] 280 | Ok(unsafe { mem::transmute(buffer) }) [INFO] [stdout] | --------------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking png v0.14.1 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.2.2 [INFO] [stderr] Checking image v0.21.3 [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser.rs:490:14 [INFO] [stdout] | [INFO] [stdout] 490 | 4...7 => DisposalMethod::Undefined, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `version` is never read [INFO] [stdout] --> src/parser.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct Header { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 8 | pub(crate) sig: String, [INFO] [stdout] 9 | pub(crate) version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Header` 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: field `0` is never read [INFO] [stdout] --> src/parser.rs:44:30 [INFO] [stdout] | [INFO] [stdout] 44 | ApplicationExtensionType(ApplicationExtension), [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DataType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 44 - ApplicationExtensionType(ApplicationExtension), [INFO] [stdout] 44 + ApplicationExtensionType(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser.rs:45:26 [INFO] [stdout] | [INFO] [stdout] 45 | CommentExtensionType(CommentExtension), [INFO] [stdout] | -------------------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DataType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 45 - CommentExtensionType(CommentExtension), [INFO] [stdout] 45 + CommentExtensionType(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser.rs:46:28 [INFO] [stdout] | [INFO] [stdout] 46 | PlainTextExtensionType(PlainTextExtension), [INFO] [stdout] | ---------------------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DataType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 46 - PlainTextExtensionType(PlainTextExtension), [INFO] [stdout] 46 + PlainTextExtensionType(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user_input_expected` is never read [INFO] [stdout] --> src/parser.rs:53:16 [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) struct GraphicControlExtension { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] 52 | pub(crate) disposal_method: DisposalMethod, [INFO] [stdout] 53 | pub(crate) user_input_expected: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GraphicControlExtension` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/parser.rs:96:16 [INFO] [stdout] | [INFO] [stdout] 95 | pub(crate) struct PlainTextExtension { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 96 | pub(crate) graphic_control_extension: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 97 | pub(crate) text_grid_left_pos: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 98 | pub(crate) text_grid_top_pos: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 99 | pub(crate) text_grid_width: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 100 | pub(crate) text_grid_height: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 101 | pub(crate) char_cell_width: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 102 | pub(crate) char_cell_height: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 103 | pub(crate) text_fg_color_index: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 104 | pub(crate) text_bg_color_index: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 105 | pub(crate) plain_text_data: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlainTextExtension` 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 `id`, `auth_code`, and `data_sub_blocks` are never read [INFO] [stdout] --> src/parser.rs:110:16 [INFO] [stdout] | [INFO] [stdout] 109 | pub(crate) struct ApplicationExtension { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 110 | pub(crate) id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 111 | pub(crate) auth_code: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 112 | pub(crate) data_sub_blocks: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApplicationExtension` 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 `text` is never read [INFO] [stdout] --> src/parser.rs:117:16 [INFO] [stdout] | [INFO] [stdout] 116 | pub(crate) struct CommentExtension { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 117 | pub(crate) text: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommentExtension` 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 `header` is never read [INFO] [stdout] --> src/parser.rs:122:16 [INFO] [stdout] | [INFO] [stdout] 121 | pub(crate) struct ParseResult { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 122 | pub(crate) header: Header, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/parser.rs:280:21 [INFO] [stdout] | [INFO] [stdout] 280 | Ok(unsafe { mem::transmute(buffer) }) [INFO] [stdout] | --------------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.53s [INFO] running `Command { std: "docker" "inspect" "d305ed031bdf32b26585d144f52f52f44325957d8648aa2121a8ad115ada5ead", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d305ed031bdf32b26585d144f52f52f44325957d8648aa2121a8ad115ada5ead", kill_on_drop: false }` [INFO] [stdout] d305ed031bdf32b26585d144f52f52f44325957d8648aa2121a8ad115ada5ead