[INFO] cloning repository https://github.com/arashsm79/mohole [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/arashsm79/mohole" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farashsm79%2Fmohole", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farashsm79%2Fmohole'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6eb6ebbeb8e44deead76a092eaa784a6e18a19e7 [INFO] checking arashsm79/mohole against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farashsm79%2Fmohole" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/arashsm79/mohole 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/arashsm79/mohole [INFO] finished tweaking git repo https://github.com/arashsm79/mohole [INFO] tweaked toml for git repo https://github.com/arashsm79/mohole written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/arashsm79/mohole 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] Downloading crates ... [INFO] [stderr] Downloaded pcap v0.9.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 248898e8dd507f57126f06746f43f7726684b7097ac7441a5b518437a7b47440 [INFO] running `Command { std: "docker" "start" "-a" "248898e8dd507f57126f06746f43f7726684b7097ac7441a5b518437a7b47440", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "248898e8dd507f57126f06746f43f7726684b7097ac7441a5b518437a7b47440", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "248898e8dd507f57126f06746f43f7726684b7097ac7441a5b518437a7b47440", kill_on_drop: false }` [INFO] [stdout] 248898e8dd507f57126f06746f43f7726684b7097ac7441a5b518437a7b47440 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 39d14de88ebb3fbe864423026048626ad5b79ad69bd364585fdfde119a7fdb13 [INFO] running `Command { std: "docker" "start" "-a" "39d14de88ebb3fbe864423026048626ad5b79ad69bd364585fdfde119a7fdb13", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling libc v0.2.113 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Checking errno v0.2.8 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling pcap v0.9.1 [INFO] [stderr] Checking mohole v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/ipv4.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/ipv4.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ethernet.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | Other(u16), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 | Other(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `source_mac` and `dest_mac` are never read [INFO] [stdout] --> src/ethernet.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct EthernetFrame { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 15 | pub source_mac: MacAddress, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 16 | pub dest_mac: MacAddress, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EthernetFrame` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ipv4.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | Other(u8), [INFO] [stdout] | ----- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 | Other(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/ipv4.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct IPv4Datagram { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 15 | pub version: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | pub header_length: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 17 | pub type_of_service: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | pub length: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | pub id: u16, [INFO] [stdout] | ^^ [INFO] [stdout] 20 | pub flags: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | pub fragment_offset: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | pub ttl: u8, [INFO] [stdout] | ^^^ [INFO] [stdout] 23 | pub protocol: IPType, [INFO] [stdout] 24 | pub header_checksum: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | pub source_addr: Ipv4Addr, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 26 | pub dest_addr: Ipv4Addr, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IPv4Datagram` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tcp.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | MaximumSegmentSize(u16), [INFO] [stdout] | ------------------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 34 | MaximumSegmentSize(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tcp.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | WindowScale(u8), [INFO] [stdout] | ----------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 35 | WindowScale(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/tcp.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | Timestamp(u32, u32), [INFO] [stdout] | --------- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 37 | Timestamp((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tcp.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | Other(u8), [INFO] [stdout] | ----- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 38 | Other(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/tcp.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct TcpSegment { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 46 | pub sequence_no: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 47 | pub ack_no: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 48 | pub header_length: u8, [INFO] [stdout] 49 | pub reserved: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 50 | pub flag_urg: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 51 | pub flag_ack: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 52 | pub flag_psh: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 53 | pub flag_rst: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 54 | pub flag_syn: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 55 | pub flag_fin: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 56 | pub window: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 57 | pub checksum: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 58 | pub urgent_pointer: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TcpSegment` 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 `length` and `checksum` are never read [INFO] [stdout] --> src/udp.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct UdpDatagram { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub length: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | pub checksum: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UdpDatagram` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/arp.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | Other(u16), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 | Other(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/arp.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | Other(u16), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 | Other(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/arp.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | Other(u16), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 39 | Other(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/arp.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct ArpPacket { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 54 | pub hw_type: HardwareType, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 55 | pub protocol_type: ProtocolType, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 56 | pub hw_size: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 57 | pub protocol_size: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 58 | pub operation: Operation, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 59 | pub src_mac: MacAddress, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 60 | pub src_addr: Ipv4Addr, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 61 | pub dest_mac: MacAddress, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 62 | pub dest_addr: Ipv4Addr, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ArpPacket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/icmp.rs:57:28 [INFO] [stdout] | [INFO] [stdout] 57 | DestinationUnreachable(Unreachable), [INFO] [stdout] | ---------------------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 57 | DestinationUnreachable(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/icmp.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | Redirect(Redirect), [INFO] [stdout] | -------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 59 | Redirect(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/icmp.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | TimeExceeded(TimeExceeded), [INFO] [stdout] | ------------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 63 | TimeExceeded(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/icmp.rs:64:22 [INFO] [stdout] | [INFO] [stdout] 64 | ParameterProblem(ParameterProblem), [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 64 | ParameterProblem(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/icmp.rs:68:23 [INFO] [stdout] | [INFO] [stdout] 68 | ExtendedEchoReply(ExtendedEchoReply), [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 68 | ExtendedEchoReply(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/icmp.rs:69:11 [INFO] [stdout] | [INFO] [stdout] 69 | Other(u16), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 69 | Other(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code` and `checksum` are never read [INFO] [stdout] --> src/icmp.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 147 | pub struct IcmpPacket { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 148 | pub code: IcmpCode, [INFO] [stdout] | ^^^^ [INFO] [stdout] 149 | pub checksum: u16, [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] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ethernet.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | Other(u16), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 | Other(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `source_mac` and `dest_mac` are never read [INFO] [stdout] --> src/ethernet.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct EthernetFrame { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 15 | pub source_mac: MacAddress, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 16 | pub dest_mac: MacAddress, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EthernetFrame` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ipv4.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | Other(u8), [INFO] [stdout] | ----- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 | Other(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/ipv4.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct IPv4Datagram { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 15 | pub version: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | pub header_length: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 17 | pub type_of_service: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | pub length: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | pub id: u16, [INFO] [stdout] | ^^ [INFO] [stdout] 20 | pub flags: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | pub fragment_offset: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | pub ttl: u8, [INFO] [stdout] | ^^^ [INFO] [stdout] 23 | pub protocol: IPType, [INFO] [stdout] 24 | pub header_checksum: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | pub source_addr: Ipv4Addr, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 26 | pub dest_addr: Ipv4Addr, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IPv4Datagram` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tcp.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | MaximumSegmentSize(u16), [INFO] [stdout] | ------------------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 34 | MaximumSegmentSize(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tcp.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | WindowScale(u8), [INFO] [stdout] | ----------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 35 | WindowScale(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/tcp.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | Timestamp(u32, u32), [INFO] [stdout] | --------- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 37 | Timestamp((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tcp.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | Other(u8), [INFO] [stdout] | ----- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 38 | Other(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/tcp.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct TcpSegment { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 46 | pub sequence_no: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 47 | pub ack_no: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 48 | pub header_length: u8, [INFO] [stdout] 49 | pub reserved: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 50 | pub flag_urg: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 51 | pub flag_ack: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 52 | pub flag_psh: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 53 | pub flag_rst: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 54 | pub flag_syn: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 55 | pub flag_fin: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 56 | pub window: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 57 | pub checksum: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 58 | pub urgent_pointer: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TcpSegment` 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 `length` and `checksum` are never read [INFO] [stdout] --> src/udp.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct UdpDatagram { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub length: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | pub checksum: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UdpDatagram` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/arp.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | Other(u16), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 | Other(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/arp.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | Other(u16), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 | Other(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/arp.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | Other(u16), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 39 | Other(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/arp.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct ArpPacket { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 54 | pub hw_type: HardwareType, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 55 | pub protocol_type: ProtocolType, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 56 | pub hw_size: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 57 | pub protocol_size: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 58 | pub operation: Operation, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 59 | pub src_mac: MacAddress, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 60 | pub src_addr: Ipv4Addr, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 61 | pub dest_mac: MacAddress, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 62 | pub dest_addr: Ipv4Addr, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ArpPacket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/icmp.rs:57:28 [INFO] [stdout] | [INFO] [stdout] 57 | DestinationUnreachable(Unreachable), [INFO] [stdout] | ---------------------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 57 | DestinationUnreachable(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/icmp.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | Redirect(Redirect), [INFO] [stdout] | -------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 59 | Redirect(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/icmp.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | TimeExceeded(TimeExceeded), [INFO] [stdout] | ------------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 63 | TimeExceeded(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/icmp.rs:64:22 [INFO] [stdout] | [INFO] [stdout] 64 | ParameterProblem(ParameterProblem), [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 64 | ParameterProblem(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/icmp.rs:68:23 [INFO] [stdout] | [INFO] [stdout] 68 | ExtendedEchoReply(ExtendedEchoReply), [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 68 | ExtendedEchoReply(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/icmp.rs:69:11 [INFO] [stdout] | [INFO] [stdout] 69 | Other(u16), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 69 | Other(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code` and `checksum` are never read [INFO] [stdout] --> src/icmp.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 147 | pub struct IcmpPacket { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 148 | pub code: IcmpCode, [INFO] [stdout] | ^^^^ [INFO] [stdout] 149 | pub checksum: u16, [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] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.91s [INFO] running `Command { std: "docker" "inspect" "39d14de88ebb3fbe864423026048626ad5b79ad69bd364585fdfde119a7fdb13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39d14de88ebb3fbe864423026048626ad5b79ad69bd364585fdfde119a7fdb13", kill_on_drop: false }` [INFO] [stdout] 39d14de88ebb3fbe864423026048626ad5b79ad69bd364585fdfde119a7fdb13 [INFO] checking arashsm79/mohole against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farashsm79%2Fmohole" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/arashsm79/mohole 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/arashsm79/mohole [INFO] finished tweaking git repo https://github.com/arashsm79/mohole [INFO] tweaked toml for git repo https://github.com/arashsm79/mohole written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/arashsm79/mohole 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 671b25d826c632864abfefdf9c2d6559920cd270dd8b52c875a1b46a9d1c1cb3 [INFO] running `Command { std: "docker" "start" "-a" "671b25d826c632864abfefdf9c2d6559920cd270dd8b52c875a1b46a9d1c1cb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "671b25d826c632864abfefdf9c2d6559920cd270dd8b52c875a1b46a9d1c1cb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "671b25d826c632864abfefdf9c2d6559920cd270dd8b52c875a1b46a9d1c1cb3", kill_on_drop: false }` [INFO] [stdout] 671b25d826c632864abfefdf9c2d6559920cd270dd8b52c875a1b46a9d1c1cb3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] b176cd5f53f6e1a193abbe97ae7a5ad7342e0a7e3f820861b1facc7c1fbd27d2 [INFO] running `Command { std: "docker" "start" "-a" "b176cd5f53f6e1a193abbe97ae7a5ad7342e0a7e3f820861b1facc7c1fbd27d2", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling libc v0.2.113 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Checking errno v0.2.8 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling pcap v0.9.1 [INFO] [stderr] Checking mohole v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/ipv4.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/ipv4.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ethernet.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | Other(u16), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 | Other(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `source_mac` and `dest_mac` are never read [INFO] [stdout] --> src/ethernet.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct EthernetFrame { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 15 | pub source_mac: MacAddress, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 16 | pub dest_mac: MacAddress, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EthernetFrame` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ipv4.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | Other(u8), [INFO] [stdout] | ----- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 | Other(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/ipv4.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct IPv4Datagram { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 15 | pub version: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | pub header_length: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 17 | pub type_of_service: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | pub length: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | pub id: u16, [INFO] [stdout] | ^^ [INFO] [stdout] 20 | pub flags: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | pub fragment_offset: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | pub ttl: u8, [INFO] [stdout] | ^^^ [INFO] [stdout] 23 | pub protocol: IPType, [INFO] [stdout] 24 | pub header_checksum: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | pub source_addr: Ipv4Addr, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 26 | pub dest_addr: Ipv4Addr, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IPv4Datagram` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tcp.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | MaximumSegmentSize(u16), [INFO] [stdout] | ------------------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 34 | MaximumSegmentSize(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tcp.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | WindowScale(u8), [INFO] [stdout] | ----------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 35 | WindowScale(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/tcp.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | Timestamp(u32, u32), [INFO] [stdout] | --------- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 37 | Timestamp((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tcp.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | Other(u8), [INFO] [stdout] | ----- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 38 | Other(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/tcp.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct TcpSegment { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 46 | pub sequence_no: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 47 | pub ack_no: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 48 | pub header_length: u8, [INFO] [stdout] 49 | pub reserved: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 50 | pub flag_urg: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 51 | pub flag_ack: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 52 | pub flag_psh: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 53 | pub flag_rst: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 54 | pub flag_syn: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 55 | pub flag_fin: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 56 | pub window: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 57 | pub checksum: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 58 | pub urgent_pointer: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TcpSegment` 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 `length` and `checksum` are never read [INFO] [stdout] --> src/udp.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct UdpDatagram { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub length: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | pub checksum: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UdpDatagram` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/arp.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | Other(u16), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 | Other(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/arp.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | Other(u16), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 | Other(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/arp.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | Other(u16), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 39 | Other(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/arp.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct ArpPacket { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 54 | pub hw_type: HardwareType, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 55 | pub protocol_type: ProtocolType, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 56 | pub hw_size: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 57 | pub protocol_size: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 58 | pub operation: Operation, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 59 | pub src_mac: MacAddress, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 60 | pub src_addr: Ipv4Addr, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 61 | pub dest_mac: MacAddress, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 62 | pub dest_addr: Ipv4Addr, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ArpPacket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/icmp.rs:57:28 [INFO] [stdout] | [INFO] [stdout] 57 | DestinationUnreachable(Unreachable), [INFO] [stdout] | ---------------------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 57 | DestinationUnreachable(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/icmp.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | Redirect(Redirect), [INFO] [stdout] | -------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 59 | Redirect(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/icmp.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | TimeExceeded(TimeExceeded), [INFO] [stdout] | ------------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 63 | TimeExceeded(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/icmp.rs:64:22 [INFO] [stdout] | [INFO] [stdout] 64 | ParameterProblem(ParameterProblem), [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 64 | ParameterProblem(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/icmp.rs:68:23 [INFO] [stdout] | [INFO] [stdout] 68 | ExtendedEchoReply(ExtendedEchoReply), [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 68 | ExtendedEchoReply(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/icmp.rs:69:11 [INFO] [stdout] | [INFO] [stdout] 69 | Other(u16), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 69 | Other(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code` and `checksum` are never read [INFO] [stdout] --> src/icmp.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 147 | pub struct IcmpPacket { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 148 | pub code: IcmpCode, [INFO] [stdout] | ^^^^ [INFO] [stdout] 149 | pub checksum: u16, [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] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ethernet.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | Other(u16), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 | Other(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `source_mac` and `dest_mac` are never read [INFO] [stdout] --> src/ethernet.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct EthernetFrame { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 15 | pub source_mac: MacAddress, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 16 | pub dest_mac: MacAddress, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EthernetFrame` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ipv4.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | Other(u8), [INFO] [stdout] | ----- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 | Other(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/ipv4.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct IPv4Datagram { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 15 | pub version: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | pub header_length: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 17 | pub type_of_service: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | pub length: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | pub id: u16, [INFO] [stdout] | ^^ [INFO] [stdout] 20 | pub flags: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | pub fragment_offset: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | pub ttl: u8, [INFO] [stdout] | ^^^ [INFO] [stdout] 23 | pub protocol: IPType, [INFO] [stdout] 24 | pub header_checksum: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | pub source_addr: Ipv4Addr, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 26 | pub dest_addr: Ipv4Addr, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IPv4Datagram` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tcp.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | MaximumSegmentSize(u16), [INFO] [stdout] | ------------------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 34 | MaximumSegmentSize(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tcp.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | WindowScale(u8), [INFO] [stdout] | ----------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 35 | WindowScale(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/tcp.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | Timestamp(u32, u32), [INFO] [stdout] | --------- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 37 | Timestamp((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tcp.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | Other(u8), [INFO] [stdout] | ----- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 38 | Other(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/tcp.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct TcpSegment { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 46 | pub sequence_no: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 47 | pub ack_no: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 48 | pub header_length: u8, [INFO] [stdout] 49 | pub reserved: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 50 | pub flag_urg: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 51 | pub flag_ack: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 52 | pub flag_psh: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 53 | pub flag_rst: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 54 | pub flag_syn: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 55 | pub flag_fin: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 56 | pub window: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 57 | pub checksum: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 58 | pub urgent_pointer: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TcpSegment` 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 `length` and `checksum` are never read [INFO] [stdout] --> src/udp.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct UdpDatagram { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub length: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | pub checksum: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UdpDatagram` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/arp.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | Other(u16), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 | Other(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/arp.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | Other(u16), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 | Other(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/arp.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | Other(u16), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 39 | Other(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/arp.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct ArpPacket { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 54 | pub hw_type: HardwareType, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 55 | pub protocol_type: ProtocolType, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 56 | pub hw_size: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 57 | pub protocol_size: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 58 | pub operation: Operation, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 59 | pub src_mac: MacAddress, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 60 | pub src_addr: Ipv4Addr, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 61 | pub dest_mac: MacAddress, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 62 | pub dest_addr: Ipv4Addr, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ArpPacket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/icmp.rs:57:28 [INFO] [stdout] | [INFO] [stdout] 57 | DestinationUnreachable(Unreachable), [INFO] [stdout] | ---------------------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 57 | DestinationUnreachable(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/icmp.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | Redirect(Redirect), [INFO] [stdout] | -------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 59 | Redirect(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/icmp.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | TimeExceeded(TimeExceeded), [INFO] [stdout] | ------------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 63 | TimeExceeded(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/icmp.rs:64:22 [INFO] [stdout] | [INFO] [stdout] 64 | ParameterProblem(ParameterProblem), [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 64 | ParameterProblem(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/icmp.rs:68:23 [INFO] [stdout] | [INFO] [stdout] 68 | ExtendedEchoReply(ExtendedEchoReply), [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 68 | ExtendedEchoReply(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/icmp.rs:69:11 [INFO] [stdout] | [INFO] [stdout] 69 | Other(u16), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 69 | Other(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code` and `checksum` are never read [INFO] [stdout] --> src/icmp.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 147 | pub struct IcmpPacket { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 148 | pub code: IcmpCode, [INFO] [stdout] | ^^^^ [INFO] [stdout] 149 | pub checksum: u16, [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] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.16s [INFO] running `Command { std: "docker" "inspect" "b176cd5f53f6e1a193abbe97ae7a5ad7342e0a7e3f820861b1facc7c1fbd27d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b176cd5f53f6e1a193abbe97ae7a5ad7342e0a7e3f820861b1facc7c1fbd27d2", kill_on_drop: false }` [INFO] [stdout] b176cd5f53f6e1a193abbe97ae7a5ad7342e0a7e3f820861b1facc7c1fbd27d2