[INFO] cloning repository https://github.com/ThomasFrans/bootleg-shark [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ThomasFrans/bootleg-shark" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThomasFrans%2Fbootleg-shark", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThomasFrans%2Fbootleg-shark'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ace8e4636f448e236fd10442f051ad5a49031e23 [INFO] checking ThomasFrans/bootleg-shark against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThomasFrans%2Fbootleg-shark" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ThomasFrans/bootleg-shark on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ThomasFrans/bootleg-shark [INFO] finished tweaking git repo https://github.com/ThomasFrans/bootleg-shark [INFO] tweaked toml for git repo https://github.com/ThomasFrans/bootleg-shark written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ThomasFrans/bootleg-shark 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pnet_packet v0.29.0 [INFO] [stderr] Downloaded pnet_transport v0.29.0 [INFO] [stderr] Downloaded term v0.5.2 [INFO] [stderr] Downloaded pnet v0.29.0 [INFO] [stderr] Downloaded pnet_macros v0.29.0 [INFO] [stderr] Downloaded pnet_base v0.29.0 [INFO] [stderr] Downloaded pnet_datalink v0.29.0 [INFO] [stderr] Downloaded pnet_macros_support v0.29.0 [INFO] [stderr] Downloaded pnet_sys v0.29.0 [INFO] [stderr] Downloaded prettytable-rs v0.8.0 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a8eff788dcb83f7d055a6871b558cec16d9ff4510d1701436d3da320b31db78e [INFO] running `Command { std: "docker" "start" "-a" "a8eff788dcb83f7d055a6871b558cec16d9ff4510d1701436d3da320b31db78e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8eff788dcb83f7d055a6871b558cec16d9ff4510d1701436d3da320b31db78e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8eff788dcb83f7d055a6871b558cec16d9ff4510d1701436d3da320b31db78e", kill_on_drop: false }` [INFO] [stdout] a8eff788dcb83f7d055a6871b558cec16d9ff4510d1701436d3da320b31db78e [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8df77bba0f81246333f449add2d90355eea761ceb54c332e34f6892350e7fa77 [INFO] running `Command { std: "docker" "start" "-a" "8df77bba0f81246333f449add2d90355eea761ceb54c332e34f6892350e7fa77", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.120 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Checking pnet_base v0.29.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking ipnetwork v0.18.0 [INFO] [stderr] Checking pnet_macros_support v0.29.0 [INFO] [stderr] Compiling pnet v0.29.0 [INFO] [stderr] Checking encode_unicode v0.3.6 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking pnet_sys v0.29.0 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking term v0.5.2 [INFO] [stderr] Checking pnet_datalink v0.29.0 [INFO] [stderr] Checking prettytable-rs v0.8.0 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling pnet_macros v0.29.0 [INFO] [stderr] Checking pnet_packet v0.29.0 [INFO] [stderr] Checking pnet_transport v0.29.0 [INFO] [stderr] Checking pnettest v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/network/ipv4.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/datalink/ethernet.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display`, `Formatter` [INFO] [stdout] --> src/main.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | use std::fmt::{Display, Formatter}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ipv4Addr`, `Ipv6Addr` [INFO] [stdout] --> src/main.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | use std::net::{Ipv4Addr, Ipv6Addr}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cell`, `format`, `row`, `table` [INFO] [stdout] --> src/main.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | use prettytable::{table, row, cell, format}; [INFO] [stdout] | ^^^^^ ^^^ ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/network/ipv4.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/datalink/ethernet.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display`, `Formatter` [INFO] [stdout] --> src/main.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | use std::fmt::{Display, Formatter}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ipv4Addr`, `Ipv6Addr` [INFO] [stdout] --> src/main.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | use std::net::{Ipv4Addr, Ipv6Addr}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cell`, `format`, `row`, `table` [INFO] [stdout] --> src/main.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | use prettytable::{table, row, cell, format}; [INFO] [stdout] | ^^^^^ ^^^ ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/network/icmp.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 26 | ICMP_ECHO => "echo", [INFO] [stdout] | --------- matches any value [INFO] [stdout] 27 | ICMP_ECHO_REPLY => "echo reply", [INFO] [stdout] | ^^^^^^^^^^^^^^^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/network/icmp.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 26 | ICMP_ECHO => "echo", [INFO] [stdout] | --------- matches any value [INFO] [stdout] 27 | ICMP_ECHO_REPLY => "echo reply", [INFO] [stdout] 28 | _ => "unidentified" [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ICMP_ECHO` [INFO] [stdout] --> src/network/icmp.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | ICMP_ECHO => "echo", [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ICMP_ECHO` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ICMP_ECHO_REPLY` [INFO] [stdout] --> src/network/icmp.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | ICMP_ECHO_REPLY => "echo reply", [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ICMP_ECHO_REPLY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/datalink/ethernet.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 52 | IPV4 => "ipv4", [INFO] [stdout] | ---- matches any value [INFO] [stdout] 53 | ARP => "ARP", [INFO] [stdout] | ^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/datalink/ethernet.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 52 | IPV4 => "ipv4", [INFO] [stdout] | ---- matches any value [INFO] [stdout] 53 | ARP => "ARP", [INFO] [stdout] 54 | IPV6 => "ipv6", [INFO] [stdout] | ^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/datalink/ethernet.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 52 | IPV4 => "ipv4", [INFO] [stdout] | ---- matches any value [INFO] [stdout] ... [INFO] [stdout] 55 | _ => "undefined" [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `IPV4` [INFO] [stdout] --> src/datalink/ethernet.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | IPV4 => "ipv4", [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_IPV4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ARP` [INFO] [stdout] --> src/datalink/ethernet.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | ARP => "ARP", [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ARP` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `IPV6` [INFO] [stdout] --> src/datalink/ethernet.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | IPV6 => "ipv6", [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_IPV6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/application/dns.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | for i in 0..(tou16(&data[4..6])) as usize { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IGMP` is never used [INFO] [stdout] --> src/transport/mod.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const IGMP: Protocol = 2; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/network/icmp.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 26 | ICMP_ECHO => "echo", [INFO] [stdout] | --------- matches any value [INFO] [stdout] 27 | ICMP_ECHO_REPLY => "echo reply", [INFO] [stdout] | ^^^^^^^^^^^^^^^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/network/icmp.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 26 | ICMP_ECHO => "echo", [INFO] [stdout] | --------- matches any value [INFO] [stdout] 27 | ICMP_ECHO_REPLY => "echo reply", [INFO] [stdout] 28 | _ => "unidentified" [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ICMP_ECHO` [INFO] [stdout] --> src/network/icmp.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | ICMP_ECHO => "echo", [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ICMP_ECHO` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ICMP_ECHO_REPLY` [INFO] [stdout] --> src/network/icmp.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | ICMP_ECHO_REPLY => "echo reply", [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ICMP_ECHO_REPLY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/datalink/ethernet.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 52 | IPV4 => "ipv4", [INFO] [stdout] | ---- matches any value [INFO] [stdout] 53 | ARP => "ARP", [INFO] [stdout] | ^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHAOS` is never used [INFO] [stdout] --> src/transport/mod.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const CHAOS: Protocol = 16; // the protocol I use in my life... [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RDP` is never used [INFO] [stdout] --> src/transport/mod.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const RDP: Protocol = 27; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IPV6_ICMP` is never used [INFO] [stdout] --> src/transport/mod.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const IPV6_ICMP: Protocol = 58; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `destination`, `length`, and `checksum` are never used [INFO] [stdout] --> src/transport/udp.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl UDPSegment { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn destination(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn length(&self) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn checksum(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `sequence_number`, `acknowledgment_number`, and `checksum` are never used [INFO] [stdout] --> src/transport/tcp.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl TcpSegment { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn sequence_number(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn acknowledgment_number(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn checksum(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WOL` is never used [INFO] [stdout] --> src/network/mod.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const WOL: EthernetType = 0x0842; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RARP` is never used [INFO] [stdout] --> src/network/mod.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const RARP: EthernetType = 0x8035; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GOOSE` is never used [INFO] [stdout] --> src/network/mod.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const GOOSE: EthernetType = 0x88B8; // you mess with the the honk, you get the bonk [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/network/ipv4.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl Ipv4Packet { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 50 | #[inline] [INFO] [stdout] 51 | pub fn version(&self) -> u8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn tos(&self) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn total_length(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn id(&self) -> u16 { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn flags(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn offset(&self) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn ttl(&self) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn checksum(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn source(&self) -> Ipv4Addr { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn destination(&self) -> Ipv4Addr { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `source` is never used [INFO] [stdout] --> src/datalink/ethernet.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Frame { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn source(&self) -> &MacAddr { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `query_answers` is never read [INFO] [stdout] --> src/application/dns.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct DNSQuery { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | query_answers: Vec [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DNSQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `answer_type`, `class`, `ttl`, and `rdlength` are never read [INFO] [stdout] --> src/application/dns.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | struct DNSQueryAnswer { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 27 | name: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | answer_type: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 29 | class: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 30 | ttl: u16, [INFO] [stdout] | ^^^ [INFO] [stdout] 31 | rdlength: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DNSQueryAnswer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/datalink/ethernet.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 52 | IPV4 => "ipv4", [INFO] [stdout] | ---- matches any value [INFO] [stdout] 53 | ARP => "ARP", [INFO] [stdout] 54 | IPV6 => "ipv6", [INFO] [stdout] | ^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/datalink/ethernet.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 52 | IPV4 => "ipv4", [INFO] [stdout] | ---- matches any value [INFO] [stdout] ... [INFO] [stdout] 55 | _ => "undefined" [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `IPV4` [INFO] [stdout] --> src/datalink/ethernet.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | IPV4 => "ipv4", [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_IPV4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ARP` [INFO] [stdout] --> src/datalink/ethernet.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | ARP => "ARP", [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ARP` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `IPV6` [INFO] [stdout] --> src/datalink/ethernet.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | IPV6 => "ipv6", [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_IPV6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/transport/udp.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | writeln!(f, "{}", table); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ICMP_ECHO` should have a snake case name [INFO] [stdout] --> src/network/icmp.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | ICMP_ECHO => "echo", [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `icmp_echo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ICMP_ECHO_REPLY` should have a snake case name [INFO] [stdout] --> src/network/icmp.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | ICMP_ECHO_REPLY => "echo reply", [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `icmp_echo_reply` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `IPV4` should have a snake case name [INFO] [stdout] --> src/datalink/ethernet.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | IPV4 => "ipv4", [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `ipv4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ARP` should have a snake case name [INFO] [stdout] --> src/datalink/ethernet.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | ARP => "ARP", [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `arp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `IPV6` should have a snake case name [INFO] [stdout] --> src/datalink/ethernet.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | IPV6 => "ipv6", [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `ipv6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/application/dns.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | writeln!(f, "{}", table); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/application/dns.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | writeln!(f, "QUERY REQUEST {}", request.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/application/dns.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | for i in 0..(tou16(&data[4..6])) as usize { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IGMP` is never used [INFO] [stdout] --> src/transport/mod.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const IGMP: Protocol = 2; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHAOS` is never used [INFO] [stdout] --> src/transport/mod.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const CHAOS: Protocol = 16; // the protocol I use in my life... [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RDP` is never used [INFO] [stdout] --> src/transport/mod.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const RDP: Protocol = 27; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IPV6_ICMP` is never used [INFO] [stdout] --> src/transport/mod.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const IPV6_ICMP: Protocol = 58; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `destination`, `length`, and `checksum` are never used [INFO] [stdout] --> src/transport/udp.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl UDPSegment { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn destination(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn length(&self) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn checksum(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `sequence_number`, `acknowledgment_number`, and `checksum` are never used [INFO] [stdout] --> src/transport/tcp.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl TcpSegment { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn sequence_number(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn acknowledgment_number(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn checksum(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WOL` is never used [INFO] [stdout] --> src/network/mod.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const WOL: EthernetType = 0x0842; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RARP` is never used [INFO] [stdout] --> src/network/mod.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const RARP: EthernetType = 0x8035; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GOOSE` is never used [INFO] [stdout] --> src/network/mod.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const GOOSE: EthernetType = 0x88B8; // you mess with the the honk, you get the bonk [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/network/ipv4.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl Ipv4Packet { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 50 | #[inline] [INFO] [stdout] 51 | pub fn version(&self) -> u8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn tos(&self) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn total_length(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn id(&self) -> u16 { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn flags(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn offset(&self) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn ttl(&self) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn checksum(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn source(&self) -> Ipv4Addr { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn destination(&self) -> Ipv4Addr { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `source` is never used [INFO] [stdout] --> src/datalink/ethernet.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Frame { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn source(&self) -> &MacAddr { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `query_answers` is never read [INFO] [stdout] --> src/application/dns.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct DNSQuery { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | query_answers: Vec [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DNSQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 38 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `answer_type`, `class`, `ttl`, and `rdlength` are never read [INFO] [stdout] --> src/application/dns.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | struct DNSQueryAnswer { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 27 | name: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | answer_type: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 29 | class: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 30 | ttl: u16, [INFO] [stdout] | ^^^ [INFO] [stdout] 31 | rdlength: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DNSQueryAnswer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/transport/udp.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | writeln!(f, "{}", table); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ICMP_ECHO` should have a snake case name [INFO] [stdout] --> src/network/icmp.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | ICMP_ECHO => "echo", [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `icmp_echo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ICMP_ECHO_REPLY` should have a snake case name [INFO] [stdout] --> src/network/icmp.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | ICMP_ECHO_REPLY => "echo reply", [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `icmp_echo_reply` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `IPV4` should have a snake case name [INFO] [stdout] --> src/datalink/ethernet.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | IPV4 => "ipv4", [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `ipv4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ARP` should have a snake case name [INFO] [stdout] --> src/datalink/ethernet.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | ARP => "ARP", [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `arp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `IPV6` should have a snake case name [INFO] [stdout] --> src/datalink/ethernet.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | IPV6 => "ipv6", [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `ipv6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/application/dns.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | writeln!(f, "{}", table); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/application/dns.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | writeln!(f, "QUERY REQUEST {}", request.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 38 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.61s [INFO] running `Command { std: "docker" "inspect" "8df77bba0f81246333f449add2d90355eea761ceb54c332e34f6892350e7fa77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8df77bba0f81246333f449add2d90355eea761ceb54c332e34f6892350e7fa77", kill_on_drop: false }` [INFO] [stdout] 8df77bba0f81246333f449add2d90355eea761ceb54c332e34f6892350e7fa77 [INFO] checking ThomasFrans/bootleg-shark against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThomasFrans%2Fbootleg-shark" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ThomasFrans/bootleg-shark on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ThomasFrans/bootleg-shark [INFO] finished tweaking git repo https://github.com/ThomasFrans/bootleg-shark [INFO] tweaked toml for git repo https://github.com/ThomasFrans/bootleg-shark written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ThomasFrans/bootleg-shark 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a821dbdb2701f1d2bf6fff89dab489dc0ece07e111a786703c2335891490dcb7 [INFO] running `Command { std: "docker" "start" "-a" "a821dbdb2701f1d2bf6fff89dab489dc0ece07e111a786703c2335891490dcb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a821dbdb2701f1d2bf6fff89dab489dc0ece07e111a786703c2335891490dcb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a821dbdb2701f1d2bf6fff89dab489dc0ece07e111a786703c2335891490dcb7", kill_on_drop: false }` [INFO] [stdout] a821dbdb2701f1d2bf6fff89dab489dc0ece07e111a786703c2335891490dcb7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86625f2e4a4c4260897128c37c5b9f0423cd19e34aac3ae3444628f01fc3a70a [INFO] running `Command { std: "docker" "start" "-a" "86625f2e4a4c4260897128c37c5b9f0423cd19e34aac3ae3444628f01fc3a70a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.120 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking pnet_base v0.29.0 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking ipnetwork v0.18.0 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking pnet_macros_support v0.29.0 [INFO] [stderr] Compiling pnet v0.29.0 [INFO] [stderr] Checking encode_unicode v0.3.6 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking pnet_sys v0.29.0 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking pnet_datalink v0.29.0 [INFO] [stderr] Checking term v0.5.2 [INFO] [stderr] Checking prettytable-rs v0.8.0 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling pnet_macros v0.29.0 [INFO] [stderr] Checking pnet_packet v0.29.0 [INFO] [stderr] Checking pnet_transport v0.29.0 [INFO] [stderr] Checking pnettest v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/network/ipv4.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/datalink/ethernet.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display`, `Formatter` [INFO] [stdout] --> src/main.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | use std::fmt::{Display, Formatter}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ipv4Addr`, `Ipv6Addr` [INFO] [stdout] --> src/main.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | use std::net::{Ipv4Addr, Ipv6Addr}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cell`, `format`, `row`, `table` [INFO] [stdout] --> src/main.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | use prettytable::{table, row, cell, format}; [INFO] [stdout] | ^^^^^ ^^^ ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/network/ipv4.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/datalink/ethernet.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display`, `Formatter` [INFO] [stdout] --> src/main.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | use std::fmt::{Display, Formatter}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ipv4Addr`, `Ipv6Addr` [INFO] [stdout] --> src/main.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | use std::net::{Ipv4Addr, Ipv6Addr}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cell`, `format`, `row`, `table` [INFO] [stdout] --> src/main.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | use prettytable::{table, row, cell, format}; [INFO] [stdout] | ^^^^^ ^^^ ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/network/icmp.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 26 | ICMP_ECHO => "echo", [INFO] [stdout] | --------- matches any value [INFO] [stdout] 27 | ICMP_ECHO_REPLY => "echo reply", [INFO] [stdout] | ^^^^^^^^^^^^^^^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/network/icmp.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 26 | ICMP_ECHO => "echo", [INFO] [stdout] | --------- matches any value [INFO] [stdout] 27 | ICMP_ECHO_REPLY => "echo reply", [INFO] [stdout] 28 | _ => "unidentified" [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ICMP_ECHO` [INFO] [stdout] --> src/network/icmp.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | ICMP_ECHO => "echo", [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ICMP_ECHO` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ICMP_ECHO_REPLY` [INFO] [stdout] --> src/network/icmp.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | ICMP_ECHO_REPLY => "echo reply", [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ICMP_ECHO_REPLY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/datalink/ethernet.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 52 | IPV4 => "ipv4", [INFO] [stdout] | ---- matches any value [INFO] [stdout] 53 | ARP => "ARP", [INFO] [stdout] | ^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/datalink/ethernet.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 52 | IPV4 => "ipv4", [INFO] [stdout] | ---- matches any value [INFO] [stdout] 53 | ARP => "ARP", [INFO] [stdout] 54 | IPV6 => "ipv6", [INFO] [stdout] | ^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/datalink/ethernet.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 52 | IPV4 => "ipv4", [INFO] [stdout] | ---- matches any value [INFO] [stdout] ... [INFO] [stdout] 55 | _ => "undefined" [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `IPV4` [INFO] [stdout] --> src/datalink/ethernet.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | IPV4 => "ipv4", [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_IPV4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ARP` [INFO] [stdout] --> src/datalink/ethernet.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | ARP => "ARP", [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ARP` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `IPV6` [INFO] [stdout] --> src/datalink/ethernet.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | IPV6 => "ipv6", [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_IPV6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/application/dns.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | for i in 0..(tou16(&data[4..6])) as usize { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IGMP` is never used [INFO] [stdout] --> src/transport/mod.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const IGMP: Protocol = 2; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHAOS` is never used [INFO] [stdout] --> src/transport/mod.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const CHAOS: Protocol = 16; // the protocol I use in my life... [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RDP` is never used [INFO] [stdout] --> src/transport/mod.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const RDP: Protocol = 27; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IPV6_ICMP` is never used [INFO] [stdout] --> src/transport/mod.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const IPV6_ICMP: Protocol = 58; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `destination`, `length`, and `checksum` are never used [INFO] [stdout] --> src/transport/udp.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl UDPSegment { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn destination(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn length(&self) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn checksum(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `sequence_number`, `acknowledgment_number`, and `checksum` are never used [INFO] [stdout] --> src/transport/tcp.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl TcpSegment { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn sequence_number(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn acknowledgment_number(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn checksum(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WOL` is never used [INFO] [stdout] --> src/network/mod.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const WOL: EthernetType = 0x0842; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RARP` is never used [INFO] [stdout] --> src/network/mod.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const RARP: EthernetType = 0x8035; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GOOSE` is never used [INFO] [stdout] --> src/network/mod.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const GOOSE: EthernetType = 0x88B8; // you mess with the the honk, you get the bonk [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/network/ipv4.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl Ipv4Packet { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 50 | #[inline] [INFO] [stdout] 51 | pub fn version(&self) -> u8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn tos(&self) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn total_length(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn id(&self) -> u16 { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn flags(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn offset(&self) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn ttl(&self) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn checksum(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn source(&self) -> Ipv4Addr { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn destination(&self) -> Ipv4Addr { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `source` is never used [INFO] [stdout] --> src/datalink/ethernet.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Frame { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn source(&self) -> &MacAddr { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `query_answers` is never read [INFO] [stdout] --> src/application/dns.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct DNSQuery { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | query_answers: Vec [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DNSQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `answer_type`, `class`, `ttl`, and `rdlength` are never read [INFO] [stdout] --> src/application/dns.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | struct DNSQueryAnswer { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 27 | name: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | answer_type: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 29 | class: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 30 | ttl: u16, [INFO] [stdout] | ^^^ [INFO] [stdout] 31 | rdlength: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DNSQueryAnswer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/transport/udp.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | writeln!(f, "{}", table); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ICMP_ECHO` should have a snake case name [INFO] [stdout] --> src/network/icmp.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | ICMP_ECHO => "echo", [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `icmp_echo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ICMP_ECHO_REPLY` should have a snake case name [INFO] [stdout] --> src/network/icmp.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | ICMP_ECHO_REPLY => "echo reply", [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `icmp_echo_reply` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `IPV4` should have a snake case name [INFO] [stdout] --> src/datalink/ethernet.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | IPV4 => "ipv4", [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `ipv4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ARP` should have a snake case name [INFO] [stdout] --> src/datalink/ethernet.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | ARP => "ARP", [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `arp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `IPV6` should have a snake case name [INFO] [stdout] --> src/datalink/ethernet.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | IPV6 => "ipv6", [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `ipv6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/application/dns.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | writeln!(f, "{}", table); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/application/dns.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | writeln!(f, "QUERY REQUEST {}", request.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 38 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/network/icmp.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 26 | ICMP_ECHO => "echo", [INFO] [stdout] | --------- matches any value [INFO] [stdout] 27 | ICMP_ECHO_REPLY => "echo reply", [INFO] [stdout] | ^^^^^^^^^^^^^^^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/network/icmp.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 26 | ICMP_ECHO => "echo", [INFO] [stdout] | --------- matches any value [INFO] [stdout] 27 | ICMP_ECHO_REPLY => "echo reply", [INFO] [stdout] 28 | _ => "unidentified" [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ICMP_ECHO` [INFO] [stdout] --> src/network/icmp.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | ICMP_ECHO => "echo", [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ICMP_ECHO` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ICMP_ECHO_REPLY` [INFO] [stdout] --> src/network/icmp.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | ICMP_ECHO_REPLY => "echo reply", [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ICMP_ECHO_REPLY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/datalink/ethernet.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 52 | IPV4 => "ipv4", [INFO] [stdout] | ---- matches any value [INFO] [stdout] 53 | ARP => "ARP", [INFO] [stdout] | ^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/datalink/ethernet.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 52 | IPV4 => "ipv4", [INFO] [stdout] | ---- matches any value [INFO] [stdout] 53 | ARP => "ARP", [INFO] [stdout] 54 | IPV6 => "ipv6", [INFO] [stdout] | ^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/datalink/ethernet.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 52 | IPV4 => "ipv4", [INFO] [stdout] | ---- matches any value [INFO] [stdout] ... [INFO] [stdout] 55 | _ => "undefined" [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `IPV4` [INFO] [stdout] --> src/datalink/ethernet.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | IPV4 => "ipv4", [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_IPV4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ARP` [INFO] [stdout] --> src/datalink/ethernet.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | ARP => "ARP", [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ARP` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `IPV6` [INFO] [stdout] --> src/datalink/ethernet.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | IPV6 => "ipv6", [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_IPV6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/application/dns.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | for i in 0..(tou16(&data[4..6])) as usize { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IGMP` is never used [INFO] [stdout] --> src/transport/mod.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const IGMP: Protocol = 2; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHAOS` is never used [INFO] [stdout] --> src/transport/mod.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const CHAOS: Protocol = 16; // the protocol I use in my life... [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RDP` is never used [INFO] [stdout] --> src/transport/mod.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const RDP: Protocol = 27; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IPV6_ICMP` is never used [INFO] [stdout] --> src/transport/mod.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const IPV6_ICMP: Protocol = 58; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `destination`, `length`, and `checksum` are never used [INFO] [stdout] --> src/transport/udp.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl UDPSegment { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn destination(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn length(&self) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn checksum(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `sequence_number`, `acknowledgment_number`, and `checksum` are never used [INFO] [stdout] --> src/transport/tcp.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl TcpSegment { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn sequence_number(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn acknowledgment_number(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn checksum(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WOL` is never used [INFO] [stdout] --> src/network/mod.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const WOL: EthernetType = 0x0842; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RARP` is never used [INFO] [stdout] --> src/network/mod.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const RARP: EthernetType = 0x8035; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GOOSE` is never used [INFO] [stdout] --> src/network/mod.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const GOOSE: EthernetType = 0x88B8; // you mess with the the honk, you get the bonk [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/network/ipv4.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl Ipv4Packet { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 50 | #[inline] [INFO] [stdout] 51 | pub fn version(&self) -> u8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn tos(&self) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn total_length(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn id(&self) -> u16 { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn flags(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn offset(&self) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn ttl(&self) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn checksum(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn source(&self) -> Ipv4Addr { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn destination(&self) -> Ipv4Addr { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `source` is never used [INFO] [stdout] --> src/datalink/ethernet.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Frame { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn source(&self) -> &MacAddr { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `query_answers` is never read [INFO] [stdout] --> src/application/dns.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct DNSQuery { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | query_answers: Vec [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DNSQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `answer_type`, `class`, `ttl`, and `rdlength` are never read [INFO] [stdout] --> src/application/dns.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | struct DNSQueryAnswer { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 27 | name: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | answer_type: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 29 | class: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 30 | ttl: u16, [INFO] [stdout] | ^^^ [INFO] [stdout] 31 | rdlength: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DNSQueryAnswer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/transport/udp.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | writeln!(f, "{}", table); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ICMP_ECHO` should have a snake case name [INFO] [stdout] --> src/network/icmp.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | ICMP_ECHO => "echo", [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `icmp_echo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ICMP_ECHO_REPLY` should have a snake case name [INFO] [stdout] --> src/network/icmp.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | ICMP_ECHO_REPLY => "echo reply", [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `icmp_echo_reply` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `IPV4` should have a snake case name [INFO] [stdout] --> src/datalink/ethernet.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | IPV4 => "ipv4", [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `ipv4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ARP` should have a snake case name [INFO] [stdout] --> src/datalink/ethernet.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | ARP => "ARP", [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `arp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `IPV6` should have a snake case name [INFO] [stdout] --> src/datalink/ethernet.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | IPV6 => "ipv6", [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `ipv6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/application/dns.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | writeln!(f, "{}", table); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/application/dns.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | writeln!(f, "QUERY REQUEST {}", request.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 38 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.95s [INFO] running `Command { std: "docker" "inspect" "86625f2e4a4c4260897128c37c5b9f0423cd19e34aac3ae3444628f01fc3a70a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86625f2e4a4c4260897128c37c5b9f0423cd19e34aac3ae3444628f01fc3a70a", kill_on_drop: false }` [INFO] [stdout] 86625f2e4a4c4260897128c37c5b9f0423cd19e34aac3ae3444628f01fc3a70a