[INFO] fetching crate rawloader 0.37.1... [INFO] building rawloader-0.37.1 against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] extracting crate rawloader 0.37.1 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate rawloader 0.37.1 on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rawloader 0.37.1 [INFO] finished tweaking crates.io crate rawloader 0.37.1 [INFO] tweaked toml for crates.io crate rawloader 0.37.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate crates.io crate rawloader 0.37.1 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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5e5e420a83346e9b1bb16811af83e8cdc889c1783720ae782faccb3eef259dd7 [INFO] running `Command { std: "docker" "start" "-a" "5e5e420a83346e9b1bb16811af83e8cdc889c1783720ae782faccb3eef259dd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e5e420a83346e9b1bb16811af83e8cdc889c1783720ae782faccb3eef259dd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e5e420a83346e9b1bb16811af83e8cdc889c1783720ae782faccb3eef259dd7", kill_on_drop: false }` [INFO] [stdout] 5e5e420a83346e9b1bb16811af83e8cdc889c1783720ae782faccb3eef259dd7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aabecf0eeef6cde58c793a10ae6272e8de4716629dc4933673cea87e49220b2b [INFO] running `Command { std: "docker" "start" "-a" "aabecf0eeef6cde58c793a10ae6272e8de4716629dc4933673cea87e49220b2b", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling semver v1.0.7 [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.2 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling rayon v1.5.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling enumn v0.1.3 [INFO] [stderr] Compiling rawloader v0.37.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `needs_chunks_exact` [INFO] [stdout] --> src/decoders/basics.rs:142:7 [INFO] [stdout] | [INFO] [stdout] 142 | #[cfg(needs_chunks_exact)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(needs_chunks_exact)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(needs_chunks_exact)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `needs_chunks_exact` [INFO] [stdout] --> src/decoders/basics.rs:165:7 [INFO] [stdout] | [INFO] [stdout] 165 | #[cfg(needs_chunks_exact)] pub use self::chunks_exact::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(needs_chunks_exact)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(needs_chunks_exact)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/decoders/arw.rs:266:22 [INFO] [stdout] | [INFO] [stdout] 266 | out[j] = out[(j-1)] + (1< src/decoders/srw.rs:104:23 [INFO] [stdout] | [INFO] [stdout] 104 | let l = len[(c >> 3)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 104 - let l = len[(c >> 3)]; [INFO] [stdout] 104 + let l = len[c >> 3]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/lib.rs:59:34 [INFO] [stdout] | [INFO] [stdout] 59 | static ref LOADER: RawLoader = decoders::RawLoader::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:45:3 [INFO] [stdout] | [INFO] [stdout] 45 | unused_qualifications [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 59 - static ref LOADER: RawLoader = decoders::RawLoader::new(); [INFO] [stdout] 59 + static ref LOADER: RawLoader = RawLoader::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoders/pumps.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(src: &'a [u8]) -> BitPumpLSB { [INFO] [stdout] | ^^ ---------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(src: &'a [u8]) -> BitPumpLSB<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoders/pumps.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn new(src: &'a [u8]) -> BitPumpMSB { [INFO] [stdout] | ^^ ---------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 31 | pub fn new(src: &'a [u8]) -> BitPumpMSB<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoders/pumps.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn new(src: &'a [u8]) -> BitPumpMSB32 { [INFO] [stdout] | ^^ ------------ the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 50 | pub fn new(src: &'a [u8]) -> BitPumpMSB32<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoders/pumps.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn new(src: &'a [u8]) -> BitPumpJPEG { [INFO] [stdout] | ^^ ----------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 75 | pub fn new(src: &'a [u8]) -> BitPumpJPEG<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoders/pumps.rs:242:20 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn new(src: &'a [u8], endian: Endian) -> ByteStream { [INFO] [stdout] | ^^ ---------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 242 | pub fn new(src: &'a [u8], endian: Endian) -> ByteStream<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoders/ljpeg/mod.rs:131:20 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn new(src: &'a [u8]) -> Result { [INFO] [stdout] | ^^ ----------------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 131 | pub fn new(src: &'a [u8]) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoders/ljpeg/mod.rs:135:25 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn new_full(src: &'a [u8], dng_bug: bool, csfix: bool) -> Result { [INFO] [stdout] | ^^ this lifetime flows to the output ----------------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 135 | pub fn new_full(src: &'a [u8], dng_bug: bool, csfix: bool) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoders/tiff.rs:350:21 [INFO] [stdout] | [INFO] [stdout] 350 | pub fn find_entry(&self, tag: Tag) -> Option<&TiffEntry> { [INFO] [stdout] | ^^^^^ ---------- [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 350 | pub fn find_entry(&self, tag: Tag) -> Option<&TiffEntry<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoders/tiff.rs:368:29 [INFO] [stdout] | [INFO] [stdout] 368 | pub fn find_ifds_with_tag(&self, tag: Tag) -> Vec<&TiffIFD> { [INFO] [stdout] | ^^^^^ -------- [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 368 | pub fn find_ifds_with_tag(&self, tag: Tag) -> Vec<&TiffIFD<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoders/tiff.rs:382:25 [INFO] [stdout] | [INFO] [stdout] 382 | pub fn find_first_ifd(&self, tag: Tag) -> Option<&TiffIFD> { [INFO] [stdout] | ^^^^^ -------- [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 382 | pub fn find_first_ifd(&self, tag: Tag) -> Option<&TiffIFD<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoders/ciff.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn find_entry(&self, tag: CiffTag) -> Option<&CiffEntry> { [INFO] [stdout] | ^^^^^ ---------- [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 81 | pub fn find_entry(&self, tag: CiffTag) -> Option<&CiffEntry<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoders/rw2.rs:139:20 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn new(src: &'a [u8], split: bool) -> BitPumpPanasonic { [INFO] [stdout] | ^^ ---------------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 139 | pub fn new(src: &'a [u8], split: bool) -> BitPumpPanasonic<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 29.22s [INFO] running `Command { std: "docker" "inspect" "aabecf0eeef6cde58c793a10ae6272e8de4716629dc4933673cea87e49220b2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aabecf0eeef6cde58c793a10ae6272e8de4716629dc4933673cea87e49220b2b", kill_on_drop: false }` [INFO] [stdout] aabecf0eeef6cde58c793a10ae6272e8de4716629dc4933673cea87e49220b2b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea758b32505fd8577e1078ef197c31454a31c5089624349105b117c5533731c7 [INFO] running `Command { std: "docker" "start" "-a" "ea758b32505fd8577e1078ef197c31454a31c5089624349105b117c5533731c7", kill_on_drop: false }` [INFO] [stdout] warning: unexpected `cfg` condition name: `needs_chunks_exact` [INFO] [stdout] --> src/decoders/basics.rs:142:7 [INFO] [stdout] | [INFO] [stdout] 142 | #[cfg(needs_chunks_exact)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(needs_chunks_exact)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(needs_chunks_exact)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `needs_chunks_exact` [INFO] [stdout] --> src/decoders/basics.rs:165:7 [INFO] [stdout] | [INFO] [stdout] 165 | #[cfg(needs_chunks_exact)] pub use self::chunks_exact::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(needs_chunks_exact)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(needs_chunks_exact)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/decoders/arw.rs:266:22 [INFO] [stdout] | [INFO] [stdout] 266 | out[j] = out[(j-1)] + (1< src/decoders/srw.rs:104:23 [INFO] [stdout] | [INFO] [stdout] 104 | let l = len[(c >> 3)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 104 - let l = len[(c >> 3)]; [INFO] [stdout] 104 + let l = len[c >> 3]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/lib.rs:59:34 [INFO] [stdout] | [INFO] [stdout] 59 | static ref LOADER: RawLoader = decoders::RawLoader::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:45:3 [INFO] [stdout] | [INFO] [stdout] 45 | unused_qualifications [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 59 - static ref LOADER: RawLoader = decoders::RawLoader::new(); [INFO] [stdout] 59 + static ref LOADER: RawLoader = RawLoader::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoders/pumps.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(src: &'a [u8]) -> BitPumpLSB { [INFO] [stdout] | ^^ ---------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(src: &'a [u8]) -> BitPumpLSB<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoders/pumps.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn new(src: &'a [u8]) -> BitPumpMSB { [INFO] [stdout] | ^^ ---------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 31 | pub fn new(src: &'a [u8]) -> BitPumpMSB<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoders/pumps.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn new(src: &'a [u8]) -> BitPumpMSB32 { [INFO] [stdout] | ^^ ------------ the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 50 | pub fn new(src: &'a [u8]) -> BitPumpMSB32<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoders/pumps.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn new(src: &'a [u8]) -> BitPumpJPEG { [INFO] [stdout] | ^^ ----------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 75 | pub fn new(src: &'a [u8]) -> BitPumpJPEG<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoders/pumps.rs:242:20 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn new(src: &'a [u8], endian: Endian) -> ByteStream { [INFO] [stdout] | ^^ ---------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 242 | pub fn new(src: &'a [u8], endian: Endian) -> ByteStream<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoders/ljpeg/mod.rs:131:20 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn new(src: &'a [u8]) -> Result { [INFO] [stdout] | ^^ ----------------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 131 | pub fn new(src: &'a [u8]) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoders/ljpeg/mod.rs:135:25 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn new_full(src: &'a [u8], dng_bug: bool, csfix: bool) -> Result { [INFO] [stdout] | ^^ this lifetime flows to the output ----------------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 135 | pub fn new_full(src: &'a [u8], dng_bug: bool, csfix: bool) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoders/tiff.rs:350:21 [INFO] [stdout] | [INFO] [stdout] 350 | pub fn find_entry(&self, tag: Tag) -> Option<&TiffEntry> { [INFO] [stdout] | ^^^^^ ---------- [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 350 | pub fn find_entry(&self, tag: Tag) -> Option<&TiffEntry<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoders/tiff.rs:368:29 [INFO] [stdout] | [INFO] [stdout] 368 | pub fn find_ifds_with_tag(&self, tag: Tag) -> Vec<&TiffIFD> { [INFO] [stdout] | ^^^^^ -------- [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 368 | pub fn find_ifds_with_tag(&self, tag: Tag) -> Vec<&TiffIFD<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoders/tiff.rs:382:25 [INFO] [stdout] | [INFO] [stdout] 382 | pub fn find_first_ifd(&self, tag: Tag) -> Option<&TiffIFD> { [INFO] [stdout] | ^^^^^ -------- [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 382 | pub fn find_first_ifd(&self, tag: Tag) -> Option<&TiffIFD<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoders/ciff.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn find_entry(&self, tag: CiffTag) -> Option<&CiffEntry> { [INFO] [stdout] | ^^^^^ ---------- [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 81 | pub fn find_entry(&self, tag: CiffTag) -> Option<&CiffEntry<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoders/rw2.rs:139:20 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn new(src: &'a [u8], split: bool) -> BitPumpPanasonic { [INFO] [stdout] | ^^ ---------------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 139 | pub fn new(src: &'a [u8], split: bool) -> BitPumpPanasonic<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rawloader v0.37.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `needs_chunks_exact` [INFO] [stdout] --> src/decoders/basics.rs:142:7 [INFO] [stdout] | [INFO] [stdout] 142 | #[cfg(needs_chunks_exact)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(needs_chunks_exact)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(needs_chunks_exact)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `needs_chunks_exact` [INFO] [stdout] --> src/decoders/basics.rs:165:7 [INFO] [stdout] | [INFO] [stdout] 165 | #[cfg(needs_chunks_exact)] pub use self::chunks_exact::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(needs_chunks_exact)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(needs_chunks_exact)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/decoders/arw.rs:266:22 [INFO] [stdout] | [INFO] [stdout] 266 | out[j] = out[(j-1)] + (1< src/decoders/srw.rs:104:23 [INFO] [stdout] | [INFO] [stdout] 104 | let l = len[(c >> 3)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 104 - let l = len[(c >> 3)]; [INFO] [stdout] 104 + let l = len[c >> 3]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/lib.rs:59:34 [INFO] [stdout] | [INFO] [stdout] 59 | static ref LOADER: RawLoader = decoders::RawLoader::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:45:3 [INFO] [stdout] | [INFO] [stdout] 45 | unused_qualifications [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 59 - static ref LOADER: RawLoader = decoders::RawLoader::new(); [INFO] [stdout] 59 + static ref LOADER: RawLoader = RawLoader::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoders/pumps.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(src: &'a [u8]) -> BitPumpLSB { [INFO] [stdout] | ^^ ---------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(src: &'a [u8]) -> BitPumpLSB<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoders/pumps.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn new(src: &'a [u8]) -> BitPumpMSB { [INFO] [stdout] | ^^ ---------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 31 | pub fn new(src: &'a [u8]) -> BitPumpMSB<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoders/pumps.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn new(src: &'a [u8]) -> BitPumpMSB32 { [INFO] [stdout] | ^^ ------------ the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 50 | pub fn new(src: &'a [u8]) -> BitPumpMSB32<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoders/pumps.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn new(src: &'a [u8]) -> BitPumpJPEG { [INFO] [stdout] | ^^ ----------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 75 | pub fn new(src: &'a [u8]) -> BitPumpJPEG<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoders/pumps.rs:242:20 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn new(src: &'a [u8], endian: Endian) -> ByteStream { [INFO] [stdout] | ^^ ---------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 242 | pub fn new(src: &'a [u8], endian: Endian) -> ByteStream<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoders/ljpeg/mod.rs:131:20 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn new(src: &'a [u8]) -> Result { [INFO] [stdout] | ^^ ----------------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 131 | pub fn new(src: &'a [u8]) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoders/ljpeg/mod.rs:135:25 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn new_full(src: &'a [u8], dng_bug: bool, csfix: bool) -> Result { [INFO] [stdout] | ^^ this lifetime flows to the output ----------------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 135 | pub fn new_full(src: &'a [u8], dng_bug: bool, csfix: bool) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoders/tiff.rs:350:21 [INFO] [stdout] | [INFO] [stdout] 350 | pub fn find_entry(&self, tag: Tag) -> Option<&TiffEntry> { [INFO] [stdout] | ^^^^^ ---------- [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 350 | pub fn find_entry(&self, tag: Tag) -> Option<&TiffEntry<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoders/tiff.rs:368:29 [INFO] [stdout] | [INFO] [stdout] 368 | pub fn find_ifds_with_tag(&self, tag: Tag) -> Vec<&TiffIFD> { [INFO] [stdout] | ^^^^^ -------- [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 368 | pub fn find_ifds_with_tag(&self, tag: Tag) -> Vec<&TiffIFD<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoders/tiff.rs:382:25 [INFO] [stdout] | [INFO] [stdout] 382 | pub fn find_first_ifd(&self, tag: Tag) -> Option<&TiffIFD> { [INFO] [stdout] | ^^^^^ -------- [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 382 | pub fn find_first_ifd(&self, tag: Tag) -> Option<&TiffIFD<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoders/ciff.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn find_entry(&self, tag: CiffTag) -> Option<&CiffEntry> { [INFO] [stdout] | ^^^^^ ---------- [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 81 | pub fn find_entry(&self, tag: CiffTag) -> Option<&CiffEntry<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoders/rw2.rs:139:20 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn new(src: &'a [u8], split: bool) -> BitPumpPanasonic { [INFO] [stdout] | ^^ ---------------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 139 | pub fn new(src: &'a [u8], split: bool) -> BitPumpPanasonic<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 1.97s [INFO] running `Command { std: "docker" "inspect" "ea758b32505fd8577e1078ef197c31454a31c5089624349105b117c5533731c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea758b32505fd8577e1078ef197c31454a31c5089624349105b117c5533731c7", kill_on_drop: false }` [INFO] [stdout] ea758b32505fd8577e1078ef197c31454a31c5089624349105b117c5533731c7