[INFO] cloning repository https://github.com/Joel-Engstrom/Node-Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Joel-Engstrom/Node-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoel-Engstrom%2FNode-Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoel-Engstrom%2FNode-Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a5eaf7f95d686e353a8f9bb1ecaa930cf76bc7fc [INFO] checking Joel-Engstrom/Node-Rust against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoel-Engstrom%2FNode-Rust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 52% (369/701) Updating files: 53% (372/701) Updating files: 54% (379/701) Updating files: 55% (386/701) Updating files: 56% (393/701) Updating files: 57% (400/701) Updating files: 58% (407/701) Updating files: 59% (414/701) Updating files: 60% (421/701) Updating files: 61% (428/701) Updating files: 62% (435/701) Updating files: 63% (442/701) Updating files: 64% (449/701) Updating files: 65% (456/701) Updating files: 66% (463/701) Updating files: 67% (470/701) Updating files: 68% (477/701) Updating files: 69% (484/701) Updating files: 70% (491/701) Updating files: 71% (498/701) Updating files: 72% (505/701) Updating files: 73% (512/701) Updating files: 74% (519/701) Updating files: 75% (526/701) Updating files: 76% (533/701) Updating files: 77% (540/701) Updating files: 78% (547/701) Updating files: 79% (554/701) Updating files: 80% (561/701) Updating files: 81% (568/701) Updating files: 82% (575/701) Updating files: 83% (582/701) Updating files: 84% (589/701) Updating files: 85% (596/701) Updating files: 86% (603/701) Updating files: 87% (610/701) Updating files: 88% (617/701) Updating files: 89% (624/701) Updating files: 90% (631/701) Updating files: 91% (638/701) Updating files: 92% (645/701) Updating files: 93% (652/701) Updating files: 94% (659/701) Updating files: 95% (666/701) Updating files: 96% (673/701) Updating files: 97% (680/701) Updating files: 98% (687/701) Updating files: 99% (694/701) Updating files: 100% (701/701) Updating files: 100% (701/701), done. [INFO] validating manifest of git repo https://github.com/Joel-Engstrom/Node-Rust 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/Joel-Engstrom/Node-Rust [INFO] finished tweaking git repo https://github.com/Joel-Engstrom/Node-Rust [INFO] tweaked toml for git repo https://github.com/Joel-Engstrom/Node-Rust written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Joel-Engstrom/Node-Rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded paw-raw v1.0.0 [INFO] [stderr] Downloaded ctrlc v3.2.1 [INFO] [stderr] Downloaded paw v1.0.0 [INFO] [stderr] Downloaded nix v0.23.0 [INFO] [stderr] Downloaded paw-attributes v1.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] c961beed42a156a60197a9e93c68601ab505faf889ed10396cc8b7e86a5e36d4 [INFO] running `Command { std: "docker" "start" "-a" "c961beed42a156a60197a9e93c68601ab505faf889ed10396cc8b7e86a5e36d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c961beed42a156a60197a9e93c68601ab505faf889ed10396cc8b7e86a5e36d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c961beed42a156a60197a9e93c68601ab505faf889ed10396cc8b7e86a5e36d4", kill_on_drop: false }` [INFO] [stdout] c961beed42a156a60197a9e93c68601ab505faf889ed10396cc8b7e86a5e36d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 37bee55b7bddb68dfd80d24232361f0b0bbe7f775bf3d07f62080d3ebcb5294d [INFO] running `Command { std: "docker" "start" "-a" "37bee55b7bddb68dfd80d24232361f0b0bbe7f775bf3d07f62080d3ebcb5294d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking paw-raw v1.0.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking nix v0.23.0 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking ctrlc v3.2.1 [INFO] [stderr] Compiling paw-attributes v1.0.2 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking paw v1.0.0 [INFO] [stderr] Checking structopt v0.3.25 [INFO] [stderr] Checking Node-Rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `PDU` is imported redundantly [INFO] [stdout] --> src/socket_wrapper.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::pdu::PDU; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | use pdu::*; [INFO] [stdout] | ------ the item `PDU` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::pdu::PDU::*` [INFO] [stdout] --> src/pdu.rs:926:9 [INFO] [stdout] | [INFO] [stdout] 926 | use crate::pdu::PDU::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PDU` is imported redundantly [INFO] [stdout] --> src/socket_wrapper.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::pdu::PDU; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | use pdu::*; [INFO] [stdout] | ------ the item `PDU` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/pdu.rs:933:14 [INFO] [stdout] | [INFO] [stdout] 933 | let (a, b) = NetAlivePdu::try_parse(&b).unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/pdu.rs:942:14 [INFO] [stdout] | [INFO] [stdout] 942 | let (a, b) = NetGetNodePdu::try_parse(&b).unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/pdu.rs:989:14 [INFO] [stdout] | [INFO] [stdout] 989 | let (a, b) = NetCloseConnectionPdu::try_parse(&b).unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Node_Rust` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `node_rust` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/pdu.rs:1090:14 [INFO] [stdout] | [INFO] [stdout] 1090 | let (a, b) = StunLookupPdu::try_parse(&b).unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PDU` is imported redundantly [INFO] [stdout] --> src/socket_wrapper.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::pdu::PDU; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | use pdu::*; [INFO] [stdout] | ------ the item `PDU` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ctrlc` is imported redundantly [INFO] [stdout] --> src/main.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | use ctrlc; [INFO] [stdout] | ^^^^^ the item `ctrlc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PDU` is imported redundantly [INFO] [stdout] --> src/socket_wrapper.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::pdu::PDU; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | use pdu::*; [INFO] [stdout] | ------ the item `PDU` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::pdu::PDU::*` [INFO] [stdout] --> src/pdu.rs:926:9 [INFO] [stdout] | [INFO] [stdout] 926 | use crate::pdu::PDU::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ctrlc` is imported redundantly [INFO] [stdout] --> src/main.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | use ctrlc; [INFO] [stdout] | ^^^^^ the item `ctrlc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BUFFER_SIZE` is never used [INFO] [stdout] --> src/socket_wrapper.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const BUFFER_SIZE: usize = 25600; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Message` is never used [INFO] [stdout] --> src/socket_wrapper.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub type Message = (PDU, SocketAddr); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TcpWrapper` is never constructed [INFO] [stdout] --> src/socket_wrapper.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct TcpWrapper { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `send`, `next_pdu`, and `try_read` are never used [INFO] [stdout] --> src/socket_wrapper.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl TcpWrapper { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 23 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn send(&self, socket: &mut TcpStream, pdu: PDU) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn next_pdu(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn try_read(&mut self, socket: &mut TcpStream) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UdpWrapper` is never constructed [INFO] [stdout] --> src/socket_wrapper.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct UdpWrapper { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `send`, `next_pdu`, and `try_read` are never used [INFO] [stdout] --> src/socket_wrapper.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 93 | impl UdpWrapper { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 94 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn send(&self, socket: &mut UdpSocket, pdu: PDU, rec: SocketAddr) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn next_pdu(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn try_read(&mut self, socket: &mut UdpSocket) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_pdu` is never used [INFO] [stdout] --> src/socket_wrapper.rs:156:4 [INFO] [stdout] | [INFO] [stdout] 156 | fn parse_pdu(buffer: &[u8]) -> Option<(PDU, usize)> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_net_pdu` is never used [INFO] [stdout] --> src/socket_wrapper.rs:171:4 [INFO] [stdout] | [INFO] [stdout] 171 | fn parse_net_pdu(buffer: &[u8]) -> Option<(PDU, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_val_pdu` is never used [INFO] [stdout] --> src/socket_wrapper.rs:215:4 [INFO] [stdout] | [INFO] [stdout] 215 | fn parse_val_pdu(buffer: &[u8]) -> Option<(PDU, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_stun_pdu` is never used [INFO] [stdout] --> src/socket_wrapper.rs:239:4 [INFO] [stdout] | [INFO] [stdout] 239 | fn parse_stun_pdu(buffer: &[u8]) -> Option<(PDU, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pdu.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | NetAlive(NetAlivePdu), [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] 43 | NetAlive(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pdu.rs:44:16 [INFO] [stdout] | [INFO] [stdout] 44 | NetGetNode(NetGetNodePdu), [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 | NetGetNode(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pdu.rs:45:24 [INFO] [stdout] | [INFO] [stdout] 45 | NetGetNodeResponse(NetGetNodeResponsePdu), [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] 45 | NetGetNodeResponse(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pdu.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | NetJoin(NetJoinPdu), [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 | NetJoin(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pdu.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | NetJoinResponse(NetJoinResponsePdu), [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] 47 | NetJoinResponse(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pdu.rs:48:24 [INFO] [stdout] | [INFO] [stdout] 48 | NetCloseConnection(NetCloseConnectionPdu), [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] 48 | NetCloseConnection(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pdu.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | NetNewRange(NetNewRangePdu), [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] 49 | NetNewRange(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pdu.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | NetNewRangeResponse(NetNewRangeResponsePdu), [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] 50 | NetNewRangeResponse(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pdu.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 51 | NetLeaving(NetLeavingPdu), [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] 51 | NetLeaving(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pdu.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 52 | ValInsert(ValInsertPdu), [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] 52 | ValInsert(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pdu.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 53 | ValRemove(ValRemovePdu), [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] 53 | ValRemove(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pdu.rs:54:15 [INFO] [stdout] | [INFO] [stdout] 54 | ValLookup(ValLookupPdu), [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] 54 | ValLookup(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pdu.rs:55:23 [INFO] [stdout] | [INFO] [stdout] 55 | ValLookupResponse(ValLookupResponsePdu), [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] 55 | ValLookupResponse(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pdu.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | StunLookup(StunLookupPdu), [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] 56 | StunLookup(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pdu.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 57 | StunResponse(StunResponsePdu), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 57 | StunResponse(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_bytes` is never used [INFO] [stdout] --> src/pdu.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 83 | impl PDU { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] 84 | pub fn to_bytes(self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/pdu.rs:933:14 [INFO] [stdout] | [INFO] [stdout] 933 | let (a, b) = NetAlivePdu::try_parse(&b).unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/pdu.rs:942:14 [INFO] [stdout] | [INFO] [stdout] 942 | let (a, b) = NetGetNodePdu::try_parse(&b).unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/pdu.rs:989:14 [INFO] [stdout] | [INFO] [stdout] 989 | let (a, b) = NetCloseConnectionPdu::try_parse(&b).unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/pdu.rs:1090:14 [INFO] [stdout] | [INFO] [stdout] 1090 | let (a, b) = StunLookupPdu::try_parse(&b).unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BUFFER_SIZE` is never used [INFO] [stdout] --> src/socket_wrapper.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const BUFFER_SIZE: usize = 25600; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Message` is never used [INFO] [stdout] --> src/socket_wrapper.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub type Message = (PDU, SocketAddr); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TcpWrapper` is never constructed [INFO] [stdout] --> src/socket_wrapper.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct TcpWrapper { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `send`, `next_pdu`, and `try_read` are never used [INFO] [stdout] --> src/socket_wrapper.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl TcpWrapper { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 23 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn send(&self, socket: &mut TcpStream, pdu: PDU) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn next_pdu(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn try_read(&mut self, socket: &mut TcpStream) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UdpWrapper` is never constructed [INFO] [stdout] --> src/socket_wrapper.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct UdpWrapper { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `send`, `next_pdu`, and `try_read` are never used [INFO] [stdout] --> src/socket_wrapper.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 93 | impl UdpWrapper { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 94 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn send(&self, socket: &mut UdpSocket, pdu: PDU, rec: SocketAddr) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn next_pdu(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn try_read(&mut self, socket: &mut UdpSocket) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_pdu` is never used [INFO] [stdout] --> src/socket_wrapper.rs:156:4 [INFO] [stdout] | [INFO] [stdout] 156 | fn parse_pdu(buffer: &[u8]) -> Option<(PDU, usize)> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_net_pdu` is never used [INFO] [stdout] --> src/socket_wrapper.rs:171:4 [INFO] [stdout] | [INFO] [stdout] 171 | fn parse_net_pdu(buffer: &[u8]) -> Option<(PDU, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_val_pdu` is never used [INFO] [stdout] --> src/socket_wrapper.rs:215:4 [INFO] [stdout] | [INFO] [stdout] 215 | fn parse_val_pdu(buffer: &[u8]) -> Option<(PDU, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_stun_pdu` is never used [INFO] [stdout] --> src/socket_wrapper.rs:239:4 [INFO] [stdout] | [INFO] [stdout] 239 | fn parse_stun_pdu(buffer: &[u8]) -> Option<(PDU, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pdu.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | NetAlive(NetAlivePdu), [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] 43 | NetAlive(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pdu.rs:44:16 [INFO] [stdout] | [INFO] [stdout] 44 | NetGetNode(NetGetNodePdu), [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 | NetGetNode(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pdu.rs:45:24 [INFO] [stdout] | [INFO] [stdout] 45 | NetGetNodeResponse(NetGetNodeResponsePdu), [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] 45 | NetGetNodeResponse(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pdu.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | NetJoin(NetJoinPdu), [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 | NetJoin(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pdu.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | NetJoinResponse(NetJoinResponsePdu), [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] 47 | NetJoinResponse(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pdu.rs:48:24 [INFO] [stdout] | [INFO] [stdout] 48 | NetCloseConnection(NetCloseConnectionPdu), [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] 48 | NetCloseConnection(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pdu.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | NetNewRange(NetNewRangePdu), [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] 49 | NetNewRange(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pdu.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | NetNewRangeResponse(NetNewRangeResponsePdu), [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] 50 | NetNewRangeResponse(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pdu.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 51 | NetLeaving(NetLeavingPdu), [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] 51 | NetLeaving(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pdu.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 52 | ValInsert(ValInsertPdu), [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] 52 | ValInsert(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pdu.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 53 | ValRemove(ValRemovePdu), [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] 53 | ValRemove(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pdu.rs:54:15 [INFO] [stdout] | [INFO] [stdout] 54 | ValLookup(ValLookupPdu), [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] 54 | ValLookup(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pdu.rs:55:23 [INFO] [stdout] | [INFO] [stdout] 55 | ValLookupResponse(ValLookupResponsePdu), [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] 55 | ValLookupResponse(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pdu.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | StunLookup(StunLookupPdu), [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] 56 | StunLookup(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pdu.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 57 | StunResponse(StunResponsePdu), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 57 | StunResponse(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_bytes` is never used [INFO] [stdout] --> src/pdu.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 83 | impl PDU { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] 84 | pub fn to_bytes(self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.63s [INFO] running `Command { std: "docker" "inspect" "37bee55b7bddb68dfd80d24232361f0b0bbe7f775bf3d07f62080d3ebcb5294d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37bee55b7bddb68dfd80d24232361f0b0bbe7f775bf3d07f62080d3ebcb5294d", kill_on_drop: false }` [INFO] [stdout] 37bee55b7bddb68dfd80d24232361f0b0bbe7f775bf3d07f62080d3ebcb5294d