[INFO] cloning repository https://github.com/kvnallsn/motd-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kvnallsn/motd-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkvnallsn%2Fmotd-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkvnallsn%2Fmotd-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9abc2b4acb05f20005935cc6848dbef6d624d83d [INFO] checking kvnallsn/motd-rs against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkvnallsn%2Fmotd-rs" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kvnallsn/motd-rs 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/kvnallsn/motd-rs [INFO] finished tweaking git repo https://github.com/kvnallsn/motd-rs [INFO] tweaked toml for git repo https://github.com/kvnallsn/motd-rs written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kvnallsn/motd-rs 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 atty v0.2.12 [INFO] [stderr] Downloaded pnet_base v0.22.0 [INFO] [stderr] Downloaded pnet_datalink v0.22.0 [INFO] [stderr] Downloaded pnet_sys v0.22.0 [INFO] [stderr] Downloaded fern v0.5.8 [INFO] [stderr] Downloaded ipnetwork v0.14.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 20b6815d9f43f3782c1f72f809bf6c4865cac8a34436883ab7d14bb116ca9a42 [INFO] running `Command { std: "docker" "start" "-a" "20b6815d9f43f3782c1f72f809bf6c4865cac8a34436883ab7d14bb116ca9a42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "20b6815d9f43f3782c1f72f809bf6c4865cac8a34436883ab7d14bb116ca9a42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20b6815d9f43f3782c1f72f809bf6c4865cac8a34436883ab7d14bb116ca9a42", kill_on_drop: false }` [INFO] [stdout] 20b6815d9f43f3782c1f72f809bf6c4865cac8a34436883ab7d14bb116ca9a42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 1da4558c59fd4e8e12471c3f0a5dbd837e4086a3a181e5deb46888a3e56a3c1d [INFO] running `Command { std: "docker" "start" "-a" "1da4558c59fd4e8e12471c3f0a5dbd837e4086a3a181e5deb46888a3e56a3c1d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.59 [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling serde v1.0.94 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling log v0.4.7 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling regex v1.1.9 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking pnet_base v0.22.0 [INFO] [stderr] Checking utf8-ranges v1.0.3 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking regex-syntax v0.6.8 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Checking aho-corasick v0.7.4 [INFO] [stderr] Checking fern v0.5.8 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking atty v0.2.12 [INFO] [stderr] Checking pnet_sys v0.22.0 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking chrono v0.4.7 [INFO] [stderr] Checking ipnetwork v0.14.0 [INFO] [stderr] Checking pnet_datalink v0.22.0 [INFO] [stderr] Checking motd v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Drop` is imported redundantly [INFO] [stdout] --> src/commands/linux/netlink/nlsocket.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{io::Error, ops::Drop, os::unix::io::RawFd}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Drop` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Payload` [INFO] [stdout] --> src/commands/linux/netlink.rs:49:57 [INFO] [stdout] | [INFO] [stdout] 49 | pub use nlresponse::{NetlinkAttribute, NetlinkResponse, Payload}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParsingError` [INFO] [stdout] --> src/commands/linux/net.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | error::{Error, MotdResult, ParsingError}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Local`, `TimeZone` [INFO] [stdout] --> src/commands/linux/uptime.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::offset::{Local, TimeZone}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToString` is imported redundantly [INFO] [stdout] --> src/commands/unix.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{collections::HashSet, string::ToString}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Drop` is imported redundantly [INFO] [stdout] --> src/commands/linux/netlink/nlsocket.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{io::Error, ops::Drop, os::unix::io::RawFd}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Drop` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Payload` [INFO] [stdout] --> src/commands/linux/netlink.rs:49:57 [INFO] [stdout] | [INFO] [stdout] 49 | pub use nlresponse::{NetlinkAttribute, NetlinkResponse, Payload}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParsingError` [INFO] [stdout] --> src/commands/linux/net.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | error::{Error, MotdResult, ParsingError}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Local`, `TimeZone` [INFO] [stdout] --> src/commands/linux/uptime.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::offset::{Local, TimeZone}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToString` is imported redundantly [INFO] [stdout] --> src/commands/unix.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{collections::HashSet, string::ToString}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/unix.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn processes(args: Option<&str>) -> Vec { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip6` [INFO] [stdout] --> src/commands/common.rs:34:28 [INFO] [stdout] | [INFO] [stdout] 34 | IpAddr::V6(ip6) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ip6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `examine_bytes` is never used [INFO] [stdout] --> src/commands/linux/netlink.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn examine_bytes(t: &T) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_bytes` is never used [INFO] [stdout] --> src/commands/linux/netlink.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn to_bytes(t: &T) -> &[u8] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_bytes` is never used [INFO] [stdout] --> src/commands/linux/netlink.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn print_bytes(b: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `socket_test` is never used [INFO] [stdout] --> src/commands/linux/netlink.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn socket_test() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `ty` and `flags` are never used [INFO] [stdout] --> src/commands/linux/netlink/header.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl Header { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn ty(mut self, msg_ty: MessageType) -> Header { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn flags(mut self, flags: Vec) -> Header { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_bytes` is never used [INFO] [stdout] --> src/commands/linux/netlink/header.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 145 | impl MessageType { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn as_bytes(&self) -> [u8; 2] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/commands/linux/netlink/nlresponse.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | SockDiag(sockdiag::Response), [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] 16 | SockDiag(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `payload` is never read [INFO] [stdout] --> src/commands/linux/netlink/nlresponse.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct NetlinkResponse { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | pub payload: Payload, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NetlinkResponse` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/commands/linux/netlink/nlresponse.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct NetlinkAttribute { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 69 | /// The size of this attribute, include this header [INFO] [stdout] 70 | pub size: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/commands/linux/netlink/sockdiag.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | Inet(inet::Response), [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 | Inet(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/commands/linux/netlink/sockdiag.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | Unix(unix::Response), [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] 11 | Unix(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/commands/linux/netlink/sockdiag.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct MemInfo { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 36 | /// Amount of data in the receive queue [INFO] [stdout] 37 | pub rmem_alloc: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub rcv_buf: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub wmem_alloc: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub snd_buf: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fwd_alloc: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub wmem_queued: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub opt_mem: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub backlog: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MemInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Udp` and `UdpLite` are never constructed [INFO] [stdout] --> src/commands/linux/netlink/sockdiag/inet.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum Protocol { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 21 | Udp = libc::IPPROTO_UDP as isize, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | UdpLite = libc::IPPROTO_UDPLITE as isize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Protocol` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/commands/linux/netlink/sockdiag/inet.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum SocketState { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 29 | Established, [INFO] [stdout] 30 | SynSent, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 31 | SynRecv, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 32 | FinWait1, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 33 | FinWait2, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 34 | TimeWait, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 35 | Close, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 36 | CloseWait, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 37 | LastAck, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 38 | Listen, [INFO] [stdout] 39 | Closing, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 40 | NewSynRecv, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `address_family` and `protocol` are never used [INFO] [stdout] --> src/commands/linux/netlink/sockdiag/inet.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 77 | impl Request { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn address_family(mut self, family: AddressFamily) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn protocol(mut self, proto: Protocol) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/commands/linux/netlink/sockdiag/inet.rs:214:12 [INFO] [stdout] | [INFO] [stdout] 206 | impl NlINetDiagReqV2 { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn new(family: AddressFamily, protocol: Protocol) -> NlINetDiagReqV2 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `attribute`, and `attributes` are never used [INFO] [stdout] --> src/commands/linux/netlink/sockdiag/unix.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Request { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn new() -> Request { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn attribute(mut self, attr: RequestAttribute) -> Request { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn attributes(mut self, v: Vec) -> Request { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_u32` is never used [INFO] [stdout] --> src/commands/linux/netlink/sockdiag/unix.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 85 | impl RequestAttribute { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 86 | pub fn as_u32(&self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `family`, `ty`, `state`, `pad`, `ino`, and `cookie` are never read [INFO] [stdout] --> src/commands/linux/netlink/sockdiag/unix.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 169 | pub struct Response { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 170 | /// Address family this socket belongs to (should be Unix) [INFO] [stdout] 171 | family: AddressFamily, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 172 | [INFO] [stdout] 173 | ty: u8, [INFO] [stdout] | ^^ [INFO] [stdout] 174 | state: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 175 | pad: u8, [INFO] [stdout] | ^^^ [INFO] [stdout] 176 | ino: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 177 | cookie: [u32; 2], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `device_number` and `inode` are never read [INFO] [stdout] --> src/commands/linux/netlink/sockdiag/unix.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 278 | pub struct Vfs { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 279 | /// The device number of the corresponding on-disk socket inode [INFO] [stdout] 280 | pub device_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 283 | pub inode: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vfs` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `read` and `write` are never read [INFO] [stdout] --> src/commands/linux/netlink/sockdiag/unix.rs:307:9 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct Queue { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 307 | pub read: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | pub write: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Queue` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | ParsingFailed(ParsingError), [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] 9 | ParsingFailed(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UnsupportedOS` is never constructed [INFO] [stdout] --> src/error.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 12 | UnsupportedOS, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/unix.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn processes(args: Option<&str>) -> Vec { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip6` [INFO] [stdout] --> src/commands/common.rs:34:28 [INFO] [stdout] | [INFO] [stdout] 34 | IpAddr::V6(ip6) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ip6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `examine_bytes` is never used [INFO] [stdout] --> src/commands/linux/netlink.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn examine_bytes(t: &T) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_bytes` is never used [INFO] [stdout] --> src/commands/linux/netlink.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn to_bytes(t: &T) -> &[u8] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_bytes` is never used [INFO] [stdout] --> src/commands/linux/netlink.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn print_bytes(b: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `socket_test` is never used [INFO] [stdout] --> src/commands/linux/netlink.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn socket_test() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `ty` and `flags` are never used [INFO] [stdout] --> src/commands/linux/netlink/header.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl Header { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn ty(mut self, msg_ty: MessageType) -> Header { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn flags(mut self, flags: Vec) -> Header { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_bytes` is never used [INFO] [stdout] --> src/commands/linux/netlink/header.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 145 | impl MessageType { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn as_bytes(&self) -> [u8; 2] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/commands/linux/netlink/nlresponse.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | SockDiag(sockdiag::Response), [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] 16 | SockDiag(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `payload` is never read [INFO] [stdout] --> src/commands/linux/netlink/nlresponse.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct NetlinkResponse { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | pub payload: Payload, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NetlinkResponse` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/commands/linux/netlink/nlresponse.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct NetlinkAttribute { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 69 | /// The size of this attribute, include this header [INFO] [stdout] 70 | pub size: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/commands/linux/netlink/sockdiag.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | Inet(inet::Response), [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 | Inet(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/commands/linux/netlink/sockdiag.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | Unix(unix::Response), [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] 11 | Unix(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/commands/linux/netlink/sockdiag.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct MemInfo { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 36 | /// Amount of data in the receive queue [INFO] [stdout] 37 | pub rmem_alloc: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub rcv_buf: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub wmem_alloc: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub snd_buf: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fwd_alloc: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub wmem_queued: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub opt_mem: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub backlog: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MemInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Udp` and `UdpLite` are never constructed [INFO] [stdout] --> src/commands/linux/netlink/sockdiag/inet.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum Protocol { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 21 | Udp = libc::IPPROTO_UDP as isize, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | UdpLite = libc::IPPROTO_UDPLITE as isize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Protocol` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/commands/linux/netlink/sockdiag/inet.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum SocketState { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 29 | Established, [INFO] [stdout] 30 | SynSent, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 31 | SynRecv, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 32 | FinWait1, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 33 | FinWait2, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 34 | TimeWait, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 35 | Close, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 36 | CloseWait, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 37 | LastAck, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 38 | Listen, [INFO] [stdout] 39 | Closing, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 40 | NewSynRecv, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `address_family` and `protocol` are never used [INFO] [stdout] --> src/commands/linux/netlink/sockdiag/inet.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 77 | impl Request { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn address_family(mut self, family: AddressFamily) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn protocol(mut self, proto: Protocol) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/commands/linux/netlink/sockdiag/inet.rs:214:12 [INFO] [stdout] | [INFO] [stdout] 206 | impl NlINetDiagReqV2 { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn new(family: AddressFamily, protocol: Protocol) -> NlINetDiagReqV2 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `attribute`, and `attributes` are never used [INFO] [stdout] --> src/commands/linux/netlink/sockdiag/unix.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Request { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn new() -> Request { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn attribute(mut self, attr: RequestAttribute) -> Request { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn attributes(mut self, v: Vec) -> Request { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_u32` is never used [INFO] [stdout] --> src/commands/linux/netlink/sockdiag/unix.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 85 | impl RequestAttribute { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 86 | pub fn as_u32(&self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `family`, `ty`, `state`, `pad`, `ino`, and `cookie` are never read [INFO] [stdout] --> src/commands/linux/netlink/sockdiag/unix.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 169 | pub struct Response { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 170 | /// Address family this socket belongs to (should be Unix) [INFO] [stdout] 171 | family: AddressFamily, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 172 | [INFO] [stdout] 173 | ty: u8, [INFO] [stdout] | ^^ [INFO] [stdout] 174 | state: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 175 | pad: u8, [INFO] [stdout] | ^^^ [INFO] [stdout] 176 | ino: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 177 | cookie: [u32; 2], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `device_number` and `inode` are never read [INFO] [stdout] --> src/commands/linux/netlink/sockdiag/unix.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 278 | pub struct Vfs { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 279 | /// The device number of the corresponding on-disk socket inode [INFO] [stdout] 280 | pub device_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 283 | pub inode: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vfs` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `read` and `write` are never read [INFO] [stdout] --> src/commands/linux/netlink/sockdiag/unix.rs:307:9 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct Queue { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 307 | pub read: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | pub write: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Queue` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | ParsingFailed(ParsingError), [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] 9 | ParsingFailed(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UnsupportedOS` is never constructed [INFO] [stdout] --> src/error.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 12 | UnsupportedOS, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.34s [INFO] running `Command { std: "docker" "inspect" "1da4558c59fd4e8e12471c3f0a5dbd837e4086a3a181e5deb46888a3e56a3c1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1da4558c59fd4e8e12471c3f0a5dbd837e4086a3a181e5deb46888a3e56a3c1d", kill_on_drop: false }` [INFO] [stdout] 1da4558c59fd4e8e12471c3f0a5dbd837e4086a3a181e5deb46888a3e56a3c1d [INFO] checking kvnallsn/motd-rs against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkvnallsn%2Fmotd-rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kvnallsn/motd-rs 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/kvnallsn/motd-rs [INFO] finished tweaking git repo https://github.com/kvnallsn/motd-rs [INFO] tweaked toml for git repo https://github.com/kvnallsn/motd-rs written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kvnallsn/motd-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 1e5e910e503048867b4ebf202b4ec1af8d6a29197e5068a385cbcf0c3fa9b6cd [INFO] running `Command { std: "docker" "start" "-a" "1e5e910e503048867b4ebf202b4ec1af8d6a29197e5068a385cbcf0c3fa9b6cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e5e910e503048867b4ebf202b4ec1af8d6a29197e5068a385cbcf0c3fa9b6cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e5e910e503048867b4ebf202b4ec1af8d6a29197e5068a385cbcf0c3fa9b6cd", kill_on_drop: false }` [INFO] [stdout] 1e5e910e503048867b4ebf202b4ec1af8d6a29197e5068a385cbcf0c3fa9b6cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] a7f8f332bf4d6841184f8d53225bc94bce7c46bb2bd140c96d3aff0ea7128257 [INFO] running `Command { std: "docker" "start" "-a" "a7f8f332bf4d6841184f8d53225bc94bce7c46bb2bd140c96d3aff0ea7128257", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.59 [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling serde v1.0.94 [INFO] [stderr] Compiling log v0.4.7 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling regex v1.1.9 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking pnet_base v0.22.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking utf8-ranges v1.0.3 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking regex-syntax v0.6.8 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Checking fern v0.5.8 [INFO] [stderr] Checking aho-corasick v0.7.4 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking atty v0.2.12 [INFO] [stderr] Checking pnet_sys v0.22.0 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking chrono v0.4.7 [INFO] [stderr] Checking ipnetwork v0.14.0 [INFO] [stderr] Checking pnet_datalink v0.22.0 [INFO] [stderr] Checking motd v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Drop` is imported redundantly [INFO] [stdout] --> src/commands/linux/netlink/nlsocket.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{io::Error, ops::Drop, os::unix::io::RawFd}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Drop` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Payload` [INFO] [stdout] --> src/commands/linux/netlink.rs:49:57 [INFO] [stdout] | [INFO] [stdout] 49 | pub use nlresponse::{NetlinkAttribute, NetlinkResponse, Payload}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParsingError` [INFO] [stdout] --> src/commands/linux/net.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | error::{Error, MotdResult, ParsingError}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Local`, `TimeZone` [INFO] [stdout] --> src/commands/linux/uptime.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::offset::{Local, TimeZone}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToString` is imported redundantly [INFO] [stdout] --> src/commands/unix.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{collections::HashSet, string::ToString}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Drop` is imported redundantly [INFO] [stdout] --> src/commands/linux/netlink/nlsocket.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{io::Error, ops::Drop, os::unix::io::RawFd}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Drop` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Payload` [INFO] [stdout] --> src/commands/linux/netlink.rs:49:57 [INFO] [stdout] | [INFO] [stdout] 49 | pub use nlresponse::{NetlinkAttribute, NetlinkResponse, Payload}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParsingError` [INFO] [stdout] --> src/commands/linux/net.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | error::{Error, MotdResult, ParsingError}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Local`, `TimeZone` [INFO] [stdout] --> src/commands/linux/uptime.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::offset::{Local, TimeZone}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToString` is imported redundantly [INFO] [stdout] --> src/commands/unix.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{collections::HashSet, string::ToString}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/unix.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn processes(args: Option<&str>) -> Vec { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip6` [INFO] [stdout] --> src/commands/common.rs:34:28 [INFO] [stdout] | [INFO] [stdout] 34 | IpAddr::V6(ip6) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ip6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `examine_bytes` is never used [INFO] [stdout] --> src/commands/linux/netlink.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn examine_bytes(t: &T) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_bytes` is never used [INFO] [stdout] --> src/commands/linux/netlink.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn to_bytes(t: &T) -> &[u8] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_bytes` is never used [INFO] [stdout] --> src/commands/linux/netlink.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn print_bytes(b: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `socket_test` is never used [INFO] [stdout] --> src/commands/linux/netlink.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn socket_test() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `ty` and `flags` are never used [INFO] [stdout] --> src/commands/linux/netlink/header.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl Header { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn ty(mut self, msg_ty: MessageType) -> Header { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn flags(mut self, flags: Vec) -> Header { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_bytes` is never used [INFO] [stdout] --> src/commands/linux/netlink/header.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 145 | impl MessageType { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn as_bytes(&self) -> [u8; 2] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/commands/linux/netlink/nlresponse.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | SockDiag(sockdiag::Response), [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] 16 | SockDiag(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `payload` is never read [INFO] [stdout] --> src/commands/linux/netlink/nlresponse.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct NetlinkResponse { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | pub payload: Payload, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NetlinkResponse` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/commands/linux/netlink/nlresponse.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct NetlinkAttribute { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 69 | /// The size of this attribute, include this header [INFO] [stdout] 70 | pub size: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/commands/linux/netlink/sockdiag.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | Inet(inet::Response), [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 | Inet(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/commands/linux/netlink/sockdiag.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | Unix(unix::Response), [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] 11 | Unix(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/commands/linux/netlink/sockdiag.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct MemInfo { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 36 | /// Amount of data in the receive queue [INFO] [stdout] 37 | pub rmem_alloc: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub rcv_buf: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub wmem_alloc: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub snd_buf: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fwd_alloc: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub wmem_queued: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub opt_mem: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub backlog: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MemInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Udp` and `UdpLite` are never constructed [INFO] [stdout] --> src/commands/linux/netlink/sockdiag/inet.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum Protocol { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 21 | Udp = libc::IPPROTO_UDP as isize, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | UdpLite = libc::IPPROTO_UDPLITE as isize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Protocol` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/commands/linux/netlink/sockdiag/inet.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum SocketState { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 29 | Established, [INFO] [stdout] 30 | SynSent, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 31 | SynRecv, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 32 | FinWait1, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 33 | FinWait2, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 34 | TimeWait, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 35 | Close, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 36 | CloseWait, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 37 | LastAck, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 38 | Listen, [INFO] [stdout] 39 | Closing, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 40 | NewSynRecv, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `address_family` and `protocol` are never used [INFO] [stdout] --> src/commands/linux/netlink/sockdiag/inet.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 77 | impl Request { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn address_family(mut self, family: AddressFamily) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn protocol(mut self, proto: Protocol) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/commands/linux/netlink/sockdiag/inet.rs:214:12 [INFO] [stdout] | [INFO] [stdout] 206 | impl NlINetDiagReqV2 { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn new(family: AddressFamily, protocol: Protocol) -> NlINetDiagReqV2 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `attribute`, and `attributes` are never used [INFO] [stdout] --> src/commands/linux/netlink/sockdiag/unix.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Request { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn new() -> Request { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn attribute(mut self, attr: RequestAttribute) -> Request { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn attributes(mut self, v: Vec) -> Request { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_u32` is never used [INFO] [stdout] --> src/commands/linux/netlink/sockdiag/unix.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 85 | impl RequestAttribute { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 86 | pub fn as_u32(&self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `family`, `ty`, `state`, `pad`, `ino`, and `cookie` are never read [INFO] [stdout] --> src/commands/linux/netlink/sockdiag/unix.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 169 | pub struct Response { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 170 | /// Address family this socket belongs to (should be Unix) [INFO] [stdout] 171 | family: AddressFamily, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 172 | [INFO] [stdout] 173 | ty: u8, [INFO] [stdout] | ^^ [INFO] [stdout] 174 | state: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 175 | pad: u8, [INFO] [stdout] | ^^^ [INFO] [stdout] 176 | ino: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 177 | cookie: [u32; 2], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `device_number` and `inode` are never read [INFO] [stdout] --> src/commands/linux/netlink/sockdiag/unix.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 278 | pub struct Vfs { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 279 | /// The device number of the corresponding on-disk socket inode [INFO] [stdout] 280 | pub device_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 283 | pub inode: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vfs` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `read` and `write` are never read [INFO] [stdout] --> src/commands/linux/netlink/sockdiag/unix.rs:307:9 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct Queue { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 307 | pub read: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | pub write: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Queue` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | ParsingFailed(ParsingError), [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] 9 | ParsingFailed(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UnsupportedOS` is never constructed [INFO] [stdout] --> src/error.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 12 | UnsupportedOS, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/unix.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn processes(args: Option<&str>) -> Vec { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip6` [INFO] [stdout] --> src/commands/common.rs:34:28 [INFO] [stdout] | [INFO] [stdout] 34 | IpAddr::V6(ip6) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ip6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `examine_bytes` is never used [INFO] [stdout] --> src/commands/linux/netlink.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn examine_bytes(t: &T) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_bytes` is never used [INFO] [stdout] --> src/commands/linux/netlink.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn to_bytes(t: &T) -> &[u8] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_bytes` is never used [INFO] [stdout] --> src/commands/linux/netlink.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn print_bytes(b: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `socket_test` is never used [INFO] [stdout] --> src/commands/linux/netlink.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn socket_test() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `ty` and `flags` are never used [INFO] [stdout] --> src/commands/linux/netlink/header.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl Header { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn ty(mut self, msg_ty: MessageType) -> Header { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn flags(mut self, flags: Vec) -> Header { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_bytes` is never used [INFO] [stdout] --> src/commands/linux/netlink/header.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 145 | impl MessageType { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn as_bytes(&self) -> [u8; 2] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/commands/linux/netlink/nlresponse.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | SockDiag(sockdiag::Response), [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] 16 | SockDiag(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `payload` is never read [INFO] [stdout] --> src/commands/linux/netlink/nlresponse.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct NetlinkResponse { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | pub payload: Payload, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NetlinkResponse` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/commands/linux/netlink/nlresponse.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct NetlinkAttribute { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 69 | /// The size of this attribute, include this header [INFO] [stdout] 70 | pub size: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/commands/linux/netlink/sockdiag.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | Inet(inet::Response), [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 | Inet(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/commands/linux/netlink/sockdiag.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | Unix(unix::Response), [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] 11 | Unix(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/commands/linux/netlink/sockdiag.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct MemInfo { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 36 | /// Amount of data in the receive queue [INFO] [stdout] 37 | pub rmem_alloc: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub rcv_buf: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub wmem_alloc: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub snd_buf: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fwd_alloc: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub wmem_queued: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub opt_mem: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub backlog: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MemInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Udp` and `UdpLite` are never constructed [INFO] [stdout] --> src/commands/linux/netlink/sockdiag/inet.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum Protocol { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 21 | Udp = libc::IPPROTO_UDP as isize, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | UdpLite = libc::IPPROTO_UDPLITE as isize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Protocol` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/commands/linux/netlink/sockdiag/inet.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum SocketState { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 29 | Established, [INFO] [stdout] 30 | SynSent, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 31 | SynRecv, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 32 | FinWait1, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 33 | FinWait2, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 34 | TimeWait, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 35 | Close, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 36 | CloseWait, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 37 | LastAck, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 38 | Listen, [INFO] [stdout] 39 | Closing, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 40 | NewSynRecv, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `address_family` and `protocol` are never used [INFO] [stdout] --> src/commands/linux/netlink/sockdiag/inet.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 77 | impl Request { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn address_family(mut self, family: AddressFamily) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn protocol(mut self, proto: Protocol) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/commands/linux/netlink/sockdiag/inet.rs:214:12 [INFO] [stdout] | [INFO] [stdout] 206 | impl NlINetDiagReqV2 { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn new(family: AddressFamily, protocol: Protocol) -> NlINetDiagReqV2 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `attribute`, and `attributes` are never used [INFO] [stdout] --> src/commands/linux/netlink/sockdiag/unix.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Request { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn new() -> Request { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn attribute(mut self, attr: RequestAttribute) -> Request { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn attributes(mut self, v: Vec) -> Request { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_u32` is never used [INFO] [stdout] --> src/commands/linux/netlink/sockdiag/unix.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 85 | impl RequestAttribute { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 86 | pub fn as_u32(&self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `family`, `ty`, `state`, `pad`, `ino`, and `cookie` are never read [INFO] [stdout] --> src/commands/linux/netlink/sockdiag/unix.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 169 | pub struct Response { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 170 | /// Address family this socket belongs to (should be Unix) [INFO] [stdout] 171 | family: AddressFamily, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 172 | [INFO] [stdout] 173 | ty: u8, [INFO] [stdout] | ^^ [INFO] [stdout] 174 | state: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 175 | pad: u8, [INFO] [stdout] | ^^^ [INFO] [stdout] 176 | ino: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 177 | cookie: [u32; 2], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `device_number` and `inode` are never read [INFO] [stdout] --> src/commands/linux/netlink/sockdiag/unix.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 278 | pub struct Vfs { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 279 | /// The device number of the corresponding on-disk socket inode [INFO] [stdout] 280 | pub device_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 283 | pub inode: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vfs` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `read` and `write` are never read [INFO] [stdout] --> src/commands/linux/netlink/sockdiag/unix.rs:307:9 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct Queue { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 307 | pub read: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | pub write: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Queue` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | ParsingFailed(ParsingError), [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] 9 | ParsingFailed(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UnsupportedOS` is never constructed [INFO] [stdout] --> src/error.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 12 | UnsupportedOS, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.00s [INFO] running `Command { std: "docker" "inspect" "a7f8f332bf4d6841184f8d53225bc94bce7c46bb2bd140c96d3aff0ea7128257", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7f8f332bf4d6841184f8d53225bc94bce7c46bb2bd140c96d3aff0ea7128257", kill_on_drop: false }` [INFO] [stdout] a7f8f332bf4d6841184f8d53225bc94bce7c46bb2bd140c96d3aff0ea7128257