[INFO] cloning repository https://github.com/themooer1/KnockKnock
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/themooer1/KnockKnock" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthemooer1%2FKnockKnock", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthemooer1%2FKnockKnock'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5aaa36b4d647a0cdb6d54080c4119274c7af5343
[INFO] testing themooer1/KnockKnock against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthemooer1%2FKnockKnock" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/themooer1/KnockKnock
[INFO] finished tweaking git repo https://github.com/themooer1/KnockKnock
[INFO] tweaked toml for git repo https://github.com/themooer1/KnockKnock written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/themooer1/KnockKnock on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/themooer1/KnockKnock 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" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded instant v0.1.9
[INFO] [stderr]   Downloaded tokio-macros v1.1.0
[INFO] [stderr]   Downloaded futures-io v0.3.13
[INFO] [stderr]   Downloaded parking_lot_core v0.8.3
[INFO] [stderr]   Downloaded integer-encoding v3.0.1
[INFO] [stderr]   Downloaded pin-project-lite v0.2.6
[INFO] [stderr]   Downloaded byteorder v1.4.2
[INFO] [stderr]   Downloaded once_cell v1.7.2
[INFO] [stderr]   Downloaded parking_lot v0.11.1
[INFO] [stderr]   Downloaded lock_api v0.4.2
[INFO] [stderr]   Downloaded tokio-util v0.6.4
[INFO] [stderr]   Downloaded mio v0.7.10
[INFO] [stderr]   Downloaded syn v1.0.64
[INFO] [stderr]   Downloaded tokio v1.3.0
[INFO] [stderr]   Downloaded libc v0.2.89
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ccb7ea742658d86f42c4c441ee18bf03f777ee78e25a62a97c7962eb65d8f8aa
[INFO] running `Command { std: "docker" "start" "-a" "ccb7ea742658d86f42c4c441ee18bf03f777ee78e25a62a97c7962eb65d8f8aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ccb7ea742658d86f42c4c441ee18bf03f777ee78e25a62a97c7962eb65d8f8aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ccb7ea742658d86f42c4c441ee18bf03f777ee78e25a62a97c7962eb65d8f8aa", kill_on_drop: false }`
[INFO] [stdout] ccb7ea742658d86f42c4c441ee18bf03f777ee78e25a62a97c7962eb65d8f8aa
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b083b2500086e71030324b1a9c753314231d805cc0aa7cae21cf695d39c95cc0
[INFO] running `Command { std: "docker" "start" "-a" "b083b2500086e71030324b1a9c753314231d805cc0aa7cae21cf695d39c95cc0", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.89
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling syn v1.0.64
[INFO] [stderr]    Compiling smallvec v1.6.1
[INFO] [stderr]    Compiling instant v0.1.9
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling lock_api v0.4.2
[INFO] [stderr]    Compiling once_cell v1.7.2
[INFO] [stderr]    Compiling bytes v1.0.1
[INFO] [stderr]    Compiling pin-project-lite v0.2.6
[INFO] [stderr]    Compiling futures-core v0.3.13
[INFO] [stderr]    Compiling futures-io v0.3.13
[INFO] [stderr]    Compiling futures-sink v0.3.13
[INFO] [stderr]    Compiling tokio v1.3.0
[INFO] [stderr]    Compiling integer-encoding v3.0.1
[INFO] [stderr]    Compiling byteorder v1.4.2
[INFO] [stderr]    Compiling parking_lot_core v0.8.3
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling mio v0.7.10
[INFO] [stderr]    Compiling signal-hook-registry v1.3.0
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling parking_lot v0.11.1
[INFO] [stderr]    Compiling tokio-macros v1.1.0
[INFO] [stderr]    Compiling tokio-util v0.6.4
[INFO] [stderr]    Compiling knockknock v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Shutdown`
[INFO] [stdout]  --> src/main.rs:2:40
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::net::{TcpListener, TcpStream, Shutdown};
[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 imports: `Read` and `Write`
[INFO] [stdout]  --> src/main.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::{Read, Write};
[INFO] [stdout]   |               ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::sleep_ms`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::thread::sleep_ms;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `MinecraftPacketReader` and `MinecraftPacketWriter`
[INFO] [stdout]  --> src/main.rs:6:41
[INFO] [stdout]   |
[INFO] [stdout] 6 | use minecraft_packet::{MinecraftPacket, MinecraftPacketReader, MinecraftPacketWriter, Chat, ChatComponent, ChatColor};
[INFO] [stdout]   |                                         ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error`, `net::TcpListener`, and `string::FromUtf8Error`
[INFO] [stdout]  --> src/minecraft_packet.rs:5:16
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::{cmp, error, fmt, io::Write, net::TcpListener, string::FromUtf8Error, todo, u64};
[INFO] [stdout]   |                ^^^^^                  ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BufRead`
[INFO] [stdout]  --> src/minecraft_packet.rs:8:21
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::io::{self, BufRead, Read};
[INFO] [stdout]   |                     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FixedInt`
[INFO] [stdout]   --> src/minecraft_packet.rs:14:24
[INFO] [stdout]    |
[INFO] [stdout] 14 | use integer_encoding::{FixedInt, FixedIntReader, VarInt, VarIntReader, VarIntWriter};
[INFO] [stdout]    |                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BufMut`
[INFO] [stdout]   --> src/minecraft_packet.rs:18:35
[INFO] [stdout]    |
[INFO] [stdout] 18 | use bytes::{Bytes, BytesMut, Buf, BufMut};
[INFO] [stdout]    |                                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Decoder`, `Encoder`, and `Framed`
[INFO] [stdout]   --> src/minecraft_packet.rs:22:25
[INFO] [stdout]    |
[INFO] [stdout] 22 | use tokio_util::codec::{Decoder, Encoder, Framed};
[INFO] [stdout]    |                         ^^^^^^^  ^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `minecraft_packet_ids::*`
[INFO] [stdout]   --> src/minecraft_packet.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | use minecraft_packet_ids::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `fmt::Formatter`
[INFO] [stdout]  --> src/minecraft_packet/minecraft_packet_errors.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use fmt::Formatter;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::MinecraftPacketReader`
[INFO] [stdout]  --> src/minecraft_packet/minecraft_packet_errors.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use super::MinecraftPacketReader;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep`
[INFO] [stdout]  --> src/main.rs:4:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::thread::sleep_ms;
[INFO] [stdout]   |                  ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/minecraft_packet/minecraft_packet_errors.rs:49:65
[INFO] [stdout]    |
[INFO] [stdout] 49 |             MinecraftStringError::FromUtf8Error(ref err) => err.description(),
[INFO] [stdout]    |                                                                 ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/minecraft_packet/minecraft_packet_errors.rs:50:66
[INFO] [stdout]    |
[INFO] [stdout] 50 |             MinecraftStringError::FromUtf16Error(ref err) => err.description(),
[INFO] [stdout]    |                                                                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/minecraft_packet/minecraft_packet_errors.rs:51:59
[INFO] [stdout]    |
[INFO] [stdout] 51 |             MinecraftStringError::IoError(ref err) => err.description(),
[INFO] [stdout]    |                                                           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `LoginPacket` found for enum `ClientboundPacket` in the current scope
[INFO] [stdout]    --> src/minecraft_packet.rs:264:32
[INFO] [stdout]     |
[INFO] [stdout] 264 |             ClientboundPacket::LoginPacket(l) => pkt.data.write_varint(l as u16)?,
[INFO] [stdout]     |                                ^^^^^^^^^^^ variant or associated item not found in `ClientboundPacket`
[INFO] [stdout] ...
[INFO] [stdout] 619 | enum ClientboundPacket {
[INFO] [stdout]     | ---------------------- variant or associated item `LoginPacket` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `StatusPacket` found for enum `ClientboundPacket` in the current scope
[INFO] [stdout]    --> src/minecraft_packet.rs:265:32
[INFO] [stdout]     |
[INFO] [stdout] 265 |             ClientboundPacket::StatusPacket(s) => pkt.data.write_varint(s as u16)?,
[INFO] [stdout]     |                                ^^^^^^^^^^^^ variant or associated item not found in `ClientboundPacket`
[INFO] [stdout] ...
[INFO] [stdout] 619 | enum ClientboundPacket {
[INFO] [stdout]     | ---------------------- variant or associated item `StatusPacket` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/minecraft_packet.rs:272:30
[INFO] [stdout]     |
[INFO] [stdout] 272 |         MinecraftPacket::new(LoginPacketResponse::Disconnect)?.append_string(
[INFO] [stdout]     |         -------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `ClientboundPacket`, found `LoginPacketResponse`
[INFO] [stdout]     |         |
[INFO] [stdout]     |         arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/minecraft_packet.rs:260:8
[INFO] [stdout]     |
[INFO] [stdout] 260 |     fn new(ptype: ClientboundPacket) -> io::Result<MinecraftPacket>{ // Change to support all types of packets
[INFO] [stdout]     |        ^^^ ------------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0606]: casting `&mut ClientboundPacket` as `u16` is invalid
[INFO] [stdout]    --> src/minecraft_packet.rs:637:9
[INFO] [stdout]     |
[INFO] [stdout] 637 |         self as u16
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: cast through a raw pointer first
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AsyncReadExt`
[INFO] [stdout]   --> src/minecraft_packet.rs:21:40
[INFO] [stdout]    |
[INFO] [stdout] 21 | use tokio::io::{AsyncRead, AsyncWrite, AsyncReadExt, AsyncWriteExt, BufReader, BufWriter};
[INFO] [stdout]    |                                        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AsyncWriteExt`
[INFO] [stdout]   --> src/minecraft_packet.rs:21:54
[INFO] [stdout]    |
[INFO] [stdout] 21 | use tokio::io::{AsyncRead, AsyncWrite, AsyncReadExt, AsyncWriteExt, BufReader, BufWriter};
[INFO] [stdout]    |                                                      ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Buf`
[INFO] [stdout]   --> src/minecraft_packet.rs:18:30
[INFO] [stdout]    |
[INFO] [stdout] 18 | use bytes::{Bytes, BytesMut, Buf, BufMut};
[INFO] [stdout]    |                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/minecraft_packet.rs:296:16
[INFO] [stdout]     |
[INFO] [stdout] 296 |     pub fn new(mut stream: T) -> MinecraftPacketWriter<T> {
[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: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:90:9
[INFO] [stdout]    |
[INFO] [stdout] 90 |     let mut disconnect_pkt = MinecraftPacket::new_disconnect_packet(&disconnect_msg).unwrap();
[INFO] [stdout]    |         ----^^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0599, E0606.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `knockknock` (bin "knockknock") due to 4 previous errors; 21 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "b083b2500086e71030324b1a9c753314231d805cc0aa7cae21cf695d39c95cc0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b083b2500086e71030324b1a9c753314231d805cc0aa7cae21cf695d39c95cc0", kill_on_drop: false }`
[INFO] [stdout] b083b2500086e71030324b1a9c753314231d805cc0aa7cae21cf695d39c95cc0
