[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 beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWangHoi%2Frtpmon" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/WangHoi/rtpmon on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-14/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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7d4ac2b094b808c3cffbcf7f4800d1750b86c74987728f0777d6f6d3e0315340 [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" "7d4ac2b094b808c3cffbcf7f4800d1750b86c74987728f0777d6f6d3e0315340", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d4ac2b094b808c3cffbcf7f4800d1750b86c74987728f0777d6f6d3e0315340", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d4ac2b094b808c3cffbcf7f4800d1750b86c74987728f0777d6f6d3e0315340", kill_on_drop: false }` [INFO] [stdout] 7d4ac2b094b808c3cffbcf7f4800d1750b86c74987728f0777d6f6d3e0315340 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0147cac461c53890a93f484af1db7e81977cc78342f1bf5c81887ce1e5e628bf [INFO] running `Command { std: "docker" "start" "-a" "0147cac461c53890a93f484af1db7e81977cc78342f1bf5c81887ce1e5e628bf", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling siphasher v0.3.5 [INFO] [stderr] Compiling seccomp-sys v0.1.3 [INFO] [stderr] Compiling anyhow v1.0.41 [INFO] [stderr] Compiling strum v0.19.5 [INFO] [stderr] Compiling reduce v0.1.4 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling pcap-sys v0.1.3 [INFO] [stderr] Compiling syscallz v0.15.0 [INFO] [stderr] Compiling dns-parser v0.8.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling users v0.11.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [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 proc-macro-error v1.0.4 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling structopt-derive v0.4.15 [INFO] [stderr] Compiling strum_macros v0.19.4 [INFO] [stderr] Compiling enum-primitive-derive v0.2.1 [INFO] [stderr] Compiling nom-derive v0.7.2 [INFO] [stderr] Compiling dhcp4r v0.2.2 [INFO] [stderr] Compiling structopt v0.3.22 [INFO] [stderr] Compiling serde v1.0.126 [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] note: `CentrifugeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/structs/mod.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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-1f33c92a320e4578.rtpmon.2d898bdd-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/rtpmon-1f33c92a320e4578.rtpmon.2d898bdd-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/rtpmon-1f33c92a320e4578.rtpmon.2d898bdd-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/rtpmon-1f33c92a320e4578.rtpmon.2d898bdd-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/rtpmon-1f33c92a320e4578.rtpmon.2d898bdd-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/rtpmon-1f33c92a320e4578.rtpmon.2d898bdd-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/rtpmon-1f33c92a320e4578.rtpmon.2d898bdd-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/rtpmon-1f33c92a320e4578.rtpmon.2d898bdd-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/rtpmon-1f33c92a320e4578.rtpmon.2d898bdd-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/rtpmon-1f33c92a320e4578.rtpmon.2d898bdd-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/rtpmon-1f33c92a320e4578.rtpmon.2d898bdd-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/rtpmon-1f33c92a320e4578.rtpmon.2d898bdd-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/rtpmon-1f33c92a320e4578.rtpmon.2d898bdd-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/rtpmon-1f33c92a320e4578.rtpmon.2d898bdd-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/rtpmon-1f33c92a320e4578.rtpmon.2d898bdd-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/rtpmon-1f33c92a320e4578.rtpmon.2d898bdd-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/rtpmon-1f33c92a320e4578.1qy5mct8tonndmur.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/usr/lib" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libnum_cpus-5c805ed6494e1f75.rlib" "/opt/rustwide/target/debug/deps/libpcap_sys-9a3ede97fccc2d72.rlib" "/opt/rustwide/target/debug/deps/libserde_json-0ef5a5105acf671a.rlib" "/opt/rustwide/target/debug/deps/libitoa-7c14328d9548cc59.rlib" "/opt/rustwide/target/debug/deps/libchrono-e0f6f788519cbcf3.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-12dc98bbecbcec12.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-d2d5ed240c754db6.rlib" "/opt/rustwide/target/debug/deps/libtime-fdd83122b6400887.rlib" "/opt/rustwide/target/debug/deps/libenv_logger-c4b8f26db5c69119.rlib" "/opt/rustwide/target/debug/deps/libtermcolor-b126e2ab944ff130.rlib" "/opt/rustwide/target/debug/deps/libhumantime-e9a3658f54825403.rlib" "/opt/rustwide/target/debug/deps/libregex-5b41ed3fe5d9f1dc.rlib" "/opt/rustwide/target/debug/deps/libaho_corasick-50d36aa7e85ac04f.rlib" "/opt/rustwide/target/debug/deps/libregex_syntax-a8bd890171e48bbb.rlib" "/opt/rustwide/target/debug/deps/libreduce-7ef1b46f6b9a9086.rlib" "/opt/rustwide/target/debug/deps/libansi_term-cf230369650aa732.rlib" "/opt/rustwide/target/debug/deps/libnom-e08566b26f2df259.rlib" "/opt/rustwide/target/debug/deps/libbitvec-19ffdbd63dbd4d94.rlib" "/opt/rustwide/target/debug/deps/libfunty-38500dc869d25497.rlib" "/opt/rustwide/target/debug/deps/libwyz-034be59ddb5e1968.rlib" "/opt/rustwide/target/debug/deps/libtap-a30d5c744f315154.rlib" "/opt/rustwide/target/debug/deps/libradium-44974e53d584b5d4.rlib" "/opt/rustwide/target/debug/deps/liblog-ba3200a69ea295c7.rlib" "/opt/rustwide/target/debug/deps/libanyhow-ac4960d7f6768177.rlib" "/opt/rustwide/target/debug/deps/libstructopt-2be006e2fcef64f7.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-86422d76b8bd90ed.rlib" "/opt/rustwide/target/debug/deps/libclap-8004bec68b7643b7.rlib" "/opt/rustwide/target/debug/deps/libvec_map-18b27ee44a5c9049.rlib" "/opt/rustwide/target/debug/deps/libtextwrap-dcd1981df6974b46.rlib" "/opt/rustwide/target/debug/deps/libunicode_width-b35e561241f87659.rlib" "/opt/rustwide/target/debug/deps/libstrsim-c9e2592dde3c5431.rlib" "/opt/rustwide/target/debug/deps/libatty-283421b109e98a87.rlib" "/opt/rustwide/target/debug/deps/liblibc-ca782f4cd98affdf.rlib" "/opt/rustwide/target/debug/deps/libansi_term-7b95e091c56f4f65.rlib" "/opt/rustwide/target/debug/deps/libpktparse-5738d8f27d0a059b.rlib" "/opt/rustwide/target/debug/deps/libserde-c578a9f58a4d88c1.rlib" "/opt/rustwide/target/debug/deps/libnom-fa13b02da951bb08.rlib" "/opt/rustwide/target/debug/deps/liblexical_core-93b432c3f5c131b4.rlib" "/opt/rustwide/target/debug/deps/libbitflags-c6d9dc90f7379932.rlib" "/opt/rustwide/target/debug/deps/libryu-9e35d986fcbafb23.rlib" "/opt/rustwide/target/debug/deps/libstatic_assertions-62b1a5cbf56a9f5f.rlib" "/opt/rustwide/target/debug/deps/libarrayvec-60f29610b80e56b0.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-97437e183f3ae6e4.rlib" "/opt/rustwide/target/debug/deps/libmemchr-5778b0c3602687a8.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ff9290e971253a38.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-5534b29ea7b2d8f5.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-8bfbb13072fc2761.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-d6d1fa92fa620f17.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-7cfd201521727d95.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-0e8010e8fce8e5a7.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-19093fec3c6dd913.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-89c4cbe9256c1890.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-73e4507673363945.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-3fe98c0f46f27964.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-a76787f08d45e37d.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-8cea480e62c5b261.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-1fb939608cd05a1c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-842e67e3ab562f66.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0c1c8fec3b1a54cc.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-689faa634b72af17.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-6c2c561a8181be5e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88c4d85fe493b0a6.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-f5394bdb1df5df01.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/rtpmon-1f33c92a320e4578" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/rtpmon-1f33c92a320e4578.rtpmon.2d898bdd-cgu.5.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:32: undefined reference to `pcap_activate' [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:34: undefined reference to `pcap_geterr' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/rtpmon-1f33c92a320e4578.rtpmon.2d898bdd-cgu.5.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-1f33c92a320e4578.rtpmon.2d898bdd-cgu.5.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-1f33c92a320e4578.rtpmon.2d898bdd-cgu.5.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-1f33c92a320e4578.rtpmon.2d898bdd-cgu.5.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-1f33c92a320e4578.rtpmon.2d898bdd-cgu.5.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` due to 2 previous errors; 54 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0147cac461c53890a93f484af1db7e81977cc78342f1bf5c81887ce1e5e628bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0147cac461c53890a93f484af1db7e81977cc78342f1bf5c81887ce1e5e628bf", kill_on_drop: false }` [INFO] [stdout] 0147cac461c53890a93f484af1db7e81977cc78342f1bf5c81887ce1e5e628bf