[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] building martinhath/jpeg-rust against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmartinhath%2Fjpeg-rust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/martinhath/jpeg-rust on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5-tc1/source/Cargo.toml [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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e8f87d45315cfe819b73850ecb2c8b9da24610f7d7c3f8ddf56ae8c3cfd38ae2 [INFO] running `Command { std: "docker" "start" "-a" "e8f87d45315cfe819b73850ecb2c8b9da24610f7d7c3f8ddf56ae8c3cfd38ae2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e8f87d45315cfe819b73850ecb2c8b9da24610f7d7c3f8ddf56ae8c3cfd38ae2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8f87d45315cfe819b73850ecb2c8b9da24610f7d7c3f8ddf56ae8c3cfd38ae2", kill_on_drop: false }` [INFO] [stdout] e8f87d45315cfe819b73850ecb2c8b9da24610f7d7c3f8ddf56ae8c3cfd38ae2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb8ce7cde543fde1617f88962482811b1cce1f8cb0104ab23ed978e94be39d3b [INFO] running `Command { std: "docker" "start" "-a" "fb8ce7cde543fde1617f88962482811b1cce1f8cb0104ab23ed978e94be39d3b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling itertools v0.4.18 [INFO] [stderr] Compiling jpeg-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/jpeg/decoder.rs:55:35 [INFO] [stdout] | [INFO] [stdout] 54 | impl<'a> JPEGDecoder<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 55 | pub fn new(data: &'a [u8]) -> JPEGDecoder { [INFO] [stdout] | ^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` 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: 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(()), [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((), ()), [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.55s [INFO] running `Command { std: "docker" "inspect" "fb8ce7cde543fde1617f88962482811b1cce1f8cb0104ab23ed978e94be39d3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb8ce7cde543fde1617f88962482811b1cce1f8cb0104ab23ed978e94be39d3b", kill_on_drop: false }` [INFO] [stdout] fb8ce7cde543fde1617f88962482811b1cce1f8cb0104ab23ed978e94be39d3b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 896bbe89d75f71b49211ed3b254c845f6468f485facc4aece2abdb1e2cb3c198 [INFO] running `Command { std: "docker" "start" "-a" "896bbe89d75f71b49211ed3b254c845f6468f485facc4aece2abdb1e2cb3c198", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling jpeg-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/jpeg/decoder.rs:55:35 [INFO] [stdout] | [INFO] [stdout] 54 | impl<'a> JPEGDecoder<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 55 | pub fn new(data: &'a [u8]) -> JPEGDecoder { [INFO] [stdout] | ^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` 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: 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(()), [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((), ()), [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.42s [INFO] running `Command { std: "docker" "inspect" "896bbe89d75f71b49211ed3b254c845f6468f485facc4aece2abdb1e2cb3c198", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "896bbe89d75f71b49211ed3b254c845f6468f485facc4aece2abdb1e2cb3c198", kill_on_drop: false }` [INFO] [stdout] 896bbe89d75f71b49211ed3b254c845f6468f485facc4aece2abdb1e2cb3c198