[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 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmartinhath%2Fjpeg-rust" "/workspace/builds/worker-27/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-27/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/martinhath/jpeg-rust on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-27/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b18361f53cd9d6871064ad1850af272b60616b4785fb2b59c4eaeefae90cfa9 [INFO] running `Command { std: "docker" "start" "-a" "0b18361f53cd9d6871064ad1850af272b60616b4785fb2b59c4eaeefae90cfa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b18361f53cd9d6871064ad1850af272b60616b4785fb2b59c4eaeefae90cfa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b18361f53cd9d6871064ad1850af272b60616b4785fb2b59c4eaeefae90cfa9", kill_on_drop: false }` [INFO] [stdout] 0b18361f53cd9d6871064ad1850af272b60616b4785fb2b59c4eaeefae90cfa9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2aa908887bc2b7499b45130e4e346fa0c91bd3ed1a7f41162cc6e7b24679f29c [INFO] running `Command { std: "docker" "start" "-a" "2aa908887bc2b7499b45130e4e346fa0c91bd3ed1a7f41162cc6e7b24679f29c", 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.67s [INFO] running `Command { std: "docker" "inspect" "2aa908887bc2b7499b45130e4e346fa0c91bd3ed1a7f41162cc6e7b24679f29c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2aa908887bc2b7499b45130e4e346fa0c91bd3ed1a7f41162cc6e7b24679f29c", kill_on_drop: false }` [INFO] [stdout] 2aa908887bc2b7499b45130e4e346fa0c91bd3ed1a7f41162cc6e7b24679f29c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 286095df5aa5a229fd46a45bf7dec94d5d6f8a630b071e1fef7ef008a321c181 [INFO] running `Command { std: "docker" "start" "-a" "286095df5aa5a229fd46a45bf7dec94d5d6f8a630b071e1fef7ef008a321c181", 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.47s [INFO] running `Command { std: "docker" "inspect" "286095df5aa5a229fd46a45bf7dec94d5d6f8a630b071e1fef7ef008a321c181", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "286095df5aa5a229fd46a45bf7dec94d5d6f8a630b071e1fef7ef008a321c181", kill_on_drop: false }` [INFO] [stdout] 286095df5aa5a229fd46a45bf7dec94d5d6f8a630b071e1fef7ef008a321c181 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 38a5078d4d197fc6eb03305d8f30b45d5654e8110d66b1213cd76518cce2a1a7 [INFO] running `Command { std: "docker" "start" "-a" "38a5078d4d197fc6eb03305d8f30b45d5654e8110d66b1213cd76518cce2a1a7", 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 43.18s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/jpeg_rust-9d6a204ba70b4835) [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" "38a5078d4d197fc6eb03305d8f30b45d5654e8110d66b1213cd76518cce2a1a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38a5078d4d197fc6eb03305d8f30b45d5654e8110d66b1213cd76518cce2a1a7", kill_on_drop: false }` [INFO] [stdout] 38a5078d4d197fc6eb03305d8f30b45d5654e8110d66b1213cd76518cce2a1a7