[INFO] cloning repository https://github.com/mluizaa00/tcp-server-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mluizaa00/tcp-server-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmluizaa00%2Ftcp-server-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmluizaa00%2Ftcp-server-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d5ce5a43b218fd39f50c1209f5512d3c4becfc96
[INFO] checking mluizaa00/tcp-server-rust against try#012cd62c9add58ab3910e44c137d87db3ab70f61 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmluizaa00%2Ftcp-server-rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mluizaa00/tcp-server-rust
[INFO] finished tweaking git repo https://github.com/mluizaa00/tcp-server-rust
[INFO] tweaked toml for git repo https://github.com/mluizaa00/tcp-server-rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mluizaa00/tcp-server-rust on toolchain 012cd62c9add58ab3910e44c137d87db3ab70f61
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mluizaa00/tcp-server-rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded libc v0.2.118
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c5ba7bee2c82874df7d9241310c1c1a18a912c922a753812b9cc399b69d3b882
[INFO] running `Command { std: "docker" "start" "-a" "c5ba7bee2c82874df7d9241310c1c1a18a912c922a753812b9cc399b69d3b882", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c5ba7bee2c82874df7d9241310c1c1a18a912c922a753812b9cc399b69d3b882", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c5ba7bee2c82874df7d9241310c1c1a18a912c922a753812b9cc399b69d3b882", kill_on_drop: false }`
[INFO] [stdout] c5ba7bee2c82874df7d9241310c1c1a18a912c922a753812b9cc399b69d3b882
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 938fafb8766a7bdd52ccd8a885df972fc8d69cd31a8c2ea09842e40f78a54c58
[INFO] running `Command { std: "docker" "start" "-a" "938fafb8766a7bdd52ccd8a885df972fc8d69cd31a8c2ea09842e40f78a54c58", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.118
[INFO] [stderr]    Compiling syn v1.0.86
[INFO] [stderr]    Compiling async-trait v0.1.52
[INFO] [stderr]     Checking uuid v0.8.2
[INFO] [stderr]     Checking parking_lot_core v0.8.5
[INFO] [stderr]     Checking mio v0.7.14
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]    Compiling tokio-macros v1.7.0
[INFO] [stderr]     Checking tokio v1.16.1
[INFO] [stderr]     Checking tcp-server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition name: `no_std`
[INFO] [stdout]  --> src/var_int.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[cfg(not(no_std))]
[INFO] [stdout]   |           ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: expected names are: `docsrs`, `feature`, and `test` and 32 more
[INFO] [stdout]   = help: consider using a Cargo feature instead
[INFO] [stdout]   = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]            [lints.rust]
[INFO] [stdout]            unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_std)'] }
[INFO] [stdout]   = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_std)");` to the top of the `build.rs`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `no_std`
[INFO] [stdout]  --> src/var_int.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[cfg(not(no_std))]
[INFO] [stdout]   |           ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: expected names are: `docsrs`, `feature`, and `test` and 32 more
[INFO] [stdout]   = help: consider using a Cargo feature instead
[INFO] [stdout]   = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]            [lints.rust]
[INFO] [stdout]            unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_std)'] }
[INFO] [stdout]   = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_std)");` to the top of the `build.rs`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `connection`
[INFO] [stdout]   --> src/handshake.rs:55:50
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub async fn handle_handshake(stream: TcpStream, connection: Connection) {
[INFO] [stdout]    |                                                  ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `connection`
[INFO] [stdout]   --> src/handshake.rs:55:50
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub async fn handle_handshake(stream: TcpStream, connection: Connection) {
[INFO] [stdout]    |                                                  ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `handshake`
[INFO] [stdout]   --> src/decoder.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |         handshake => handshake::handle_handshake(stream, connection).await,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `Handshake`
[INFO] [stdout]    |
[INFO] [stdout] 16 -         handshake => handshake::handle_handshake(stream, connection).await,
[INFO] [stdout] 16 +         connection_state::ConnectionState::Handshake => handshake::handle_handshake(stream, connection).await,
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 16 |         _handshake => handshake::handle_handshake(stream, connection).await,
[INFO] [stdout]    |         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `handshake`
[INFO] [stdout]   --> src/decoder.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |         handshake => handshake::handle_handshake(stream, connection).await,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `Handshake`
[INFO] [stdout]    |
[INFO] [stdout] 16 -         handshake => handshake::handle_handshake(stream, connection).await,
[INFO] [stdout] 16 +         connection_state::ConnectionState::Handshake => handshake::handle_handshake(stream, connection).await,
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 16 |         _handshake => handshake::handle_handshake(stream, connection).await,
[INFO] [stdout]    |         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `HandshakePackets` is never used
[INFO] [stdout]   --> src/connection_state.rs:24:10
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub enum HandshakePackets {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `HandshakePackets` is never used
[INFO] [stdout]   --> src/connection_state.rs:24:10
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub enum HandshakePackets {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get` is never used
[INFO] [stdout]   --> src/connection_state.rs:29:14
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl HandshakePackets {
[INFO] [stdout]    | --------------------- associated function in this implementation
[INFO] [stdout] 29 |     async fn get<T>(id: u8, stream: TcpStream) -> HandshakePacket {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get` is never used
[INFO] [stdout]   --> src/connection_state.rs:29:14
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl HandshakePackets {
[INFO] [stdout]    | --------------------- associated function in this implementation
[INFO] [stdout] 29 |     async fn get<T>(id: u8, stream: TcpStream) -> HandshakePacket {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `StatusPackets` is never used
[INFO] [stdout]   --> src/connection_state.rs:37:10
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub enum StatusPackets {
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `StatusPackets` is never used
[INFO] [stdout]   --> src/connection_state.rs:37:10
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub enum StatusPackets {
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `LoginPackets` is never used
[INFO] [stdout]   --> src/connection_state.rs:44:10
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub enum LoginPackets {
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `LoginPackets` is never used
[INFO] [stdout]   --> src/connection_state.rs:44:10
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub enum LoginPackets {
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `next_state` is never read
[INFO] [stdout]   --> src/handshake.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct HandshakePacket {
[INFO] [stdout]    |            --------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 11 |     next_state: NextState
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `next_state` is never read
[INFO] [stdout]   --> src/handshake.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct HandshakePacket {
[INFO] [stdout]    |            --------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 11 |     next_state: NextState
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `write_i32` is never used
[INFO] [stdout]  --> src/var_int.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | async fn write_i32(stream: &mut TcpStream, mut value: i32) -> Result<usize> {
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `write_i32` is never used
[INFO] [stdout]  --> src/var_int.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | async fn write_i32(stream: &mut TcpStream, mut value: i32) -> Result<usize> {
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `write_i64` is never used
[INFO] [stdout]   --> src/var_int.rs:23:10
[INFO] [stdout]    |
[INFO] [stdout] 23 | async fn write_i64(stream: &mut TcpStream, mut value: i64) -> Result<usize> {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_i64` is never used
[INFO] [stdout]   --> src/var_int.rs:55:14
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub async fn read_i64(stream: &mut TcpStream) -> Result<i64> {
[INFO] [stdout]    |              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `write_i64` is never used
[INFO] [stdout]   --> src/var_int.rs:23:10
[INFO] [stdout]    |
[INFO] [stdout] 23 | async fn write_i64(stream: &mut TcpStream, mut value: i64) -> Result<usize> {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `write` is never used
[INFO] [stdout]   --> src/server.rs:32:14
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub trait Packet<T> {
[INFO] [stdout]    |           ------ associated function in this trait
[INFO] [stdout] 31 |     async fn read(buffer: TcpStream) -> T;
[INFO] [stdout] 32 |     async fn write(buffer: TcpStream);
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_i64` is never used
[INFO] [stdout]   --> src/var_int.rs:55:14
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub async fn read_i64(stream: &mut TcpStream) -> Result<i64> {
[INFO] [stdout]    |              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `write` is never used
[INFO] [stdout]   --> src/server.rs:32:14
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub trait Packet<T> {
[INFO] [stdout]    |           ------ associated function in this trait
[INFO] [stdout] 31 |     async fn read(buffer: TcpStream) -> T;
[INFO] [stdout] 32 |     async fn write(buffer: TcpStream);
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id`, `name`, and `address` are never read
[INFO] [stdout]   --> src/server.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct PlayerConnection {
[INFO] [stdout]    |            ---------------- fields in this struct
[INFO] [stdout] 36 |     id: Uuid,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 37 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 38 |     address: String
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id`, `name`, and `address` are never read
[INFO] [stdout]   --> src/server.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct PlayerConnection {
[INFO] [stdout]    |            ---------------- fields in this struct
[INFO] [stdout] 36 |     id: Uuid,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 37 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 38 |     address: String
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.03s
[INFO] running `Command { std: "docker" "inspect" "938fafb8766a7bdd52ccd8a885df972fc8d69cd31a8c2ea09842e40f78a54c58", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "938fafb8766a7bdd52ccd8a885df972fc8d69cd31a8c2ea09842e40f78a54c58", kill_on_drop: false }`
[INFO] [stdout] 938fafb8766a7bdd52ccd8a885df972fc8d69cd31a8c2ea09842e40f78a54c58
