[INFO] cloning repository https://github.com/martinhath/jpeg-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/martinhath/jpeg-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmartinhath%2Fjpeg-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmartinhath%2Fjpeg-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e3a40cc4c31d5a46e36514cc2c6abc6f1a6caaa1 [INFO] checking martinhath/jpeg-rust against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmartinhath%2Fjpeg-rust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/martinhath/jpeg-rust [INFO] finished tweaking git repo https://github.com/martinhath/jpeg-rust [INFO] tweaked toml for git repo https://github.com/martinhath/jpeg-rust written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/martinhath/jpeg-rust on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/martinhath/jpeg-rust 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded itertools v0.4.18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 26cc55d2f185fec6cc5bcfc86a0195cdead6b200527b4d10824dbd8e64ca1a12 [INFO] running `Command { std: "docker" "start" "-a" "26cc55d2f185fec6cc5bcfc86a0195cdead6b200527b4d10824dbd8e64ca1a12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "26cc55d2f185fec6cc5bcfc86a0195cdead6b200527b4d10824dbd8e64ca1a12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26cc55d2f185fec6cc5bcfc86a0195cdead6b200527b4d10824dbd8e64ca1a12", kill_on_drop: false }` [INFO] [stdout] 26cc55d2f185fec6cc5bcfc86a0195cdead6b200527b4d10824dbd8e64ca1a12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 96493a280a2bcc9a88aed9b679ec06bba6203bf0d9e906ce00bbe4496ba4715f [INFO] running `Command { std: "docker" "start" "-a" "96493a280a2bcc9a88aed9b679ec06bba6203bf0d9e906ce00bbe4496ba4715f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking itertools v0.4.18 [INFO] [stderr] Checking jpeg-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | try!(file.read_to_end(&mut bytes)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | try!(file.read_to_end(&mut bytes)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/jpeg/mod.rs:421:25 [INFO] [stdout] | [INFO] [stdout] 417 | return Ok(image); [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 421 | i += bytes_read + bytes_skipped; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/jpeg/mod.rs:421:25 [INFO] [stdout] | [INFO] [stdout] 417 | return Ok(image); [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 421 | i += bytes_read + bytes_skipped; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_factor` [INFO] [stdout] --> src/jpeg/decoder.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | let block_factor = max_block_hori_scale * max_block_vert_scale; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_factor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_y` [INFO] [stdout] --> src/jpeg/decoder.rs:260:31 [INFO] [stdout] | [INFO] [stdout] 260 | |x, y, max_x, max_y, x_factor, y_factor, max_x_factor, max_y_factor| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_max_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_i` [INFO] [stdout] --> src/jpeg/decoder.rs:366:21 [INFO] [stdout] | [INFO] [stdout] 366 | let max_i = stride - start_x; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_max_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_factor` [INFO] [stdout] --> src/jpeg/decoder.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | let block_factor = max_block_hori_scale * max_block_vert_scale; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_factor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_y` [INFO] [stdout] --> src/jpeg/decoder.rs:260:31 [INFO] [stdout] | [INFO] [stdout] 260 | |x, y, max_x, max_y, x_factor, y_factor, max_x_factor, max_y_factor| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_max_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_i` [INFO] [stdout] --> src/jpeg/decoder.rs:366:21 [INFO] [stdout] | [INFO] [stdout] 366 | let max_i = stride - start_x; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_max_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/jpeg/mod.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | Unknown(u8), [INFO] [stdout] | ------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `JFIFUnits` 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] 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] 20 - Unknown(u8), [INFO] [stdout] 20 + Unknown(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/jpeg/mod.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | Unknown(u8, u8), [INFO] [stdout] | ------- ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `JFIFVersion` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 39 - Unknown(u8, u8), [INFO] [stdout] 39 + Unknown((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `version`, `units`, `pixel_density`, and `thumbnail_dimensions` are never read [INFO] [stdout] --> src/jpeg/mod.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct JPEGImage { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 60 | /// JFIF version the image is compliant to [INFO] [stdout] 61 | version: JFIFVersion, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 62 | /// TODO: [INFO] [stdout] 63 | units: JFIFUnits, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 64 | /// TODO: [INFO] [stdout] 65 | pixel_density: (u16, u16), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | thumbnail_dimensions: ThumbnailDimensions, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JPEGImage` 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 `sample_precision`, `num_lines`, `samples_per_line`, and `image_components` are never read [INFO] [stdout] --> src/jpeg/mod.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 90 | pub struct FrameHeader { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 91 | /// Bits per sample of each component in the frame [INFO] [stdout] 92 | sample_precision: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 93 | /// The maximum number of lines in the source image [INFO] [stdout] 94 | num_lines: u16, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 95 | /// The maximum number of samples per line in the source image [INFO] [stdout] 96 | samples_per_line: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 97 | /// Number of image components in the frame [INFO] [stdout] 98 | image_components: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FrameHeader` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `num_components`, `start_spectral_selection`, `end_spectral_selection`, `successive_approximation_bit_pos_high`, and `successive_approximation_bit_pos_low` are never read [INFO] [stdout] --> src/jpeg/mod.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct ScanHeader { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 117 | /// Number of components in the scan. [INFO] [stdout] 118 | num_components: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | start_spectral_selection: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 123 | /// (?) Should be 63 for seq. DCT [INFO] [stdout] 124 | end_spectral_selection: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 125 | /// Something something point transform [INFO] [stdout] 126 | successive_approximation_bit_pos_high: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 127 | /// Something something point transform [INFO] [stdout] 128 | successive_approximation_bit_pos_low: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScanHeader` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `BlockSlice` is never used [INFO] [stdout] --> src/jpeg/decoder.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | type BlockSlice = [f32]; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/jpeg/decoder.rs:55:23 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn new(data: &'a [u8]) -> JPEGDecoder { [INFO] [stdout] | ^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 55 | pub fn new(data: &'a [u8]) -> JPEGDecoder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/jpeg/mod.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | Unknown(u8), [INFO] [stdout] | ------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `JFIFUnits` 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] 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] 20 - Unknown(u8), [INFO] [stdout] 20 + Unknown(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/jpeg/mod.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | Unknown(u8, u8), [INFO] [stdout] | ------- ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `JFIFVersion` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 39 - Unknown(u8, u8), [INFO] [stdout] 39 + Unknown((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `version`, `units`, `pixel_density`, and `thumbnail_dimensions` are never read [INFO] [stdout] --> src/jpeg/mod.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct JPEGImage { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 60 | /// JFIF version the image is compliant to [INFO] [stdout] 61 | version: JFIFVersion, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 62 | /// TODO: [INFO] [stdout] 63 | units: JFIFUnits, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 64 | /// TODO: [INFO] [stdout] 65 | pixel_density: (u16, u16), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | thumbnail_dimensions: ThumbnailDimensions, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JPEGImage` 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 `sample_precision`, `num_lines`, `samples_per_line`, and `image_components` are never read [INFO] [stdout] --> src/jpeg/mod.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 90 | pub struct FrameHeader { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 91 | /// Bits per sample of each component in the frame [INFO] [stdout] 92 | sample_precision: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 93 | /// The maximum number of lines in the source image [INFO] [stdout] 94 | num_lines: u16, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 95 | /// The maximum number of samples per line in the source image [INFO] [stdout] 96 | samples_per_line: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 97 | /// Number of image components in the frame [INFO] [stdout] 98 | image_components: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FrameHeader` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `num_components`, `start_spectral_selection`, `end_spectral_selection`, `successive_approximation_bit_pos_high`, and `successive_approximation_bit_pos_low` are never read [INFO] [stdout] --> src/jpeg/mod.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct ScanHeader { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 117 | /// Number of components in the scan. [INFO] [stdout] 118 | num_components: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | start_spectral_selection: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 123 | /// (?) Should be 63 for seq. DCT [INFO] [stdout] 124 | end_spectral_selection: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 125 | /// Something something point transform [INFO] [stdout] 126 | successive_approximation_bit_pos_high: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 127 | /// Something something point transform [INFO] [stdout] 128 | successive_approximation_bit_pos_low: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScanHeader` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `BlockSlice` is never used [INFO] [stdout] --> src/jpeg/decoder.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | type BlockSlice = [f32]; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/jpeg/decoder.rs:55:23 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn new(data: &'a [u8]) -> JPEGDecoder { [INFO] [stdout] | ^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 55 | pub fn new(data: &'a [u8]) -> JPEGDecoder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.99s [INFO] running `Command { std: "docker" "inspect" "96493a280a2bcc9a88aed9b679ec06bba6203bf0d9e906ce00bbe4496ba4715f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96493a280a2bcc9a88aed9b679ec06bba6203bf0d9e906ce00bbe4496ba4715f", kill_on_drop: false }` [INFO] [stdout] 96493a280a2bcc9a88aed9b679ec06bba6203bf0d9e906ce00bbe4496ba4715f