[INFO] cloning repository https://github.com/kennyvv/Rust-Server-Ping
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kennyvv/Rust-Server-Ping" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkennyvv%2FRust-Server-Ping", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkennyvv%2FRust-Server-Ping'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 06341c64880609f37dac70946829a9702f2be722
[INFO] testing kennyvv/Rust-Server-Ping against 1.95.0 for beta-1.96-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkennyvv%2FRust-Server-Ping" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/kennyvv/Rust-Server-Ping
[INFO] finished tweaking git repo https://github.com/kennyvv/Rust-Server-Ping
[INFO] tweaked toml for git repo https://github.com/kennyvv/Rust-Server-Ping written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kennyvv/Rust-Server-Ping on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/kennyvv/Rust-Server-Ping 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" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 46ab8322dbd558984b3a30bd230d7bb765a987606c63cb75ff91f7ed138e08e7
[INFO] running `Command { std: "docker" "start" "-a" "46ab8322dbd558984b3a30bd230d7bb765a987606c63cb75ff91f7ed138e08e7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "46ab8322dbd558984b3a30bd230d7bb765a987606c63cb75ff91f7ed138e08e7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "46ab8322dbd558984b3a30bd230d7bb765a987606c63cb75ff91f7ed138e08e7", kill_on_drop: false }`
[INFO] [stdout] 46ab8322dbd558984b3a30bd230d7bb765a987606c63cb75ff91f7ed138e08e7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6622a5264850b4ec959d918be562ef34b114e3fd8e3cf420b8134eb5ad6d10fa
[INFO] running `Command { std: "docker" "start" "-a" "6622a5264850b4ec959d918be562ef34b114e3fd8e3cf420b8134eb5ad6d10fa", kill_on_drop: false }`
[INFO] [stderr]    Compiling Rust-Test v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `BufReader`
[INFO] [stdout]  --> src/net/client_connection.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::{BufReader, 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: `crate::io::mem_stream::MemStream`
[INFO] [stdout]  --> src/net/client_connection.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::io::mem_stream::MemStream;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Packet`
[INFO] [stdout]  --> src/net/client_connection.rs:6:27
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::net::packets::{Packet, Handshake, read_handshake, read_ping_request};
[INFO] [stdout]   |                           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ReadError`
[INFO] [stdout]  --> src/net/packets.rs:1:53
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::net::minecraft_stream::{MinecraftStream, ReadError};
[INFO] [stdout]   |                                                     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/net/client_connection.rs:39:13
[INFO] [stdout]    |
[INFO] [stdout] 39 |         let mut packet_length = self.stream.read_varint().expect("Failed to read packet length");
[INFO] [stdout]    |             ----^^^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `uncompressed_length` is never read
[INFO] [stdout]   --> src/net/client_connection.rs:45:43
[INFO] [stdout]    |
[INFO] [stdout] 45 |             let mut uncompressed_length = 0;
[INFO] [stdout]    |                                           ^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `packet_id` is never read
[INFO] [stdout]   --> src/net/client_connection.rs:78:34
[INFO] [stdout]    |
[INFO] [stdout] 78 |         let mut packet_id: i32 = 0;
[INFO] [stdout]    |                                  ^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/net/client_connection.rs:112:17
[INFO] [stdout]     |
[INFO] [stdout] 112 |             let mut buffer: Vec<u8> =  Vec::new();
[INFO] [stdout]     |                 ----^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/net/client_connection.rs:121:17
[INFO] [stdout]     |
[INFO] [stdout] 121 |             let mut buffer: Vec<u8> =  Vec::new();
[INFO] [stdout]     |                 ----^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/net/minecraft_server.rs:37:21
[INFO] [stdout]    |
[INFO] [stdout] 37 |                 Err(e) => { /* connection failed */ }
[INFO] [stdout]    |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `read` is never read
[INFO] [stdout]    --> src/net/minecraft_stream.rs:110:28
[INFO] [stdout]     |
[INFO] [stdout] 110 |         let mut read: u8 = 0;
[INFO] [stdout]     |                            ^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `read` is never read
[INFO] [stdout]    --> src/net/minecraft_stream.rs:156:28
[INFO] [stdout]     |
[INFO] [stdout] 156 |         let mut read: u8 = 0;
[INFO] [stdout]     |                            ^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/net/packets.rs:30:23
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub fn read_handshake(mut stream: impl MinecraftStream) -> Handshake {
[INFO] [stdout]    |                       ----^^^^^^
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/net/packets.rs:53:26
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub fn read_ping_request(mut stream: impl MinecraftStream) -> PingRequest {
[INFO] [stdout]    |                          ----^^^^^^
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `compression_threshold` is never read
[INFO] [stdout]   --> src/net/client_connection.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct ClientConnection{
[INFO] [stdout]    |            ---------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |     compression_threshold: i32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `VarLongTooBig` is never constructed
[INFO] [stdout]   --> src/net/minecraft_stream.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub enum ReadError {
[INFO] [stdout]    |          --------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 10 |     VarLongTooBig
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ReadError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/net/minecraft_stream.rs:30:8
[INFO] [stdout]     |
[INFO] [stdout]  23 | pub trait MinecraftStream {
[INFO] [stdout]     |           --------------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout]  30 |     fn read_short(&mut self) -> Result<i16, ReadError> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  37 |     fn write_short(&mut self, value: i16) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  48 |     fn write_ushort(&mut self, value: u16) {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  52 |     fn read_int(&mut self) -> Result<i32, ReadError> {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  59 |     fn write_int(&mut self, value: i32) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  63 |     fn read_uint(&mut self) -> Result<u32, ReadError> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  70 |     fn write_uint(&mut self, value: u32) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  85 |     fn read_ulong(&mut self) -> Result<u64, ReadError> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  92 |     fn write_ulong(&mut self, value: u64) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  96 |     fn read_float(&mut self) -> Result<f32, ReadError> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 103 |     fn write_float(&mut self, value: f32) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 153 |     fn read_varlong(&mut self) -> Result<i64, ReadError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 185 |     fn write_varlong(&mut self, value: i64) -> i32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.59s
[INFO] running `Command { std: "docker" "inspect" "6622a5264850b4ec959d918be562ef34b114e3fd8e3cf420b8134eb5ad6d10fa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6622a5264850b4ec959d918be562ef34b114e3fd8e3cf420b8134eb5ad6d10fa", kill_on_drop: false }`
[INFO] [stdout] 6622a5264850b4ec959d918be562ef34b114e3fd8e3cf420b8134eb5ad6d10fa
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d4e4a7a8ddd240834bd91c69af9f442718f426415adb0d7a3bc23627c9dad9a8
[INFO] running `Command { std: "docker" "start" "-a" "d4e4a7a8ddd240834bd91c69af9f442718f426415adb0d7a3bc23627c9dad9a8", kill_on_drop: false }`
[INFO] [stderr]    Compiling Rust-Test v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `BufReader`
[INFO] [stdout]  --> src/net/client_connection.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::{BufReader, 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: `crate::io::mem_stream::MemStream`
[INFO] [stdout]  --> src/net/client_connection.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::io::mem_stream::MemStream;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Packet`
[INFO] [stdout]  --> src/net/client_connection.rs:6:27
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::net::packets::{Packet, Handshake, read_handshake, read_ping_request};
[INFO] [stdout]   |                           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ReadError`
[INFO] [stdout]  --> src/net/packets.rs:1:53
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::net::minecraft_stream::{MinecraftStream, ReadError};
[INFO] [stdout]   |                                                     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/net/client_connection.rs:39:13
[INFO] [stdout]    |
[INFO] [stdout] 39 |         let mut packet_length = self.stream.read_varint().expect("Failed to read packet length");
[INFO] [stdout]    |             ----^^^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `uncompressed_length` is never read
[INFO] [stdout]   --> src/net/client_connection.rs:45:43
[INFO] [stdout]    |
[INFO] [stdout] 45 |             let mut uncompressed_length = 0;
[INFO] [stdout]    |                                           ^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `packet_id` is never read
[INFO] [stdout]   --> src/net/client_connection.rs:78:34
[INFO] [stdout]    |
[INFO] [stdout] 78 |         let mut packet_id: i32 = 0;
[INFO] [stdout]    |                                  ^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/net/client_connection.rs:112:17
[INFO] [stdout]     |
[INFO] [stdout] 112 |             let mut buffer: Vec<u8> =  Vec::new();
[INFO] [stdout]     |                 ----^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/net/client_connection.rs:121:17
[INFO] [stdout]     |
[INFO] [stdout] 121 |             let mut buffer: Vec<u8> =  Vec::new();
[INFO] [stdout]     |                 ----^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/net/minecraft_server.rs:37:21
[INFO] [stdout]    |
[INFO] [stdout] 37 |                 Err(e) => { /* connection failed */ }
[INFO] [stdout]    |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `read` is never read
[INFO] [stdout]    --> src/net/minecraft_stream.rs:110:28
[INFO] [stdout]     |
[INFO] [stdout] 110 |         let mut read: u8 = 0;
[INFO] [stdout]     |                            ^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `read` is never read
[INFO] [stdout]    --> src/net/minecraft_stream.rs:156:28
[INFO] [stdout]     |
[INFO] [stdout] 156 |         let mut read: u8 = 0;
[INFO] [stdout]     |                            ^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/net/packets.rs:30:23
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub fn read_handshake(mut stream: impl MinecraftStream) -> Handshake {
[INFO] [stdout]    |                       ----^^^^^^
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/net/packets.rs:53:26
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub fn read_ping_request(mut stream: impl MinecraftStream) -> PingRequest {
[INFO] [stdout]    |                          ----^^^^^^
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `compression_threshold` is never read
[INFO] [stdout]   --> src/net/client_connection.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct ClientConnection{
[INFO] [stdout]    |            ---------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |     compression_threshold: i32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `VarLongTooBig` is never constructed
[INFO] [stdout]   --> src/net/minecraft_stream.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub enum ReadError {
[INFO] [stdout]    |          --------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 10 |     VarLongTooBig
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ReadError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/net/minecraft_stream.rs:30:8
[INFO] [stdout]     |
[INFO] [stdout]  23 | pub trait MinecraftStream {
[INFO] [stdout]     |           --------------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout]  30 |     fn read_short(&mut self) -> Result<i16, ReadError> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  37 |     fn write_short(&mut self, value: i16) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  48 |     fn write_ushort(&mut self, value: u16) {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  52 |     fn read_int(&mut self) -> Result<i32, ReadError> {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  59 |     fn write_int(&mut self, value: i32) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  63 |     fn read_uint(&mut self) -> Result<u32, ReadError> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  70 |     fn write_uint(&mut self, value: u32) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  85 |     fn read_ulong(&mut self) -> Result<u64, ReadError> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  92 |     fn write_ulong(&mut self, value: u64) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  96 |     fn read_float(&mut self) -> Result<f32, ReadError> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 103 |     fn write_float(&mut self, value: f32) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 153 |     fn read_varlong(&mut self) -> Result<i64, ReadError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 185 |     fn write_varlong(&mut self, value: i64) -> i32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.38s
[INFO] running `Command { std: "docker" "inspect" "d4e4a7a8ddd240834bd91c69af9f442718f426415adb0d7a3bc23627c9dad9a8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d4e4a7a8ddd240834bd91c69af9f442718f426415adb0d7a3bc23627c9dad9a8", kill_on_drop: false }`
[INFO] [stdout] d4e4a7a8ddd240834bd91c69af9f442718f426415adb0d7a3bc23627c9dad9a8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 492b392395197a70adb33ec46333903e37a8cad0629fbf6219ffbc24d7979cb4
[INFO] running `Command { std: "docker" "start" "-a" "492b392395197a70adb33ec46333903e37a8cad0629fbf6219ffbc24d7979cb4", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `BufReader`
[INFO] [stderr]  --> src/net/client_connection.rs:2:15
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::io::{BufReader, Write};
[INFO] [stderr]   |               ^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::io::mem_stream::MemStream`
[INFO] [stderr]  --> src/net/client_connection.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use crate::io::mem_stream::MemStream;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Packet`
[INFO] [stderr]  --> src/net/client_connection.rs:6:27
[INFO] [stderr]   |
[INFO] [stderr] 6 | use crate::net::packets::{Packet, Handshake, read_handshake, read_ping_request};
[INFO] [stderr]   |                           ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `ReadError`
[INFO] [stderr]  --> src/net/packets.rs:1:53
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::net::minecraft_stream::{MinecraftStream, ReadError};
[INFO] [stderr]   |                                                     ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/net/client_connection.rs:39:13
[INFO] [stderr]    |
[INFO] [stderr] 39 |         let mut packet_length = self.stream.read_varint().expect("Failed to read packet length");
[INFO] [stderr]    |             ----^^^^^^^^^^^^^
[INFO] [stderr]    |             |
[INFO] [stderr]    |             help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `uncompressed_length` is never read
[INFO] [stderr]   --> src/net/client_connection.rs:45:43
[INFO] [stderr]    |
[INFO] [stderr] 45 |             let mut uncompressed_length = 0;
[INFO] [stderr]    |                                           ^
[INFO] [stderr]    |
[INFO] [stderr]    = help: maybe it is overwritten before being read?
[INFO] [stderr]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `packet_id` is never read
[INFO] [stderr]   --> src/net/client_connection.rs:78:34
[INFO] [stderr]    |
[INFO] [stderr] 78 |         let mut packet_id: i32 = 0;
[INFO] [stderr]    |                                  ^
[INFO] [stderr]    |
[INFO] [stderr]    = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/net/client_connection.rs:112:17
[INFO] [stderr]     |
[INFO] [stderr] 112 |             let mut buffer: Vec<u8> =  Vec::new();
[INFO] [stderr]     |                 ----^^^^^^
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/net/client_connection.rs:121:17
[INFO] [stderr]     |
[INFO] [stderr] 121 |             let mut buffer: Vec<u8> =  Vec::new();
[INFO] [stderr]     |                 ----^^^^^^
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `e`
[INFO] [stderr]   --> src/net/minecraft_server.rs:37:21
[INFO] [stderr]    |
[INFO] [stderr] 37 |                 Err(e) => { /* connection failed */ }
[INFO] [stderr]    |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `read` is never read
[INFO] [stderr]    --> src/net/minecraft_stream.rs:110:28
[INFO] [stderr]     |
[INFO] [stderr] 110 |         let mut read: u8 = 0;
[INFO] [stderr]     |                            ^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `read` is never read
[INFO] [stderr]    --> src/net/minecraft_stream.rs:156:28
[INFO] [stderr]     |
[INFO] [stderr] 156 |         let mut read: u8 = 0;
[INFO] [stderr]     |                            ^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/net/packets.rs:30:23
[INFO] [stderr]    |
[INFO] [stderr] 30 | pub fn read_handshake(mut stream: impl MinecraftStream) -> Handshake {
[INFO] [stderr]    |                       ----^^^^^^
[INFO] [stderr]    |                       |
[INFO] [stderr]    |                       help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/net/packets.rs:53:26
[INFO] [stderr]    |
[INFO] [stderr] 53 | pub fn read_ping_request(mut stream: impl MinecraftStream) -> PingRequest {
[INFO] [stderr]    |                          ----^^^^^^
[INFO] [stderr]    |                          |
[INFO] [stderr]    |                          help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: field `compression_threshold` is never read
[INFO] [stderr]   --> src/net/client_connection.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr]  8 | pub struct ClientConnection{
[INFO] [stderr]    |            ---------------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 12 |     compression_threshold: i32,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variant `VarLongTooBig` is never constructed
[INFO] [stderr]   --> src/net/minecraft_stream.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr]  7 | pub enum ReadError {
[INFO] [stderr]    |          --------- variant in this enum
[INFO] [stderr] ...
[INFO] [stderr] 10 |     VarLongTooBig
[INFO] [stderr]    |     ^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `ReadError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: multiple methods are never used
[INFO] [stderr]    --> src/net/minecraft_stream.rs:30:8
[INFO] [stderr]     |
[INFO] [stderr]  23 | pub trait MinecraftStream {
[INFO] [stderr]     |           --------------- methods in this trait
[INFO] [stderr] ...
[INFO] [stderr]  30 |     fn read_short(&mut self) -> Result<i16, ReadError> {
[INFO] [stderr]     |        ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  37 |     fn write_short(&mut self, value: i16) {
[INFO] [stderr]     |        ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  48 |     fn write_ushort(&mut self, value: u16) {
[INFO] [stderr]     |        ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  52 |     fn read_int(&mut self) -> Result<i32, ReadError> {
[INFO] [stderr]     |        ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  59 |     fn write_int(&mut self, value: i32) {
[INFO] [stderr]     |        ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  63 |     fn read_uint(&mut self) -> Result<u32, ReadError> {
[INFO] [stderr]     |        ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  70 |     fn write_uint(&mut self, value: u32) {
[INFO] [stderr]     |        ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  85 |     fn read_ulong(&mut self) -> Result<u64, ReadError> {
[INFO] [stderr]     |        ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  92 |     fn write_ulong(&mut self, value: u64) {
[INFO] [stderr]     |        ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  96 |     fn read_float(&mut self) -> Result<f32, ReadError> {
[INFO] [stderr]     |        ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 103 |     fn write_float(&mut self, value: f32) {
[INFO] [stderr]     |        ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 153 |     fn read_varlong(&mut self) -> Result<i64, ReadError> {
[INFO] [stderr]     |        ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 185 |     fn write_varlong(&mut self, value: i64) -> i32 {
[INFO] [stderr]     |        ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `Rust-Test` (bin "Rust-Test" test) generated 17 warnings (run `cargo fix --bin "Rust-Test" -p Rust-Test --tests` to apply 10 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/Rust_Test-d6e229757ea8349b)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "492b392395197a70adb33ec46333903e37a8cad0629fbf6219ffbc24d7979cb4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "492b392395197a70adb33ec46333903e37a8cad0629fbf6219ffbc24d7979cb4", kill_on_drop: false }`
[INFO] [stdout] 492b392395197a70adb33ec46333903e37a8cad0629fbf6219ffbc24d7979cb4
