[INFO] cloning repository https://github.com/Googe14/mcstatus-bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Googe14/mcstatus-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGooge14%2Fmcstatus-bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGooge14%2Fmcstatus-bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9d1b4f2a82f5f24314e5462b6e3a89d51e8fb7e1 [INFO] building Googe14/mcstatus-bot against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGooge14%2Fmcstatus-bot" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Googe14/mcstatus-bot [INFO] finished tweaking git repo https://github.com/Googe14/mcstatus-bot [INFO] tweaked toml for git repo https://github.com/Googe14/mcstatus-bot written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Googe14/mcstatus-bot on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Googe14/mcstatus-bot 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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c74d0e710c1f9958aedecbc5723dc0809ce4f2b21d31bd8ece12abc2de3c08d8 [INFO] running `Command { std: "docker" "start" "-a" "c74d0e710c1f9958aedecbc5723dc0809ce4f2b21d31bd8ece12abc2de3c08d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c74d0e710c1f9958aedecbc5723dc0809ce4f2b21d31bd8ece12abc2de3c08d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c74d0e710c1f9958aedecbc5723dc0809ce4f2b21d31bd8ece12abc2de3c08d8", kill_on_drop: false }` [INFO] [stdout] c74d0e710c1f9958aedecbc5723dc0809ce4f2b21d31bd8ece12abc2de3c08d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4dfbdfa94686805acea2ca3720f6d695947ce7767caf47536c6bd6b6cb89c9f0 [INFO] running `Command { std: "docker" "start" "-a" "4dfbdfa94686805acea2ca3720f6d695947ce7767caf47536c6bd6b6cb89c9f0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.111 [INFO] [stderr] Compiling proc-macro2 v1.0.33 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling futures-sink v0.3.18 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling futures-io v0.3.18 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling serde_derive v1.0.131 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling serde v1.0.131 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling ryu v1.0.8 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling rustls v0.20.2 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling input_buffer v0.3.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling anyhow v1.0.51 [INFO] [stderr] Compiling tungstenite v0.11.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling webpki-roots v0.20.0 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling rustls-pemfile v0.2.1 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling serenity v0.10.9 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling gif v0.11.3 [INFO] [stderr] Compiling command_attr v0.3.7 [INFO] [stderr] Compiling quartz_nbt_macros v0.1.1 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling futures v0.3.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling cesu8 v1.1.0 [INFO] [stderr] Compiling typemap_rev v0.1.5 [INFO] [stderr] Compiling uwl v0.6.0 [INFO] [stderr] Compiling bytemuck v1.7.3 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling quartz_nbt v0.2.4 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-rustls v0.23.1 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling h2 v0.3.9 [INFO] [stderr] Compiling async-tungstenite v0.11.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling hyper v0.14.16 [INFO] [stderr] Compiling hyper-rustls v0.23.0 [INFO] [stderr] Compiling reqwest v0.11.7 [INFO] [stderr] Compiling minecraft_pinger v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/network.rs:104:44 [INFO] [stdout] | [INFO] [stdout] 104 | Some(DecodedPacket::StatusPong(payload)) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/network.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | io::{Read, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/network.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | io::{Read, Write}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pd` [INFO] [stdout] --> src/network/packets.rs:1088:15 [INFO] [stdout] | [INFO] [stdout] 1088 | fn decode(pd: &mut PacketDecoder) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pd` [INFO] [stdout] --> src/network/packets.rs:1128:15 [INFO] [stdout] | [INFO] [stdout] 1128 | fn decode(pd: &mut PacketDecoder) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pd` [INFO] [stdout] --> src/network/packets.rs:1197:15 [INFO] [stdout] | [INFO] [stdout] 1197 | fn decode(pd: &mut PacketDecoder) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pd` [INFO] [stdout] --> src/network/packets.rs:1211:15 [INFO] [stdout] | [INFO] [stdout] 1211 | fn decode(pd: &mut PacketDecoder) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pd` [INFO] [stdout] --> src/network/packets.rs:1448:15 [INFO] [stdout] | [INFO] [stdout] 1448 | fn decode(pd: &mut PacketDecoder) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pd` [INFO] [stdout] --> src/network/packets.rs:376:15 [INFO] [stdout] | [INFO] [stdout] 376 | fn decode(pd: &mut PacketDecoder) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/network/packets.rs:1995:22 [INFO] [stdout] | [INFO] [stdout] 1995 | Ok((nbt, name)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pd` [INFO] [stdout] --> src/network/packets.rs:537:15 [INFO] [stdout] | [INFO] [stdout] 537 | fn decode(pd: &mut PacketDecoder) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pd` [INFO] [stdout] --> src/network/packets.rs:651:15 [INFO] [stdout] | [INFO] [stdout] 651 | fn decode(pd: &mut PacketDecoder) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pd` [INFO] [stdout] --> src/network/packets.rs:773:15 [INFO] [stdout] | [INFO] [stdout] 773 | fn decode(pd: &mut PacketDecoder) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROTOCOL_1_17_1` is never used [INFO] [stdout] --> src/network.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const PROTOCOL_1_17_1: VarInt = VarInt(756); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROTOCOL_1_18_1` is never used [INFO] [stdout] --> src/network.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const PROTOCOL_1_18_1: VarInt = VarInt(757); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Login` and `Play` are never constructed [INFO] [stdout] --> src/network.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum ServerState { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 23 | Status, [INFO] [stdout] 24 | Login, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | Play, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NetworkChannel` is never constructed [INFO] [stdout] --> src/network.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub struct NetworkChannel { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send_packet` is never used [INFO] [stdout] --> src/network.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 154 | impl NetworkChannel { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 155 | pub fn send_packet(&self, packet: DecodedPacket) -> Result<(), SendError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `NetworkCommand` is never used [INFO] [stdout] --> src/network.rs:168:10 [INFO] [stdout] | [INFO] [stdout] 168 | pub enum NetworkCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 54s [INFO] running `Command { std: "docker" "inspect" "4dfbdfa94686805acea2ca3720f6d695947ce7767caf47536c6bd6b6cb89c9f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4dfbdfa94686805acea2ca3720f6d695947ce7767caf47536c6bd6b6cb89c9f0", kill_on_drop: false }` [INFO] [stdout] 4dfbdfa94686805acea2ca3720f6d695947ce7767caf47536c6bd6b6cb89c9f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 982e9862a3d59c4f1f7afcc0da0fd205a24225250b1422d63377c52d99d8e358 [INFO] running `Command { std: "docker" "start" "-a" "982e9862a3d59c4f1f7afcc0da0fd205a24225250b1422d63377c52d99d8e358", kill_on_drop: false }` [INFO] [stderr] Compiling minecraft_pinger v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/network.rs:104:44 [INFO] [stdout] | [INFO] [stdout] 104 | Some(DecodedPacket::StatusPong(payload)) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/network.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | io::{Read, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/network.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | io::{Read, Write}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pd` [INFO] [stdout] --> src/network/packets.rs:376:15 [INFO] [stdout] | [INFO] [stdout] 376 | fn decode(pd: &mut PacketDecoder) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pd` [INFO] [stdout] --> src/network/packets.rs:537:15 [INFO] [stdout] | [INFO] [stdout] 537 | fn decode(pd: &mut PacketDecoder) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pd` [INFO] [stdout] --> src/network/packets.rs:651:15 [INFO] [stdout] | [INFO] [stdout] 651 | fn decode(pd: &mut PacketDecoder) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pd` [INFO] [stdout] --> src/network/packets.rs:1448:15 [INFO] [stdout] | [INFO] [stdout] 1448 | fn decode(pd: &mut PacketDecoder) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pd` [INFO] [stdout] --> src/network/packets.rs:773:15 [INFO] [stdout] | [INFO] [stdout] 773 | fn decode(pd: &mut PacketDecoder) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pd` [INFO] [stdout] --> src/network/packets.rs:1088:15 [INFO] [stdout] | [INFO] [stdout] 1088 | fn decode(pd: &mut PacketDecoder) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pd` [INFO] [stdout] --> src/network/packets.rs:1128:15 [INFO] [stdout] | [INFO] [stdout] 1128 | fn decode(pd: &mut PacketDecoder) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pd` [INFO] [stdout] --> src/network/packets.rs:1197:15 [INFO] [stdout] | [INFO] [stdout] 1197 | fn decode(pd: &mut PacketDecoder) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pd` [INFO] [stdout] --> src/network/packets.rs:1211:15 [INFO] [stdout] | [INFO] [stdout] 1211 | fn decode(pd: &mut PacketDecoder) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/network/packets.rs:1995:22 [INFO] [stdout] | [INFO] [stdout] 1995 | Ok((nbt, name)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROTOCOL_1_17_1` is never used [INFO] [stdout] --> src/network.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const PROTOCOL_1_17_1: VarInt = VarInt(756); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROTOCOL_1_18_1` is never used [INFO] [stdout] --> src/network.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const PROTOCOL_1_18_1: VarInt = VarInt(757); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Login` and `Play` are never constructed [INFO] [stdout] --> src/network.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum ServerState { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 23 | Status, [INFO] [stdout] 24 | Login, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | Play, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NetworkChannel` is never constructed [INFO] [stdout] --> src/network.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub struct NetworkChannel { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send_packet` is never used [INFO] [stdout] --> src/network.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 154 | impl NetworkChannel { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 155 | pub fn send_packet(&self, packet: DecodedPacket) -> Result<(), SendError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `NetworkCommand` is never used [INFO] [stdout] --> src/network.rs:168:10 [INFO] [stdout] | [INFO] [stdout] 168 | pub enum NetworkCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.40s [INFO] running `Command { std: "docker" "inspect" "982e9862a3d59c4f1f7afcc0da0fd205a24225250b1422d63377c52d99d8e358", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "982e9862a3d59c4f1f7afcc0da0fd205a24225250b1422d63377c52d99d8e358", kill_on_drop: false }` [INFO] [stdout] 982e9862a3d59c4f1f7afcc0da0fd205a24225250b1422d63377c52d99d8e358