[INFO] fetching crate pcap-file 3.0.0-rc1... [INFO] checking pcap-file-3.0.0-rc1 against master#8f21a5c92ea55c348c275a1bc4fedbdf181e0d64 for pr-143011 [INFO] extracting crate pcap-file 3.0.0-rc1 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate pcap-file 3.0.0-rc1 [INFO] finished tweaking crates.io crate pcap-file 3.0.0-rc1 [INFO] tweaked toml for crates.io crate pcap-file 3.0.0-rc1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pcap-file 3.0.0-rc1 on toolchain 8f21a5c92ea55c348c275a1bc4fedbdf181e0d64 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 84 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.4.0 (available: v0.6.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.12) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-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" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad4d82c57ca0c35f4be11477a744f96da360d9af89187e9d7828fe01b76e782c [INFO] running `Command { std: "docker" "start" "-a" "ad4d82c57ca0c35f4be11477a744f96da360d9af89187e9d7828fe01b76e782c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad4d82c57ca0c35f4be11477a744f96da360d9af89187e9d7828fe01b76e782c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad4d82c57ca0c35f4be11477a744f96da360d9af89187e9d7828fe01b76e782c", kill_on_drop: false }` [INFO] [stdout] ad4d82c57ca0c35f4be11477a744f96da360d9af89187e9d7828fe01b76e782c [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" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 23d103aa7067fc8345e4711365d108b251c78b3ff650d49893690b95d9ccfd2d [INFO] running `Command { std: "docker" "start" "-a" "23d103aa7067fc8345e4711365d108b251c78b3ff650d49893690b95d9ccfd2d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking textwrap v0.16.2 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking byteorder_slice v3.0.0 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking glob v0.3.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling derive-into-owned v0.2.0 [INFO] [stderr] Checking pcap-file v3.0.0-rc1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait `RuntimeByteorder` is never used [INFO] [stdout] --> src/common.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | pub(crate) trait RuntimeByteorder: ByteOrder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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:59:24 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn next_packet(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 59 | pub fn next_packet(&mut self) -> Option, PcapError>> { [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:74:28 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn next_raw_packet(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [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] 74 | pub fn next_raw_packet(&mut self) -> Option, PcapError>> { [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/blocks/block_common.rs:387:41 [INFO] [stdout] | [INFO] [stdout] 387 | fn from_slice(slice: &'a [u8]) -> Result<(&[u8], Self), PcapError> [INFO] [stdout] | ^^ ----- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 387 | fn from_slice(slice: &'a [u8]) -> Result<(&'a [u8], Self), PcapError> [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/blocks/interface_statistics.rs:36:45 [INFO] [stdout] | [INFO] [stdout] 36 | fn from_slice(mut slice: &'a [u8]) -> Result<(&[u8], Self), PcapError> { [INFO] [stdout] | ^^ ----- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 36 | fn from_slice(mut slice: &'a [u8]) -> Result<(&'a [u8], Self), PcapError> { [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/blocks/section_header.rs:64:49 [INFO] [stdout] | [INFO] [stdout] 64 | fn parse_inner(mut slice: &[u8]) -> Result<(&[u8], u16, u16, i64, Vec), PcapError> { [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] 64 | fn parse_inner(mut slice: &[u8]) -> Result<(&[u8], u16, u16, i64, Vec>), PcapError> { [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/blocks/unknown.rs:32:42 [INFO] [stdout] | [INFO] [stdout] 32 | fn from_slice(_slice: &'a [u8]) -> Result<(&[u8], Self), PcapError> [INFO] [stdout] | ^^ ----- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 32 | fn from_slice(_slice: &'a [u8]) -> Result<(&'a [u8], Self), PcapError> [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/parser.rs:144:29 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn packet_interface(&self, packet: &EnhancedPacketBlock) -> Option<&InterfaceDescriptionBlock> { [INFO] [stdout] | ^^^^^ -------------------------- [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output 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] 144 | pub fn packet_interface(&self, packet: &EnhancedPacketBlock) -> Option<&InterfaceDescriptionBlock<'_>> { [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:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn next_block(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [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] 47 | pub fn next_block(&mut self) -> Option, PcapError>> { [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:62:27 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn next_raw_block(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [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] 62 | pub fn next_raw_block(&mut self) -> Option, PcapError>> { [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:87:29 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn packet_interface(&self, packet: &EnhancedPacketBlock) -> Option<&InterfaceDescriptionBlock> { [INFO] [stdout] | ^^^^^ -------------------------- [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output 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] 87 | pub fn packet_interface(&self, packet: &EnhancedPacketBlock) -> Option<&InterfaceDescriptionBlock<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.4.0 [INFO] [stdout] warning: trait `RuntimeByteorder` is never used [INFO] [stdout] --> src/common.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | pub(crate) trait RuntimeByteorder: ByteOrder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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:59:24 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn next_packet(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 59 | pub fn next_packet(&mut self) -> Option, PcapError>> { [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:74:28 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn next_raw_packet(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [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] 74 | pub fn next_raw_packet(&mut self) -> Option, PcapError>> { [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/blocks/block_common.rs:387:41 [INFO] [stdout] | [INFO] [stdout] 387 | fn from_slice(slice: &'a [u8]) -> Result<(&[u8], Self), PcapError> [INFO] [stdout] | ^^ ----- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 387 | fn from_slice(slice: &'a [u8]) -> Result<(&'a [u8], Self), PcapError> [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/blocks/interface_statistics.rs:36:45 [INFO] [stdout] | [INFO] [stdout] 36 | fn from_slice(mut slice: &'a [u8]) -> Result<(&[u8], Self), PcapError> { [INFO] [stdout] | ^^ ----- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 36 | fn from_slice(mut slice: &'a [u8]) -> Result<(&'a [u8], Self), PcapError> { [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/blocks/section_header.rs:64:49 [INFO] [stdout] | [INFO] [stdout] 64 | fn parse_inner(mut slice: &[u8]) -> Result<(&[u8], u16, u16, i64, Vec), PcapError> { [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] 64 | fn parse_inner(mut slice: &[u8]) -> Result<(&[u8], u16, u16, i64, Vec>), PcapError> { [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/blocks/unknown.rs:32:42 [INFO] [stdout] | [INFO] [stdout] 32 | fn from_slice(_slice: &'a [u8]) -> Result<(&[u8], Self), PcapError> [INFO] [stdout] | ^^ ----- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 32 | fn from_slice(_slice: &'a [u8]) -> Result<(&'a [u8], Self), PcapError> [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/parser.rs:144:29 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn packet_interface(&self, packet: &EnhancedPacketBlock) -> Option<&InterfaceDescriptionBlock> { [INFO] [stdout] | ^^^^^ -------------------------- [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output 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] 144 | pub fn packet_interface(&self, packet: &EnhancedPacketBlock) -> Option<&InterfaceDescriptionBlock<'_>> { [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:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn next_block(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [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] 47 | pub fn next_block(&mut self) -> Option, PcapError>> { [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:62:27 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn next_raw_block(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [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] 62 | pub fn next_raw_block(&mut self) -> Option, PcapError>> { [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:87:29 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn packet_interface(&self, packet: &EnhancedPacketBlock) -> Option<&InterfaceDescriptionBlock> { [INFO] [stdout] | ^^^^^ -------------------------- [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output 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] 87 | pub fn packet_interface(&self, packet: &EnhancedPacketBlock) -> Option<&InterfaceDescriptionBlock<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.74s [INFO] running `Command { std: "docker" "inspect" "23d103aa7067fc8345e4711365d108b251c78b3ff650d49893690b95d9ccfd2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23d103aa7067fc8345e4711365d108b251c78b3ff650d49893690b95d9ccfd2d", kill_on_drop: false }` [INFO] [stdout] 23d103aa7067fc8345e4711365d108b251c78b3ff650d49893690b95d9ccfd2d