[INFO] fetching crate quickraw 0.2.1-alpha.1... [INFO] checking quickraw-0.2.1-alpha.1 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate quickraw 0.2.1-alpha.1 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate quickraw 0.2.1-alpha.1 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate quickraw 0.2.1-alpha.1 [INFO] finished tweaking crates.io crate quickraw 0.2.1-alpha.1 [INFO] tweaked toml for crates.io crate quickraw 0.2.1-alpha.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 42 packages to latest compatible versions [INFO] [stderr] Adding image v0.24.9 (latest: v0.25.2) [INFO] [stderr] Adding phf v0.10.1 (latest: v0.11.2) [INFO] [stderr] Adding phf_generator v0.10.0 (latest: v0.11.2) [INFO] [stderr] Adding phf_macros v0.10.0 (latest: v0.11.2) [INFO] [stderr] Adding phf_shared v0.10.0 (latest: v0.11.2) [INFO] [stderr] Adding siphasher v0.3.11 (latest: v1.0.1) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quickexif v0.1.5 [INFO] [stderr] Downloaded fn-util v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18c4cf11959d6476a3b8ae83c0778a9e444ee718c2fac1f9b7a92fe541f1bd2a [INFO] running `Command { std: "docker" "start" "-a" "18c4cf11959d6476a3b8ae83c0778a9e444ee718c2fac1f9b7a92fe541f1bd2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18c4cf11959d6476a3b8ae83c0778a9e444ee718c2fac1f9b7a92fe541f1bd2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18c4cf11959d6476a3b8ae83c0778a9e444ee718c2fac1f9b7a92fe541f1bd2a", kill_on_drop: false }` [INFO] [stdout] 18c4cf11959d6476a3b8ae83c0778a9e444ee718c2fac1f9b7a92fe541f1bd2a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ebdd38b9d8a05ea35680ed392839227136c93d707ebc4dc2f96f2978d310328 [INFO] running `Command { std: "docker" "start" "-a" "0ebdd38b9d8a05ea35680ed392839227136c93d707ebc4dc2f96f2978d310328", kill_on_drop: false }` [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking quickexif v0.1.5 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_macros v0.10.0 [INFO] [stderr] Compiling fn-util v0.1.0 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Checking quickraw v0.2.1-alpha.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/maker/sony.rs:168:30 [INFO] [stdout] | [INFO] [stdout] 168 | table[j] = table[(j - 1)] + (1 << i); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 168 - table[j] = table[(j - 1)] + (1 << i); [INFO] [stdout] 168 + table[j] = table[j - 1] + (1 << i); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/maker/sony.rs:168:30 [INFO] [stdout] | [INFO] [stdout] 168 | table[j] = table[(j - 1)] + (1 << i); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 168 - table[j] = table[(j - 1)] + (1 << i); [INFO] [stdout] 168 + table[j] = table[j - 1] + (1 << i); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `color_convert_rgba` is never used [INFO] [stdout] --> src/pass/color.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn color_convert_rgba<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `elinear_rggb` is never used [INFO] [stdout] --> src/pass/demosaicing/mod.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | gen_linear!(elinear_rggb, enhanced_linear::rggb); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gen_linear` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `elinear_bggr` is never used [INFO] [stdout] --> src/pass/demosaicing/mod.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | gen_linear!(elinear_bggr, enhanced_linear::bggr); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gen_linear` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `elinear_grbg` is never used [INFO] [stdout] --> src/pass/demosaicing/mod.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | gen_linear!(elinear_grbg, enhanced_linear::grbg); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gen_linear` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `elinear_gbrg` is never used [INFO] [stdout] --> src/pass/demosaicing/mod.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | gen_linear!(elinear_gbrg, enhanced_linear::gbrg); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gen_linear` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_window` is never used [INFO] [stdout] --> src/pass/demosaicing/enhanced_linear.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn get_window(image: &[u16], i: usize, w: usize) -> [i32; 9] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clamp` is never used [INFO] [stdout] --> src/pass/demosaicing/enhanced_linear.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn clamp(x: i32) -> u16 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIFF_ALPHA` is never used [INFO] [stdout] --> src/pass/demosaicing/enhanced_linear.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | const DIFF_ALPHA: i32 = 16; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_pixel_at_rb` is never used [INFO] [stdout] --> src/pass/demosaicing/enhanced_linear.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn calc_pixel_at_rb(image: &[u16], i: usize, w: usize) -> [u16; 3] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_pixel_at_g` is never used [INFO] [stdout] --> src/pass/demosaicing/enhanced_linear.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn calc_pixel_at_g(image: &[u16], i: usize, w: usize) -> [u16; 3] { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rggb` is never used [INFO] [stdout] --> src/pass/demosaicing/enhanced_linear.rs:63:15 [INFO] [stdout] | [INFO] [stdout] 63 | pub(super) fn rggb(i: usize, v: u16, image: &[u16], w: usize, h: usize) -> [u16; 3] { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bggr` is never used [INFO] [stdout] --> src/pass/demosaicing/enhanced_linear.rs:115:15 [INFO] [stdout] | [INFO] [stdout] 115 | pub(super) fn bggr(i: usize, v: u16, image: &[u16], w: usize, h: usize) -> [u16; 3] { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `grbg` is never used [INFO] [stdout] --> src/pass/demosaicing/enhanced_linear.rs:167:15 [INFO] [stdout] | [INFO] [stdout] 167 | pub(super) fn grbg(i: usize, v: u16, image: &[u16], w: usize, h: usize) -> [u16; 3] { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gbrg` is never used [INFO] [stdout] --> src/pass/demosaicing/enhanced_linear.rs:223:15 [INFO] [stdout] | [INFO] [stdout] 223 | pub(super) fn gbrg(i: usize, v: u16, image: &[u16], w: usize, h: usize) -> [u16; 3] { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `u16rgb_to_u8rgb` is never used [INFO] [stdout] --> src/pass/general.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn u16rgb_to_u8rgb(iter: impl Iterator) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_thumbnail` is never used [INFO] [stdout] --> src/maker/mod.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub(super) trait RawDecoder { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 52 | fn get_thumbnail<'a>(&self, buffer: &'a [u8]) -> Result<&'a [u8], DecodingError>; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select_and_decode_thumbnail` is never used [INFO] [stdout] --> src/maker/selector.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 68 | pub(in super::super) fn select_and_decode_thumbnail( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `u16be`, `i32`, and `r64` are never used [INFO] [stdout] --> src/maker/utility.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub(super) trait GetNumFromBytes { [INFO] [stdout] | --------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 4 | fn u16be(&self, start: usize) -> u16; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | fn i32(&self, is_le: bool, start: usize) -> i32; [INFO] [stdout] | ^^^ [INFO] [stdout] 9 | fn r64(&self, is_le: bool, start: usize) -> f64; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `GetBytesFromInt` is never used [INFO] [stdout] --> src/maker/utility.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | pub(super) trait GetBytesFromInt { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `THUMBNAIL_RULE` is never used [INFO] [stdout] --> src/maker/adobe.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | pub(super) static THUMBNAIL_RULE: Lazy = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_ibits_sextended` is never used [INFO] [stdout] --> src/maker/decode_utility/bit_pump.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 179 | pub(in super::super) trait BitPump { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 207 | fn get_ibits_sextended(&mut self, num: u32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `THUMBNAIL_RULE` is never used [INFO] [stdout] --> src/maker/fujifilm.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | pub(super) static THUMBNAIL_RULE: Lazy = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `THUMBNAIL_RULE` is never used [INFO] [stdout] --> src/maker/nikon.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | pub(super) static THUMBNAIL_RULE: Lazy = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `THUMBNAIL_RULE` is never used [INFO] [stdout] --> src/maker/olympus.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | pub(super) static THUMBNAIL_RULE: Lazy = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `THUMBNAIL_RULE` is never used [INFO] [stdout] --> src/maker/panasonic.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | pub(super) static THUMBNAIL_RULE: Lazy = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `THUMBNAIL_RULE` is never used [INFO] [stdout] --> src/maker/sony.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | pub(super) static THUMBNAIL_RULE: Lazy = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_thumbnail` is never used [INFO] [stdout] --> src/decode.rs:102:15 [INFO] [stdout] | [INFO] [stdout] 102 | pub(super) fn get_thumbnail(buffer: &[u8]) -> Result<(&[u8], Orientation), RawFileReadingError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `color_convert_rgba` is never used [INFO] [stdout] --> src/pass/color.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn color_convert_rgba<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `elinear_rggb` is never used [INFO] [stdout] --> src/pass/demosaicing/mod.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | gen_linear!(elinear_rggb, enhanced_linear::rggb); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gen_linear` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `elinear_bggr` is never used [INFO] [stdout] --> src/pass/demosaicing/mod.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | gen_linear!(elinear_bggr, enhanced_linear::bggr); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gen_linear` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `elinear_grbg` is never used [INFO] [stdout] --> src/pass/demosaicing/mod.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | gen_linear!(elinear_grbg, enhanced_linear::grbg); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gen_linear` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `elinear_gbrg` is never used [INFO] [stdout] --> src/pass/demosaicing/mod.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | gen_linear!(elinear_gbrg, enhanced_linear::gbrg); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gen_linear` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_window` is never used [INFO] [stdout] --> src/pass/demosaicing/enhanced_linear.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn get_window(image: &[u16], i: usize, w: usize) -> [i32; 9] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clamp` is never used [INFO] [stdout] --> src/pass/demosaicing/enhanced_linear.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn clamp(x: i32) -> u16 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIFF_ALPHA` is never used [INFO] [stdout] --> src/pass/demosaicing/enhanced_linear.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | const DIFF_ALPHA: i32 = 16; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_pixel_at_rb` is never used [INFO] [stdout] --> src/pass/demosaicing/enhanced_linear.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn calc_pixel_at_rb(image: &[u16], i: usize, w: usize) -> [u16; 3] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_pixel_at_g` is never used [INFO] [stdout] --> src/pass/demosaicing/enhanced_linear.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn calc_pixel_at_g(image: &[u16], i: usize, w: usize) -> [u16; 3] { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rggb` is never used [INFO] [stdout] --> src/pass/demosaicing/enhanced_linear.rs:63:15 [INFO] [stdout] | [INFO] [stdout] 63 | pub(super) fn rggb(i: usize, v: u16, image: &[u16], w: usize, h: usize) -> [u16; 3] { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bggr` is never used [INFO] [stdout] --> src/pass/demosaicing/enhanced_linear.rs:115:15 [INFO] [stdout] | [INFO] [stdout] 115 | pub(super) fn bggr(i: usize, v: u16, image: &[u16], w: usize, h: usize) -> [u16; 3] { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `grbg` is never used [INFO] [stdout] --> src/pass/demosaicing/enhanced_linear.rs:167:15 [INFO] [stdout] | [INFO] [stdout] 167 | pub(super) fn grbg(i: usize, v: u16, image: &[u16], w: usize, h: usize) -> [u16; 3] { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gbrg` is never used [INFO] [stdout] --> src/pass/demosaicing/enhanced_linear.rs:223:15 [INFO] [stdout] | [INFO] [stdout] 223 | pub(super) fn gbrg(i: usize, v: u16, image: &[u16], w: usize, h: usize) -> [u16; 3] { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `u16rgb_to_u8rgb` is never used [INFO] [stdout] --> src/pass/general.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn u16rgb_to_u8rgb(iter: impl Iterator) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_thumbnail` is never used [INFO] [stdout] --> src/maker/mod.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub(super) trait RawDecoder { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 52 | fn get_thumbnail<'a>(&self, buffer: &'a [u8]) -> Result<&'a [u8], DecodingError>; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select_and_decode_thumbnail` is never used [INFO] [stdout] --> src/maker/selector.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 68 | pub(in super::super) fn select_and_decode_thumbnail( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `u16be`, `i32`, and `r64` are never used [INFO] [stdout] --> src/maker/utility.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub(super) trait GetNumFromBytes { [INFO] [stdout] | --------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 4 | fn u16be(&self, start: usize) -> u16; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | fn i32(&self, is_le: bool, start: usize) -> i32; [INFO] [stdout] | ^^^ [INFO] [stdout] 9 | fn r64(&self, is_le: bool, start: usize) -> f64; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `GetBytesFromInt` is never used [INFO] [stdout] --> src/maker/utility.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | pub(super) trait GetBytesFromInt { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `THUMBNAIL_RULE` is never used [INFO] [stdout] --> src/maker/adobe.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | pub(super) static THUMBNAIL_RULE: Lazy = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_ibits_sextended` is never used [INFO] [stdout] --> src/maker/decode_utility/bit_pump.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 179 | pub(in super::super) trait BitPump { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 207 | fn get_ibits_sextended(&mut self, num: u32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `THUMBNAIL_RULE` is never used [INFO] [stdout] --> src/maker/fujifilm.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | pub(super) static THUMBNAIL_RULE: Lazy = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `THUMBNAIL_RULE` is never used [INFO] [stdout] --> src/maker/nikon.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | pub(super) static THUMBNAIL_RULE: Lazy = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `THUMBNAIL_RULE` is never used [INFO] [stdout] --> src/maker/olympus.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | pub(super) static THUMBNAIL_RULE: Lazy = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `THUMBNAIL_RULE` is never used [INFO] [stdout] --> src/maker/panasonic.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | pub(super) static THUMBNAIL_RULE: Lazy = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `THUMBNAIL_RULE` is never used [INFO] [stdout] --> src/maker/sony.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | pub(super) static THUMBNAIL_RULE: Lazy = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_thumbnail` is never used [INFO] [stdout] --> src/decode.rs:102:15 [INFO] [stdout] | [INFO] [stdout] 102 | pub(super) fn get_thumbnail(buffer: &[u8]) -> Result<(&[u8], Orientation), RawFileReadingError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used [INFO] [stdout] --> src/lib_c.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | unsafe { CString::from_raw(ptr) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 11 | unsafe { let _ = CString::from_raw(ptr); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used [INFO] [stdout] --> src/lib_c.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | unsafe { CString::from_raw(ptr) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 11 | unsafe { let _ = CString::from_raw(ptr); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.65s [INFO] running `Command { std: "docker" "inspect" "0ebdd38b9d8a05ea35680ed392839227136c93d707ebc4dc2f96f2978d310328", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ebdd38b9d8a05ea35680ed392839227136c93d707ebc4dc2f96f2978d310328", kill_on_drop: false }` [INFO] [stdout] 0ebdd38b9d8a05ea35680ed392839227136c93d707ebc4dc2f96f2978d310328