[INFO] cloning repository https://github.com/WangHoi/rtpmon [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/WangHoi/rtpmon" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWangHoi%2Frtpmon", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWangHoi%2Frtpmon'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 443bb4287af613697df93460a198aba99e1c8f30 [INFO] checking WangHoi/rtpmon against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWangHoi%2Frtpmon" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/WangHoi/rtpmon on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/WangHoi/rtpmon [INFO] finished tweaking git repo https://github.com/WangHoi/rtpmon [INFO] tweaked toml for git repo https://github.com/WangHoi/rtpmon written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/WangHoi/rtpmon already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded strum v0.19.5 [INFO] [stderr] Downloaded rusticata-macros v3.0.1 [INFO] [stderr] Downloaded strum_macros v0.19.4 [INFO] [stderr] Downloaded seccomp-sys v0.1.3 [INFO] [stderr] Downloaded enum-primitive-derive v0.2.1 [INFO] [stderr] Downloaded syscallz v0.15.0 [INFO] [stderr] Downloaded nom-derive v0.7.2 [INFO] [stderr] Downloaded pktparse v0.5.0 [INFO] [stderr] Downloaded reduce v0.1.4 [INFO] [stderr] Downloaded dhcp4r v0.2.2 [INFO] [stderr] Downloaded tls-parser v0.10.0 [INFO] [stderr] Downloaded pcap-sys v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 11543ae92fbd19e75cd15310517f3ab25b79020c930539c8e60b1f3f72e48c31 [INFO] running `Command { std: "docker" "start" "-a" "11543ae92fbd19e75cd15310517f3ab25b79020c930539c8e60b1f3f72e48c31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "11543ae92fbd19e75cd15310517f3ab25b79020c930539c8e60b1f3f72e48c31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11543ae92fbd19e75cd15310517f3ab25b79020c930539c8e60b1f3f72e48c31", kill_on_drop: false }` [INFO] [stdout] 11543ae92fbd19e75cd15310517f3ab25b79020c930539c8e60b1f3f72e48c31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0590263065b47876bedef3dc61fedecfac0e917eda4a08b54351b03d780c3b50 [INFO] running `Command { std: "docker" "start" "-a" "0590263065b47876bedef3dc61fedecfac0e917eda4a08b54351b03d780c3b50", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] libc v0.2.97 (as host dependency): default, extra_traits, std [INFO] [stderr] [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling siphasher v0.3.5 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling seccomp-sys v0.1.3 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling anyhow v1.0.41 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking cpufeatures v0.1.5 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking strum v0.19.5 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking reduce v0.1.4 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Checking dns-parser v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Compiling pcap-sys v0.1.3 [INFO] [stderr] Compiling syscallz v0.15.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking bitvec v0.19.5 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha2 v0.9.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking users v0.11.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling tls-parser v0.10.0 [INFO] [stderr] Checking rusticata-macros v3.0.1 [INFO] [stderr] Compiling nom-derive v0.7.2 [INFO] [stderr] Compiling strum_macros v0.19.4 [INFO] [stderr] Compiling structopt-derive v0.4.15 [INFO] [stderr] Compiling enum-primitive-derive v0.2.1 [INFO] [stderr] Checking dhcp4r v0.2.2 [INFO] [stderr] Checking structopt v0.3.22 [INFO] [stderr] Checking pktparse v0.5.0 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking rtpmon v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/flow/connection.rs (2 fixes) [INFO] [stderr] Fixed src/flow/mod.rs (2 fixes) [INFO] [stderr] Fixed src/main.rs (2 fixes) [INFO] [stderr] Fixed src/flow/call.rs (12 fixes) [INFO] [stderr] Fixed src/cli.rs (1 fix) [INFO] [stderr] Fixed src/fmt.rs (1 fix) [INFO] [stdout] warning: the item `Unknown` is imported redundantly [INFO] [stdout] --> src/fmt.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::structs::prelude::*; [INFO] [stdout] | -------------------------- the item `Unknown` is already imported here [INFO] [stdout] ... [INFO] [stdout] 83 | use crate::structs::raw::Raw::Unknown; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Unknown` is imported redundantly [INFO] [stdout] --> src/fmt.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::structs::prelude::*; [INFO] [stdout] | -------------------------- the item `Unknown` is already imported here [INFO] [stdout] ... [INFO] [stdout] 278 | use crate::structs::raw::Raw::Unknown; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Unknown` is imported redundantly [INFO] [stdout] --> src/fmt.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::structs::prelude::*; [INFO] [stdout] | -------------------------- the item `Unknown` is already imported here [INFO] [stdout] ... [INFO] [stdout] 83 | use crate::structs::raw::Raw::Unknown; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Unknown` is imported redundantly [INFO] [stdout] --> src/fmt.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::structs::prelude::*; [INFO] [stdout] | -------------------------- the item `Unknown` is already imported here [INFO] [stdout] ... [INFO] [stdout] 278 | use crate::structs::raw::Raw::Unknown; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/structs/tcp.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | _ => NoiseLevel::Zero, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/structs/tcp.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | _ => NoiseLevel::Zero, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `GREY` [INFO] [stdout] --> src/fmt.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | const GREY: u8 = 245; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `fmt` [INFO] [stdout] --> src/fmt.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | fmt: Format, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `format` [INFO] [stdout] --> src/fmt.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn format(self) -> Format { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Json` [INFO] [stdout] --> src/fmt.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | Json, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `layout` [INFO] [stdout] --> src/fmt.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | layout: Layout, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `colors` [INFO] [stdout] --> src/fmt.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | colors: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print` [INFO] [stdout] --> src/fmt.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn print(&self, packet: Raw) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `colorify` [INFO] [stdout] --> src/fmt.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | fn colorify(&self, color: Color, out: String) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_compact` [INFO] [stdout] --> src/fmt.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | fn print_compact(&self, packet: Raw) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `format_compact_unknown_data` [INFO] [stdout] --> src/fmt.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | fn format_compact_unknown_data(&self, out: &mut String, data: &[u8]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `format_compact_eth` [INFO] [stdout] --> src/fmt.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | fn format_compact_eth(&self, out: &mut String, eth: ether::Ether) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `format_compact_arp` [INFO] [stdout] --> src/fmt.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | fn format_compact_arp(&self, out: &mut String, arp_pkt: arp::ARP) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `format_compact_ipv4` [INFO] [stdout] --> src/fmt.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 149 | fn format_compact_ipv4( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `format_compact_ipv6` [INFO] [stdout] --> src/fmt.rs:163:8 [INFO] [stdout] | [INFO] [stdout] 163 | fn format_compact_ipv6( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `format_compact_ip_unknown` [INFO] [stdout] --> src/fmt.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | fn format_compact_ip_unknown( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `format_compact_ip_udp` [INFO] [stdout] --> src/fmt.rs:193:8 [INFO] [stdout] | [INFO] [stdout] 193 | fn format_compact_ip_udp( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `format_compact_ip_tcp` [INFO] [stdout] --> src/fmt.rs:234:8 [INFO] [stdout] | [INFO] [stdout] 234 | fn format_compact_ip_tcp( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_debugging` [INFO] [stdout] --> src/fmt.rs:277:8 [INFO] [stdout] | [INFO] [stdout] 277 | fn print_debugging(&self, packet: Raw) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_debugging_eth` [INFO] [stdout] --> src/fmt.rs:290:8 [INFO] [stdout] | [INFO] [stdout] 290 | fn print_debugging_eth(&self, indent: usize, eth: ether::Ether) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_debugging_tcp` [INFO] [stdout] --> src/fmt.rs:350:8 [INFO] [stdout] | [INFO] [stdout] 350 | fn print_debugging_tcp(&self, tcp: tcp::TCP) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_debugging_udp` [INFO] [stdout] --> src/fmt.rs:360:8 [INFO] [stdout] | [INFO] [stdout] 360 | fn print_debugging_udp(&self, udp: udp::UDP) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_json` [INFO] [stdout] --> src/fmt.rs:371:8 [INFO] [stdout] | [INFO] [stdout] 371 | fn print_json(&self, packet: &Raw) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `align` [INFO] [stdout] --> src/fmt.rs:394:4 [INFO] [stdout] | [INFO] [stdout] 394 | fn align(len: usize, a: &str) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `display_macaddr` [INFO] [stdout] --> src/fmt.rs:400:4 [INFO] [stdout] | [INFO] [stdout] 400 | fn display_macaddr(mac: &pktparse::ethernet::MacAddress) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `display_macadr_buf` [INFO] [stdout] --> src/fmt.rs:405:4 [INFO] [stdout] | [INFO] [stdout] 405 | fn display_macadr_buf(mac: [u8; 6]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `display_kv_list` [INFO] [stdout] --> src/fmt.rs:414:4 [INFO] [stdout] | [INFO] [stdout] 414 | fn display_kv_list(list: &[(&str, Option<&str>)]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `DhcpKvListWriter` [INFO] [stdout] --> src/fmt.rs:425:8 [INFO] [stdout] | [INFO] [stdout] 425 | struct DhcpKvListWriter<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/fmt.rs:430:8 [INFO] [stdout] | [INFO] [stdout] 430 | fn new() -> DhcpKvListWriter<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `append` [INFO] [stdout] --> src/fmt.rs:434:8 [INFO] [stdout] | [INFO] [stdout] 434 | fn append(mut self, key: &'a str, value: &Option) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `finalize` [INFO] [stdout] --> src/fmt.rs:441:8 [INFO] [stdout] | [INFO] [stdout] 441 | fn finalize(self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ParsingError` [INFO] [stdout] --> src/structs/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | ParsingError, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `GREY` [INFO] [stdout] --> src/fmt.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | const GREY: u8 = 245; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `fmt` [INFO] [stdout] --> src/fmt.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | fmt: Format, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `format` [INFO] [stdout] --> src/fmt.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn format(self) -> Format { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Json` [INFO] [stdout] --> src/fmt.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | Json, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `layout` [INFO] [stdout] --> src/fmt.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | layout: Layout, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `colors` [INFO] [stdout] --> src/fmt.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | colors: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print` [INFO] [stdout] --> src/fmt.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn print(&self, packet: Raw) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `colorify` [INFO] [stdout] --> src/fmt.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | fn colorify(&self, color: Color, out: String) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_compact` [INFO] [stdout] --> src/fmt.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | fn print_compact(&self, packet: Raw) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `format_compact_unknown_data` [INFO] [stdout] --> src/fmt.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | fn format_compact_unknown_data(&self, out: &mut String, data: &[u8]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `format_compact_eth` [INFO] [stdout] --> src/fmt.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | fn format_compact_eth(&self, out: &mut String, eth: ether::Ether) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `format_compact_arp` [INFO] [stdout] --> src/fmt.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | fn format_compact_arp(&self, out: &mut String, arp_pkt: arp::ARP) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `format_compact_ipv4` [INFO] [stdout] --> src/fmt.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 149 | fn format_compact_ipv4( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `format_compact_ipv6` [INFO] [stdout] --> src/fmt.rs:163:8 [INFO] [stdout] | [INFO] [stdout] 163 | fn format_compact_ipv6( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `format_compact_ip_unknown` [INFO] [stdout] --> src/fmt.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | fn format_compact_ip_unknown( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `format_compact_ip_udp` [INFO] [stdout] --> src/fmt.rs:193:8 [INFO] [stdout] | [INFO] [stdout] 193 | fn format_compact_ip_udp( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `format_compact_ip_tcp` [INFO] [stdout] --> src/fmt.rs:234:8 [INFO] [stdout] | [INFO] [stdout] 234 | fn format_compact_ip_tcp( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_debugging` [INFO] [stdout] --> src/fmt.rs:277:8 [INFO] [stdout] | [INFO] [stdout] 277 | fn print_debugging(&self, packet: Raw) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_debugging_eth` [INFO] [stdout] --> src/fmt.rs:290:8 [INFO] [stdout] | [INFO] [stdout] 290 | fn print_debugging_eth(&self, indent: usize, eth: ether::Ether) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_debugging_tcp` [INFO] [stdout] --> src/fmt.rs:350:8 [INFO] [stdout] | [INFO] [stdout] 350 | fn print_debugging_tcp(&self, tcp: tcp::TCP) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_debugging_udp` [INFO] [stdout] --> src/fmt.rs:360:8 [INFO] [stdout] | [INFO] [stdout] 360 | fn print_debugging_udp(&self, udp: udp::UDP) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_json` [INFO] [stdout] --> src/fmt.rs:371:8 [INFO] [stdout] | [INFO] [stdout] 371 | fn print_json(&self, packet: &Raw) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `align` [INFO] [stdout] --> src/fmt.rs:394:4 [INFO] [stdout] | [INFO] [stdout] 394 | fn align(len: usize, a: &str) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `display_macaddr` [INFO] [stdout] --> src/fmt.rs:400:4 [INFO] [stdout] | [INFO] [stdout] 400 | fn display_macaddr(mac: &pktparse::ethernet::MacAddress) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `display_macadr_buf` [INFO] [stdout] --> src/fmt.rs:405:4 [INFO] [stdout] | [INFO] [stdout] 405 | fn display_macadr_buf(mac: [u8; 6]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `display_kv_list` [INFO] [stdout] --> src/fmt.rs:414:4 [INFO] [stdout] | [INFO] [stdout] 414 | fn display_kv_list(list: &[(&str, Option<&str>)]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `DhcpKvListWriter` [INFO] [stdout] --> src/fmt.rs:425:8 [INFO] [stdout] | [INFO] [stdout] 425 | struct DhcpKvListWriter<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/fmt.rs:430:8 [INFO] [stdout] | [INFO] [stdout] 430 | fn new() -> DhcpKvListWriter<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `append` [INFO] [stdout] --> src/fmt.rs:434:8 [INFO] [stdout] | [INFO] [stdout] 434 | fn append(mut self, key: &'a str, value: &Option) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `finalize` [INFO] [stdout] --> src/fmt.rs:441:8 [INFO] [stdout] | [INFO] [stdout] 441 | fn finalize(self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ParsingError` [INFO] [stdout] --> src/structs/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | ParsingError, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.92s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling tls-parser v0.10.0 [INFO] [stderr] Checking rtpmon v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: the item `Unknown` is imported redundantly [INFO] [stdout] --> src/fmt.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::structs::prelude::*; [INFO] [stdout] | -------------------------- the item `Unknown` is already imported here [INFO] [stdout] ... [INFO] [stdout] 83 | use crate::structs::raw::Raw::Unknown; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Unknown` is imported redundantly [INFO] [stdout] --> src/fmt.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::structs::prelude::*; [INFO] [stdout] | -------------------------- the item `Unknown` is already imported here [INFO] [stdout] ... [INFO] [stdout] 83 | use crate::structs::raw::Raw::Unknown; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Unknown` is imported redundantly [INFO] [stdout] --> src/fmt.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::structs::prelude::*; [INFO] [stdout] | -------------------------- the item `Unknown` is already imported here [INFO] [stdout] ... [INFO] [stdout] 278 | use crate::structs::raw::Raw::Unknown; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Unknown` is imported redundantly [INFO] [stdout] --> src/fmt.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::structs::prelude::*; [INFO] [stdout] | -------------------------- the item `Unknown` is already imported here [INFO] [stdout] ... [INFO] [stdout] 278 | use crate::structs::raw::Raw::Unknown; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/structs/tcp.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | _ => NoiseLevel::Zero, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/structs/tcp.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | _ => NoiseLevel::Zero, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `GREY` [INFO] [stdout] --> src/fmt.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | const GREY: u8 = 245; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `GREY` [INFO] [stdout] --> src/fmt.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | const GREY: u8 = 245; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `fmt` [INFO] [stdout] --> src/fmt.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | fmt: Format, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `format` [INFO] [stdout] --> src/fmt.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn format(self) -> Format { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Json` [INFO] [stdout] --> src/fmt.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | Json, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `layout` [INFO] [stdout] --> src/fmt.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | layout: Layout, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `colors` [INFO] [stdout] --> src/fmt.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | colors: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `fmt` [INFO] [stdout] --> src/fmt.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | fmt: Format, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print` [INFO] [stdout] --> src/fmt.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn print(&self, packet: Raw) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `format` [INFO] [stdout] --> src/fmt.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn format(self) -> Format { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `colorify` [INFO] [stdout] --> src/fmt.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | fn colorify(&self, color: Color, out: String) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Json` [INFO] [stdout] --> src/fmt.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | Json, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_compact` [INFO] [stdout] --> src/fmt.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | fn print_compact(&self, packet: Raw) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `layout` [INFO] [stdout] --> src/fmt.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | layout: Layout, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `colors` [INFO] [stdout] --> src/fmt.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | colors: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `format_compact_unknown_data` [INFO] [stdout] --> src/fmt.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | fn format_compact_unknown_data(&self, out: &mut String, data: &[u8]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print` [INFO] [stdout] --> src/fmt.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn print(&self, packet: Raw) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `format_compact_eth` [INFO] [stdout] --> src/fmt.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | fn format_compact_eth(&self, out: &mut String, eth: ether::Ether) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `colorify` [INFO] [stdout] --> src/fmt.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | fn colorify(&self, color: Color, out: String) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `format_compact_arp` [INFO] [stdout] --> src/fmt.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | fn format_compact_arp(&self, out: &mut String, arp_pkt: arp::ARP) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_compact` [INFO] [stdout] --> src/fmt.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | fn print_compact(&self, packet: Raw) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `format_compact_ipv4` [INFO] [stdout] --> src/fmt.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 149 | fn format_compact_ipv4( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `format_compact_unknown_data` [INFO] [stdout] --> src/fmt.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | fn format_compact_unknown_data(&self, out: &mut String, data: &[u8]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `format_compact_ipv6` [INFO] [stdout] --> src/fmt.rs:163:8 [INFO] [stdout] | [INFO] [stdout] 163 | fn format_compact_ipv6( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `format_compact_eth` [INFO] [stdout] --> src/fmt.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | fn format_compact_eth(&self, out: &mut String, eth: ether::Ether) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `format_compact_ip_unknown` [INFO] [stdout] --> src/fmt.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | fn format_compact_ip_unknown( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `format_compact_arp` [INFO] [stdout] --> src/fmt.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | fn format_compact_arp(&self, out: &mut String, arp_pkt: arp::ARP) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `format_compact_ip_udp` [INFO] [stdout] --> src/fmt.rs:193:8 [INFO] [stdout] | [INFO] [stdout] 193 | fn format_compact_ip_udp( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `format_compact_ipv4` [INFO] [stdout] --> src/fmt.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 149 | fn format_compact_ipv4( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `format_compact_ip_tcp` [INFO] [stdout] --> src/fmt.rs:234:8 [INFO] [stdout] | [INFO] [stdout] 234 | fn format_compact_ip_tcp( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `format_compact_ipv6` [INFO] [stdout] --> src/fmt.rs:163:8 [INFO] [stdout] | [INFO] [stdout] 163 | fn format_compact_ipv6( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `format_compact_ip_unknown` [INFO] [stdout] --> src/fmt.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | fn format_compact_ip_unknown( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_debugging` [INFO] [stdout] --> src/fmt.rs:277:8 [INFO] [stdout] | [INFO] [stdout] 277 | fn print_debugging(&self, packet: Raw) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `format_compact_ip_udp` [INFO] [stdout] --> src/fmt.rs:193:8 [INFO] [stdout] | [INFO] [stdout] 193 | fn format_compact_ip_udp( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_debugging_eth` [INFO] [stdout] --> src/fmt.rs:290:8 [INFO] [stdout] | [INFO] [stdout] 290 | fn print_debugging_eth(&self, indent: usize, eth: ether::Ether) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `format_compact_ip_tcp` [INFO] [stdout] --> src/fmt.rs:234:8 [INFO] [stdout] | [INFO] [stdout] 234 | fn format_compact_ip_tcp( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_debugging_tcp` [INFO] [stdout] --> src/fmt.rs:350:8 [INFO] [stdout] | [INFO] [stdout] 350 | fn print_debugging_tcp(&self, tcp: tcp::TCP) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_debugging_udp` [INFO] [stdout] --> src/fmt.rs:360:8 [INFO] [stdout] | [INFO] [stdout] 360 | fn print_debugging_udp(&self, udp: udp::UDP) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_debugging` [INFO] [stdout] --> src/fmt.rs:277:8 [INFO] [stdout] | [INFO] [stdout] 277 | fn print_debugging(&self, packet: Raw) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_json` [INFO] [stdout] --> src/fmt.rs:371:8 [INFO] [stdout] | [INFO] [stdout] 371 | fn print_json(&self, packet: &Raw) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_debugging_eth` [INFO] [stdout] --> src/fmt.rs:290:8 [INFO] [stdout] | [INFO] [stdout] 290 | fn print_debugging_eth(&self, indent: usize, eth: ether::Ether) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_debugging_tcp` [INFO] [stdout] --> src/fmt.rs:350:8 [INFO] [stdout] | [INFO] [stdout] 350 | fn print_debugging_tcp(&self, tcp: tcp::TCP) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `align` [INFO] [stdout] --> src/fmt.rs:394:4 [INFO] [stdout] | [INFO] [stdout] 394 | fn align(len: usize, a: &str) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `display_macaddr` [INFO] [stdout] --> src/fmt.rs:400:4 [INFO] [stdout] | [INFO] [stdout] 400 | fn display_macaddr(mac: &pktparse::ethernet::MacAddress) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_debugging_udp` [INFO] [stdout] --> src/fmt.rs:360:8 [INFO] [stdout] | [INFO] [stdout] 360 | fn print_debugging_udp(&self, udp: udp::UDP) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `display_macadr_buf` [INFO] [stdout] --> src/fmt.rs:405:4 [INFO] [stdout] | [INFO] [stdout] 405 | fn display_macadr_buf(mac: [u8; 6]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_json` [INFO] [stdout] --> src/fmt.rs:371:8 [INFO] [stdout] | [INFO] [stdout] 371 | fn print_json(&self, packet: &Raw) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `display_kv_list` [INFO] [stdout] --> src/fmt.rs:414:4 [INFO] [stdout] | [INFO] [stdout] 414 | fn display_kv_list(list: &[(&str, Option<&str>)]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `align` [INFO] [stdout] --> src/fmt.rs:394:4 [INFO] [stdout] | [INFO] [stdout] 394 | fn align(len: usize, a: &str) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `DhcpKvListWriter` [INFO] [stdout] --> src/fmt.rs:425:8 [INFO] [stdout] | [INFO] [stdout] 425 | struct DhcpKvListWriter<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `display_macaddr` [INFO] [stdout] --> src/fmt.rs:400:4 [INFO] [stdout] | [INFO] [stdout] 400 | fn display_macaddr(mac: &pktparse::ethernet::MacAddress) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/fmt.rs:430:8 [INFO] [stdout] | [INFO] [stdout] 430 | fn new() -> DhcpKvListWriter<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `display_macadr_buf` [INFO] [stdout] --> src/fmt.rs:405:4 [INFO] [stdout] | [INFO] [stdout] 405 | fn display_macadr_buf(mac: [u8; 6]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `append` [INFO] [stdout] --> src/fmt.rs:434:8 [INFO] [stdout] | [INFO] [stdout] 434 | fn append(mut self, key: &'a str, value: &Option) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `display_kv_list` [INFO] [stdout] --> src/fmt.rs:414:4 [INFO] [stdout] | [INFO] [stdout] 414 | fn display_kv_list(list: &[(&str, Option<&str>)]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `finalize` [INFO] [stdout] --> src/fmt.rs:441:8 [INFO] [stdout] | [INFO] [stdout] 441 | fn finalize(self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `DhcpKvListWriter` [INFO] [stdout] --> src/fmt.rs:425:8 [INFO] [stdout] | [INFO] [stdout] 425 | struct DhcpKvListWriter<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ParsingError` [INFO] [stdout] --> src/structs/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | ParsingError, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/fmt.rs:430:8 [INFO] [stdout] | [INFO] [stdout] 430 | fn new() -> DhcpKvListWriter<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `append` [INFO] [stdout] --> src/fmt.rs:434:8 [INFO] [stdout] | [INFO] [stdout] 434 | fn append(mut self, key: &'a str, value: &Option) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `finalize` [INFO] [stdout] --> src/fmt.rs:441:8 [INFO] [stdout] | [INFO] [stdout] 441 | fn finalize(self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ParsingError` [INFO] [stdout] --> src/structs/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | ParsingError, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.16s [INFO] running `Command { std: "docker" "inspect" "0590263065b47876bedef3dc61fedecfac0e917eda4a08b54351b03d780c3b50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0590263065b47876bedef3dc61fedecfac0e917eda4a08b54351b03d780c3b50", kill_on_drop: false }` [INFO] [stdout] 0590263065b47876bedef3dc61fedecfac0e917eda4a08b54351b03d780c3b50