[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/443bb4287af613697df93460a198aba99e1c8f30 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWangHoi%2Frtpmon" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/WangHoi/rtpmon on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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-6-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded siphasher v0.3.5 [INFO] [stderr] Downloaded syscallz v0.15.0 [INFO] [stderr] Downloaded tls-parser v0.10.0 [INFO] [stderr] Downloaded enum-primitive-derive v0.2.1 [INFO] [stderr] Downloaded seccomp-sys v0.1.3 [INFO] [stderr] Downloaded strum_macros v0.19.4 [INFO] [stderr] Downloaded pktparse v0.5.0 [INFO] [stderr] Downloaded nom-derive v0.7.2 [INFO] [stderr] Downloaded rusticata-macros v3.0.1 [INFO] [stderr] Downloaded dhcp4r v0.2.2 [INFO] [stderr] Downloaded reduce v0.1.4 [INFO] [stderr] Downloaded pcap-sys v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 86120bd5c616212ad18aab6c1aebd7185f8d1a78709d3ef84801dd8509cf5b76 [INFO] running `Command { std: "docker" "start" "-a" "86120bd5c616212ad18aab6c1aebd7185f8d1a78709d3ef84801dd8509cf5b76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "86120bd5c616212ad18aab6c1aebd7185f8d1a78709d3ef84801dd8509cf5b76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86120bd5c616212ad18aab6c1aebd7185f8d1a78709d3ef84801dd8509cf5b76", kill_on_drop: false }` [INFO] [stdout] 86120bd5c616212ad18aab6c1aebd7185f8d1a78709d3ef84801dd8509cf5b76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4398e555a63f3903d3648fb17c2c78a6d4b0fab68f869647133d4add33e12eca [INFO] running `Command { std: "docker" "start" "-a" "4398e555a63f3903d3648fb17c2c78a6d4b0fab68f869647133d4add33e12eca", kill_on_drop: false }` [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] Checking arrayvec v0.5.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling siphasher v0.3.5 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling seccomp-sys v0.1.3 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling pcap-sys v0.1.3 [INFO] [stderr] Compiling syscallz v0.15.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling anyhow v1.0.41 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking bitvec v0.19.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking termcolor v1.1.2 [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 strum v0.19.5 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking cpufeatures v0.1.5 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking dns-parser v0.8.0 [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 block-buffer v0.9.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking reduce v0.1.4 [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 sha2 v0.9.5 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking env_logger v0.8.4 [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 strum_macros v0.19.4 [INFO] [stderr] Compiling nom-derive v0.7.2 [INFO] [stderr] Compiling enum-primitive-derive v0.2.1 [INFO] [stderr] Compiling structopt-derive v0.4.15 [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 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Shell` [INFO] [stdout] --> src/cli.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | use structopt::clap::{AppSettings, Shell}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error` and `anyhow` [INFO] [stdout] --> src/errors.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | pub use anyhow::{Error, Result, Context, anyhow, bail}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `info` and `warn` [INFO] [stdout] --> src/errors.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | pub use log::{debug, info, warn}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log` [INFO] [stdout] --> src/flow/connection.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use log; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RtpHeader` [INFO] [stdout] --> src/flow/connection.rs:2:54 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{flow::FlowDirection, structs::rtp::{RTP, RtpHeader}}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `net::SocketAddr` [INFO] [stdout] --> src/flow/call.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::HashSet, net::SocketAddr, time::SystemTime}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConnectionHeader` and `ConnectionMap` [INFO] [stdout] --> src/flow/call.rs:4:50 [INFO] [stdout] | [INFO] [stdout] 4 | use super::{FlowPacket, connection::{Connection, ConnectionHeader, ConnectionMap}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::bitvec::view::AsBits` [INFO] [stdout] --> src/flow/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use nom::bitvec::view::AsBits; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IpAddr` and `collections::VecDeque` [INFO] [stdout] --> src/flow/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | collections::VecDeque, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | net::{IpAddr, Ipv4Addr, SocketAddr, SocketAddrV4}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Green` and `Purple` [INFO] [stdout] --> src/fmt.rs:3:43 [INFO] [stdout] | [INFO] [stdout] 3 | use ansi_term::Color::{self, Blue, Fixed, Green, Purple, Red, Yellow}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `Unknown` is ambiguous [INFO] [stdout] --> src/centrifuge/mod.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | Err(_) => Unknown(data.to_vec()), [INFO] [stdout] | ^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #114095 [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Unknown` could refer to the tuple variant imported here [INFO] [stdout] --> src/structs/mod.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | pub use crate::structs::raw::Raw::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Unknown` to disambiguate [INFO] [stdout] note: `Unknown` could also refer to the tuple variant imported here [INFO] [stdout] --> src/structs/mod.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | pub use crate::structs::ether::Ether::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Unknown` to disambiguate [INFO] [stdout] = note: `#[warn(ambiguous_glob_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `Unknown` is ambiguous [INFO] [stdout] --> src/centrifuge/mod.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | Unknown(data.to_vec()) [INFO] [stdout] | ^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #114095 [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Unknown` could refer to the tuple variant imported here [INFO] [stdout] --> src/structs/mod.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | pub use crate::structs::raw::Raw::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Unknown` to disambiguate [INFO] [stdout] note: `Unknown` could also refer to the tuple variant imported here [INFO] [stdout] --> src/structs/mod.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | pub use crate::structs::ether::Ether::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Unknown` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::stdout` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::io::stdout; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Utc` [INFO] [stdout] --> src/main.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 19 | use chrono::{DateTime, Local, Utc}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Shell` [INFO] [stdout] --> src/cli.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | use structopt::clap::{AppSettings, Shell}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error` and `anyhow` [INFO] [stdout] --> src/errors.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | pub use anyhow::{Error, Result, Context, anyhow, bail}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `info` and `warn` [INFO] [stdout] --> src/errors.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | pub use log::{debug, info, warn}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log` [INFO] [stdout] --> src/flow/connection.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use log; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RtpHeader` [INFO] [stdout] --> src/flow/connection.rs:2:54 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{flow::FlowDirection, structs::rtp::{RTP, RtpHeader}}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `net::SocketAddr` [INFO] [stdout] --> src/flow/call.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::HashSet, net::SocketAddr, time::SystemTime}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConnectionHeader` and `ConnectionMap` [INFO] [stdout] --> src/flow/call.rs:4:50 [INFO] [stdout] | [INFO] [stdout] 4 | use super::{FlowPacket, connection::{Connection, ConnectionHeader, ConnectionMap}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::bitvec::view::AsBits` [INFO] [stdout] --> src/flow/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use nom::bitvec::view::AsBits; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IpAddr` and `collections::VecDeque` [INFO] [stdout] --> src/flow/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | collections::VecDeque, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | net::{IpAddr, Ipv4Addr, SocketAddr, SocketAddrV4}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Green` and `Purple` [INFO] [stdout] --> src/fmt.rs:3:43 [INFO] [stdout] | [INFO] [stdout] 3 | use ansi_term::Color::{self, Blue, Fixed, Green, Purple, Red, Yellow}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `Unknown` is ambiguous [INFO] [stdout] --> src/centrifuge/mod.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | Err(_) => Unknown(data.to_vec()), [INFO] [stdout] | ^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #114095 [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Unknown` could refer to the tuple variant imported here [INFO] [stdout] --> src/structs/mod.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | pub use crate::structs::raw::Raw::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Unknown` to disambiguate [INFO] [stdout] note: `Unknown` could also refer to the tuple variant imported here [INFO] [stdout] --> src/structs/mod.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | pub use crate::structs::ether::Ether::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Unknown` to disambiguate [INFO] [stdout] = note: `#[warn(ambiguous_glob_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `Unknown` is ambiguous [INFO] [stdout] --> src/centrifuge/mod.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | Unknown(data.to_vec()) [INFO] [stdout] | ^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #114095 [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Unknown` could refer to the tuple variant imported here [INFO] [stdout] --> src/structs/mod.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | pub use crate::structs::raw::Raw::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Unknown` to disambiguate [INFO] [stdout] note: `Unknown` could also refer to the tuple variant imported here [INFO] [stdout] --> src/structs/mod.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | pub use crate::structs::ether::Ether::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Unknown` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::stdout` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::io::stdout; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Utc` [INFO] [stdout] --> src/main.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 19 | use chrono::{DateTime, Local, Utc}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/flow/call.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | let mut n = 0u64; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ec` [INFO] [stdout] --> src/flow/call.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | let mut ec = 0usize; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dtotal` [INFO] [stdout] --> src/flow/call.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | let mut dtotal = 0u64; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_dtotal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dtotal_square` [INFO] [stdout] --> src/flow/call.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | let mut dtotal_square = 0u128; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dtotal_square` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dmax` [INFO] [stdout] --> src/flow/call.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | let mut dmax = 0u64; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dmax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/flow/call.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | let mut n = 0u64; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/flow/call.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | let mut ec = 0usize; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/flow/call.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | let mut dtotal = 0u64; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/flow/call.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | let mut dtotal_square = 0u128; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/flow/call.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | let mut dmax = 0u64; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/flow/call.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | let mut n = 0u64; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ec` [INFO] [stdout] --> src/flow/call.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | let mut ec = 0usize; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dtotal` [INFO] [stdout] --> src/flow/call.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | let mut dtotal = 0u64; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_dtotal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dtotal_square` [INFO] [stdout] --> src/flow/call.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | let mut dtotal_square = 0u128; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dtotal_square` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dmax` [INFO] [stdout] --> src/flow/call.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | let mut dmax = 0u64; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dmax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/flow/call.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | let mut n = 0u64; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/flow/call.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | let mut ec = 0usize; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/flow/call.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | let mut dtotal = 0u64; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/flow/call.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | let mut dtotal_square = 0u128; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/flow/call.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | let mut dmax = 0u64; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [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] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/structs/tcp.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 18 | Text(_) => NoiseLevel::Two, [INFO] [stdout] | ------- matches some of the same values [INFO] [stdout] 19 | Binary(_) => NoiseLevel::Two, [INFO] [stdout] | --------- matches some of the same values [INFO] [stdout] 20 | Empty => NoiseLevel::Two, [INFO] [stdout] | ----- matches some of the same values [INFO] [stdout] 21 | _ => NoiseLevel::Zero, [INFO] [stdout] | ^ collectively making this unreachable [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] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/structs/tcp.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 18 | Text(_) => NoiseLevel::Two, [INFO] [stdout] | ------- matches some of the same values [INFO] [stdout] 19 | Binary(_) => NoiseLevel::Two, [INFO] [stdout] | --------- matches some of the same values [INFO] [stdout] 20 | Empty => NoiseLevel::Two, [INFO] [stdout] | ----- matches some of the same values [INFO] [stdout] 21 | _ => NoiseLevel::Zero, [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/flow/mod.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | Binary(Vec), [INFO] [stdout] | ------ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FlowPayload` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] 42 | Binary(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/flow/mod.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | Text(String), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FlowPayload` has a derived impl for the trait `Clone`, 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] 43 | Text(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/flow/mod.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | Rtcp(RTCP), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FlowPayload` has a derived impl for the trait `Clone`, 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] 45 | Rtcp(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `lost_pkts` is never read [INFO] [stdout] --> src/flow/call.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct FlowStats { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 37 | pub lost_pkts: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GREY` is never used [INFO] [stdout] --> src/fmt.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const GREY: u8 = 245; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fmt` is never read [INFO] [stdout] --> src/fmt.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 24 | fmt: Format, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `format` is never used [INFO] [stdout] --> src/fmt.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl Config { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn format(self) -> Format { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Json` is never constructed [INFO] [stdout] --> src/fmt.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub enum Layout { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 48 | Json, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `layout` and `colors` are never read [INFO] [stdout] --> src/fmt.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Format { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 52 | layout: Layout, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 53 | colors: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/fmt.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl Format { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn print(&self, packet: Raw) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | fn colorify(&self, color: Color, out: String) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | fn print_compact(&self, packet: Raw) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | fn format_compact_unknown_data(&self, out: &mut String, data: &[u8]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | fn format_compact_eth(&self, out: &mut String, eth: ether::Ether) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | fn format_compact_arp(&self, out: &mut String, arp_pkt: arp::ARP) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | fn format_compact_ipv4( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | fn format_compact_ipv6( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | fn format_compact_ip_unknown( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | fn format_compact_ip_udp( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | fn format_compact_ip_tcp( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | fn print_debugging(&self, packet: Raw) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | fn print_debugging_eth(&self, indent: usize, eth: ether::Ether) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 350 | fn print_debugging_tcp(&self, tcp: tcp::TCP) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 360 | fn print_debugging_udp(&self, udp: udp::UDP) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 371 | fn print_json(&self, packet: &Raw) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `align` is never used [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 `display_macaddr` is never used [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 `display_macadr_buf` is never used [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 `display_kv_list` is never used [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 `DhcpKvListWriter` is never constructed [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 items `new`, `append`, and `finalize` are never used [INFO] [stdout] --> src/fmt.rs:430:8 [INFO] [stdout] | [INFO] [stdout] 429 | impl<'a> DhcpKvListWriter<'a> { [INFO] [stdout] | ----------------------------- associated items in this implementation [INFO] [stdout] 430 | fn new() -> DhcpKvListWriter<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 434 | fn append(mut self, key: &'a str, value: &Option) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 441 | fn finalize(self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ParsingError` is never constructed [INFO] [stdout] --> src/structs/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum CentrifugeError { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 3 | WrongProtocol, [INFO] [stdout] 4 | ParsingError, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CentrifugeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/flow/mod.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | Binary(Vec), [INFO] [stdout] | ------ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FlowPayload` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] 42 | Binary(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/flow/mod.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | Text(String), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FlowPayload` has a derived impl for the trait `Clone`, 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] 43 | Text(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/flow/mod.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | Rtcp(RTCP), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FlowPayload` has a derived impl for the trait `Clone`, 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] 45 | Rtcp(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `lost_pkts` is never read [INFO] [stdout] --> src/flow/call.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct FlowStats { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 37 | pub lost_pkts: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GREY` is never used [INFO] [stdout] --> src/fmt.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const GREY: u8 = 245; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fmt` is never read [INFO] [stdout] --> src/fmt.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 24 | fmt: Format, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `format` is never used [INFO] [stdout] --> src/fmt.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl Config { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn format(self) -> Format { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Json` is never constructed [INFO] [stdout] --> src/fmt.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub enum Layout { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 48 | Json, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `layout` and `colors` are never read [INFO] [stdout] --> src/fmt.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Format { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 52 | layout: Layout, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 53 | colors: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/fmt.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl Format { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn print(&self, packet: Raw) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | fn colorify(&self, color: Color, out: String) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | fn print_compact(&self, packet: Raw) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | fn format_compact_unknown_data(&self, out: &mut String, data: &[u8]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | fn format_compact_eth(&self, out: &mut String, eth: ether::Ether) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | fn format_compact_arp(&self, out: &mut String, arp_pkt: arp::ARP) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | fn format_compact_ipv4( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | fn format_compact_ipv6( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | fn format_compact_ip_unknown( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | fn format_compact_ip_udp( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | fn format_compact_ip_tcp( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | fn print_debugging(&self, packet: Raw) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | fn print_debugging_eth(&self, indent: usize, eth: ether::Ether) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 350 | fn print_debugging_tcp(&self, tcp: tcp::TCP) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 360 | fn print_debugging_udp(&self, udp: udp::UDP) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 371 | fn print_json(&self, packet: &Raw) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `align` is never used [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 `display_macaddr` is never used [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 `display_macadr_buf` is never used [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 `display_kv_list` is never used [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 `DhcpKvListWriter` is never constructed [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 items `new`, `append`, and `finalize` are never used [INFO] [stdout] --> src/fmt.rs:430:8 [INFO] [stdout] | [INFO] [stdout] 429 | impl<'a> DhcpKvListWriter<'a> { [INFO] [stdout] | ----------------------------- associated items in this implementation [INFO] [stdout] 430 | fn new() -> DhcpKvListWriter<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 434 | fn append(mut self, key: &'a str, value: &Option) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 441 | fn finalize(self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ParsingError` is never constructed [INFO] [stdout] --> src/structs/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum CentrifugeError { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 3 | WrongProtocol, [INFO] [stdout] 4 | ParsingError, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CentrifugeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.28s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2, nom v6.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "4398e555a63f3903d3648fb17c2c78a6d4b0fab68f869647133d4add33e12eca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4398e555a63f3903d3648fb17c2c78a6d4b0fab68f869647133d4add33e12eca", kill_on_drop: false }` [INFO] [stdout] 4398e555a63f3903d3648fb17c2c78a6d4b0fab68f869647133d4add33e12eca