[INFO] cloning repository https://github.com/iyicanme/pcap-flow-splitter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iyicanme/pcap-flow-splitter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiyicanme%2Fpcap-flow-splitter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiyicanme%2Fpcap-flow-splitter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 529b9901e59a31c220cbbd835f986bfc63e6cb17 [INFO] testing iyicanme/pcap-flow-splitter against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiyicanme%2Fpcap-flow-splitter" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/iyicanme/pcap-flow-splitter [INFO] finished tweaking git repo https://github.com/iyicanme/pcap-flow-splitter [INFO] tweaked toml for git repo https://github.com/iyicanme/pcap-flow-splitter written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/iyicanme/pcap-flow-splitter on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/iyicanme/pcap-flow-splitter 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e521e7f71577c9b1639d880eb091cf18a6bc7bbc39cc609b0d74daaaac314a73 [INFO] running `Command { std: "docker" "start" "-a" "e521e7f71577c9b1639d880eb091cf18a6bc7bbc39cc609b0d74daaaac314a73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e521e7f71577c9b1639d880eb091cf18a6bc7bbc39cc609b0d74daaaac314a73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e521e7f71577c9b1639d880eb091cf18a6bc7bbc39cc609b0d74daaaac314a73", kill_on_drop: false }` [INFO] [stdout] e521e7f71577c9b1639d880eb091cf18a6bc7bbc39cc609b0d74daaaac314a73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8068d7f56bdc4aaa25a8062eb6230595c84df79324ecf8f984e723aa7fe4b584 [INFO] running `Command { std: "docker" "start" "-a" "8068d7f56bdc4aaa25a8062eb6230595c84df79324ecf8f984e723aa7fe4b584", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling clap_builder v4.5.11 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling compact_str v0.8.0 [INFO] [stderr] Compiling lru v0.12.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling instability v0.3.2 [INFO] [stderr] Compiling clap_derive v4.5.11 [INFO] [stderr] Compiling clap v4.5.11 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling ratatui v0.28.2-alpha.0 [INFO] [stderr] Compiling pcap_flow_splitter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `WriteOnlyCapture` is never constructed [INFO] [stdout] --> src/capture.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct WriteOnlyCapture { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `create` and `put` are never used [INFO] [stdout] --> src/capture.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl WriteOnlyCapture { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 60 | pub fn create(path: impl AsRef, header: CaptureHeader) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn put(&mut self, packet_header: PacketHeader, packet: &Packet) -> Result<(), Error> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WriteFile` is never constructed [INFO] [stdout] --> src/capture_file.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct WriteFile { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `create` and `write` are never used [INFO] [stdout] --> src/capture_file.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl WriteFile { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 37 | pub fn create(path: impl AsRef) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn write(&mut self, buffer: &[u8]) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `compose` is never used [INFO] [stdout] --> src/capture_header.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl CaptureHeader { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn compose(&self) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_u64` is never used [INFO] [stdout] --> src/endianness_aware_cursor.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl<'a> ReadOnlyEndiannessAwareCursor<'a> { [INFO] [stdout] | ------------------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn get_u64(&mut self) -> u64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WriteOnlyEndiannessAwareCursor` is never constructed [INFO] [stdout] --> src/endianness_aware_cursor.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct WriteOnlyEndiannessAwareCursor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/endianness_aware_cursor.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 61 | impl WriteOnlyEndiannessAwareCursor { [INFO] [stdout] | ----------------------------------- associated items in this implementation [INFO] [stdout] 62 | pub const fn new(endianness: Endianness) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn advance(&mut self, advancement: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn into_vec(self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn put_u8(&mut self, value: u8) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn put_u16(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn put_u32(&mut self, value: u32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn put_u64(&mut self, value: u64) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn put_u128(&mut self, value: u128) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | OpenCaptureFile(IoError), [INFO] [stdout] | --------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 - OpenCaptureFile(IoError), [INFO] [stdout] 6 + OpenCaptureFile(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | CaptureFileRead(IoError), [INFO] [stdout] | --------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 - CaptureFileRead(IoError), [INFO] [stdout] 7 + CaptureFileRead(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | UnknownMagicNumber(u32), [INFO] [stdout] | ------------------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 - UnknownMagicNumber(u32), [INFO] [stdout] 10 + UnknownMagicNumber(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | UnknownLinkLayerType(u32), [INFO] [stdout] | -------------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 - UnknownLinkLayerType(u32), [INFO] [stdout] 11 + UnknownLinkLayerType(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | TuiSetup(IoError), [INFO] [stdout] | -------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 - TuiSetup(IoError), [INFO] [stdout] 12 + TuiSetup(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | TuiDraw(IoError), [INFO] [stdout] | ------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 - TuiDraw(IoError), [INFO] [stdout] 13 + TuiDraw(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | TuiTeardown(IoError), [INFO] [stdout] | ----------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 - TuiTeardown(IoError), [INFO] [stdout] 14 + TuiTeardown(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | UnknownNetworkLayerType(u16), [INFO] [stdout] | ----------------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 - UnknownNetworkLayerType(u16), [INFO] [stdout] 15 + UnknownNetworkLayerType(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | UnknownTransportLayerType(u8), [INFO] [stdout] | ------------------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 - UnknownTransportLayerType(u8), [INFO] [stdout] 16 + UnknownTransportLayerType(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:17:39 [INFO] [stdout] | [INFO] [stdout] 17 | UnknownIPv6AdditionalHeaderLength(u8), [INFO] [stdout] | --------------------------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 17 - UnknownIPv6AdditionalHeaderLength(u8), [INFO] [stdout] 17 + UnknownIPv6AdditionalHeaderLength(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | ReadEnv(IoError), [INFO] [stdout] | ------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 18 - ReadEnv(IoError), [INFO] [stdout] 18 + ReadEnv(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | ReadDirContent(IoError), [INFO] [stdout] | -------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 19 - ReadDirContent(IoError), [INFO] [stdout] 19 + ReadDirContent(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | TuiReadInput(IoError), [INFO] [stdout] | ------------ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 20 - TuiReadInput(IoError), [INFO] [stdout] 20 + TuiReadInput(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `CaptureFileCreate` and `CaptureFileWrite` are never constructed [INFO] [stdout] --> src/error.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 8 | CaptureFileCreate(IoError), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | CaptureFileWrite(IoError), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `compose` is never used [INFO] [stdout] --> src/packet_header.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl PacketHeader { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn compose(&self, endianness: Endianness) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui/directory.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | pub const fn iter(&self) -> DirectoryContentIterator { [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] 35 | pub const fn iter(&self) -> DirectoryContentIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui/flow.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn iter(&self, index: usize) -> PacketIterator { [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] 72 | pub fn iter(&self, index: usize) -> PacketIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui/flow.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn keys(&self) -> NameIterator { [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] 92 | pub fn keys(&self) -> NameIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.52s [INFO] running `Command { std: "docker" "inspect" "8068d7f56bdc4aaa25a8062eb6230595c84df79324ecf8f984e723aa7fe4b584", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8068d7f56bdc4aaa25a8062eb6230595c84df79324ecf8f984e723aa7fe4b584", kill_on_drop: false }` [INFO] [stdout] 8068d7f56bdc4aaa25a8062eb6230595c84df79324ecf8f984e723aa7fe4b584 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8df815121658b5ef6ff8681a53a73f6ad30cbd81dc6751b15257e5ae59b50c1 [INFO] running `Command { std: "docker" "start" "-a" "d8df815121658b5ef6ff8681a53a73f6ad30cbd81dc6751b15257e5ae59b50c1", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling claim v0.5.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling rand_core v0.9.0-alpha.2 [INFO] [stderr] Compiling rand_chacha v0.9.0-alpha.2 [INFO] [stderr] Compiling rand v0.9.0-alpha.2 [INFO] [stderr] Compiling pcap_flow_splitter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `WriteOnlyCapture` is never constructed [INFO] [stdout] --> src/capture.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct WriteOnlyCapture { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `create` and `put` are never used [INFO] [stdout] --> src/capture.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl WriteOnlyCapture { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 60 | pub fn create(path: impl AsRef, header: CaptureHeader) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn put(&mut self, packet_header: PacketHeader, packet: &Packet) -> Result<(), Error> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_u64` is never used [INFO] [stdout] --> src/endianness_aware_cursor.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl<'a> ReadOnlyEndiannessAwareCursor<'a> { [INFO] [stdout] | ------------------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn get_u64(&mut self) -> u64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `put_u8`, `put_u64`, and `put_u128` are never used [INFO] [stdout] --> src/endianness_aware_cursor.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl WriteOnlyEndiannessAwareCursor { [INFO] [stdout] | ----------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn put_u8(&mut self, value: u8) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn put_u64(&mut self, value: u64) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn put_u128(&mut self, value: u128) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | OpenCaptureFile(IoError), [INFO] [stdout] | --------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 - OpenCaptureFile(IoError), [INFO] [stdout] 6 + OpenCaptureFile(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | CaptureFileRead(IoError), [INFO] [stdout] | --------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 - CaptureFileRead(IoError), [INFO] [stdout] 7 + CaptureFileRead(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | CaptureFileCreate(IoError), [INFO] [stdout] | ----------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 - CaptureFileCreate(IoError), [INFO] [stdout] 8 + CaptureFileCreate(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | CaptureFileWrite(IoError), [INFO] [stdout] | ---------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 - CaptureFileWrite(IoError), [INFO] [stdout] 9 + CaptureFileWrite(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | UnknownMagicNumber(u32), [INFO] [stdout] | ------------------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 - UnknownMagicNumber(u32), [INFO] [stdout] 10 + UnknownMagicNumber(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | UnknownLinkLayerType(u32), [INFO] [stdout] | -------------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 - UnknownLinkLayerType(u32), [INFO] [stdout] 11 + UnknownLinkLayerType(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | TuiSetup(IoError), [INFO] [stdout] | -------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 - TuiSetup(IoError), [INFO] [stdout] 12 + TuiSetup(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | TuiDraw(IoError), [INFO] [stdout] | ------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 - TuiDraw(IoError), [INFO] [stdout] 13 + TuiDraw(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | TuiTeardown(IoError), [INFO] [stdout] | ----------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 - TuiTeardown(IoError), [INFO] [stdout] 14 + TuiTeardown(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | UnknownNetworkLayerType(u16), [INFO] [stdout] | ----------------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 - UnknownNetworkLayerType(u16), [INFO] [stdout] 15 + UnknownNetworkLayerType(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | UnknownTransportLayerType(u8), [INFO] [stdout] | ------------------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 - UnknownTransportLayerType(u8), [INFO] [stdout] 16 + UnknownTransportLayerType(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:17:39 [INFO] [stdout] | [INFO] [stdout] 17 | UnknownIPv6AdditionalHeaderLength(u8), [INFO] [stdout] | --------------------------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 17 - UnknownIPv6AdditionalHeaderLength(u8), [INFO] [stdout] 17 + UnknownIPv6AdditionalHeaderLength(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | ReadEnv(IoError), [INFO] [stdout] | ------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 18 - ReadEnv(IoError), [INFO] [stdout] 18 + ReadEnv(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | ReadDirContent(IoError), [INFO] [stdout] | -------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 19 - ReadDirContent(IoError), [INFO] [stdout] 19 + ReadDirContent(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | TuiReadInput(IoError), [INFO] [stdout] | ------------ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 20 - TuiReadInput(IoError), [INFO] [stdout] 20 + TuiReadInput(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui/directory.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | pub const fn iter(&self) -> DirectoryContentIterator { [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] 35 | pub const fn iter(&self) -> DirectoryContentIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui/flow.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn iter(&self, index: usize) -> PacketIterator { [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] 72 | pub fn iter(&self, index: usize) -> PacketIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui/flow.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn keys(&self) -> NameIterator { [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] 92 | pub fn keys(&self) -> NameIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.79s [INFO] running `Command { std: "docker" "inspect" "d8df815121658b5ef6ff8681a53a73f6ad30cbd81dc6751b15257e5ae59b50c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8df815121658b5ef6ff8681a53a73f6ad30cbd81dc6751b15257e5ae59b50c1", kill_on_drop: false }` [INFO] [stdout] d8df815121658b5ef6ff8681a53a73f6ad30cbd81dc6751b15257e5ae59b50c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1fa84f685573eeb3ebf2ad471242094ff254c4cce8ceb0573cc186f375856bda [INFO] running `Command { std: "docker" "start" "-a" "1fa84f685573eeb3ebf2ad471242094ff254c4cce8ceb0573cc186f375856bda", kill_on_drop: false }` [INFO] [stderr] warning: struct `WriteOnlyCapture` is never constructed [INFO] [stderr] --> src/capture.rs:54:12 [INFO] [stderr] | [INFO] [stderr] 54 | pub struct WriteOnlyCapture { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated items `create` and `put` are never used [INFO] [stderr] --> src/capture.rs:60:12 [INFO] [stderr] | [INFO] [stderr] 59 | impl WriteOnlyCapture { [INFO] [stderr] | --------------------- associated items in this implementation [INFO] [stderr] 60 | pub fn create(path: impl AsRef, header: CaptureHeader) -> Result { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 73 | pub fn put(&mut self, packet_header: PacketHeader, packet: &Packet) -> Result<(), Error> { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: method `get_u64` is never used [INFO] [stderr] --> src/endianness_aware_cursor.rs:41:12 [INFO] [stderr] | [INFO] [stderr] 10 | impl<'a> ReadOnlyEndiannessAwareCursor<'a> { [INFO] [stderr] | ------------------------------------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 41 | pub fn get_u64(&mut self) -> u64 { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `put_u8`, `put_u64`, and `put_u128` are never used [INFO] [stderr] --> src/endianness_aware_cursor.rs:79:12 [INFO] [stderr] | [INFO] [stderr] 61 | impl WriteOnlyEndiannessAwareCursor { [INFO] [stderr] | ----------------------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 79 | pub fn put_u8(&mut self, value: u8) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 97 | pub fn put_u64(&mut self, value: u64) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 104 | pub fn put_u128(&mut self, value: u128) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:6:21 [INFO] [stderr] | [INFO] [stderr] 6 | OpenCaptureFile(IoError), [INFO] [stderr] | --------------- ^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 6 - OpenCaptureFile(IoError), [INFO] [stderr] 6 + OpenCaptureFile(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:7:21 [INFO] [stderr] | [INFO] [stderr] 7 | CaptureFileRead(IoError), [INFO] [stderr] | --------------- ^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 7 - CaptureFileRead(IoError), [INFO] [stderr] 7 + CaptureFileRead(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:8:23 [INFO] [stderr] | [INFO] [stderr] 8 | CaptureFileCreate(IoError), [INFO] [stderr] | ----------------- ^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 8 - CaptureFileCreate(IoError), [INFO] [stderr] 8 + CaptureFileCreate(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:9:22 [INFO] [stderr] | [INFO] [stderr] 9 | CaptureFileWrite(IoError), [INFO] [stderr] | ---------------- ^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 9 - CaptureFileWrite(IoError), [INFO] [stderr] 9 + CaptureFileWrite(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:10:24 [INFO] [stderr] | [INFO] [stderr] 10 | UnknownMagicNumber(u32), [INFO] [stderr] | ------------------ ^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 10 - UnknownMagicNumber(u32), [INFO] [stderr] 10 + UnknownMagicNumber(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:11:26 [INFO] [stderr] | [INFO] [stderr] 11 | UnknownLinkLayerType(u32), [INFO] [stderr] | -------------------- ^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 11 - UnknownLinkLayerType(u32), [INFO] [stderr] 11 + UnknownLinkLayerType(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:12:14 [INFO] [stderr] | [INFO] [stderr] 12 | TuiSetup(IoError), [INFO] [stderr] | -------- ^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 12 - TuiSetup(IoError), [INFO] [stderr] 12 + TuiSetup(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:13:13 [INFO] [stderr] | [INFO] [stderr] 13 | TuiDraw(IoError), [INFO] [stderr] | ------- ^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 13 - TuiDraw(IoError), [INFO] [stderr] 13 + TuiDraw(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:14:17 [INFO] [stderr] | [INFO] [stderr] 14 | TuiTeardown(IoError), [INFO] [stderr] | ----------- ^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 14 - TuiTeardown(IoError), [INFO] [stderr] 14 + TuiTeardown(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:15:29 [INFO] [stderr] | [INFO] [stderr] 15 | UnknownNetworkLayerType(u16), [INFO] [stderr] | ----------------------- ^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 15 - UnknownNetworkLayerType(u16), [INFO] [stderr] 15 + UnknownNetworkLayerType(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:16:31 [INFO] [stderr] | [INFO] [stderr] 16 | UnknownTransportLayerType(u8), [INFO] [stderr] | ------------------------- ^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 16 - UnknownTransportLayerType(u8), [INFO] [stderr] 16 + UnknownTransportLayerType(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:17:39 [INFO] [stderr] | [INFO] [stderr] 17 | UnknownIPv6AdditionalHeaderLength(u8), [INFO] [stderr] | --------------------------------- ^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 17 - UnknownIPv6AdditionalHeaderLength(u8), [INFO] [stderr] 17 + UnknownIPv6AdditionalHeaderLength(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:18:13 [INFO] [stderr] | [INFO] [stderr] 18 | ReadEnv(IoError), [INFO] [stderr] | ------- ^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 18 - ReadEnv(IoError), [INFO] [stderr] 18 + ReadEnv(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:19:20 [INFO] [stderr] | [INFO] [stderr] 19 | ReadDirContent(IoError), [INFO] [stderr] | -------------- ^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 19 - ReadDirContent(IoError), [INFO] [stderr] 19 + ReadDirContent(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:20:18 [INFO] [stderr] | [INFO] [stderr] 20 | TuiReadInput(IoError), [INFO] [stderr] | ------------ ^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 20 - TuiReadInput(IoError), [INFO] [stderr] 20 + TuiReadInput(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/ui/directory.rs:35:23 [INFO] [stderr] | [INFO] [stderr] 35 | pub const fn iter(&self) -> DirectoryContentIterator { [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] 35 | pub const fn iter(&self) -> DirectoryContentIterator<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/ui/flow.rs:72:17 [INFO] [stderr] | [INFO] [stderr] 72 | pub fn iter(&self, index: usize) -> PacketIterator { [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] 72 | pub fn iter(&self, index: usize) -> PacketIterator<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/ui/flow.rs:92:17 [INFO] [stderr] | [INFO] [stderr] 92 | pub fn keys(&self) -> NameIterator { [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] 92 | pub fn keys(&self) -> NameIterator<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `pcap_flow_splitter` (bin "pcap_flow_splitter" test) generated 22 warnings (run `cargo fix --bin "pcap_flow_splitter" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/pcap_flow_splitter-89abe1bfac1e89ec) [INFO] [stdout] [INFO] [stdout] running 24 tests [INFO] [stdout] test capture_file::test::write_succeeds ... ok [INFO] [stdout] test capture_file::test::open_succeeds ... ok [INFO] [stdout] test capture_header::tests::composing_capture_header_with_frame_cyclic_sequence_succeeds ... ok [INFO] [stdout] test capture_file::test::create_succeeds ... ok [INFO] [stdout] test capture_header::tests::composing_capture_header_with_swapped_endianness_and_nanosecond_timestamp_precision_succeeds ... ok [INFO] [stdout] test capture_header::tests::composing_maximum_packet_length_succeeds ... ok [INFO] [stdout] test capture_header::tests::composing_version_succeeds ... ok [INFO] [stdout] test capture_header::tests::parsing_capture_header_with_garbage_link_layer_type_fails ... ok [INFO] [stdout] test capture_header::tests::parsing_capture_header_with_garbage_magic_number_fails ... ok [INFO] [stdout] test capture_header::tests::composing_capture_header_without_frame_cyclic_sequence_succeeds ... ok [INFO] [stdout] test capture_header::tests::parsing_capture_header_with_identical_endianness_microsecond_timestamp_magic_number_succeeds ... ok [INFO] [stdout] test capture_header::tests::composing_capture_header_with_swapped_endianness_and_microsecond_timestamp_precision_succeeds ... ok [INFO] [stdout] test capture_header::tests::composing_capture_header_with_identical_endianness_and_microsecond_timestamp_precision_succeeds ... ok [INFO] [stdout] test capture_header::tests::parsing_capture_header_with_identical_endianness_nanosecond_timestamp_magic_number_succeeds ... ok [INFO] [stdout] test capture_header::tests::parsing_frame_cyclic_sequence_succeeds ... ok [INFO] [stdout] test capture_header::tests::parsing_version_succeeds ... ok [INFO] [stdout] test capture_header::tests::parsing_link_layer_type_succeeds ... ok [INFO] [stdout] test packet_header::tests::parsing_packet_header_succeeds ... ok [INFO] [stdout] test capture_header::tests::parsing_capture_header_with_swapped_endianness_nanosecond_timestamp_magic_number_succeeds ... ok [INFO] [stdout] test capture_header::tests::parsing_maximum_packet_length_succeeds ... ok [INFO] [stdout] test capture_header::tests::parsing_capture_header_with_swapped_endianness_microsecond_timestamp_magic_number_succeeds ... ok [INFO] [stdout] test packet_header::tests::composing_packet_header_succeeds ... ok [INFO] [stdout] test capture_file::test::read_succeeds ... ok [INFO] [stdout] test capture_header::tests::composing_capture_header_with_identical_endianness_and_nanosecond_timestamp_precision_succeeds ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 24 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1fa84f685573eeb3ebf2ad471242094ff254c4cce8ceb0573cc186f375856bda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fa84f685573eeb3ebf2ad471242094ff254c4cce8ceb0573cc186f375856bda", kill_on_drop: false }` [INFO] [stdout] 1fa84f685573eeb3ebf2ad471242094ff254c4cce8ceb0573cc186f375856bda