[INFO] fetching crate pcap-file 3.0.0-rc1... [INFO] testing pcap-file-3.0.0-rc1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [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 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 77 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.4.0 (available: v0.7.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded derive-into-owned v0.2.0 [INFO] [stderr] Downloaded byteorder_slice v3.0.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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b3e07b6586504877dd9225be5d9c9e349a2dfc9a17b7ef749a0fa28e3eaedfd9 [INFO] running `Command { std: "docker" "start" "-a" "b3e07b6586504877dd9225be5d9c9e349a2dfc9a17b7ef749a0fa28e3eaedfd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b3e07b6586504877dd9225be5d9c9e349a2dfc9a17b7ef749a0fa28e3eaedfd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3e07b6586504877dd9225be5d9c9e349a2dfc9a17b7ef749a0fa28e3eaedfd9", kill_on_drop: false }` [INFO] [stdout] b3e07b6586504877dd9225be5d9c9e349a2dfc9a17b7ef749a0fa28e3eaedfd9 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f40c93efb7c96a1f178cc4abb9b2ba225391129211bac24a1f83f737502d68af [INFO] running `Command { std: "docker" "start" "-a" "f40c93efb7c96a1f178cc4abb9b2ba225391129211bac24a1f83f737502d68af", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling byteorder_slice v3.0.0 [INFO] [stderr] Compiling derive-into-owned v0.2.0 [INFO] [stderr] Compiling 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pcap/reader.rs:59:24 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn next_packet(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 59 | pub fn next_packet(&mut self) -> Option, PcapError>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 74 | pub fn next_raw_packet(&mut self) -> Option, PcapError>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is 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 same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: 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: eliding a lifetime that's named elsewhere is 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 same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: eliding a lifetime that's named elsewhere is 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 same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 144 | pub fn packet_interface(&self, packet: &EnhancedPacketBlock) -> Option<&InterfaceDescriptionBlock<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pcapng/reader.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn next_block(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^ ----- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 47 | pub fn next_block(&mut self) -> Option, PcapError>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 62 | pub fn next_raw_block(&mut self) -> Option, PcapError>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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 5.09s [INFO] running `Command { std: "docker" "inspect" "f40c93efb7c96a1f178cc4abb9b2ba225391129211bac24a1f83f737502d68af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f40c93efb7c96a1f178cc4abb9b2ba225391129211bac24a1f83f737502d68af", kill_on_drop: false }` [INFO] [stdout] f40c93efb7c96a1f178cc4abb9b2ba225391129211bac24a1f83f737502d68af [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d338f95ebee68a5fb7045a08d954d421995346b8aca946f2287c5a9db9e9d385 [INFO] running `Command { std: "docker" "start" "-a" "d338f95ebee68a5fb7045a08d954d421995346b8aca946f2287c5a9db9e9d385", kill_on_drop: false }` [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling ciborium v0.2.2 [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pcap/reader.rs:59:24 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn next_packet(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 59 | pub fn next_packet(&mut self) -> Option, PcapError>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 74 | pub fn next_raw_packet(&mut self) -> Option, PcapError>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is 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 same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: 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: eliding a lifetime that's named elsewhere is 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 same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: eliding a lifetime that's named elsewhere is 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 same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 144 | pub fn packet_interface(&self, packet: &EnhancedPacketBlock) -> Option<&InterfaceDescriptionBlock<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pcapng/reader.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn next_block(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^ ----- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 47 | pub fn next_block(&mut self) -> Option, PcapError>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 62 | pub fn next_raw_block(&mut self) -> Option, PcapError>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 87 | pub fn packet_interface(&self, packet: &EnhancedPacketBlock) -> Option<&InterfaceDescriptionBlock<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling criterion v0.4.0 [INFO] [stderr] Compiling 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pcap/reader.rs:59:24 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn next_packet(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 59 | pub fn next_packet(&mut self) -> Option, PcapError>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 74 | pub fn next_raw_packet(&mut self) -> Option, PcapError>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is 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 same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: 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: eliding a lifetime that's named elsewhere is 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 same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: eliding a lifetime that's named elsewhere is 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 same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 144 | pub fn packet_interface(&self, packet: &EnhancedPacketBlock) -> Option<&InterfaceDescriptionBlock<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pcapng/reader.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn next_block(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^ ----- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 47 | pub fn next_block(&mut self) -> Option, PcapError>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 62 | pub fn next_raw_block(&mut self) -> Option, PcapError>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 87 | pub fn packet_interface(&self, packet: &EnhancedPacketBlock) -> Option<&InterfaceDescriptionBlock<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 32.05s [INFO] running `Command { std: "docker" "inspect" "d338f95ebee68a5fb7045a08d954d421995346b8aca946f2287c5a9db9e9d385", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d338f95ebee68a5fb7045a08d954d421995346b8aca946f2287c5a9db9e9d385", kill_on_drop: false }` [INFO] [stdout] d338f95ebee68a5fb7045a08d954d421995346b8aca946f2287c5a9db9e9d385 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 197de48f168881b0bbdbbab269043c1021d4252f7950be88828e88fc87d63eaa [INFO] running `Command { std: "docker" "start" "-a" "197de48f168881b0bbdbbab269043c1021d4252f7950be88828e88fc87d63eaa", kill_on_drop: false }` [INFO] [stderr] warning: trait `RuntimeByteorder` is never used [INFO] [stderr] --> src/common.rs:58:18 [INFO] [stderr] | [INFO] [stderr] 58 | pub(crate) trait RuntimeByteorder: ByteOrder { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/pcap/reader.rs:59:24 [INFO] [stderr] | [INFO] [stderr] 59 | pub fn next_packet(&mut self) -> Option> { [INFO] [stderr] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 59 | pub fn next_packet(&mut self) -> Option, PcapError>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/pcap/reader.rs:74:28 [INFO] [stderr] | [INFO] [stderr] 74 | pub fn next_raw_packet(&mut self) -> Option> { [INFO] [stderr] | ^^^^^^^^^ ------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 74 | pub fn next_raw_packet(&mut self) -> Option, PcapError>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/pcapng/blocks/block_common.rs:387:41 [INFO] [stderr] | [INFO] [stderr] 387 | fn from_slice(slice: &'a [u8]) -> Result<(&[u8], Self), PcapError> [INFO] [stderr] | ^^ ----- the same lifetime is elided here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 387 | fn from_slice(slice: &'a [u8]) -> Result<(&'a [u8], Self), PcapError> [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/pcapng/blocks/interface_statistics.rs:36:45 [INFO] [stderr] | [INFO] [stderr] 36 | fn from_slice(mut slice: &'a [u8]) -> Result<(&[u8], Self), PcapError> { [INFO] [stderr] | ^^ ----- the same lifetime is elided here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 36 | fn from_slice(mut slice: &'a [u8]) -> Result<(&'a [u8], Self), PcapError> { [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/pcapng/blocks/section_header.rs:64:49 [INFO] [stderr] | [INFO] [stderr] 64 | fn parse_inner(mut slice: &[u8]) -> Result<(&[u8], u16, u16, i64, Vec), PcapError> { [INFO] [stderr] | ^^^^^ ----- ------------------- the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 64 | fn parse_inner(mut slice: &[u8]) -> Result<(&[u8], u16, u16, i64, Vec>), PcapError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/pcapng/blocks/unknown.rs:32:42 [INFO] [stderr] | [INFO] [stderr] 32 | fn from_slice(_slice: &'a [u8]) -> Result<(&[u8], Self), PcapError> [INFO] [stderr] | ^^ ----- the same lifetime is elided here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 32 | fn from_slice(_slice: &'a [u8]) -> Result<(&'a [u8], Self), PcapError> [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/pcapng/parser.rs:144:29 [INFO] [stderr] | [INFO] [stderr] 144 | pub fn packet_interface(&self, packet: &EnhancedPacketBlock) -> Option<&InterfaceDescriptionBlock> { [INFO] [stderr] | ^^^^^ -------------------------- [INFO] [stderr] | | || [INFO] [stderr] | | |the same lifetime is hidden here [INFO] [stderr] | the lifetime is elided here the same lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 144 | pub fn packet_interface(&self, packet: &EnhancedPacketBlock) -> Option<&InterfaceDescriptionBlock<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/pcapng/reader.rs:47:23 [INFO] [stderr] | [INFO] [stderr] 47 | pub fn next_block(&mut self) -> Option> { [INFO] [stderr] | ^^^^^^^^^ ----- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 47 | pub fn next_block(&mut self) -> Option, PcapError>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/pcapng/reader.rs:62:27 [INFO] [stderr] | [INFO] [stderr] 62 | pub fn next_raw_block(&mut self) -> Option> { [INFO] [stderr] | ^^^^^^^^^ -------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 62 | pub fn next_raw_block(&mut self) -> Option, PcapError>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/pcapng/reader.rs:87:29 [INFO] [stderr] | [INFO] [stderr] 87 | pub fn packet_interface(&self, packet: &EnhancedPacketBlock) -> Option<&InterfaceDescriptionBlock> { [INFO] [stderr] | ^^^^^ -------------------------- [INFO] [stderr] | | || [INFO] [stderr] | | |the same lifetime is hidden here [INFO] [stderr] | the lifetime is elided here the same lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 87 | pub fn packet_interface(&self, packet: &EnhancedPacketBlock) -> Option<&InterfaceDescriptionBlock<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `pcap-file` (lib) generated 11 warnings (run `cargo fix --lib -p pcap-file` to apply 10 suggestions) [INFO] [stderr] warning: `pcap-file` (lib test) generated 11 warnings (11 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pcap_file-0fdea75cfac007ea) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests pcap_file [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test src/pcap/header.rs - pcap::header::PcapHeader (line 114) ... ignored [INFO] [stdout] test src/pcap/writer.rs - pcap::writer::PcapWriter::new (line 48) ... ignored [INFO] [stdout] test src/pcap/parser.rs - pcap::parser::PcapParser (line 14) - compile ... ok [INFO] [stdout] test src/pcapng/writer.rs - pcapng::writer::PcapNgWriter::new (line 54) ... ignored [INFO] [stdout] test src/pcapng/parser.rs - pcapng::parser::PcapNgParser (line 17) - compile ... ok [INFO] [stdout] test src/lib.rs - readme_compile_exemples (line 55) - compile ... ok [INFO] [stdout] test src/pcapng/writer.rs - pcapng::writer::PcapNgWriter::write_block (line 91) - compile ... ok [INFO] [stdout] test src/pcapng/reader.rs - pcapng::reader::PcapNgReader (line 15) - compile ... ok [INFO] [stdout] test src/pcapng/writer.rs - pcapng::writer::PcapNgWriter (line 16) - compile ... ok [INFO] [stdout] test src/lib.rs - readme_compile_exemples (line 73) - compile ... ok [INFO] [stdout] test src/pcap/writer.rs - pcap::writer::PcapWriter (line 14) - compile ... ok [INFO] [stdout] test src/pcap/reader.rs - pcap::reader::PcapReader (line 13) - compile ... ok [INFO] [stdout] test src/pcapng/writer.rs - pcapng::writer::PcapNgWriter::write_pcapng_block (line 158) - compile ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 3 ignored; 0 measured; 0 filtered out; finished in 0.63s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "197de48f168881b0bbdbbab269043c1021d4252f7950be88828e88fc87d63eaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "197de48f168881b0bbdbbab269043c1021d4252f7950be88828e88fc87d63eaa", kill_on_drop: false }` [INFO] [stdout] 197de48f168881b0bbdbbab269043c1021d4252f7950be88828e88fc87d63eaa