[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] testing WangHoi/rtpmon against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [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 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aad9116639754825e086a0eb133220fbc01eebaf05684b6c6d94e98b87b27b77 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "aad9116639754825e086a0eb133220fbc01eebaf05684b6c6d94e98b87b27b77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aad9116639754825e086a0eb133220fbc01eebaf05684b6c6d94e98b87b27b77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aad9116639754825e086a0eb133220fbc01eebaf05684b6c6d94e98b87b27b77", kill_on_drop: false }` [INFO] [stdout] aad9116639754825e086a0eb133220fbc01eebaf05684b6c6d94e98b87b27b77 [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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de72cc34ed29a9e010f6a65ec6f4f47151cdec8dc4c54a7da4734e4c4de6fa5d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "de72cc34ed29a9e010f6a65ec6f4f47151cdec8dc4c54a7da4734e4c4de6fa5d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.97 [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] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling seccomp-sys v0.1.3 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strum v0.19.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling reduce v0.1.4 [INFO] [stderr] Compiling ansi_term v0.12.1 [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] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Compiling dns-parser v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling pcap-sys v0.1.3 [INFO] [stderr] Compiling syscallz v0.15.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling users v0.11.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling chrono v0.4.19 [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 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] Compiling rusticata-macros v3.0.1 [INFO] [stderr] Compiling nom-derive v0.7.2 [INFO] [stderr] Compiling structopt-derive v0.4.15 [INFO] [stderr] Compiling enum-primitive-derive v0.2.1 [INFO] [stderr] Compiling strum_macros v0.19.4 [INFO] [stderr] Compiling dhcp4r v0.2.2 [INFO] [stderr] Compiling structopt v0.3.22 [INFO] [stderr] Compiling pktparse v0.5.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling 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 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`, `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`, `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`, `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: 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] [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: 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: 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: 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: 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] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/rtpmon-9213836ea924ab88.rtpmon.52cd0aeb-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/rtpmon-9213836ea924ab88.rtpmon.52cd0aeb-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/rtpmon-9213836ea924ab88.rtpmon.52cd0aeb-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/rtpmon-9213836ea924ab88.rtpmon.52cd0aeb-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/rtpmon-9213836ea924ab88.rtpmon.52cd0aeb-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/rtpmon-9213836ea924ab88.rtpmon.52cd0aeb-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/rtpmon-9213836ea924ab88.rtpmon.52cd0aeb-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/rtpmon-9213836ea924ab88.rtpmon.52cd0aeb-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/rtpmon-9213836ea924ab88.rtpmon.52cd0aeb-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/rtpmon-9213836ea924ab88.rtpmon.52cd0aeb-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/rtpmon-9213836ea924ab88.rtpmon.52cd0aeb-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/rtpmon-9213836ea924ab88.rtpmon.52cd0aeb-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/rtpmon-9213836ea924ab88.rtpmon.52cd0aeb-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/rtpmon-9213836ea924ab88.rtpmon.52cd0aeb-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/rtpmon-9213836ea924ab88.rtpmon.52cd0aeb-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/rtpmon-9213836ea924ab88.rtpmon.52cd0aeb-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/rtpmon-9213836ea924ab88.dfccmm1rvkh633s.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/usr/lib" "-L" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libnum_cpus-acec344003fa42f2.rlib" "/opt/rustwide/target/debug/deps/libpcap_sys-b16ea2b8271158c4.rlib" "/opt/rustwide/target/debug/deps/libserde_json-24e5a703aa7c7f47.rlib" "/opt/rustwide/target/debug/deps/libitoa-653c401ca764c4cb.rlib" "/opt/rustwide/target/debug/deps/libchrono-f287bd81b9964e4d.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-80872d1dd5aaa911.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-819abb75827096f3.rlib" "/opt/rustwide/target/debug/deps/libtime-d0567c07f4166fc5.rlib" "/opt/rustwide/target/debug/deps/libenv_logger-fa4fb918efd4f7ff.rlib" "/opt/rustwide/target/debug/deps/libtermcolor-48569ba71e859b79.rlib" "/opt/rustwide/target/debug/deps/libhumantime-2d575097e7169ff0.rlib" "/opt/rustwide/target/debug/deps/libregex-2a31698b55c0b537.rlib" "/opt/rustwide/target/debug/deps/libaho_corasick-250202f4e3df1212.rlib" "/opt/rustwide/target/debug/deps/libregex_syntax-8a0cae5ea006fde0.rlib" "/opt/rustwide/target/debug/deps/libreduce-ee6498bacca413a0.rlib" "/opt/rustwide/target/debug/deps/libansi_term-edb42a5a5018ad00.rlib" "/opt/rustwide/target/debug/deps/libnom-5ff4eda7f345f745.rlib" "/opt/rustwide/target/debug/deps/libbitvec-b732c551213e97a1.rlib" "/opt/rustwide/target/debug/deps/libfunty-aba75666c1391a28.rlib" "/opt/rustwide/target/debug/deps/libwyz-99a41e8854bbb6fd.rlib" "/opt/rustwide/target/debug/deps/libtap-148302a971f7b279.rlib" "/opt/rustwide/target/debug/deps/libradium-bfe72f058e6d20d0.rlib" "/opt/rustwide/target/debug/deps/liblog-062ec20cca67060d.rlib" "/opt/rustwide/target/debug/deps/libanyhow-8aac79b2f754f7a1.rlib" "/opt/rustwide/target/debug/deps/libstructopt-efd707cd69f5c807.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-f67718dd40129317.rlib" "/opt/rustwide/target/debug/deps/libclap-116187084f2e413a.rlib" "/opt/rustwide/target/debug/deps/libvec_map-97ca52e148358cd3.rlib" "/opt/rustwide/target/debug/deps/libtextwrap-678d5d865513eebc.rlib" "/opt/rustwide/target/debug/deps/libunicode_width-58fa4f49044d3e0e.rlib" "/opt/rustwide/target/debug/deps/libstrsim-4124e514b7a4f703.rlib" "/opt/rustwide/target/debug/deps/libatty-5e3bd83ae35830ee.rlib" "/opt/rustwide/target/debug/deps/liblibc-0ee8e625c95aed4a.rlib" "/opt/rustwide/target/debug/deps/libansi_term-bd7b8ca88b2cc3f8.rlib" "/opt/rustwide/target/debug/deps/libpktparse-5c573bbe859e17f9.rlib" "/opt/rustwide/target/debug/deps/libserde-d6460a23f309dcf7.rlib" "/opt/rustwide/target/debug/deps/libnom-9dee50637cf41abb.rlib" "/opt/rustwide/target/debug/deps/liblexical_core-04c922e4d9995eec.rlib" "/opt/rustwide/target/debug/deps/libbitflags-603a79344a96ee73.rlib" "/opt/rustwide/target/debug/deps/libryu-e6fb900e507a464e.rlib" "/opt/rustwide/target/debug/deps/libstatic_assertions-a0fd47b1198d267e.rlib" "/opt/rustwide/target/debug/deps/libarrayvec-7aeba00ee84ecffc.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-477585129feec44c.rlib" "/opt/rustwide/target/debug/deps/libmemchr-681e4e98e8957ba6.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-37fdd654777c296f.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-d883bf2137e9181a.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-22ab8f3db88b586e.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-0167c9242d0931d5.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-361790a1a5505fc5.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-01c2ffe1ecd05a67.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-ec79e29a889fe805.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-001a3456e8a8331b.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e8f1404290f0f040.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-76f46d0f23360a60.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-baf0bdc5eb131895.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-3a6a4ee6592d9370.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-1cc90d9dd57195f8.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0e91863ffbec5148.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-69528f2eac185ac9.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-52d5241975807511.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-9924c22ae1efcf66.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-d1241f7bd234a268.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/rtpmon-9213836ea924ab88" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/rtpmon-9213836ea924ab88.rtpmon.52cd0aeb-cgu.6.rcgu.o: in function `rtpmon::sniff::open': [INFO] [stdout] /opt/rustwide/workdir/src/sniff.rs:17: undefined reference to `pcap_create' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/sniff.rs:25: undefined reference to `pcap_set_promisc' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/sniff.rs:29: undefined reference to `pcap_set_immediate_mode' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/sniff.rs:32: undefined reference to `pcap_activate' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/sniff.rs:34: undefined reference to `pcap_geterr' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/rtpmon-9213836ea924ab88.rtpmon.52cd0aeb-cgu.6.rcgu.o: in function `rtpmon::sniff::open_file': [INFO] [stdout] /opt/rustwide/workdir/src/sniff.rs:47: undefined reference to `pcap_open_offline' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/rtpmon-9213836ea924ab88.rtpmon.52cd0aeb-cgu.6.rcgu.o: in function `rtpmon::sniff::default_interface': [INFO] [stdout] /opt/rustwide/workdir/src/sniff.rs:62: undefined reference to `pcap_lookupdev' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/rtpmon-9213836ea924ab88.rtpmon.52cd0aeb-cgu.6.rcgu.o: in function `rtpmon::sniff::Cap::datalink': [INFO] [stdout] /opt/rustwide/workdir/src/sniff.rs:74: undefined reference to `pcap_datalink' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/rtpmon-9213836ea924ab88.rtpmon.52cd0aeb-cgu.6.rcgu.o: in function `rtpmon::sniff::Cap::next_pkt': [INFO] [stdout] /opt/rustwide/workdir/src/sniff.rs:83: undefined reference to `pcap_next_ex' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/rtpmon-9213836ea924ab88.rtpmon.52cd0aeb-cgu.6.rcgu.o: in function `::drop': [INFO] [stdout] /opt/rustwide/workdir/src/sniff.rs:108: undefined reference to `pcap_close' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = help: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 54 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rtpmon` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "de72cc34ed29a9e010f6a65ec6f4f47151cdec8dc4c54a7da4734e4c4de6fa5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de72cc34ed29a9e010f6a65ec6f4f47151cdec8dc4c54a7da4734e4c4de6fa5d", kill_on_drop: false }` [INFO] [stdout] de72cc34ed29a9e010f6a65ec6f4f47151cdec8dc4c54a7da4734e4c4de6fa5d