[INFO] fetching crate pcap-parser 0.16.0... [INFO] testing pcap-parser-0.16.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate pcap-parser 0.16.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate pcap-parser 0.16.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate pcap-parser 0.16.0 [INFO] tweaked toml for crates.io crate pcap-parser 0.16.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pcap-parser 0.16.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate pcap-parser 0.16.0 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded circular v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0dbd5005e6fd30d8e97771f6514d2dc2001df52e74ec36e2dce9438f052af42f [INFO] running `Command { std: "docker" "start" "-a" "0dbd5005e6fd30d8e97771f6514d2dc2001df52e74ec36e2dce9438f052af42f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0dbd5005e6fd30d8e97771f6514d2dc2001df52e74ec36e2dce9438f052af42f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0dbd5005e6fd30d8e97771f6514d2dc2001df52e74ec36e2dce9438f052af42f", kill_on_drop: false }` [INFO] [stdout] 0dbd5005e6fd30d8e97771f6514d2dc2001df52e74ec36e2dce9438f052af42f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 1aaa9c731f59d9c33a2b0f65bb5ade0877ed11c89e457040f8b3fab7cacde883 [INFO] running `Command { std: "docker" "start" "-a" "1aaa9c731f59d9c33a2b0f65bb5ade0877ed11c89e457040f8b3fab7cacde883", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling circular v0.3.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling rusticata-macros v4.1.0 [INFO] [stderr] Compiling pcap-parser v0.16.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/capture.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | fn iter<'a>(&'a self) -> Box + 'a>; [INFO] [stdout] | ^^ --------- -- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'a` [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] 18 | fn iter<'a>(&'a self) -> Box> + '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/pcap/capture.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn from_slice(i: &[u8]) -> Result>> { [INFO] [stdout] | ^^^^^ --------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [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] 41 | pub fn from_slice(i: &[u8]) -> Result, nom::Err>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcap/capture.rs:72:25 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn from_file(i: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^ ----------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [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] 72 | pub fn from_file(i: &[u8]) -> Result, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcap/capture.rs:114:18 [INFO] [stdout] | [INFO] [stdout] 114 | fn iter<'b>(&'b self) -> Box + 'b> { [INFO] [stdout] | ^^ --------- -- the lifetimes get resolved as `'b` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'b` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'b` [INFO] [stdout] | [INFO] [stdout] 114 | fn iter<'b>(&'b self) -> Box> + 'b> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcap/capture.rs:122:22 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn parse_pcap(i: &[u8]) -> IResult<&[u8], PcapCapture, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ----------- ----- the lifetimes get resolved as `'_` [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] 122 | pub fn parse_pcap(i: &[u8]) -> IResult<&[u8], PcapCapture<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcap/frame.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn parse_pcap_frame(i: &[u8]) -> IResult<&[u8], LegacyPcapBlock, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- --------------- ----- the lifetimes get resolved as `'_` [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] 21 | pub fn parse_pcap_frame(i: &[u8]) -> IResult<&[u8], LegacyPcapBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcap/frame.rs:44:31 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn parse_pcap_frame_be(i: &[u8]) -> IResult<&[u8], LegacyPcapBlock, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- --------------- ----- the lifetimes get resolved as `'_` [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] 44 | pub fn parse_pcap_frame_be(i: &[u8]) -> IResult<&[u8], LegacyPcapBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcap/frame.rs:67:37 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn parse_pcap_frame_modified(i: &[u8]) -> IResult<&[u8], LegacyPcapBlock, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- --------------- ----- the lifetimes get resolved as `'_` [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] 67 | pub fn parse_pcap_frame_modified(i: &[u8]) -> IResult<&[u8], LegacyPcapBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcap/reader.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | fn next(&mut self) -> Result<(usize, PcapBlockOwned), PcapError<&'_ [u8]>> { [INFO] [stdout] | ^^^^^^^^^ -------------- -- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [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] 133 - fn next(&mut self) -> Result<(usize, PcapBlockOwned), PcapError<&'_ [u8]>> { [INFO] [stdout] 133 + fn next(&mut self) -> Result<(usize, PcapBlockOwned<'_>), PcapError<&[u8]>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/block.rs:56:26 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn parse_block_le(i: &[u8]) -> IResult<&[u8], Block, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ----- ----- the lifetimes get resolved as `'_` [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] 56 | pub fn parse_block_le(i: &[u8]) -> IResult<&[u8], Block<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/block.rs:89:26 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn parse_block_be(i: &[u8]) -> IResult<&[u8], Block, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ----- ----- the lifetimes get resolved as `'_` [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] 89 | pub fn parse_block_be(i: &[u8]) -> IResult<&[u8], Block<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/capture.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_slice(i: &[u8]) -> Result>> { [INFO] [stdout] | ^^^^^ ----------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [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] 37 | pub fn from_slice(i: &[u8]) -> Result, nom::Err>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/capture.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn from_file(i: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^ ------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [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] 104 | pub fn from_file(i: &[u8]) -> Result, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/capture.rs:122:24 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn parse_pcapng(i: &[u8]) -> IResult<&[u8], PcapNGCapture, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ------------- ----- the lifetimes get resolved as `'_` [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] 122 | pub fn parse_pcapng(i: &[u8]) -> IResult<&[u8], PcapNGCapture<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/option.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | i: &'i [u8], [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 112 | ) -> IResult<&'i [u8], PcapNGOption, E> { [INFO] [stdout] | -- ------------ the lifetimes get resolved as `'i` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'i` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'i` [INFO] [stdout] | [INFO] [stdout] 112 | ) -> IResult<&'i [u8], PcapNGOption<'i>, E> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/option.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | i: &'i [u8], [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 120 | ) -> IResult<&'i [u8], PcapNGOption, E> { [INFO] [stdout] | -- ------------ the lifetimes get resolved as `'i` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'i` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'i` [INFO] [stdout] | [INFO] [stdout] 120 | ) -> IResult<&'i [u8], PcapNGOption<'i>, E> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/option.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | i: &'i [u8], [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 126 | ) -> IResult<&'i [u8], PcapNGOption, E> { [INFO] [stdout] | -- ------------ the lifetimes get resolved as `'i` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'i` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'i` [INFO] [stdout] | [INFO] [stdout] 126 | ) -> IResult<&'i [u8], PcapNGOption<'i>, E> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/option.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | i: &'i [u8], [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 142 | ) -> IResult<&'i [u8], Vec, E> { [INFO] [stdout] | -- ------------ the lifetimes get resolved as `'i` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'i` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'i` [INFO] [stdout] | [INFO] [stdout] 142 | ) -> IResult<&'i [u8], Vec>, E> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/reader.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | fn next(&mut self) -> Result<(usize, PcapBlockOwned), PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^^^^^ -------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [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] 149 | fn next(&mut self) -> Result<(usize, PcapBlockOwned<'_>), PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/section.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn header(&self) -> Option<&SectionHeaderBlock> { [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] 22 | pub fn header(&self) -> Option<&SectionHeaderBlock<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/section.rs:87:42 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn parse_section_content_block_le(i: &[u8]) -> IResult<&[u8], Block, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ----- ----- the lifetimes get resolved as `'_` [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] 87 | pub fn parse_section_content_block_le(i: &[u8]) -> IResult<&[u8], Block<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/section.rs:96:42 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn parse_section_content_block_be(i: &[u8]) -> IResult<&[u8], Block, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ----- ----- the lifetimes get resolved as `'_` [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] 96 | pub fn parse_section_content_block_be(i: &[u8]) -> IResult<&[u8], Block<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/section.rs:105:25 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn parse_section(i: &[u8]) -> IResult<&[u8], Section, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ------- ----- the lifetimes get resolved as `'_` [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] 105 | pub fn parse_section(i: &[u8]) -> IResult<&[u8], Section<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/section.rs:122:26 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn parse_sections(i: &[u8]) -> IResult<&[u8], Vec
, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ------- ----- the lifetimes get resolved as `'_` [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] 122 | pub fn parse_sections(i: &[u8]) -> IResult<&[u8], Vec>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/custom.rs:75:32 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn parse_customblock_le(i: &[u8]) -> IResult<&[u8], CustomBlock, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ----------- ----- the lifetimes get resolved as `'_` [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] 75 | pub fn parse_customblock_le(i: &[u8]) -> IResult<&[u8], CustomBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/custom.rs:81:32 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn parse_customblock_be(i: &[u8]) -> IResult<&[u8], CustomBlock, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ----------- ----- the lifetimes get resolved as `'_` [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 parse_customblock_be(i: &[u8]) -> IResult<&[u8], CustomBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/custom.rs:87:24 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn parse_dcb_le(i: &[u8]) -> IResult<&[u8], CustomBlock, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ----------- ----- the lifetimes get resolved as `'_` [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] 87 | pub fn parse_dcb_le(i: &[u8]) -> IResult<&[u8], CustomBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/custom.rs:93:24 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn parse_dcb_be(i: &[u8]) -> IResult<&[u8], CustomBlock, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ----------- ----- the lifetimes get resolved as `'_` [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] 93 | pub fn parse_dcb_be(i: &[u8]) -> IResult<&[u8], CustomBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/decryption_secrets.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | i: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 78 | ) -> IResult<&[u8], DecryptionSecretsBlock, PcapError<&[u8]>> { [INFO] [stdout] | ----- ---------------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [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] 78 | ) -> IResult<&[u8], DecryptionSecretsBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/decryption_secrets.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | i: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 86 | ) -> IResult<&[u8], DecryptionSecretsBlock, PcapError<&[u8]>> { [INFO] [stdout] | ----- ---------------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [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] 86 | ) -> IResult<&[u8], DecryptionSecretsBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/enhanced_packet.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 153 | i: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 154 | ) -> IResult<&[u8], EnhancedPacketBlock, PcapError<&[u8]>> { [INFO] [stdout] | ----- ------------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [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] 154 | ) -> IResult<&[u8], EnhancedPacketBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/enhanced_packet.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | i: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 161 | ) -> IResult<&[u8], EnhancedPacketBlock, PcapError<&[u8]>> { [INFO] [stdout] | ----- ------------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [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] 161 | ) -> IResult<&[u8], EnhancedPacketBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/interface_description.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | i: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 81 | ) -> IResult<&[u8], InterfaceDescriptionBlock, PcapError<&[u8]>> { [INFO] [stdout] | ----- ------------------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [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 | ) -> IResult<&[u8], InterfaceDescriptionBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/interface_description.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | i: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 88 | ) -> IResult<&[u8], InterfaceDescriptionBlock, PcapError<&[u8]>> { [INFO] [stdout] | ----- ------------------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [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] 88 | ) -> IResult<&[u8], InterfaceDescriptionBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/interface_statistics.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | i: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 60 | ) -> IResult<&[u8], InterfaceStatisticsBlock, PcapError<&[u8]>> { [INFO] [stdout] | ----- ------------------------ ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [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] 60 | ) -> IResult<&[u8], InterfaceStatisticsBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/interface_statistics.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | i: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 68 | ) -> IResult<&[u8], InterfaceStatisticsBlock, PcapError<&[u8]>> { [INFO] [stdout] | ----- ------------------------ ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [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] 68 | ) -> IResult<&[u8], InterfaceStatisticsBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/name_resolution.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | i: &'a [u8], [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 81 | ) -> IResult<&'a [u8], NameRecord, E> { [INFO] [stdout] | -- ---------- the lifetimes get resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 81 | ) -> IResult<&'a [u8], NameRecord<'a>, E> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/name_resolution.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | i: &'a [u8], [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 95 | ) -> IResult<&'a [u8], Vec, E> { [INFO] [stdout] | -- ---------- the lifetimes get resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 95 | ) -> IResult<&'a [u8], Vec>, E> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/name_resolution.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | i: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 109 | ) -> IResult<&[u8], NameResolutionBlock, PcapError<&[u8]>> { [INFO] [stdout] | ----- ------------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [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] 109 | ) -> IResult<&[u8], NameResolutionBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/name_resolution.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | i: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 117 | ) -> IResult<&[u8], NameResolutionBlock, PcapError<&[u8]>> { [INFO] [stdout] | ----- ------------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [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] 117 | ) -> IResult<&[u8], NameResolutionBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/process_information.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | i: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 52 | ) -> IResult<&[u8], ProcessInformationBlock, PcapError<&[u8]>> { [INFO] [stdout] | ----- ----------------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [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] 52 | ) -> IResult<&[u8], ProcessInformationBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/process_information.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | i: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 60 | ) -> IResult<&[u8], ProcessInformationBlock, PcapError<&[u8]>> { [INFO] [stdout] | ----- ----------------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [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] 60 | ) -> IResult<&[u8], ProcessInformationBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/section_header.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | i: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 101 | ) -> IResult<&[u8], SectionHeaderBlock, PcapError<&[u8]>> { [INFO] [stdout] | ----- ------------------ ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [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] 101 | ) -> IResult<&[u8], SectionHeaderBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/section_header.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | i: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 108 | ) -> IResult<&[u8], SectionHeaderBlock, PcapError<&[u8]>> { [INFO] [stdout] | ----- ------------------ ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [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] 108 | ) -> IResult<&[u8], SectionHeaderBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/section_header.rs:113:36 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn parse_sectionheaderblock(i: &[u8]) -> IResult<&[u8], SectionHeaderBlock, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ------------------ ----- the lifetimes get resolved as `'_` [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] 113 | pub fn parse_sectionheaderblock(i: &[u8]) -> IResult<&[u8], SectionHeaderBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/simple_packet.rs:82:38 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn parse_simplepacketblock_le(i: &[u8]) -> IResult<&[u8], SimplePacketBlock, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ----------------- ----- the lifetimes get resolved as `'_` [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] 82 | pub fn parse_simplepacketblock_le(i: &[u8]) -> IResult<&[u8], SimplePacketBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/simple_packet.rs:89:38 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn parse_simplepacketblock_be(i: &[u8]) -> IResult<&[u8], SimplePacketBlock, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ----------------- ----- the lifetimes get resolved as `'_` [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] 89 | pub fn parse_simplepacketblock_be(i: &[u8]) -> IResult<&[u8], SimplePacketBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/systemd_journal_export.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | i: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 43 | ) -> IResult<&[u8], SystemdJournalExportBlock, PcapError<&[u8]>> { [INFO] [stdout] | ----- ------------------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [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] 43 | ) -> IResult<&[u8], SystemdJournalExportBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/systemd_journal_export.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | i: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 51 | ) -> IResult<&[u8], SystemdJournalExportBlock, PcapError<&[u8]>> { [INFO] [stdout] | ----- ------------------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [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] 51 | ) -> IResult<&[u8], SystemdJournalExportBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/unknown.rs:40:33 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn parse_unknownblock_le(i: &[u8]) -> IResult<&[u8], UnknownBlock, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ------------ ----- the lifetimes get resolved as `'_` [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] 40 | pub fn parse_unknownblock_le(i: &[u8]) -> IResult<&[u8], UnknownBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/unknown.rs:45:33 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn parse_unknownblock_be(i: &[u8]) -> IResult<&[u8], UnknownBlock, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ------------ ----- the lifetimes get resolved as `'_` [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] 45 | pub fn parse_unknownblock_be(i: &[u8]) -> IResult<&[u8], UnknownBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/traits.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | fn next(&mut self) -> Result<(usize, PcapBlockOwned), PcapError<&[u8]>>; [INFO] [stdout] | ^^^^^^^^^ -------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [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] 105 | fn next(&mut self) -> Result<(usize, PcapBlockOwned<'_>), PcapError<&[u8]>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.97s [INFO] running `Command { std: "docker" "inspect" "1aaa9c731f59d9c33a2b0f65bb5ade0877ed11c89e457040f8b3fab7cacde883", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1aaa9c731f59d9c33a2b0f65bb5ade0877ed11c89e457040f8b3fab7cacde883", kill_on_drop: false }` [INFO] [stdout] 1aaa9c731f59d9c33a2b0f65bb5ade0877ed11c89e457040f8b3fab7cacde883 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 777b7b866b7519cec5d788be08fe600b581db44240fc120f43138edbefd6ccef [INFO] running `Command { std: "docker" "start" "-a" "777b7b866b7519cec5d788be08fe600b581db44240fc120f43138edbefd6ccef", kill_on_drop: false }` [INFO] [stderr] Compiling hex-literal v0.4.1 [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/capture.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | fn iter<'a>(&'a self) -> Box + 'a>; [INFO] [stdout] | ^^ --------- -- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'a` [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] 18 | fn iter<'a>(&'a self) -> Box> + '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/pcap/capture.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn from_slice(i: &[u8]) -> Result>> { [INFO] [stdout] | ^^^^^ --------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [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] 41 | pub fn from_slice(i: &[u8]) -> Result, nom::Err>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcap/capture.rs:72:25 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn from_file(i: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^ ----------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [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] 72 | pub fn from_file(i: &[u8]) -> Result, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcap/capture.rs:114:18 [INFO] [stdout] | [INFO] [stdout] 114 | fn iter<'b>(&'b self) -> Box + 'b> { [INFO] [stdout] | ^^ --------- -- the lifetimes get resolved as `'b` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'b` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'b` [INFO] [stdout] | [INFO] [stdout] 114 | fn iter<'b>(&'b self) -> Box> + 'b> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcap/capture.rs:122:22 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn parse_pcap(i: &[u8]) -> IResult<&[u8], PcapCapture, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ----------- ----- the lifetimes get resolved as `'_` [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] 122 | pub fn parse_pcap(i: &[u8]) -> IResult<&[u8], PcapCapture<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcap/frame.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn parse_pcap_frame(i: &[u8]) -> IResult<&[u8], LegacyPcapBlock, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- --------------- ----- the lifetimes get resolved as `'_` [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] 21 | pub fn parse_pcap_frame(i: &[u8]) -> IResult<&[u8], LegacyPcapBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcap/frame.rs:44:31 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn parse_pcap_frame_be(i: &[u8]) -> IResult<&[u8], LegacyPcapBlock, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- --------------- ----- the lifetimes get resolved as `'_` [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] 44 | pub fn parse_pcap_frame_be(i: &[u8]) -> IResult<&[u8], LegacyPcapBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcap/frame.rs:67:37 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn parse_pcap_frame_modified(i: &[u8]) -> IResult<&[u8], LegacyPcapBlock, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- --------------- ----- the lifetimes get resolved as `'_` [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] 67 | pub fn parse_pcap_frame_modified(i: &[u8]) -> IResult<&[u8], LegacyPcapBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcap/reader.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | fn next(&mut self) -> Result<(usize, PcapBlockOwned), PcapError<&'_ [u8]>> { [INFO] [stdout] | ^^^^^^^^^ -------------- -- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [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] 133 - fn next(&mut self) -> Result<(usize, PcapBlockOwned), PcapError<&'_ [u8]>> { [INFO] [stdout] 133 + fn next(&mut self) -> Result<(usize, PcapBlockOwned<'_>), PcapError<&[u8]>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/block.rs:56:26 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn parse_block_le(i: &[u8]) -> IResult<&[u8], Block, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ----- ----- the lifetimes get resolved as `'_` [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] 56 | pub fn parse_block_le(i: &[u8]) -> IResult<&[u8], Block<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/block.rs:89:26 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn parse_block_be(i: &[u8]) -> IResult<&[u8], Block, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ----- ----- the lifetimes get resolved as `'_` [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] 89 | pub fn parse_block_be(i: &[u8]) -> IResult<&[u8], Block<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/capture.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_slice(i: &[u8]) -> Result>> { [INFO] [stdout] | ^^^^^ ----------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [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] 37 | pub fn from_slice(i: &[u8]) -> Result, nom::Err>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/capture.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn from_file(i: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^ ------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [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] 104 | pub fn from_file(i: &[u8]) -> Result, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/capture.rs:122:24 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn parse_pcapng(i: &[u8]) -> IResult<&[u8], PcapNGCapture, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ------------- ----- the lifetimes get resolved as `'_` [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] 122 | pub fn parse_pcapng(i: &[u8]) -> IResult<&[u8], PcapNGCapture<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/option.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | i: &'i [u8], [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 112 | ) -> IResult<&'i [u8], PcapNGOption, E> { [INFO] [stdout] | -- ------------ the lifetimes get resolved as `'i` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'i` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'i` [INFO] [stdout] | [INFO] [stdout] 112 | ) -> IResult<&'i [u8], PcapNGOption<'i>, E> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/option.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | i: &'i [u8], [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 120 | ) -> IResult<&'i [u8], PcapNGOption, E> { [INFO] [stdout] | -- ------------ the lifetimes get resolved as `'i` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'i` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'i` [INFO] [stdout] | [INFO] [stdout] 120 | ) -> IResult<&'i [u8], PcapNGOption<'i>, E> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/option.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | i: &'i [u8], [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 126 | ) -> IResult<&'i [u8], PcapNGOption, E> { [INFO] [stdout] | -- ------------ the lifetimes get resolved as `'i` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'i` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'i` [INFO] [stdout] | [INFO] [stdout] 126 | ) -> IResult<&'i [u8], PcapNGOption<'i>, E> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/option.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | i: &'i [u8], [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 142 | ) -> IResult<&'i [u8], Vec, E> { [INFO] [stdout] | -- ------------ the lifetimes get resolved as `'i` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'i` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'i` [INFO] [stdout] | [INFO] [stdout] 142 | ) -> IResult<&'i [u8], Vec>, E> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/reader.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | fn next(&mut self) -> Result<(usize, PcapBlockOwned), PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^^^^^ -------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [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] 149 | fn next(&mut self) -> Result<(usize, PcapBlockOwned<'_>), PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/section.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn header(&self) -> Option<&SectionHeaderBlock> { [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] 22 | pub fn header(&self) -> Option<&SectionHeaderBlock<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/section.rs:87:42 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn parse_section_content_block_le(i: &[u8]) -> IResult<&[u8], Block, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ----- ----- the lifetimes get resolved as `'_` [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] 87 | pub fn parse_section_content_block_le(i: &[u8]) -> IResult<&[u8], Block<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/section.rs:96:42 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn parse_section_content_block_be(i: &[u8]) -> IResult<&[u8], Block, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ----- ----- the lifetimes get resolved as `'_` [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] 96 | pub fn parse_section_content_block_be(i: &[u8]) -> IResult<&[u8], Block<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/section.rs:105:25 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn parse_section(i: &[u8]) -> IResult<&[u8], Section, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ------- ----- the lifetimes get resolved as `'_` [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] 105 | pub fn parse_section(i: &[u8]) -> IResult<&[u8], Section<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/section.rs:122:26 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn parse_sections(i: &[u8]) -> IResult<&[u8], Vec
, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ------- ----- the lifetimes get resolved as `'_` [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] 122 | pub fn parse_sections(i: &[u8]) -> IResult<&[u8], Vec>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/custom.rs:75:32 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn parse_customblock_le(i: &[u8]) -> IResult<&[u8], CustomBlock, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ----------- ----- the lifetimes get resolved as `'_` [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] 75 | pub fn parse_customblock_le(i: &[u8]) -> IResult<&[u8], CustomBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/custom.rs:81:32 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn parse_customblock_be(i: &[u8]) -> IResult<&[u8], CustomBlock, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ----------- ----- the lifetimes get resolved as `'_` [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 parse_customblock_be(i: &[u8]) -> IResult<&[u8], CustomBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/custom.rs:87:24 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn parse_dcb_le(i: &[u8]) -> IResult<&[u8], CustomBlock, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ----------- ----- the lifetimes get resolved as `'_` [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] 87 | pub fn parse_dcb_le(i: &[u8]) -> IResult<&[u8], CustomBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/custom.rs:93:24 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn parse_dcb_be(i: &[u8]) -> IResult<&[u8], CustomBlock, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ----------- ----- the lifetimes get resolved as `'_` [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] 93 | pub fn parse_dcb_be(i: &[u8]) -> IResult<&[u8], CustomBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/decryption_secrets.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | i: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 78 | ) -> IResult<&[u8], DecryptionSecretsBlock, PcapError<&[u8]>> { [INFO] [stdout] | ----- ---------------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [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] 78 | ) -> IResult<&[u8], DecryptionSecretsBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/decryption_secrets.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | i: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 86 | ) -> IResult<&[u8], DecryptionSecretsBlock, PcapError<&[u8]>> { [INFO] [stdout] | ----- ---------------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [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] 86 | ) -> IResult<&[u8], DecryptionSecretsBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/enhanced_packet.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 153 | i: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 154 | ) -> IResult<&[u8], EnhancedPacketBlock, PcapError<&[u8]>> { [INFO] [stdout] | ----- ------------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [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] 154 | ) -> IResult<&[u8], EnhancedPacketBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/enhanced_packet.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | i: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 161 | ) -> IResult<&[u8], EnhancedPacketBlock, PcapError<&[u8]>> { [INFO] [stdout] | ----- ------------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [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] 161 | ) -> IResult<&[u8], EnhancedPacketBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/interface_description.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | i: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 81 | ) -> IResult<&[u8], InterfaceDescriptionBlock, PcapError<&[u8]>> { [INFO] [stdout] | ----- ------------------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [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 | ) -> IResult<&[u8], InterfaceDescriptionBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/interface_description.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | i: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 88 | ) -> IResult<&[u8], InterfaceDescriptionBlock, PcapError<&[u8]>> { [INFO] [stdout] | ----- ------------------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [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] 88 | ) -> IResult<&[u8], InterfaceDescriptionBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/interface_statistics.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | i: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 60 | ) -> IResult<&[u8], InterfaceStatisticsBlock, PcapError<&[u8]>> { [INFO] [stdout] | ----- ------------------------ ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [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] 60 | ) -> IResult<&[u8], InterfaceStatisticsBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/interface_statistics.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | i: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 68 | ) -> IResult<&[u8], InterfaceStatisticsBlock, PcapError<&[u8]>> { [INFO] [stdout] | ----- ------------------------ ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [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] 68 | ) -> IResult<&[u8], InterfaceStatisticsBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/name_resolution.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | i: &'a [u8], [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 81 | ) -> IResult<&'a [u8], NameRecord, E> { [INFO] [stdout] | -- ---------- the lifetimes get resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 81 | ) -> IResult<&'a [u8], NameRecord<'a>, E> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/name_resolution.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | i: &'a [u8], [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 95 | ) -> IResult<&'a [u8], Vec, E> { [INFO] [stdout] | -- ---------- the lifetimes get resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 95 | ) -> IResult<&'a [u8], Vec>, E> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/name_resolution.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | i: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 109 | ) -> IResult<&[u8], NameResolutionBlock, PcapError<&[u8]>> { [INFO] [stdout] | ----- ------------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [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] 109 | ) -> IResult<&[u8], NameResolutionBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/name_resolution.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | i: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 117 | ) -> IResult<&[u8], NameResolutionBlock, PcapError<&[u8]>> { [INFO] [stdout] | ----- ------------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [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] 117 | ) -> IResult<&[u8], NameResolutionBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/process_information.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | i: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 52 | ) -> IResult<&[u8], ProcessInformationBlock, PcapError<&[u8]>> { [INFO] [stdout] | ----- ----------------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [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] 52 | ) -> IResult<&[u8], ProcessInformationBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/process_information.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | i: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 60 | ) -> IResult<&[u8], ProcessInformationBlock, PcapError<&[u8]>> { [INFO] [stdout] | ----- ----------------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [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] 60 | ) -> IResult<&[u8], ProcessInformationBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/section_header.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | i: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 101 | ) -> IResult<&[u8], SectionHeaderBlock, PcapError<&[u8]>> { [INFO] [stdout] | ----- ------------------ ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [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] 101 | ) -> IResult<&[u8], SectionHeaderBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/section_header.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | i: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 108 | ) -> IResult<&[u8], SectionHeaderBlock, PcapError<&[u8]>> { [INFO] [stdout] | ----- ------------------ ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [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] 108 | ) -> IResult<&[u8], SectionHeaderBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/section_header.rs:113:36 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn parse_sectionheaderblock(i: &[u8]) -> IResult<&[u8], SectionHeaderBlock, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ------------------ ----- the lifetimes get resolved as `'_` [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] 113 | pub fn parse_sectionheaderblock(i: &[u8]) -> IResult<&[u8], SectionHeaderBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/simple_packet.rs:82:38 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn parse_simplepacketblock_le(i: &[u8]) -> IResult<&[u8], SimplePacketBlock, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ----------------- ----- the lifetimes get resolved as `'_` [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] 82 | pub fn parse_simplepacketblock_le(i: &[u8]) -> IResult<&[u8], SimplePacketBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/simple_packet.rs:89:38 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn parse_simplepacketblock_be(i: &[u8]) -> IResult<&[u8], SimplePacketBlock, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ----------------- ----- the lifetimes get resolved as `'_` [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] 89 | pub fn parse_simplepacketblock_be(i: &[u8]) -> IResult<&[u8], SimplePacketBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/systemd_journal_export.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | i: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 43 | ) -> IResult<&[u8], SystemdJournalExportBlock, PcapError<&[u8]>> { [INFO] [stdout] | ----- ------------------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [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] 43 | ) -> IResult<&[u8], SystemdJournalExportBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/systemd_journal_export.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | i: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 51 | ) -> IResult<&[u8], SystemdJournalExportBlock, PcapError<&[u8]>> { [INFO] [stdout] | ----- ------------------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [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] 51 | ) -> IResult<&[u8], SystemdJournalExportBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/unknown.rs:40:33 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn parse_unknownblock_le(i: &[u8]) -> IResult<&[u8], UnknownBlock, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ------------ ----- the lifetimes get resolved as `'_` [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] 40 | pub fn parse_unknownblock_le(i: &[u8]) -> IResult<&[u8], UnknownBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/unknown.rs:45:33 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn parse_unknownblock_be(i: &[u8]) -> IResult<&[u8], UnknownBlock, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ------------ ----- the lifetimes get resolved as `'_` [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] 45 | pub fn parse_unknownblock_be(i: &[u8]) -> IResult<&[u8], UnknownBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/traits.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | fn next(&mut self) -> Result<(usize, PcapBlockOwned), PcapError<&[u8]>>; [INFO] [stdout] | ^^^^^^^^^ -------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [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] 105 | fn next(&mut self) -> Result<(usize, PcapBlockOwned<'_>), PcapError<&[u8]>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pcap-parser v0.16.0 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read `tests/../assets/err-eof.bin`: No such file or directory (os error 2) [INFO] [stdout] --> tests/pcapng.rs:403:16 [INFO] [stdout] | [INFO] [stdout] 403 | let data = include_bytes!("../assets/err-eof.bin"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pcap-parser` (test "pcapng") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/capture.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | fn iter<'a>(&'a self) -> Box + 'a>; [INFO] [stdout] | ^^ --------- -- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'a` [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] 18 | fn iter<'a>(&'a self) -> Box> + '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/pcap/capture.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn from_slice(i: &[u8]) -> Result>> { [INFO] [stdout] | ^^^^^ --------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [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] 41 | pub fn from_slice(i: &[u8]) -> Result, nom::Err>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcap/capture.rs:72:25 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn from_file(i: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^ ----------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [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] 72 | pub fn from_file(i: &[u8]) -> Result, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcap/capture.rs:114:18 [INFO] [stdout] | [INFO] [stdout] 114 | fn iter<'b>(&'b self) -> Box + 'b> { [INFO] [stdout] | ^^ --------- -- the lifetimes get resolved as `'b` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'b` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'b` [INFO] [stdout] | [INFO] [stdout] 114 | fn iter<'b>(&'b self) -> Box> + 'b> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcap/capture.rs:122:22 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn parse_pcap(i: &[u8]) -> IResult<&[u8], PcapCapture, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ----------- ----- the lifetimes get resolved as `'_` [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] 122 | pub fn parse_pcap(i: &[u8]) -> IResult<&[u8], PcapCapture<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcap/frame.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn parse_pcap_frame(i: &[u8]) -> IResult<&[u8], LegacyPcapBlock, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- --------------- ----- the lifetimes get resolved as `'_` [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] 21 | pub fn parse_pcap_frame(i: &[u8]) -> IResult<&[u8], LegacyPcapBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcap/frame.rs:44:31 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn parse_pcap_frame_be(i: &[u8]) -> IResult<&[u8], LegacyPcapBlock, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- --------------- ----- the lifetimes get resolved as `'_` [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] 44 | pub fn parse_pcap_frame_be(i: &[u8]) -> IResult<&[u8], LegacyPcapBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcap/frame.rs:67:37 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn parse_pcap_frame_modified(i: &[u8]) -> IResult<&[u8], LegacyPcapBlock, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- --------------- ----- the lifetimes get resolved as `'_` [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] 67 | pub fn parse_pcap_frame_modified(i: &[u8]) -> IResult<&[u8], LegacyPcapBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcap/reader.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | fn next(&mut self) -> Result<(usize, PcapBlockOwned), PcapError<&'_ [u8]>> { [INFO] [stdout] | ^^^^^^^^^ -------------- -- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [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] 133 - fn next(&mut self) -> Result<(usize, PcapBlockOwned), PcapError<&'_ [u8]>> { [INFO] [stdout] 133 + fn next(&mut self) -> Result<(usize, PcapBlockOwned<'_>), PcapError<&[u8]>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/block.rs:56:26 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn parse_block_le(i: &[u8]) -> IResult<&[u8], Block, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ----- ----- the lifetimes get resolved as `'_` [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] 56 | pub fn parse_block_le(i: &[u8]) -> IResult<&[u8], Block<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/block.rs:89:26 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn parse_block_be(i: &[u8]) -> IResult<&[u8], Block, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ----- ----- the lifetimes get resolved as `'_` [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] 89 | pub fn parse_block_be(i: &[u8]) -> IResult<&[u8], Block<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/capture.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_slice(i: &[u8]) -> Result>> { [INFO] [stdout] | ^^^^^ ----------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [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] 37 | pub fn from_slice(i: &[u8]) -> Result, nom::Err>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/capture.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn from_file(i: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^ ------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [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] 104 | pub fn from_file(i: &[u8]) -> Result, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/capture.rs:122:24 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn parse_pcapng(i: &[u8]) -> IResult<&[u8], PcapNGCapture, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ------------- ----- the lifetimes get resolved as `'_` [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] 122 | pub fn parse_pcapng(i: &[u8]) -> IResult<&[u8], PcapNGCapture<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/option.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | i: &'i [u8], [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 112 | ) -> IResult<&'i [u8], PcapNGOption, E> { [INFO] [stdout] | -- ------------ the lifetimes get resolved as `'i` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'i` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'i` [INFO] [stdout] | [INFO] [stdout] 112 | ) -> IResult<&'i [u8], PcapNGOption<'i>, E> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/option.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | i: &'i [u8], [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 120 | ) -> IResult<&'i [u8], PcapNGOption, E> { [INFO] [stdout] | -- ------------ the lifetimes get resolved as `'i` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'i` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'i` [INFO] [stdout] | [INFO] [stdout] 120 | ) -> IResult<&'i [u8], PcapNGOption<'i>, E> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/option.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | i: &'i [u8], [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 126 | ) -> IResult<&'i [u8], PcapNGOption, E> { [INFO] [stdout] | -- ------------ the lifetimes get resolved as `'i` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'i` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'i` [INFO] [stdout] | [INFO] [stdout] 126 | ) -> IResult<&'i [u8], PcapNGOption<'i>, E> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/option.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | i: &'i [u8], [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 142 | ) -> IResult<&'i [u8], Vec, E> { [INFO] [stdout] | -- ------------ the lifetimes get resolved as `'i` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'i` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'i` [INFO] [stdout] | [INFO] [stdout] 142 | ) -> IResult<&'i [u8], Vec>, E> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/reader.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | fn next(&mut self) -> Result<(usize, PcapBlockOwned), PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^^^^^ -------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [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] 149 | fn next(&mut self) -> Result<(usize, PcapBlockOwned<'_>), PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/section.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn header(&self) -> Option<&SectionHeaderBlock> { [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] 22 | pub fn header(&self) -> Option<&SectionHeaderBlock<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/section.rs:87:42 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn parse_section_content_block_le(i: &[u8]) -> IResult<&[u8], Block, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ----- ----- the lifetimes get resolved as `'_` [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] 87 | pub fn parse_section_content_block_le(i: &[u8]) -> IResult<&[u8], Block<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/section.rs:96:42 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn parse_section_content_block_be(i: &[u8]) -> IResult<&[u8], Block, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ----- ----- the lifetimes get resolved as `'_` [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] 96 | pub fn parse_section_content_block_be(i: &[u8]) -> IResult<&[u8], Block<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/section.rs:105:25 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn parse_section(i: &[u8]) -> IResult<&[u8], Section, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ------- ----- the lifetimes get resolved as `'_` [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] 105 | pub fn parse_section(i: &[u8]) -> IResult<&[u8], Section<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/section.rs:122:26 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn parse_sections(i: &[u8]) -> IResult<&[u8], Vec
, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ------- ----- the lifetimes get resolved as `'_` [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] 122 | pub fn parse_sections(i: &[u8]) -> IResult<&[u8], Vec>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/custom.rs:75:32 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn parse_customblock_le(i: &[u8]) -> IResult<&[u8], CustomBlock, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ----------- ----- the lifetimes get resolved as `'_` [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] 75 | pub fn parse_customblock_le(i: &[u8]) -> IResult<&[u8], CustomBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/custom.rs:81:32 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn parse_customblock_be(i: &[u8]) -> IResult<&[u8], CustomBlock, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ----------- ----- the lifetimes get resolved as `'_` [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 parse_customblock_be(i: &[u8]) -> IResult<&[u8], CustomBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/custom.rs:87:24 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn parse_dcb_le(i: &[u8]) -> IResult<&[u8], CustomBlock, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ----------- ----- the lifetimes get resolved as `'_` [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] 87 | pub fn parse_dcb_le(i: &[u8]) -> IResult<&[u8], CustomBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/custom.rs:93:24 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn parse_dcb_be(i: &[u8]) -> IResult<&[u8], CustomBlock, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ----------- ----- the lifetimes get resolved as `'_` [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] 93 | pub fn parse_dcb_be(i: &[u8]) -> IResult<&[u8], CustomBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/decryption_secrets.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | i: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 78 | ) -> IResult<&[u8], DecryptionSecretsBlock, PcapError<&[u8]>> { [INFO] [stdout] | ----- ---------------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [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] 78 | ) -> IResult<&[u8], DecryptionSecretsBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/decryption_secrets.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | i: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 86 | ) -> IResult<&[u8], DecryptionSecretsBlock, PcapError<&[u8]>> { [INFO] [stdout] | ----- ---------------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [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] 86 | ) -> IResult<&[u8], DecryptionSecretsBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/enhanced_packet.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 153 | i: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 154 | ) -> IResult<&[u8], EnhancedPacketBlock, PcapError<&[u8]>> { [INFO] [stdout] | ----- ------------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [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] 154 | ) -> IResult<&[u8], EnhancedPacketBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/enhanced_packet.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | i: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 161 | ) -> IResult<&[u8], EnhancedPacketBlock, PcapError<&[u8]>> { [INFO] [stdout] | ----- ------------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [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] 161 | ) -> IResult<&[u8], EnhancedPacketBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/interface_description.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | i: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 81 | ) -> IResult<&[u8], InterfaceDescriptionBlock, PcapError<&[u8]>> { [INFO] [stdout] | ----- ------------------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [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 | ) -> IResult<&[u8], InterfaceDescriptionBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/interface_description.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | i: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 88 | ) -> IResult<&[u8], InterfaceDescriptionBlock, PcapError<&[u8]>> { [INFO] [stdout] | ----- ------------------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [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] 88 | ) -> IResult<&[u8], InterfaceDescriptionBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/interface_statistics.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | i: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 60 | ) -> IResult<&[u8], InterfaceStatisticsBlock, PcapError<&[u8]>> { [INFO] [stdout] | ----- ------------------------ ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [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] 60 | ) -> IResult<&[u8], InterfaceStatisticsBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/interface_statistics.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | i: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 68 | ) -> IResult<&[u8], InterfaceStatisticsBlock, PcapError<&[u8]>> { [INFO] [stdout] | ----- ------------------------ ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [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] 68 | ) -> IResult<&[u8], InterfaceStatisticsBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/name_resolution.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | i: &'a [u8], [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 81 | ) -> IResult<&'a [u8], NameRecord, E> { [INFO] [stdout] | -- ---------- the lifetimes get resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 81 | ) -> IResult<&'a [u8], NameRecord<'a>, E> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/name_resolution.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | i: &'a [u8], [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 95 | ) -> IResult<&'a [u8], Vec, E> { [INFO] [stdout] | -- ---------- the lifetimes get resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 95 | ) -> IResult<&'a [u8], Vec>, E> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/name_resolution.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | i: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 109 | ) -> IResult<&[u8], NameResolutionBlock, PcapError<&[u8]>> { [INFO] [stdout] | ----- ------------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [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] 109 | ) -> IResult<&[u8], NameResolutionBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/name_resolution.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | i: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 117 | ) -> IResult<&[u8], NameResolutionBlock, PcapError<&[u8]>> { [INFO] [stdout] | ----- ------------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [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] 117 | ) -> IResult<&[u8], NameResolutionBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/process_information.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | i: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 52 | ) -> IResult<&[u8], ProcessInformationBlock, PcapError<&[u8]>> { [INFO] [stdout] | ----- ----------------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [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] 52 | ) -> IResult<&[u8], ProcessInformationBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/process_information.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | i: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 60 | ) -> IResult<&[u8], ProcessInformationBlock, PcapError<&[u8]>> { [INFO] [stdout] | ----- ----------------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [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] 60 | ) -> IResult<&[u8], ProcessInformationBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/section_header.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | i: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 101 | ) -> IResult<&[u8], SectionHeaderBlock, PcapError<&[u8]>> { [INFO] [stdout] | ----- ------------------ ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [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] 101 | ) -> IResult<&[u8], SectionHeaderBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/section_header.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | i: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 108 | ) -> IResult<&[u8], SectionHeaderBlock, PcapError<&[u8]>> { [INFO] [stdout] | ----- ------------------ ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [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] 108 | ) -> IResult<&[u8], SectionHeaderBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/section_header.rs:113:36 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn parse_sectionheaderblock(i: &[u8]) -> IResult<&[u8], SectionHeaderBlock, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ------------------ ----- the lifetimes get resolved as `'_` [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] 113 | pub fn parse_sectionheaderblock(i: &[u8]) -> IResult<&[u8], SectionHeaderBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/simple_packet.rs:82:38 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn parse_simplepacketblock_le(i: &[u8]) -> IResult<&[u8], SimplePacketBlock, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ----------------- ----- the lifetimes get resolved as `'_` [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] 82 | pub fn parse_simplepacketblock_le(i: &[u8]) -> IResult<&[u8], SimplePacketBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/simple_packet.rs:89:38 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn parse_simplepacketblock_be(i: &[u8]) -> IResult<&[u8], SimplePacketBlock, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ----------------- ----- the lifetimes get resolved as `'_` [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] 89 | pub fn parse_simplepacketblock_be(i: &[u8]) -> IResult<&[u8], SimplePacketBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/systemd_journal_export.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | i: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 43 | ) -> IResult<&[u8], SystemdJournalExportBlock, PcapError<&[u8]>> { [INFO] [stdout] | ----- ------------------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [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] 43 | ) -> IResult<&[u8], SystemdJournalExportBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/systemd_journal_export.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | i: &[u8], [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 51 | ) -> IResult<&[u8], SystemdJournalExportBlock, PcapError<&[u8]>> { [INFO] [stdout] | ----- ------------------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [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] 51 | ) -> IResult<&[u8], SystemdJournalExportBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/unknown.rs:40:33 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn parse_unknownblock_le(i: &[u8]) -> IResult<&[u8], UnknownBlock, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ------------ ----- the lifetimes get resolved as `'_` [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] 40 | pub fn parse_unknownblock_le(i: &[u8]) -> IResult<&[u8], UnknownBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pcapng/unknown.rs:45:33 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn parse_unknownblock_be(i: &[u8]) -> IResult<&[u8], UnknownBlock, PcapError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ------------ ----- the lifetimes get resolved as `'_` [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] 45 | pub fn parse_unknownblock_be(i: &[u8]) -> IResult<&[u8], UnknownBlock<'_>, PcapError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/traits.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | fn next(&mut self) -> Result<(usize, PcapBlockOwned), PcapError<&[u8]>>; [INFO] [stdout] | ^^^^^^^^^ -------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [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] 105 | fn next(&mut self) -> Result<(usize, PcapBlockOwned<'_>), PcapError<&[u8]>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "777b7b866b7519cec5d788be08fe600b581db44240fc120f43138edbefd6ccef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "777b7b866b7519cec5d788be08fe600b581db44240fc120f43138edbefd6ccef", kill_on_drop: false }` [INFO] [stdout] 777b7b866b7519cec5d788be08fe600b581db44240fc120f43138edbefd6ccef