[INFO] cloning repository https://github.com/Lemminkyinen/read_nef [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Lemminkyinen/read_nef" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLemminkyinen%2Fread_nef", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLemminkyinen%2Fread_nef'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7fda330dd33f5d0ddb74f57dfce789ad47f7ebd8 [INFO] checking Lemminkyinen/read_nef against master#377656d3dd3f9c23a9c8713e163f4365a5261a84 for pr-146470-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLemminkyinen%2Fread_nef" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Lemminkyinen/read_nef [INFO] finished tweaking git repo https://github.com/Lemminkyinen/read_nef [INFO] tweaked toml for git repo https://github.com/Lemminkyinen/read_nef written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Lemminkyinen/read_nef on toolchain 377656d3dd3f9c23a9c8713e163f4365a5261a84 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+377656d3dd3f9c23a9c8713e163f4365a5261a84" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Lemminkyinen/read_nef already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+377656d3dd3f9c23a9c8713e163f4365a5261a84" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded imagepipe v0.5.0 [INFO] [stderr] Downloaded multicache v0.6.1 [INFO] [stderr] Downloaded rawloader v0.37.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+377656d3dd3f9c23a9c8713e163f4365a5261a84" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8053b0795f9514606df1e89f8d02e7e30bb01e4142e8c6652a0014d5f4e0962c [INFO] running `Command { std: "docker" "start" "-a" "8053b0795f9514606df1e89f8d02e7e30bb01e4142e8c6652a0014d5f4e0962c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8053b0795f9514606df1e89f8d02e7e30bb01e4142e8c6652a0014d5f4e0962c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8053b0795f9514606df1e89f8d02e7e30bb01e4142e8c6652a0014d5f4e0962c", kill_on_drop: false }` [INFO] [stdout] 8053b0795f9514606df1e89f8d02e7e30bb01e4142e8c6652a0014d5f4e0962c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+377656d3dd3f9c23a9c8713e163f4365a5261a84" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 30fda3e55a8de0749ebf83b8b14fd974b63814408fc169819ddbef83dc56269e [INFO] running `Command { std: "docker" "start" "-a" "30fda3e55a8de0749ebf83b8b14fd974b63814408fc169819ddbef83dc56269e", kill_on_drop: false }` [INFO] [stderr] Checking weezl v0.1.10 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.3 [INFO] [stderr] Checking crc32fast v1.5.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking lebe v0.5.3 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Compiling cc v1.2.40 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Checking bytemuck v1.24.0 [INFO] [stderr] Checking bit_field v0.10.3 [INFO] [stderr] Checking flate2 v1.1.4 [INFO] [stderr] Checking jpeg-decoder v0.3.2 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking gif v0.13.3 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking exr v1.73.0 [INFO] [stderr] Checking bitstream-io v2.6.0 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking imgref v1.12.0 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking pxfm v0.1.24 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking avif-serialize v0.8.6 [INFO] [stderr] Checking rgb v0.8.52 [INFO] [stderr] Checking image-webp v0.2.4 [INFO] [stderr] Checking serde_yaml v0.8.26 [INFO] [stderr] Checking zune-jpeg v0.4.21 [INFO] [stderr] Checking png v0.18.0 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking multicache v0.6.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking moxcms v0.7.6 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling fax_derive v0.2.0 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling enumn v0.1.14 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling rawloader v0.37.1 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Checking equator v0.4.2 [INFO] [stderr] Checking fax v0.2.6 [INFO] [stderr] Checking aligned-vec v0.6.4 [INFO] [stderr] Checking tiff v0.10.3 [INFO] [stderr] Checking v_frame v0.3.9 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking av1-grain v0.2.4 [INFO] [stderr] Checking imagepipe v0.5.0 [INFO] [stderr] Checking ravif v0.11.20 [INFO] [stderr] Checking image v0.25.8 [INFO] [stderr] Checking read_nef v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `peek_ibits`, `get_ibits`, and `get_ibits_sextended` are never used [INFO] [stdout] --> src/huffmanv2.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait BitPump { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 22 | fn peek_ibits(&mut self, num: u32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn get_ibits(&mut self, num: u32) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | fn get_ibits_sextended(&mut self, num: u32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `huff_get_bits` are never used [INFO] [stdout] --> src/huffmanv2.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 101 | impl HuffTable { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn new(bits: [u32; 17], huffval: [u32; 256], dng_bug: bool) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | pub fn huff_get_bits(&self, pump: &mut dyn BitPump) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `print_info` and `get_encoded_data` are never used [INFO] [stdout] --> src/ifd.rs:450:12 [INFO] [stdout] | [INFO] [stdout] 314 | impl Ifd { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 450 | pub fn print_info(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 486 | pub fn get_encoded_data(&self, buffer: Arc<[u8]>) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_human_readable_value` and `get_raw_entry` are never used [INFO] [stdout] --> src/ifd.rs:521:12 [INFO] [stdout] | [INFO] [stdout] 503 | impl IfdEntry { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 521 | pub fn get_human_readable_value(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 575 | pub fn get_raw_entry(&self) -> [u8; 12] { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ImageThumbnail` is never constructed [INFO] [stdout] --> src/nef.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct ImageThumbnail {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cfa_pattern_2x2` is never used [INFO] [stdout] --> src/nef.rs:295:12 [INFO] [stdout] | [INFO] [stdout] 81 | impl NefFile { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 295 | pub fn cfa_pattern_2x2(&self) -> Option<[u8; 4]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_leu8` is never used [INFO] [stdout] --> src/utils.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn read_leu8(buffer: &[u8], pointer: &mut usize, peek: bool) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_leu32` is never used [INFO] [stdout] --> src/utils.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn read_leu32(buffer: &[u8], pointer: &mut usize, peek: bool) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_beu8` is never used [INFO] [stdout] --> src/utils.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn read_beu8(buffer: &[u8], pointer: &mut usize, peek: bool) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_beu16` is never used [INFO] [stdout] --> src/utils.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn read_beu16(buffer: &[u8], pointer: &mut usize, peek: bool) -> u16 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/ifd.rs:434:54 [INFO] [stdout] | [INFO] [stdout] 434 | let mut sub_ifds = Self::parse_ifd(buffer.clone(), ifd_offset); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/nef.rs:423:34 [INFO] [stdout] | [INFO] [stdout] 423 | pub fn new(src: &'a [u8]) -> BitPumpMSB { [INFO] [stdout] | -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 423 | pub fn new(src: &'a [u8]) -> BitPumpMSB<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `peek_ibits`, `get_ibits`, and `get_ibits_sextended` are never used [INFO] [stdout] --> src/huffmanv2.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait BitPump { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 22 | fn peek_ibits(&mut self, num: u32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn get_ibits(&mut self, num: u32) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | fn get_ibits_sextended(&mut self, num: u32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `huff_get_bits` are never used [INFO] [stdout] --> src/huffmanv2.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 101 | impl HuffTable { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn new(bits: [u32; 17], huffval: [u32; 256], dng_bug: bool) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | pub fn huff_get_bits(&self, pump: &mut dyn BitPump) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `print_info` and `get_encoded_data` are never used [INFO] [stdout] --> src/ifd.rs:450:12 [INFO] [stdout] | [INFO] [stdout] 314 | impl Ifd { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 450 | pub fn print_info(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 486 | pub fn get_encoded_data(&self, buffer: Arc<[u8]>) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_human_readable_value` and `get_raw_entry` are never used [INFO] [stdout] --> src/ifd.rs:521:12 [INFO] [stdout] | [INFO] [stdout] 503 | impl IfdEntry { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 521 | pub fn get_human_readable_value(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 575 | pub fn get_raw_entry(&self) -> [u8; 12] { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ImageThumbnail` is never constructed [INFO] [stdout] --> src/nef.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct ImageThumbnail {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cfa_pattern_2x2` is never used [INFO] [stdout] --> src/nef.rs:295:12 [INFO] [stdout] | [INFO] [stdout] 81 | impl NefFile { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 295 | pub fn cfa_pattern_2x2(&self) -> Option<[u8; 4]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_leu8` is never used [INFO] [stdout] --> src/utils.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn read_leu8(buffer: &[u8], pointer: &mut usize, peek: bool) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_leu32` is never used [INFO] [stdout] --> src/utils.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn read_leu32(buffer: &[u8], pointer: &mut usize, peek: bool) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_beu8` is never used [INFO] [stdout] --> src/utils.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn read_beu8(buffer: &[u8], pointer: &mut usize, peek: bool) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_beu16` is never used [INFO] [stdout] --> src/utils.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn read_beu16(buffer: &[u8], pointer: &mut usize, peek: bool) -> u16 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/ifd.rs:434:54 [INFO] [stdout] | [INFO] [stdout] 434 | let mut sub_ifds = Self::parse_ifd(buffer.clone(), ifd_offset); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/nef.rs:423:34 [INFO] [stdout] | [INFO] [stdout] 423 | pub fn new(src: &'a [u8]) -> BitPumpMSB { [INFO] [stdout] | -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 423 | pub fn new(src: &'a [u8]) -> BitPumpMSB<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.64s [INFO] running `Command { std: "docker" "inspect" "30fda3e55a8de0749ebf83b8b14fd974b63814408fc169819ddbef83dc56269e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30fda3e55a8de0749ebf83b8b14fd974b63814408fc169819ddbef83dc56269e", kill_on_drop: false }` [INFO] [stdout] 30fda3e55a8de0749ebf83b8b14fd974b63814408fc169819ddbef83dc56269e