[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] testing martinhath/jpeg-rust against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmartinhath%2Fjpeg-rust" "/workspace/builds/worker-24/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-24/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/martinhath/jpeg-rust on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-24/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: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cae1387329e6217f83e5d526111b7915a1a031cd7f1fe6e944d8e1f43c65f630 [INFO] running `Command { std: "docker" "start" "-a" "cae1387329e6217f83e5d526111b7915a1a031cd7f1fe6e944d8e1f43c65f630", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cae1387329e6217f83e5d526111b7915a1a031cd7f1fe6e944d8e1f43c65f630", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cae1387329e6217f83e5d526111b7915a1a031cd7f1fe6e944d8e1f43c65f630", kill_on_drop: false }` [INFO] [stdout] cae1387329e6217f83e5d526111b7915a1a031cd7f1fe6e944d8e1f43c65f630 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0de4db84bc2c0e59a02099a6f80df464cab609dbcd68f53e6aa5a4b578cb517d [INFO] running `Command { std: "docker" "start" "-a" "0de4db84bc2c0e59a02099a6f80df464cab609dbcd68f53e6aa5a4b578cb517d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling itertools v0.4.18 [INFO] [stderr] Compiling 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: 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: `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] = note: `#[warn(unused_variables)]` 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] [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 is never read: `version` [INFO] [stdout] --> src/jpeg/mod.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | version: JFIFVersion, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `JPEGImage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/jpeg/mod.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `units` [INFO] [stdout] --> src/jpeg/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | units: JFIFUnits, [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] --> src/jpeg/mod.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pixel_density` [INFO] [stdout] --> src/jpeg/mod.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | pixel_density: (u16, u16), [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] --> src/jpeg/mod.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `thumbnail_dimensions` [INFO] [stdout] --> src/jpeg/mod.rs:71:5 [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] --> src/jpeg/mod.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sample_precision` [INFO] [stdout] --> src/jpeg/mod.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | sample_precision: 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] --> src/jpeg/mod.rs:89:10 [INFO] [stdout] | [INFO] [stdout] 89 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `num_lines` [INFO] [stdout] --> src/jpeg/mod.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | num_lines: u16, [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] --> src/jpeg/mod.rs:89:10 [INFO] [stdout] | [INFO] [stdout] 89 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `samples_per_line` [INFO] [stdout] --> src/jpeg/mod.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | samples_per_line: u16, [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] --> src/jpeg/mod.rs:89:10 [INFO] [stdout] | [INFO] [stdout] 89 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `image_components` [INFO] [stdout] --> src/jpeg/mod.rs:98:5 [INFO] [stdout] | [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] --> src/jpeg/mod.rs:89:10 [INFO] [stdout] | [INFO] [stdout] 89 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `num_components` [INFO] [stdout] --> src/jpeg/mod.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | num_components: 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] --> src/jpeg/mod.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `start_spectral_selection` [INFO] [stdout] --> src/jpeg/mod.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | start_spectral_selection: 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] --> src/jpeg/mod.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `end_spectral_selection` [INFO] [stdout] --> src/jpeg/mod.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | end_spectral_selection: 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] --> src/jpeg/mod.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `successive_approximation_bit_pos_high` [INFO] [stdout] --> src/jpeg/mod.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | successive_approximation_bit_pos_high: 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] --> src/jpeg/mod.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `successive_approximation_bit_pos_low` [INFO] [stdout] --> src/jpeg/mod.rs:128:5 [INFO] [stdout] | [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] --> src/jpeg/mod.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `BlockSlice` [INFO] [stdout] --> src/jpeg/decoder.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | type BlockSlice = [f32]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.59s [INFO] running `Command { std: "docker" "inspect" "0de4db84bc2c0e59a02099a6f80df464cab609dbcd68f53e6aa5a4b578cb517d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0de4db84bc2c0e59a02099a6f80df464cab609dbcd68f53e6aa5a4b578cb517d", kill_on_drop: false }` [INFO] [stdout] 0de4db84bc2c0e59a02099a6f80df464cab609dbcd68f53e6aa5a4b578cb517d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98f6deebaeb2d65fda06c1776a9faf44c0d7d1da856508611febd4dcd27480d1 [INFO] running `Command { std: "docker" "start" "-a" "98f6deebaeb2d65fda06c1776a9faf44c0d7d1da856508611febd4dcd27480d1", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 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: `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] = note: `#[warn(unused_variables)]` 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] [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 is never read: `version` [INFO] [stdout] --> src/jpeg/mod.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | version: JFIFVersion, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `JPEGImage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/jpeg/mod.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `units` [INFO] [stdout] --> src/jpeg/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | units: JFIFUnits, [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] --> src/jpeg/mod.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pixel_density` [INFO] [stdout] --> src/jpeg/mod.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | pixel_density: (u16, u16), [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] --> src/jpeg/mod.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `thumbnail_dimensions` [INFO] [stdout] --> src/jpeg/mod.rs:71:5 [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] --> src/jpeg/mod.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sample_precision` [INFO] [stdout] --> src/jpeg/mod.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | sample_precision: 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] --> src/jpeg/mod.rs:89:10 [INFO] [stdout] | [INFO] [stdout] 89 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `num_lines` [INFO] [stdout] --> src/jpeg/mod.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | num_lines: u16, [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] --> src/jpeg/mod.rs:89:10 [INFO] [stdout] | [INFO] [stdout] 89 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `samples_per_line` [INFO] [stdout] --> src/jpeg/mod.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | samples_per_line: u16, [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] --> src/jpeg/mod.rs:89:10 [INFO] [stdout] | [INFO] [stdout] 89 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `image_components` [INFO] [stdout] --> src/jpeg/mod.rs:98:5 [INFO] [stdout] | [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] --> src/jpeg/mod.rs:89:10 [INFO] [stdout] | [INFO] [stdout] 89 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `num_components` [INFO] [stdout] --> src/jpeg/mod.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | num_components: 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] --> src/jpeg/mod.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `start_spectral_selection` [INFO] [stdout] --> src/jpeg/mod.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | start_spectral_selection: 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] --> src/jpeg/mod.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `end_spectral_selection` [INFO] [stdout] --> src/jpeg/mod.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | end_spectral_selection: 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] --> src/jpeg/mod.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `successive_approximation_bit_pos_high` [INFO] [stdout] --> src/jpeg/mod.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | successive_approximation_bit_pos_high: 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] --> src/jpeg/mod.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `successive_approximation_bit_pos_low` [INFO] [stdout] --> src/jpeg/mod.rs:128:5 [INFO] [stdout] | [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] --> src/jpeg/mod.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `BlockSlice` [INFO] [stdout] --> src/jpeg/decoder.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | type BlockSlice = [f32]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.53s [INFO] running `Command { std: "docker" "inspect" "98f6deebaeb2d65fda06c1776a9faf44c0d7d1da856508611febd4dcd27480d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98f6deebaeb2d65fda06c1776a9faf44c0d7d1da856508611febd4dcd27480d1", kill_on_drop: false }` [INFO] [stdout] 98f6deebaeb2d65fda06c1776a9faf44c0d7d1da856508611febd4dcd27480d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ef70010fec4f4cccc526bc11fbb14bb81a0b37fa829c97c1a934127a661b9194 [INFO] running `Command { std: "docker" "start" "-a" "ef70010fec4f4cccc526bc11fbb14bb81a0b37fa829c97c1a934127a661b9194", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:19:9 [INFO] [stderr] | [INFO] [stderr] 19 | try!(file.read_to_end(&mut bytes)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> src/jpeg/mod.rs:421:25 [INFO] [stderr] | [INFO] [stderr] 417 | return Ok(image); [INFO] [stderr] | ---------------- any code following this expression is unreachable [INFO] [stderr] ... [INFO] [stderr] 421 | i += bytes_read + bytes_skipped; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `max_y` [INFO] [stderr] --> src/jpeg/decoder.rs:260:31 [INFO] [stderr] | [INFO] [stderr] 260 | |x, y, max_x, max_y, x_factor, y_factor, max_x_factor, max_y_factor| { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_max_y` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `block_factor` [INFO] [stderr] --> src/jpeg/decoder.rs:187:13 [INFO] [stderr] | [INFO] [stderr] 187 | let block_factor = max_block_hori_scale * max_block_vert_scale; [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_factor` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `max_i` [INFO] [stderr] --> src/jpeg/decoder.rs:366:21 [INFO] [stderr] | [INFO] [stderr] 366 | let max_i = stride - start_x; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_max_i` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `version` [INFO] [stderr] --> src/jpeg/mod.rs:61:5 [INFO] [stderr] | [INFO] [stderr] 61 | version: JFIFVersion, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `JPEGImage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/jpeg/mod.rs:58:10 [INFO] [stderr] | [INFO] [stderr] 58 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `units` [INFO] [stderr] --> src/jpeg/mod.rs:63:5 [INFO] [stderr] | [INFO] [stderr] 63 | units: JFIFUnits, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `JPEGImage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/jpeg/mod.rs:58:10 [INFO] [stderr] | [INFO] [stderr] 58 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `pixel_density` [INFO] [stderr] --> src/jpeg/mod.rs:65:5 [INFO] [stderr] | [INFO] [stderr] 65 | pixel_density: (u16, u16), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `JPEGImage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/jpeg/mod.rs:58:10 [INFO] [stderr] | [INFO] [stderr] 58 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `thumbnail_dimensions` [INFO] [stderr] --> src/jpeg/mod.rs:71:5 [INFO] [stderr] | [INFO] [stderr] 71 | thumbnail_dimensions: ThumbnailDimensions, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `JPEGImage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/jpeg/mod.rs:58:10 [INFO] [stderr] | [INFO] [stderr] 58 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `sample_precision` [INFO] [stderr] --> src/jpeg/mod.rs:92:5 [INFO] [stderr] | [INFO] [stderr] 92 | sample_precision: u8, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `FrameHeader` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/jpeg/mod.rs:89:10 [INFO] [stderr] | [INFO] [stderr] 89 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `num_lines` [INFO] [stderr] --> src/jpeg/mod.rs:94:5 [INFO] [stderr] | [INFO] [stderr] 94 | num_lines: u16, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `FrameHeader` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/jpeg/mod.rs:89:10 [INFO] [stderr] | [INFO] [stderr] 89 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `samples_per_line` [INFO] [stderr] --> src/jpeg/mod.rs:96:5 [INFO] [stderr] | [INFO] [stderr] 96 | samples_per_line: u16, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `FrameHeader` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/jpeg/mod.rs:89:10 [INFO] [stderr] | [INFO] [stderr] 89 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `image_components` [INFO] [stderr] --> src/jpeg/mod.rs:98:5 [INFO] [stderr] | [INFO] [stderr] 98 | image_components: u8, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `FrameHeader` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/jpeg/mod.rs:89:10 [INFO] [stderr] | [INFO] [stderr] 89 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `num_components` [INFO] [stderr] --> src/jpeg/mod.rs:118:5 [INFO] [stderr] | [INFO] [stderr] 118 | num_components: u8, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ScanHeader` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/jpeg/mod.rs:115:10 [INFO] [stderr] | [INFO] [stderr] 115 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `start_spectral_selection` [INFO] [stderr] --> src/jpeg/mod.rs:122:5 [INFO] [stderr] | [INFO] [stderr] 122 | start_spectral_selection: u8, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ScanHeader` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/jpeg/mod.rs:115:10 [INFO] [stderr] | [INFO] [stderr] 115 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `end_spectral_selection` [INFO] [stderr] --> src/jpeg/mod.rs:124:5 [INFO] [stderr] | [INFO] [stderr] 124 | end_spectral_selection: u8, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ScanHeader` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/jpeg/mod.rs:115:10 [INFO] [stderr] | [INFO] [stderr] 115 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `successive_approximation_bit_pos_high` [INFO] [stderr] --> src/jpeg/mod.rs:126:5 [INFO] [stderr] | [INFO] [stderr] 126 | successive_approximation_bit_pos_high: u8, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ScanHeader` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/jpeg/mod.rs:115:10 [INFO] [stderr] | [INFO] [stderr] 115 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `successive_approximation_bit_pos_low` [INFO] [stderr] --> src/jpeg/mod.rs:128:5 [INFO] [stderr] | [INFO] [stderr] 128 | successive_approximation_bit_pos_low: u8, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ScanHeader` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/jpeg/mod.rs:115:10 [INFO] [stderr] | [INFO] [stderr] 115 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `BlockSlice` [INFO] [stderr] --> src/jpeg/decoder.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | type BlockSlice = [f32]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `jpeg-rust` (bin "jpeg-rust" test) generated 19 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.53s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/jpeg_rust-eb3e48fbd83c5a0d) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ef70010fec4f4cccc526bc11fbb14bb81a0b37fa829c97c1a934127a661b9194", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef70010fec4f4cccc526bc11fbb14bb81a0b37fa829c97c1a934127a661b9194", kill_on_drop: false }` [INFO] [stdout] ef70010fec4f4cccc526bc11fbb14bb81a0b37fa829c97c1a934127a661b9194