[INFO] cloning repository https://github.com/tal-uni/mims [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tal-uni/mims" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftal-uni%2Fmims", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftal-uni%2Fmims'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 528bfc4be1b29678d7dc10bb006d15eb3e274cf5 [INFO] checking tal-uni/mims against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftal-uni%2Fmims" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tal-uni/mims 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/tal-uni/mims [INFO] finished tweaking git repo https://github.com/tal-uni/mims [INFO] tweaked toml for git repo https://github.com/tal-uni/mims written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/tal-uni/mims 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 846e37e27ea28a5014be0c3bc3016bd46e91237e9163c907543733f9637e8d44 [INFO] running `Command { std: "docker" "start" "-a" "846e37e27ea28a5014be0c3bc3016bd46e91237e9163c907543733f9637e8d44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "846e37e27ea28a5014be0c3bc3016bd46e91237e9163c907543733f9637e8d44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "846e37e27ea28a5014be0c3bc3016bd46e91237e9163c907543733f9637e8d44", kill_on_drop: false }` [INFO] [stdout] 846e37e27ea28a5014be0c3bc3016bd46e91237e9163c907543733f9637e8d44 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 116444e611c44a55d6333f0533b9c02384e7c96b421a51a55fc976755f864498 [INFO] running `Command { std: "docker" "start" "-a" "116444e611c44a55d6333f0533b9c02384e7c96b421a51a55fc976755f864498", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Checking lock_api v0.4.3 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling mims v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `pkg_config` is imported redundantly [INFO] [stdout] --> build.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use pkg_config; [INFO] [stdout] | ^^^^^^^^^^ the item `pkg_config` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Checking tokio v1.15.0 [INFO] [stderr] Checking pin-project v1.0.8 [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/control_interfaces/pcap.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use libc; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `tokio` is imported redundantly [INFO] [stdout] --> src/control_interfaces/pcap.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio; [INFO] [stdout] | ^^^^^ the item `tokio` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/pcap_c.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use libc; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/protocols/linklayer/ethernet.rs:54:35 [INFO] [stdout] | [INFO] [stdout] 54 | Err(e) => (return Err(Error::NetworkError(networklayer::Error::Ip(e)))), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 54 - Err(e) => (return Err(Error::NetworkError(networklayer::Error::Ip(e)))), [INFO] [stdout] 54 + Err(e) => return Err(Error::NetworkError(networklayer::Error::Ip(e))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/protocols/sessionlayer/tcp.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::boxed::Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ the item `serde_json` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/control_interfaces/pcap.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use libc; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `tokio` is imported redundantly [INFO] [stdout] --> src/control_interfaces/pcap.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio; [INFO] [stdout] | ^^^^^ the item `tokio` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/pcap_c.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use libc; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/protocols/linklayer/ethernet.rs:54:35 [INFO] [stdout] | [INFO] [stdout] 54 | Err(e) => (return Err(Error::NetworkError(networklayer::Error::Ip(e)))), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 54 - Err(e) => (return Err(Error::NetworkError(networklayer::Error::Ip(e)))), [INFO] [stdout] 54 + Err(e) => return Err(Error::NetworkError(networklayer::Error::Ip(e))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/protocols/sessionlayer/tcp.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::boxed::Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ the item `serde_json` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ControlInterface` is never used [INFO] [stdout] --> src/control_interfaces/mod.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait ControlInterface: Stream {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/control_interfaces/pcap.rs:59:15 [INFO] [stdout] | [INFO] [stdout] 59 | LinkLayer(linklayer::Error), [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 | LinkLayer(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/protocols/linklayer/mod.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | Ethernet(ethernet::Error), [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] 44 | Ethernet(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/protocols/linklayer/ethernet.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | NetworkError(networklayer::Error), [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] 32 | NetworkError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/protocols/networklayer/mod.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | Ip(ip::Error), [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 | Ip(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/protocols/networklayer/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | Arp(arp::Error), [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] 15 | Arp(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/protocols/networklayer/ip/mod.rs:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | V4Err(v4::Error), [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] 78 | V4Err(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/protocols/networklayer/ip/mod.rs:79:11 [INFO] [stdout] | [INFO] [stdout] 79 | V6Err(v6::Error), [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] 79 | V6Err(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/protocols/networklayer/ip/v4.rs:75:16 [INFO] [stdout] | [INFO] [stdout] 75 | SessionErr(sessionlayer::Error), [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] 75 | SessionErr(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/protocols/networklayer/ip/v6.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | SessionErr(sessionlayer::Error), [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] 46 | SessionErr(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/protocols/sessionlayer/mod.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | Tcp(tcp::Error), [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] 79 | Tcp(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/protocols/sessionlayer/mod.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | Icmp(icmp::Error), [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] 80 | Icmp(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/protocols/sessionlayer/mod.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | Udp(udp::Error), [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] 81 | Udp(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `checksum` is never read [INFO] [stdout] --> src/protocols/sessionlayer/tcp.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Segment { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub checksum: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Segment` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 16]` does not permit being left uninitialized [INFO] [stdout] --> src/protocols/networklayer/ip/v6.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | src: std::mem::MaybeUninit::uninit().assume_init(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 16]` does not permit being left uninitialized [INFO] [stdout] --> src/protocols/networklayer/ip/v6.rs:64:22 [INFO] [stdout] | [INFO] [stdout] 64 | dst: std::mem::MaybeUninit::uninit().assume_init(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ControlInterface` is never used [INFO] [stdout] --> src/control_interfaces/mod.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait ControlInterface: Stream {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/control_interfaces/pcap.rs:59:15 [INFO] [stdout] | [INFO] [stdout] 59 | LinkLayer(linklayer::Error), [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 | LinkLayer(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/protocols/linklayer/mod.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | Ethernet(ethernet::Error), [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] 44 | Ethernet(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/protocols/linklayer/ethernet.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | NetworkError(networklayer::Error), [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] 32 | NetworkError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/protocols/networklayer/mod.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | Ip(ip::Error), [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 | Ip(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/protocols/networklayer/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | Arp(arp::Error), [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] 15 | Arp(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/protocols/networklayer/ip/mod.rs:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | V4Err(v4::Error), [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] 78 | V4Err(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/protocols/networklayer/ip/mod.rs:79:11 [INFO] [stdout] | [INFO] [stdout] 79 | V6Err(v6::Error), [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] 79 | V6Err(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/protocols/networklayer/ip/v4.rs:75:16 [INFO] [stdout] | [INFO] [stdout] 75 | SessionErr(sessionlayer::Error), [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] 75 | SessionErr(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/protocols/networklayer/ip/v6.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | SessionErr(sessionlayer::Error), [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] 46 | SessionErr(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/protocols/sessionlayer/mod.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | Tcp(tcp::Error), [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] 79 | Tcp(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/protocols/sessionlayer/mod.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | Icmp(icmp::Error), [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] 80 | Icmp(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/protocols/sessionlayer/mod.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | Udp(udp::Error), [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] 81 | Udp(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `checksum` is never read [INFO] [stdout] --> src/protocols/sessionlayer/tcp.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Segment { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub checksum: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Segment` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 16]` does not permit being left uninitialized [INFO] [stdout] --> src/protocols/networklayer/ip/v6.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | src: std::mem::MaybeUninit::uninit().assume_init(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 16]` does not permit being left uninitialized [INFO] [stdout] --> src/protocols/networklayer/ip/v6.rs:64:22 [INFO] [stdout] | [INFO] [stdout] 64 | dst: std::mem::MaybeUninit::uninit().assume_init(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.68s [INFO] running `Command { std: "docker" "inspect" "116444e611c44a55d6333f0533b9c02384e7c96b421a51a55fc976755f864498", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "116444e611c44a55d6333f0533b9c02384e7c96b421a51a55fc976755f864498", kill_on_drop: false }` [INFO] [stdout] 116444e611c44a55d6333f0533b9c02384e7c96b421a51a55fc976755f864498