[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 master#c2804e6ec2c29a5c7368600ea173b890e2655c3d for pr-97334-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGooge14%2Fmcstatus-bot" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Googe14/mcstatus-bot on toolchain c2804e6ec2c29a5c7368600ea173b890e2655c3d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0/source/Cargo.toml [INFO] crate git repo https://github.com/Googe14/mcstatus-bot already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-rustls v0.23.1 [INFO] [stderr] Downloaded command_attr v0.3.7 [INFO] [stderr] Downloaded quartz_nbt_macros v0.1.1 [INFO] [stderr] Downloaded quartz_nbt v0.2.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bbc891f7e81aa3e22470036a44243a13bb9203c1f59b729745e5c4990ac2ecd9 [INFO] running `Command { std: "docker" "start" "-a" "bbc891f7e81aa3e22470036a44243a13bb9203c1f59b729745e5c4990ac2ecd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bbc891f7e81aa3e22470036a44243a13bb9203c1f59b729745e5c4990ac2ecd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbc891f7e81aa3e22470036a44243a13bb9203c1f59b729745e5c4990ac2ecd9", kill_on_drop: false }` [INFO] [stdout] bbc891f7e81aa3e22470036a44243a13bb9203c1f59b729745e5c4990ac2ecd9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1fdb5c5465e0564d02bc3bca94e5c1b885a92652d3958c3007a87131cd0956c9 [INFO] running `Command { std: "docker" "start" "-a" "1fdb5c5465e0564d02bc3bca94e5c1b885a92652d3958c3007a87131cd0956c9", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.111 [INFO] [stderr] Compiling cfg-if v1.0.0 [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 once_cell v1.8.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling futures-sink v0.3.18 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling futures-io v0.3.18 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling serde_derive v1.0.131 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling serde v1.0.131 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling ryu v1.0.8 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling anyhow v1.0.51 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling serenity v0.10.9 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling typemap_rev v0.1.5 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling cesu8 v1.1.0 [INFO] [stderr] Compiling uwl v0.6.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling bytemuck v1.7.3 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling rustls-pemfile v0.2.1 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling input_buffer v0.3.1 [INFO] [stderr] Compiling gif v0.11.3 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling futures v0.3.18 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling tungstenite v0.11.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [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 quartz_nbt_macros v0.1.1 [INFO] [stderr] Compiling command_attr v0.3.7 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling quartz_nbt v0.2.4 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling tokio-util v0.6.9 [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 webpki-roots v0.21.1 [INFO] [stderr] Compiling webpki-roots v0.20.0 [INFO] [stderr] Compiling h2 v0.3.9 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling rustls v0.20.2 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling async-tungstenite v0.11.0 [INFO] [stderr] Compiling tokio-rustls v0.23.1 [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 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)]` 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] = note: `#[warn(unused_variables)]` on by default [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: 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: `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: `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] [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)]` 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: multiple variants are never constructed [INFO] [stdout] --> src/network.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub enum NetworkCommand { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 169 | Ok, [INFO] [stdout] | ^^ [INFO] [stdout] 170 | Error(Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 171 | Disconnect, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 172 | // Login(protocol, port, name) [INFO] [stdout] 173 | Login(VarInt, Short, MCString), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 174 | Status, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 175 | [INFO] [stdout] 176 | SendPacket(DecodedPacket), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 177 | ReceivePacket(DecodedPacket), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NetworkCommand` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `send_packet` is never used [INFO] [stdout] --> src/network.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn send_packet(&self, packet: DecodedPacket) -> Result<(), SendError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 10s [INFO] running `Command { std: "docker" "inspect" "1fdb5c5465e0564d02bc3bca94e5c1b885a92652d3958c3007a87131cd0956c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fdb5c5465e0564d02bc3bca94e5c1b885a92652d3958c3007a87131cd0956c9", kill_on_drop: false }` [INFO] [stdout] 1fdb5c5465e0564d02bc3bca94e5c1b885a92652d3958c3007a87131cd0956c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1bae2deaf4a9a549becd3845a935c4a2543c7af29df942922deeda0043295997 [INFO] running `Command { std: "docker" "start" "-a" "1bae2deaf4a9a549becd3845a935c4a2543c7af29df942922deeda0043295997", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling minecraft_pinger v0.1.0 (/opt/rustwide/workdir) [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)]` 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] = note: `#[warn(unused_variables)]` on by default [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: 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: `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: `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] [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)]` 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: multiple variants are never constructed [INFO] [stdout] --> src/network.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub enum NetworkCommand { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 169 | Ok, [INFO] [stdout] | ^^ [INFO] [stdout] 170 | Error(Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 171 | Disconnect, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 172 | // Login(protocol, port, name) [INFO] [stdout] 173 | Login(VarInt, Short, MCString), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 174 | Status, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 175 | [INFO] [stdout] 176 | SendPacket(DecodedPacket), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 177 | ReceivePacket(DecodedPacket), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NetworkCommand` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `send_packet` is never used [INFO] [stdout] --> src/network.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn send_packet(&self, packet: DecodedPacket) -> Result<(), SendError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 25.23s [INFO] running `Command { std: "docker" "inspect" "1bae2deaf4a9a549becd3845a935c4a2543c7af29df942922deeda0043295997", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bae2deaf4a9a549becd3845a935c4a2543c7af29df942922deeda0043295997", kill_on_drop: false }` [INFO] [stdout] 1bae2deaf4a9a549becd3845a935c4a2543c7af29df942922deeda0043295997