[INFO] cloning repository https://github.com/sebglazebrook/ping-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sebglazebrook/ping-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsebglazebrook%2Fping-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsebglazebrook%2Fping-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b4208ffff37cdfcdf8671ef369f10e4d498c79b8 [INFO] testing sebglazebrook/ping-rs against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsebglazebrook%2Fping-rs" "/workspace/builds/worker-39/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-39/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sebglazebrook/ping-rs on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sebglazebrook/ping-rs [INFO] finished tweaking git repo https://github.com/sebglazebrook/ping-rs [INFO] tweaked toml for git repo https://github.com/sebglazebrook/ping-rs written to /workspace/builds/worker-39/source/Cargo.toml [INFO] crate git repo https://github.com/sebglazebrook/ping-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pnet_base v0.20.0 [INFO] [stderr] Downloaded pnet_transport v0.20.0 [INFO] [stderr] Downloaded pnet_macros_support v0.20.0 [INFO] [stderr] Downloaded ipnetwork v0.12.7 [INFO] [stderr] Downloaded pnet_datalink v0.20.0 [INFO] [stderr] Downloaded pnet_macros v0.20.0 [INFO] [stderr] Downloaded pnet_packet v0.20.0 [INFO] [stderr] Downloaded pnet v0.20.0 [INFO] [stderr] Downloaded pnet_sys v0.20.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35e5ee33b23b2a0d98afbc3b3a3e3a432ea6d92136149b194258e7047bf0f6c4 [INFO] running `Command { std: "docker" "start" "-a" "35e5ee33b23b2a0d98afbc3b3a3e3a432ea6d92136149b194258e7047bf0f6c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35e5ee33b23b2a0d98afbc3b3a3e3a432ea6d92136149b194258e7047bf0f6c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35e5ee33b23b2a0d98afbc3b3a3e3a432ea6d92136149b194258e7047bf0f6c4", kill_on_drop: false }` [INFO] [stdout] 35e5ee33b23b2a0d98afbc3b3a3e3a432ea6d92136149b194258e7047bf0f6c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f5a5362385f159d59fa8922de5d23294f5e9d03c13f2ee3067eaf07f42d30e2c [INFO] running `Command { std: "docker" "start" "-a" "f5a5362385f159d59fa8922de5d23294f5e9d03c13f2ee3067eaf07f42d30e2c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.36 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling unicode-xid v0.0.3 [INFO] [stderr] Compiling bitflags v0.5.0 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.4.2 [INFO] [stderr] Compiling pnet_base v0.20.0 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling pnet v0.20.0 [INFO] [stderr] Compiling ipnetwork v0.12.7 [INFO] [stderr] Compiling byteorder v1.2.1 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling pnet_macros_support v0.20.0 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling pnet_sys v0.20.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling pnet_datalink v0.20.0 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling syntex_pos v0.42.0 [INFO] [stderr] Compiling regex v0.2.6 [INFO] [stderr] Compiling syntex_errors v0.42.0 [INFO] [stderr] Compiling syntex_syntax v0.42.0 [INFO] [stderr] Compiling syntex v0.42.2 [INFO] [stderr] Compiling pnet_macros v0.20.0 [INFO] [stderr] Compiling pnet_packet v0.20.0 [INFO] [stderr] Compiling pnet_transport v0.20.0 [INFO] [stderr] Compiling ping-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ping/network_layer.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | transmitter: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - transmitter: Box, [INFO] [stdout] 7 + transmitter: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ping/network_layer.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | receiver: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 - receiver: Box, [INFO] [stdout] 8 + receiver: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ping/network_layer.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | let (mut tx, mut rx) = match datalink::channel(&interface, datalink::Config::default()) { [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/ping/network_layer.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | let (mut tx, mut rx) = match datalink::channel(&interface, datalink::Config::default()) { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `message_type` [INFO] [stdout] --> src/ping/icmp_packet.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | message_type: u8, // just `type` in rfc [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `IcmpHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ping/icmp_packet.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [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] warning: field is never read: `code` [INFO] [stdout] --> src/ping/icmp_packet.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | code: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IcmpHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ping/icmp_packet.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [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] warning: field is never read: `checksum` [INFO] [stdout] --> src/ping/icmp_packet.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | checksum: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IcmpHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ping/icmp_packet.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [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] warning: field is never read: `identifier` [INFO] [stdout] --> src/ping/icmp_packet.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | identifier: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IcmpHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ping/icmp_packet.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [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] warning: field is never read: `sequence_number` [INFO] [stdout] --> src/ping/icmp_packet.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | sequence_number: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IcmpHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ping/icmp_packet.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [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] warning: field is never read: `header` [INFO] [stdout] --> src/ping/icmp_packet.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | header: IcmpHeader, // 8 bytes [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IcmpPacket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ping/icmp_packet.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [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] warning: field is never read: `payload` [INFO] [stdout] --> src/ping/icmp_packet.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | payload: String, // optional ( can store send time in here and then calculate the trip time when it's returned ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IcmpPacket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ping/icmp_packet.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [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] warning: field is never read: `interface` [INFO] [stdout] --> src/ping/network_layer.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | interface: datalink::NetworkInterface, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `receiver` [INFO] [stdout] --> src/ping/network_layer.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | receiver: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: literal out of range for `u8` [INFO] [stdout] --> src/ping/ip_header.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | version: 0x0800, // TODO correct value ?? [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(overflowing_literals)]` on by default [INFO] [stdout] = note: the literal `0x0800` (decimal `2048`) does not fit into the type `u8` and will become `0u8` [INFO] [stdout] = help: consider using the type `u16` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ping/ip_header.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | header_checksum.write_u16::(self.header_checksum); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 03s [INFO] running `Command { std: "docker" "inspect" "f5a5362385f159d59fa8922de5d23294f5e9d03c13f2ee3067eaf07f42d30e2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5a5362385f159d59fa8922de5d23294f5e9d03c13f2ee3067eaf07f42d30e2c", kill_on_drop: false }` [INFO] [stdout] f5a5362385f159d59fa8922de5d23294f5e9d03c13f2ee3067eaf07f42d30e2c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36be11e8e383929371b8677ea004a7876ea00b707977957db345a2d5a41da585 [INFO] running `Command { std: "docker" "start" "-a" "36be11e8e383929371b8677ea004a7876ea00b707977957db345a2d5a41da585", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ping/network_layer.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | transmitter: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - transmitter: Box, [INFO] [stdout] 7 + transmitter: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ping/network_layer.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | receiver: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 - receiver: Box, [INFO] [stdout] 8 + receiver: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ping-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ping/network_layer.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | let (mut tx, mut rx) = match datalink::channel(&interface, datalink::Config::default()) { [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/ping/network_layer.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | let (mut tx, mut rx) = match datalink::channel(&interface, datalink::Config::default()) { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `message_type` [INFO] [stdout] --> src/ping/icmp_packet.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | message_type: u8, // just `type` in rfc [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `IcmpHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ping/icmp_packet.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [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] warning: field is never read: `code` [INFO] [stdout] --> src/ping/icmp_packet.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | code: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IcmpHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ping/icmp_packet.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [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] warning: field is never read: `checksum` [INFO] [stdout] --> src/ping/icmp_packet.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | checksum: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IcmpHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ping/icmp_packet.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [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] warning: field is never read: `identifier` [INFO] [stdout] --> src/ping/icmp_packet.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | identifier: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IcmpHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ping/icmp_packet.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [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] warning: field is never read: `sequence_number` [INFO] [stdout] --> src/ping/icmp_packet.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | sequence_number: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IcmpHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ping/icmp_packet.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [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] warning: field is never read: `header` [INFO] [stdout] --> src/ping/icmp_packet.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | header: IcmpHeader, // 8 bytes [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IcmpPacket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ping/icmp_packet.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [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] warning: field is never read: `payload` [INFO] [stdout] --> src/ping/icmp_packet.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | payload: String, // optional ( can store send time in here and then calculate the trip time when it's returned ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IcmpPacket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ping/icmp_packet.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [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] warning: field is never read: `interface` [INFO] [stdout] --> src/ping/network_layer.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | interface: datalink::NetworkInterface, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `receiver` [INFO] [stdout] --> src/ping/network_layer.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | receiver: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: literal out of range for `u8` [INFO] [stdout] --> src/ping/ip_header.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | version: 0x0800, // TODO correct value ?? [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(overflowing_literals)]` on by default [INFO] [stdout] = note: the literal `0x0800` (decimal `2048`) does not fit into the type `u8` and will become `0u8` [INFO] [stdout] = help: consider using the type `u16` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ping/ip_header.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | header_checksum.write_u16::(self.header_checksum); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ping/network_layer.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | transmitter: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - transmitter: Box, [INFO] [stdout] 7 + transmitter: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ping/network_layer.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | receiver: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 - receiver: Box, [INFO] [stdout] 8 + receiver: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ping/network_layer.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | let (mut tx, mut rx) = match datalink::channel(&interface, datalink::Config::default()) { [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/ping/network_layer.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | let (mut tx, mut rx) = match datalink::channel(&interface, datalink::Config::default()) { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `message_type` [INFO] [stdout] --> src/ping/icmp_packet.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | message_type: u8, // just `type` in rfc [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `IcmpHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ping/icmp_packet.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [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] warning: field is never read: `code` [INFO] [stdout] --> src/ping/icmp_packet.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | code: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IcmpHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ping/icmp_packet.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [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] warning: field is never read: `checksum` [INFO] [stdout] --> src/ping/icmp_packet.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | checksum: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IcmpHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ping/icmp_packet.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [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] warning: field is never read: `identifier` [INFO] [stdout] --> src/ping/icmp_packet.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | identifier: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IcmpHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ping/icmp_packet.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [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] warning: field is never read: `sequence_number` [INFO] [stdout] --> src/ping/icmp_packet.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | sequence_number: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IcmpHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ping/icmp_packet.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [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] warning: field is never read: `header` [INFO] [stdout] --> src/ping/icmp_packet.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | header: IcmpHeader, // 8 bytes [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IcmpPacket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ping/icmp_packet.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [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] warning: field is never read: `payload` [INFO] [stdout] --> src/ping/icmp_packet.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | payload: String, // optional ( can store send time in here and then calculate the trip time when it's returned ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IcmpPacket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ping/icmp_packet.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [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] warning: field is never read: `interface` [INFO] [stdout] --> src/ping/network_layer.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | interface: datalink::NetworkInterface, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `receiver` [INFO] [stdout] --> src/ping/network_layer.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | receiver: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: literal out of range for `u8` [INFO] [stdout] --> src/ping/ip_header.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | version: 0x0800, // TODO correct value ?? [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(overflowing_literals)]` on by default [INFO] [stdout] = note: the literal `0x0800` (decimal `2048`) does not fit into the type `u8` and will become `0u8` [INFO] [stdout] = help: consider using the type `u16` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ping/ip_header.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | header_checksum.write_u16::(self.header_checksum); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.09s [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "36be11e8e383929371b8677ea004a7876ea00b707977957db345a2d5a41da585", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36be11e8e383929371b8677ea004a7876ea00b707977957db345a2d5a41da585", kill_on_drop: false }` [INFO] [stdout] 36be11e8e383929371b8677ea004a7876ea00b707977957db345a2d5a41da585 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0052b190e8d8084a2f542be49e184bf537abe538deec782f960c405b36eee437 [INFO] running `Command { std: "docker" "start" "-a" "0052b190e8d8084a2f542be49e184bf537abe538deec782f960c405b36eee437", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ping/network_layer.rs:7:22 [INFO] [stderr] | [INFO] [stderr] 7 | transmitter: Box, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 7 - transmitter: Box, [INFO] [stderr] 7 + transmitter: Box, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ping/network_layer.rs:8:19 [INFO] [stderr] | [INFO] [stderr] 8 | receiver: Box, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 8 - receiver: Box, [INFO] [stderr] 8 + receiver: Box, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/ping/network_layer.rs:15:14 [INFO] [stderr] | [INFO] [stderr] 15 | let (mut tx, mut rx) = match datalink::channel(&interface, datalink::Config::default()) { [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/ping/network_layer.rs:15:22 [INFO] [stderr] | [INFO] [stderr] 15 | let (mut tx, mut rx) = match datalink::channel(&interface, datalink::Config::default()) { [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `message_type` [INFO] [stderr] --> src/ping/icmp_packet.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | message_type: u8, // just `type` in rfc [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `IcmpHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/ping/icmp_packet.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `code` [INFO] [stderr] --> src/ping/icmp_packet.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | code: u8, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `IcmpHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/ping/icmp_packet.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `checksum` [INFO] [stderr] --> src/ping/icmp_packet.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | checksum: u16, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `IcmpHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/ping/icmp_packet.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `identifier` [INFO] [stderr] --> src/ping/icmp_packet.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | identifier: u16, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `IcmpHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/ping/icmp_packet.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `sequence_number` [INFO] [stderr] --> src/ping/icmp_packet.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | sequence_number: u16, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `IcmpHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/ping/icmp_packet.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `header` [INFO] [stderr] --> src/ping/icmp_packet.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | header: IcmpHeader, // 8 bytes [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `IcmpPacket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/ping/icmp_packet.rs:26:10 [INFO] [stderr] | [INFO] [stderr] 26 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `payload` [INFO] [stderr] --> src/ping/icmp_packet.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | payload: String, // optional ( can store send time in here and then calculate the trip time when it's returned ) [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `IcmpPacket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/ping/icmp_packet.rs:26:10 [INFO] [stderr] | [INFO] [stderr] 26 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `interface` [INFO] [stderr] --> src/ping/network_layer.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | interface: datalink::NetworkInterface, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `receiver` [INFO] [stderr] --> src/ping/network_layer.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | receiver: Box, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: literal out of range for `u8` [INFO] [stderr] --> src/ping/ip_header.rs:31:22 [INFO] [stderr] | [INFO] [stderr] 31 | version: 0x0800, // TODO correct value ?? [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(overflowing_literals)]` on by default [INFO] [stderr] = note: the literal `0x0800` (decimal `2048`) does not fit into the type `u8` and will become `0u8` [INFO] [stderr] = help: consider using the type `u16` instead [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/ping/ip_header.rs:70:9 [INFO] [stderr] | [INFO] [stderr] 70 | header_checksum.write_u16::(self.header_checksum); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `ping-rs` (lib) generated 15 warnings [INFO] [stderr] warning: `ping-rs` (lib test) generated 15 warnings (15 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/ping-1d756a3a3137e769) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/ping_rs-d6568afbcbf53e9d) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests ping [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0052b190e8d8084a2f542be49e184bf537abe538deec782f960c405b36eee437", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0052b190e8d8084a2f542be49e184bf537abe538deec782f960c405b36eee437", kill_on_drop: false }` [INFO] [stdout] 0052b190e8d8084a2f542be49e184bf537abe538deec782f960c405b36eee437