[INFO] cloning repository https://github.com/Stratus51/rust_ping_scanner [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Stratus51/rust_ping_scanner" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStratus51%2Frust_ping_scanner", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStratus51%2Frust_ping_scanner'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6d05a46df54ee036b50c869f08b4056a7716d77b [INFO] building Stratus51/rust_ping_scanner against master#a29f341a8ac4e9325a5e37027b4215f50a76d06f for pr-101929 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStratus51%2Frust_ping_scanner" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Stratus51/rust_ping_scanner on toolchain a29f341a8ac4e9325a5e37027b4215f50a76d06f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Stratus51/rust_ping_scanner [INFO] finished tweaking git repo https://github.com/Stratus51/rust_ping_scanner [INFO] tweaked toml for git repo https://github.com/Stratus51/rust_ping_scanner written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/Stratus51/rust_ping_scanner already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pnet_transport v0.27.2 [INFO] [stderr] Downloaded pin-project-lite v0.2.5 [INFO] [stderr] Downloaded pnet v0.27.2 [INFO] [stderr] Downloaded sys-info v0.8.0 [INFO] [stderr] Downloaded pnet_sys v0.27.2 [INFO] [stderr] Downloaded pnet_datalink v0.27.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 93313c5fb67693c65039659f08a7d5bd67746be3b5ae48ca0af90be839b009ce [INFO] running `Command { std: "docker" "start" "-a" "93313c5fb67693c65039659f08a7d5bd67746be3b5ae48ca0af90be839b009ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93313c5fb67693c65039659f08a7d5bd67746be3b5ae48ca0af90be839b009ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93313c5fb67693c65039659f08a7d5bd67746be3b5ae48ca0af90be839b009ce", kill_on_drop: false }` [INFO] [stdout] 93313c5fb67693c65039659f08a7d5bd67746be3b5ae48ca0af90be839b009ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b81e75ee320bd22688cc17d154d4caf1214826fa8be4bc6f203234a2958293fb [INFO] running `Command { std: "docker" "start" "-a" "b81e75ee320bd22688cc17d154d4caf1214826fa8be4bc6f203234a2958293fb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.87 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling unicode-xid v0.0.3 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling bitflags v0.5.0 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling syntex_pos v0.42.0 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling syntex_errors v0.42.0 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling pnet_base v0.27.2 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling pin-project-lite v0.2.5 [INFO] [stderr] Compiling pnet_macros_support v0.27.2 [INFO] [stderr] Compiling pnet_sys v0.27.2 [INFO] [stderr] Compiling syntex_syntax v0.42.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling pnet v0.27.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling futures-sink v0.3.13 [INFO] [stderr] Compiling tokio v1.2.0 [INFO] [stderr] Compiling futures-core v0.3.13 [INFO] [stderr] Compiling futures-channel v0.3.13 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling futures-io v0.3.13 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling futures-task v0.3.13 [INFO] [stderr] Compiling sys-info v0.8.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling syntex v0.42.2 [INFO] [stderr] Compiling pnet_macros v0.27.2 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling futures-util v0.3.13 [INFO] [stderr] Compiling futures-executor v0.3.13 [INFO] [stderr] Compiling futures v0.3.13 [INFO] [stderr] Compiling pnet_packet v0.27.2 [INFO] [stderr] Compiling ipnetwork v0.17.0 [INFO] [stderr] Compiling pnet_datalink v0.27.2 [INFO] [stderr] Compiling pnet_transport v0.27.2 [INFO] [stderr] Compiling tokio_ip_ping_request v0.1.0 (/opt/rustwide/workdir/tokio_ip_ping_request) [INFO] [stdout] warning: unused import: `tcp` [INFO] [stdout] --> tokio_ip_ping_request/src/traceroute.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::ping::{icmp, tcp}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `addr` and `latency` are never read [INFO] [stdout] --> tokio_ip_ping_request/src/measure_route.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct RouteNode { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 9 | addr: Ipv4Addr, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | latency: Duration, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `RouteNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stat` is never read [INFO] [stdout] --> tokio_ip_ping_request/src/measure_route.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct TtlStat { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 15 | ttl: u8, [INFO] [stdout] 16 | stat: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TtlStat` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sn` is never read [INFO] [stdout] --> tokio_ip_ping_request/src/ping/icmp.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct PingIdentifier { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | sn: u16, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `PingIdentifier` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sn` is never read [INFO] [stdout] --> tokio_ip_ping_request/src/ping/tcp.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct PingIdentifier { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | sn: u16, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `PingIdentifier` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ping_scan v0.1.0 (/opt/rustwide/workdir/ping_scan) [INFO] [stderr] Compiling measure_route v0.1.0 (/opt/rustwide/workdir/measure_route) [INFO] [stderr] Compiling ping v0.1.0 (/opt/rustwide/workdir/ping) [INFO] [stderr] Compiling traceroute v0.1.0 (/opt/rustwide/workdir/traceroute) [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> ping_scan/src/configuration/v1.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> ping_scan/src/configuration/v1.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `field_from_args` is never used [INFO] [stdout] --> ping_scan/src/configuration/v0.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn field_from_args(args: &[String], field_name: &str) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConfigurationObject` is never constructed [INFO] [stdout] --> ping_scan/src/configuration/v0.rs:256:12 [INFO] [stdout] | [INFO] [stdout] 256 | pub struct ConfigurationObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_args` is never used [INFO] [stdout] --> ping_scan/src/configuration/v0.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn from_args(args: &[String]) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `generate` is never used [INFO] [stdout] --> ping_scan/src/configuration/v0.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn generate(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> ping_scan/src/configuration/v0.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn from_str(s: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_args` is never used [INFO] [stdout] --> ping_scan/src/configuration/v0.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn from_args(args: &[String]) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `generate` is never used [INFO] [stdout] --> ping_scan/src/configuration/v0.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn generate(&self) -> Box> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_args` is never used [INFO] [stdout] --> ping_scan/src/configuration/v0.rs:262:12 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn from_args(args: &[String]) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `generate` is never used [INFO] [stdout] --> ping_scan/src/configuration/v0.rs:273:12 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn generate(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> ping_scan/src/cursor/mod.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn new(cursor: C) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_DEPTH` is never used [INFO] [stdout] --> ping_scan/src/deprecated/u32_sampling_iterator.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const MAX_DEPTH: u32 = 31; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> ping_scan/src/deprecated/u32_sampling_iterator.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(depth: u32, index: u32, max_depth: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `field_from_args` is never used [INFO] [stdout] --> ping_scan/src/configuration/mod.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn field_from_args(args: &[String], field_name: &str) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_args` is never used [INFO] [stdout] --> ping_scan/src/configuration/mod.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn from_args(args: &[String]) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> ping_scan/src/configuration/mod.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn from_str(s: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_u8` is never used [INFO] [stdout] --> ping_scan/src/configuration/mod.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn from_u8(n: u8) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_args` is never used [INFO] [stdout] --> ping_scan/src/configuration/mod.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn from_args(args: &[String]) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_args` is never used [INFO] [stdout] --> ping_scan/src/configuration/mod.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn from_args(args: &[String]) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_args` is never used [INFO] [stdout] --> ping_scan/src/configuration/mod.rs:185:12 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn from_args(args: &[String]) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_args` is never used [INFO] [stdout] --> ping_scan/src/configuration/mod.rs:216:12 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn from_args(args: &[String]) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `field_from_args` is never used [INFO] [stdout] --> ping_scan/src/configuration/v0.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn field_from_args(args: &[String], field_name: &str) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConfigurationObject` is never constructed [INFO] [stdout] --> ping_scan/src/configuration/v0.rs:256:12 [INFO] [stdout] | [INFO] [stdout] 256 | pub struct ConfigurationObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_args` is never used [INFO] [stdout] --> ping_scan/src/configuration/v0.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn from_args(args: &[String]) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `generate` is never used [INFO] [stdout] --> ping_scan/src/configuration/v0.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn generate(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> ping_scan/src/configuration/v0.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn from_str(s: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_args` is never used [INFO] [stdout] --> ping_scan/src/configuration/v0.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn from_args(args: &[String]) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `generate` is never used [INFO] [stdout] --> ping_scan/src/configuration/v0.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn generate(&self) -> Box> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_args` is never used [INFO] [stdout] --> ping_scan/src/configuration/v0.rs:262:12 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn from_args(args: &[String]) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `generate` is never used [INFO] [stdout] --> ping_scan/src/configuration/v0.rs:273:12 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn generate(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_DEPTH` is never used [INFO] [stdout] --> ping_scan/src/deprecated/u32_sampling_iterator.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const MAX_DEPTH: u32 = 31; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> ping_scan/src/deprecated/u32_sampling_iterator.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(depth: u32, index: u32, max_depth: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 38.85s [INFO] running `Command { std: "docker" "inspect" "b81e75ee320bd22688cc17d154d4caf1214826fa8be4bc6f203234a2958293fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b81e75ee320bd22688cc17d154d4caf1214826fa8be4bc6f203234a2958293fb", kill_on_drop: false }` [INFO] [stdout] b81e75ee320bd22688cc17d154d4caf1214826fa8be4bc6f203234a2958293fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 166a4088c36cac2f63cf8bd1a499c736ed2e8fc109e17cc5853b164993fd59f8 [INFO] running `Command { std: "docker" "start" "-a" "166a4088c36cac2f63cf8bd1a499c736ed2e8fc109e17cc5853b164993fd59f8", kill_on_drop: false }` [INFO] [stderr] Compiling tokio_ip_ping_request v0.1.0 (/opt/rustwide/workdir/tokio_ip_ping_request) [INFO] [stderr] Compiling measure_route v0.1.0 (/opt/rustwide/workdir/measure_route) [INFO] [stderr] Compiling ping v0.1.0 (/opt/rustwide/workdir/ping) [INFO] [stderr] Compiling ping_scan v0.1.0 (/opt/rustwide/workdir/ping_scan) [INFO] [stderr] Compiling traceroute v0.1.0 (/opt/rustwide/workdir/traceroute) [INFO] [stdout] warning: unused import: `tcp` [INFO] [stdout] --> tokio_ip_ping_request/src/traceroute.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::ping::{icmp, tcp}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `addr` and `latency` are never read [INFO] [stdout] --> tokio_ip_ping_request/src/measure_route.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct RouteNode { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 9 | addr: Ipv4Addr, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | latency: Duration, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `RouteNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stat` is never read [INFO] [stdout] --> tokio_ip_ping_request/src/measure_route.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct TtlStat { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 15 | ttl: u8, [INFO] [stdout] 16 | stat: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TtlStat` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sn` is never read [INFO] [stdout] --> tokio_ip_ping_request/src/ping/icmp.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct PingIdentifier { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | sn: u16, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `PingIdentifier` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sn` is never read [INFO] [stdout] --> tokio_ip_ping_request/src/ping/tcp.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct PingIdentifier { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | sn: u16, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `PingIdentifier` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tcp` [INFO] [stdout] --> tokio_ip_ping_request/src/traceroute.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::ping::{icmp, tcp}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `addr` and `latency` are never read [INFO] [stdout] --> tokio_ip_ping_request/src/measure_route.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct RouteNode { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 9 | addr: Ipv4Addr, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | latency: Duration, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `RouteNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stat` is never read [INFO] [stdout] --> tokio_ip_ping_request/src/measure_route.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct TtlStat { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 15 | ttl: u8, [INFO] [stdout] 16 | stat: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TtlStat` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sn` is never read [INFO] [stdout] --> tokio_ip_ping_request/src/ping/icmp.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct PingIdentifier { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | sn: u16, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `PingIdentifier` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sn` is never read [INFO] [stdout] --> tokio_ip_ping_request/src/ping/tcp.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct PingIdentifier { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | sn: u16, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `PingIdentifier` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `field_from_args` is never used [INFO] [stdout] --> ping_scan/src/configuration/mod.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn field_from_args(args: &[String], field_name: &str) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_args` is never used [INFO] [stdout] --> ping_scan/src/configuration/mod.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn from_args(args: &[String]) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> ping_scan/src/configuration/mod.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn from_str(s: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_u8` is never used [INFO] [stdout] --> ping_scan/src/configuration/mod.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn from_u8(n: u8) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_args` is never used [INFO] [stdout] --> ping_scan/src/configuration/mod.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn from_args(args: &[String]) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_args` is never used [INFO] [stdout] --> ping_scan/src/configuration/mod.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn from_args(args: &[String]) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_args` is never used [INFO] [stdout] --> ping_scan/src/configuration/mod.rs:185:12 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn from_args(args: &[String]) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_args` is never used [INFO] [stdout] --> ping_scan/src/configuration/mod.rs:216:12 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn from_args(args: &[String]) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `field_from_args` is never used [INFO] [stdout] --> ping_scan/src/configuration/v0.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn field_from_args(args: &[String], field_name: &str) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConfigurationObject` is never constructed [INFO] [stdout] --> ping_scan/src/configuration/v0.rs:256:12 [INFO] [stdout] | [INFO] [stdout] 256 | pub struct ConfigurationObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_args` is never used [INFO] [stdout] --> ping_scan/src/configuration/v0.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn from_args(args: &[String]) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `generate` is never used [INFO] [stdout] --> ping_scan/src/configuration/v0.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn generate(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> ping_scan/src/configuration/v0.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn from_str(s: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_args` is never used [INFO] [stdout] --> ping_scan/src/configuration/v0.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn from_args(args: &[String]) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `generate` is never used [INFO] [stdout] --> ping_scan/src/configuration/v0.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn generate(&self) -> Box> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_args` is never used [INFO] [stdout] --> ping_scan/src/configuration/v0.rs:262:12 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn from_args(args: &[String]) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `generate` is never used [INFO] [stdout] --> ping_scan/src/configuration/v0.rs:273:12 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn generate(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_DEPTH` is never used [INFO] [stdout] --> ping_scan/src/deprecated/u32_sampling_iterator.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const MAX_DEPTH: u32 = 31; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> ping_scan/src/deprecated/u32_sampling_iterator.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(depth: u32, index: u32, max_depth: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `field_from_args` is never used [INFO] [stdout] --> ping_scan/src/configuration/v0.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn field_from_args(args: &[String], field_name: &str) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConfigurationObject` is never constructed [INFO] [stdout] --> ping_scan/src/configuration/v0.rs:256:12 [INFO] [stdout] | [INFO] [stdout] 256 | pub struct ConfigurationObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_args` is never used [INFO] [stdout] --> ping_scan/src/configuration/v0.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn from_args(args: &[String]) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `generate` is never used [INFO] [stdout] --> ping_scan/src/configuration/v0.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn generate(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> ping_scan/src/configuration/v0.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn from_str(s: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_args` is never used [INFO] [stdout] --> ping_scan/src/configuration/v0.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn from_args(args: &[String]) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `generate` is never used [INFO] [stdout] --> ping_scan/src/configuration/v0.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn generate(&self) -> Box> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_args` is never used [INFO] [stdout] --> ping_scan/src/configuration/v0.rs:262:12 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn from_args(args: &[String]) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `generate` is never used [INFO] [stdout] --> ping_scan/src/configuration/v0.rs:273:12 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn generate(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> ping_scan/src/cursor/mod.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn new(cursor: C) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_DEPTH` is never used [INFO] [stdout] --> ping_scan/src/deprecated/u32_sampling_iterator.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const MAX_DEPTH: u32 = 31; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> ping_scan/src/deprecated/u32_sampling_iterator.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(depth: u32, index: u32, max_depth: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.68s [INFO] running `Command { std: "docker" "inspect" "166a4088c36cac2f63cf8bd1a499c736ed2e8fc109e17cc5853b164993fd59f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "166a4088c36cac2f63cf8bd1a499c736ed2e8fc109e17cc5853b164993fd59f8", kill_on_drop: false }` [INFO] [stdout] 166a4088c36cac2f63cf8bd1a499c736ed2e8fc109e17cc5853b164993fd59f8