[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] building arashsm79/mohole against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farashsm79%2Fmohole" "/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/arashsm79/mohole on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-0-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pcap v0.9.1 [INFO] [stderr] Downloaded libc v0.2.113 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8be9fe415c2795d1cec6956d0aa2144027ef3f4664ff8713c7fac2a2613050cd [INFO] running `Command { std: "docker" "start" "-a" "8be9fe415c2795d1cec6956d0aa2144027ef3f4664ff8713c7fac2a2613050cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8be9fe415c2795d1cec6956d0aa2144027ef3f4664ff8713c7fac2a2613050cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8be9fe415c2795d1cec6956d0aa2144027ef3f4664ff8713c7fac2a2613050cd", kill_on_drop: false }` [INFO] [stdout] 8be9fe415c2795d1cec6956d0aa2144027ef3f4664ff8713c7fac2a2613050cd [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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5f5cec08b670cd09f0a001272b5b830eb0df6935682a3cdf4aab8876f257e94 [INFO] running `Command { std: "docker" "start" "-a" "a5f5cec08b670cd09f0a001272b5b830eb0df6935682a3cdf4aab8876f257e94", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [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] Compiling errno v0.2.8 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling pcap v0.9.1 [INFO] [stderr] Compiling mohole v0.1.0 (/opt/rustwide/workdir) [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: `EtherType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] = note: `IPType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] = note: `TcpOption` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] = note: `TcpOption` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] = note: `TcpOption` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] = note: `TcpOption` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] = note: `HardwareType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] = note: `ProtocolType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] = note: `Operation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] = note: `IcmpCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] = note: `IcmpCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] = note: `IcmpCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] = note: `IcmpCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] = note: `IcmpCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] = note: `IcmpCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.86s [INFO] running `Command { std: "docker" "inspect" "a5f5cec08b670cd09f0a001272b5b830eb0df6935682a3cdf4aab8876f257e94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5f5cec08b670cd09f0a001272b5b830eb0df6935682a3cdf4aab8876f257e94", kill_on_drop: false }` [INFO] [stdout] a5f5cec08b670cd09f0a001272b5b830eb0df6935682a3cdf4aab8876f257e94 [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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 68f3598bb0c6d92e3f25ae7629c7b36bc2f07d5a22a0fb91e4dfe8d064f64c55 [INFO] running `Command { std: "docker" "start" "-a" "68f3598bb0c6d92e3f25ae7629c7b36bc2f07d5a22a0fb91e4dfe8d064f64c55", kill_on_drop: false }` [INFO] [stderr] Compiling mohole v0.1.0 (/opt/rustwide/workdir) [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: `EtherType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] = note: `IPType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] = note: `TcpOption` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] = note: `TcpOption` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] = note: `TcpOption` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] = note: `TcpOption` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] = note: `HardwareType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] = note: `ProtocolType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] = note: `Operation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] = note: `IcmpCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] = note: `IcmpCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] = note: `IcmpCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] = note: `IcmpCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] = note: `IcmpCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] = note: `IcmpCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] running `Command { std: "docker" "inspect" "68f3598bb0c6d92e3f25ae7629c7b36bc2f07d5a22a0fb91e4dfe8d064f64c55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68f3598bb0c6d92e3f25ae7629c7b36bc2f07d5a22a0fb91e4dfe8d064f64c55", kill_on_drop: false }` [INFO] [stdout] 68f3598bb0c6d92e3f25ae7629c7b36bc2f07d5a22a0fb91e4dfe8d064f64c55