[INFO] fetching crate async-traceroute 0.1.2... [INFO] building async-traceroute-0.1.2 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate async-traceroute 0.1.2 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate async-traceroute 0.1.2 [INFO] finished tweaking crates.io crate async-traceroute 0.1.2 [INFO] tweaked toml for crates.io crate async-traceroute 0.1.2 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate async-traceroute 0.1.2 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate async-traceroute 0.1.2 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pnet_sys v0.35.0 [INFO] [stderr] Downloaded pnet_macros v0.35.0 [INFO] [stderr] Downloaded pnet_base v0.35.0 [INFO] [stderr] Downloaded no-std-net v0.6.0 [INFO] [stderr] Downloaded pnet_transport v0.35.0 [INFO] [stderr] Downloaded pnet_macros_support v0.35.0 [INFO] [stderr] Downloaded triomphe v0.1.12 [INFO] [stderr] Downloaded moka v0.12.7 [INFO] [stderr] Downloaded domain v0.10.1 [INFO] [stderr] Downloaded pnet_datalink v0.35.0 [INFO] [stderr] Downloaded octseq v0.5.1 [INFO] [stderr] Downloaded pnet v0.35.0 [INFO] [stderr] Downloaded pnet_packet v0.35.0 [INFO] [stderr] Downloaded raw-cpuid v11.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a3730d88b50d8d3b581103e9c65a4da6fbf4125b2788f36d6e71305a288c952 [INFO] running `Command { std: "docker" "start" "-a" "1a3730d88b50d8d3b581103e9c65a4da6fbf4125b2788f36d6e71305a288c952", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a3730d88b50d8d3b581103e9c65a4da6fbf4125b2788f36d6e71305a288c952", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a3730d88b50d8d3b581103e9c65a4da6fbf4125b2788f36d6e71305a288c952", kill_on_drop: false }` [INFO] [stdout] 1a3730d88b50d8d3b581103e9c65a4da6fbf4125b2788f36d6e71305a288c952 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 33b8a49314a5752f0c134cc15e2e07b9b88199b490956b41948a60b19f56a006 [INFO] running `Command { std: "docker" "start" "-a" "33b8a49314a5752f0c134cc15e2e07b9b88199b490956b41948a60b19f56a006", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling no-std-net v0.6.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling pnet_sys v0.35.0 [INFO] [stderr] Compiling pnet_base v0.35.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling pnet_macros_support v0.35.0 [INFO] [stderr] Compiling moka v0.12.7 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling uuid v1.8.0 [INFO] [stderr] Compiling raw-cpuid v11.0.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling event-listener-strategy v0.5.2 [INFO] [stderr] Compiling clap_lex v0.7.1 [INFO] [stderr] Compiling triomphe v0.1.12 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling pnet v0.35.0 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling octseq v0.5.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling terminal_size v0.3.0 [INFO] [stderr] Compiling clap_builder v4.5.7 [INFO] [stderr] Compiling quanta v0.12.3 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling ipnetwork v0.20.0 [INFO] [stderr] Compiling pnet_datalink v0.35.0 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling clap_derive v4.5.5 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling pnet_macros v0.35.0 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling pnet_packet v0.35.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling clap v4.5.7 [INFO] [stderr] Compiling pnet_transport v0.35.0 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling domain v0.10.1 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling async-traceroute v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `ipv6_datagram` [INFO] [stdout] --> src/traceroute/utils/packet_utils.rs:170:24 [INFO] [stdout] | [INFO] [stdout] 170 | IpDatagram::V6(ipv6_datagram) => todo!() [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ipv6_datagram` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ttl` [INFO] [stdout] --> src/traceroute/probe/task.rs:297:9 [INFO] [stdout] | [INFO] [stdout] 297 | ttl: u8, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 297 | _ttl: u8, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `TCP_SYN_ACK` [INFO] [stdout] | [INFO] [stdout] 297 - ttl: u8, [INFO] [stdout] 297 + traceroute::utils::packet_utils::TCP_SYN_ACK: u8, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_address` [INFO] [stdout] --> src/traceroute/probe/task.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 298 | source_address: Ipv6Addr, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `destination_address` [INFO] [stdout] --> src/traceroute/probe/task.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 299 | destination_address: Ipv6Addr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_destination_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip_id` [INFO] [stdout] --> src/traceroute/probe/task.rs:300:9 [INFO] [stdout] | [INFO] [stdout] 300 | ip_id: u16 [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ip_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RandomUniquePort` is never constructed [INFO] [stdout] --> src/traceroute/utils.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct RandomUniquePort { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `generate_ports`, and `generate_port` are never used [INFO] [stdout] --> src/traceroute/utils.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl RandomUniquePort { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 15 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn generate_ports(&mut self, tot_ports: u16) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn generate_port(&mut self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_udp_datagram_with_ports` is never used [INFO] [stdout] --> src/traceroute/utils/packet_utils.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn build_udp_datagram_with_ports(source_port: u16, destination_port: u16) -> Udp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_default_ipv4_addr_interface` is never used [INFO] [stdout] --> src/traceroute/utils/packet_utils.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn get_default_ipv4_addr_interface() -> Ipv4Addr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_default_ipv6_addr_interface` is never used [INFO] [stdout] --> src/traceroute/utils/packet_utils.rs:215:8 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn get_default_ipv6_addr_interface() -> Ipv6Addr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ttl` is never read [INFO] [stdout] --> src/traceroute/terminal.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 144 | struct PrintableHop { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 145 | ttl: u8, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `from_address` is never used [INFO] [stdout] --> src/traceroute/probe.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl ProbeResponse { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn from_address(&self) -> Ipv4Addr { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `source_address` is never read [INFO] [stdout] --> src/traceroute/probe/task.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct UdpProbeTask { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | source_address: IpAddr, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `DEFAULT_DESTINATION_PORT` and `build` are never used [INFO] [stdout] --> src/traceroute/probe/generator.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 57 | impl TcpProbeTaskGenerator { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 58 | const DEFAULT_DESTINATION_PORT: u16 = 80; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 59 | [INFO] [stdout] 60 | pub fn build(ip_id: u16, destination_port: u16) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `stop` is never used [INFO] [stdout] --> src/traceroute/probe/sniffer.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait Sniffer { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 23 | fn stop(&self) -> io::Result<()>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `connect`, `local_addr`, `send`, and `shutdown` are never used [INFO] [stdout] --> src/traceroute/async_socket.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 20 | impl AsyncSocket { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub async fn connect(&self, ip: Ipv4Addr) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn local_addr(&self) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub async fn send(&self, buf: &[u8]) -> io::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn shutdown(&self, how: Shutdown) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `connect`, `local_addr`, `send`, and `shutdown` are never used [INFO] [stdout] --> src/traceroute/async_socket.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 82 | impl MioTokioSocket { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 102 | fn connect(&self, ip: Ipv4Addr) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | fn local_addr(&self) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | fn send(&self, buf: &[u8]) -> io::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | fn shutdown(&self, how: Shutdown) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.52s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: domain v0.10.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5` [INFO] running `Command { std: "docker" "inspect" "33b8a49314a5752f0c134cc15e2e07b9b88199b490956b41948a60b19f56a006", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33b8a49314a5752f0c134cc15e2e07b9b88199b490956b41948a60b19f56a006", kill_on_drop: false }` [INFO] [stdout] 33b8a49314a5752f0c134cc15e2e07b9b88199b490956b41948a60b19f56a006 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0796373ca565496f69e86ff7783962b432907ebbf2f95a28bf65a94d85f6a41a [INFO] running `Command { std: "docker" "start" "-a" "0796373ca565496f69e86ff7783962b432907ebbf2f95a28bf65a94d85f6a41a", kill_on_drop: false }` [INFO] [stderr] Compiling async-traceroute v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `ipv6_datagram` [INFO] [stdout] --> src/traceroute/utils/packet_utils.rs:170:24 [INFO] [stdout] | [INFO] [stdout] 170 | IpDatagram::V6(ipv6_datagram) => todo!() [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ipv6_datagram` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ttl` [INFO] [stdout] --> src/traceroute/probe/task.rs:297:9 [INFO] [stdout] | [INFO] [stdout] 297 | ttl: u8, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 297 | _ttl: u8, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `TCP_SYN_ACK` [INFO] [stdout] | [INFO] [stdout] 297 - ttl: u8, [INFO] [stdout] 297 + traceroute::utils::packet_utils::TCP_SYN_ACK: u8, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_address` [INFO] [stdout] --> src/traceroute/probe/task.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 298 | source_address: Ipv6Addr, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `destination_address` [INFO] [stdout] --> src/traceroute/probe/task.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 299 | destination_address: Ipv6Addr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_destination_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip_id` [INFO] [stdout] --> src/traceroute/probe/task.rs:300:9 [INFO] [stdout] | [INFO] [stdout] 300 | ip_id: u16 [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ip_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RandomUniquePort` is never constructed [INFO] [stdout] --> src/traceroute/utils.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct RandomUniquePort { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `generate_ports`, and `generate_port` are never used [INFO] [stdout] --> src/traceroute/utils.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl RandomUniquePort { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 15 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn generate_ports(&mut self, tot_ports: u16) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn generate_port(&mut self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_udp_datagram_with_ports` is never used [INFO] [stdout] --> src/traceroute/utils/packet_utils.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn build_udp_datagram_with_ports(source_port: u16, destination_port: u16) -> Udp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_default_ipv4_addr_interface` is never used [INFO] [stdout] --> src/traceroute/utils/packet_utils.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn get_default_ipv4_addr_interface() -> Ipv4Addr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_default_ipv6_addr_interface` is never used [INFO] [stdout] --> src/traceroute/utils/packet_utils.rs:215:8 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn get_default_ipv6_addr_interface() -> Ipv6Addr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ttl` is never read [INFO] [stdout] --> src/traceroute/terminal.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 144 | struct PrintableHop { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 145 | ttl: u8, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `from_address` is never used [INFO] [stdout] --> src/traceroute/probe.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl ProbeResponse { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn from_address(&self) -> Ipv4Addr { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `source_address` is never read [INFO] [stdout] --> src/traceroute/probe/task.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct UdpProbeTask { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | source_address: IpAddr, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `DEFAULT_DESTINATION_PORT` and `build` are never used [INFO] [stdout] --> src/traceroute/probe/generator.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 57 | impl TcpProbeTaskGenerator { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 58 | const DEFAULT_DESTINATION_PORT: u16 = 80; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 59 | [INFO] [stdout] 60 | pub fn build(ip_id: u16, destination_port: u16) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `stop` is never used [INFO] [stdout] --> src/traceroute/probe/sniffer.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait Sniffer { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 23 | fn stop(&self) -> io::Result<()>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `connect`, `local_addr`, `send`, and `shutdown` are never used [INFO] [stdout] --> src/traceroute/async_socket.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 20 | impl AsyncSocket { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub async fn connect(&self, ip: Ipv4Addr) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn local_addr(&self) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub async fn send(&self, buf: &[u8]) -> io::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn shutdown(&self, how: Shutdown) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `connect`, `local_addr`, `send`, and `shutdown` are never used [INFO] [stdout] --> src/traceroute/async_socket.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 82 | impl MioTokioSocket { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 102 | fn connect(&self, ip: Ipv4Addr) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | fn local_addr(&self) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | fn send(&self, buf: &[u8]) -> io::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | fn shutdown(&self, how: Shutdown) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ipv6_datagram` [INFO] [stdout] --> src/traceroute/utils/packet_utils.rs:170:24 [INFO] [stdout] | [INFO] [stdout] 170 | IpDatagram::V6(ipv6_datagram) => todo!() [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ipv6_datagram` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ttl` [INFO] [stdout] --> src/traceroute/probe/task.rs:297:9 [INFO] [stdout] | [INFO] [stdout] 297 | ttl: u8, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 297 | _ttl: u8, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `TCP_SYN_ACK` [INFO] [stdout] | [INFO] [stdout] 297 - ttl: u8, [INFO] [stdout] 297 + traceroute::utils::packet_utils::TCP_SYN_ACK: u8, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_address` [INFO] [stdout] --> src/traceroute/probe/task.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 298 | source_address: Ipv6Addr, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `destination_address` [INFO] [stdout] --> src/traceroute/probe/task.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 299 | destination_address: Ipv6Addr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_destination_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip_id` [INFO] [stdout] --> src/traceroute/probe/task.rs:300:9 [INFO] [stdout] | [INFO] [stdout] 300 | ip_id: u16 [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ip_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RandomUniquePort` is never constructed [INFO] [stdout] --> src/traceroute/utils.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct RandomUniquePort { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `generate_ports`, and `generate_port` are never used [INFO] [stdout] --> src/traceroute/utils.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl RandomUniquePort { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 15 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn generate_ports(&mut self, tot_ports: u16) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn generate_port(&mut self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_udp_datagram_with_ports` is never used [INFO] [stdout] --> src/traceroute/utils/packet_utils.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn build_udp_datagram_with_ports(source_port: u16, destination_port: u16) -> Udp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_default_ipv4_addr_interface` is never used [INFO] [stdout] --> src/traceroute/utils/packet_utils.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn get_default_ipv4_addr_interface() -> Ipv4Addr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_default_ipv6_addr_interface` is never used [INFO] [stdout] --> src/traceroute/utils/packet_utils.rs:215:8 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn get_default_ipv6_addr_interface() -> Ipv6Addr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ttl` is never read [INFO] [stdout] --> src/traceroute/terminal.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 144 | struct PrintableHop { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 145 | ttl: u8, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `from_address` is never used [INFO] [stdout] --> src/traceroute/probe.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl ProbeResponse { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn from_address(&self) -> Ipv4Addr { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `source_address` is never read [INFO] [stdout] --> src/traceroute/probe/task.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct UdpProbeTask { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | source_address: IpAddr, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `DEFAULT_DESTINATION_PORT` and `build` are never used [INFO] [stdout] --> src/traceroute/probe/generator.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 57 | impl TcpProbeTaskGenerator { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 58 | const DEFAULT_DESTINATION_PORT: u16 = 80; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 59 | [INFO] [stdout] 60 | pub fn build(ip_id: u16, destination_port: u16) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `stop` is never used [INFO] [stdout] --> src/traceroute/probe/sniffer.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait Sniffer { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 23 | fn stop(&self) -> io::Result<()>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `connect`, `local_addr`, `send`, and `shutdown` are never used [INFO] [stdout] --> src/traceroute/async_socket.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 20 | impl AsyncSocket { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub async fn connect(&self, ip: Ipv4Addr) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn local_addr(&self) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub async fn send(&self, buf: &[u8]) -> io::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn shutdown(&self, how: Shutdown) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `connect`, `local_addr`, `send`, and `shutdown` are never used [INFO] [stdout] --> src/traceroute/async_socket.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 82 | impl MioTokioSocket { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 102 | fn connect(&self, ip: Ipv4Addr) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | fn local_addr(&self) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | fn send(&self, buf: &[u8]) -> io::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | fn shutdown(&self, how: Shutdown) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.33s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: domain v0.10.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5` [INFO] running `Command { std: "docker" "inspect" "0796373ca565496f69e86ff7783962b432907ebbf2f95a28bf65a94d85f6a41a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0796373ca565496f69e86ff7783962b432907ebbf2f95a28bf65a94d85f6a41a", kill_on_drop: false }` [INFO] [stdout] 0796373ca565496f69e86ff7783962b432907ebbf2f95a28bf65a94d85f6a41a