[INFO] cloning repository https://github.com/MadScientist2854/rust-game-server
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MadScientist2854/rust-game-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMadScientist2854%2Frust-game-server", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMadScientist2854%2Frust-game-server'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a2dd45f71f5c95b4651f036dce5a41b157d66e87
[INFO] testing MadScientist2854/rust-game-server against beta-2022-07-10 for beta-1.63-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMadScientist2854%2Frust-game-server" "/workspace/builds/worker-5/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/MadScientist2854/rust-game-server on toolchain beta-2022-07-10
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/MadScientist2854/rust-game-server
[INFO] finished tweaking git repo https://github.com/MadScientist2854/rust-game-server
[INFO] tweaked toml for git repo https://github.com/MadScientist2854/rust-game-server written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/MadScientist2854/rust-game-server already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fc707447d07e4ef5b8804d054f34cac7f305a6fe46fee22160969d92f04469c2
[INFO] running `Command { std: "docker" "start" "-a" "fc707447d07e4ef5b8804d054f34cac7f305a6fe46fee22160969d92f04469c2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fc707447d07e4ef5b8804d054f34cac7f305a6fe46fee22160969d92f04469c2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fc707447d07e4ef5b8804d054f34cac7f305a6fe46fee22160969d92f04469c2", kill_on_drop: false }`
[INFO] [stdout] fc707447d07e4ef5b8804d054f34cac7f305a6fe46fee22160969d92f04469c2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0a9a26b533365c0e9924ab051ae88a858a76de2fc02bc7a5ca3d41dd419924f3
[INFO] running `Command { std: "docker" "start" "-a" "0a9a26b533365c0e9924ab051ae88a858a76de2fc02bc7a5ca3d41dd419924f3", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.68
[INFO] [stderr]    Compiling cc v1.0.50
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling pkg-config v0.3.17
[INFO] [stderr]    Compiling typenum v1.11.2
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling byte-tools v0.3.1
[INFO] [stderr]    Compiling smallvec v1.2.0
[INFO] [stderr]    Compiling openssl v0.10.28
[INFO] [stderr]    Compiling httparse v1.3.4
[INFO] [stderr]    Compiling native-tls v0.2.4
[INFO] [stderr]    Compiling ppv-lite86 v0.2.6
[INFO] [stderr]    Compiling bytes v0.5.4
[INFO] [stderr]    Compiling opaque-debug v0.2.3
[INFO] [stderr]    Compiling fnv v1.0.6
[INFO] [stderr]    Compiling fake-simd v0.1.2
[INFO] [stderr]    Compiling openssl-probe v0.1.2
[INFO] [stderr]    Compiling itoa v0.4.5
[INFO] [stderr]    Compiling utf-8 v0.7.5
[INFO] [stderr]    Compiling base64 v0.11.0
[INFO] [stderr]    Compiling unicode-bidi v0.3.4
[INFO] [stderr]    Compiling block-padding v0.1.5
[INFO] [stderr]    Compiling unicode-normalization v0.1.12
[INFO] [stderr]    Compiling input_buffer v0.3.1
[INFO] [stderr]    Compiling http v0.2.1
[INFO] [stderr]    Compiling idna v0.2.0
[INFO] [stderr]    Compiling openssl-sys v0.9.54
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling generic-array v0.12.3
[INFO] [stderr]    Compiling url v2.1.1
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling digest v0.8.1
[INFO] [stderr]    Compiling block-buffer v0.7.3
[INFO] [stderr]    Compiling sha-1 v0.8.2
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling tungstenite v0.10.1
[INFO] [stderr]    Compiling rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find value `len` in this scope
[INFO] [stdout]   --> src/server/client.rs:34:21
[INFO] [stdout]    |
[INFO] [stdout] 34 |         Packet::new(len, raw_data)
[INFO] [stdout]    |                     ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `raw_data` in this scope
[INFO] [stdout]   --> src/server/client.rs:34:26
[INFO] [stdout]    |
[INFO] [stdout] 34 |         Packet::new(len, raw_data)
[INFO] [stdout]    |                          ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> src/server/client.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]  --> src/server/client.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::Write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `packet_data::PacketData`, `packet_data`
[INFO] [stdout]  --> src/server/client.rs:6:21
[INFO] [stdout]   |
[INFO] [stdout] 6 | use super::packet::{packet_data, packet_data::PacketData, Packet};
[INFO] [stdout]   |                     ^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/server/packet/packet_data.rs:172:36
[INFO] [stdout]     |
[INFO] [stdout] 172 | pub fn encode_ushort(data: u16) -> &'static[u8] {}
[INFO] [stdout]     |        -------------               ^^^^^^^^^^^^ expected `&[u8]`, found `()`
[INFO] [stdout]     |        |
[INFO] [stdout]     |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/server/packet/packet_data.rs:173:35
[INFO] [stdout]     |
[INFO] [stdout] 173 | pub fn encode_short(data: i16) -> &'static[u8] {}
[INFO] [stdout]     |        ------------               ^^^^^^^^^^^^ expected `&[u8]`, found `()`
[INFO] [stdout]     |        |
[INFO] [stdout]     |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/server/packet/packet_data.rs:174:33
[INFO] [stdout]     |
[INFO] [stdout] 174 | pub fn encode_int(data: i32) -> &'static[u8] {}
[INFO] [stdout]     |        ----------               ^^^^^^^^^^^^ expected `&[u8]`, found `()`
[INFO] [stdout]     |        |
[INFO] [stdout]     |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/server/packet/packet_data.rs:175:34
[INFO] [stdout]     |
[INFO] [stdout] 175 | pub fn encode_long(data: i64) -> &'static[u8] {}
[INFO] [stdout]     |        -----------               ^^^^^^^^^^^^ expected `&[u8]`, found `()`
[INFO] [stdout]     |        |
[INFO] [stdout]     |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/server/packet/packet_data.rs:176:34
[INFO] [stdout]     |
[INFO] [stdout] 176 | pub fn encode_float(data: u8) -> &'static[u8] {}
[INFO] [stdout]     |        ------------              ^^^^^^^^^^^^ expected `&[u8]`, found `()`
[INFO] [stdout]     |        |
[INFO] [stdout]     |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/server/packet/packet_data.rs:177:35
[INFO] [stdout]     |
[INFO] [stdout] 177 | pub fn encode_double(data: u8) -> &'static[u8] {}
[INFO] [stdout]     |        -------------              ^^^^^^^^^^^^ expected `&[u8]`, found `()`
[INFO] [stdout]     |        |
[INFO] [stdout]     |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/server/packet/packet_data.rs:178:35
[INFO] [stdout]     |
[INFO] [stdout] 178 | pub fn encode_string(data: u8) -> &'static[u8] {}
[INFO] [stdout]     |        -------------              ^^^^^^^^^^^^ expected `&[u8]`, found `()`
[INFO] [stdout]     |        |
[INFO] [stdout]     |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/server/packet/packet_data.rs:179:33
[INFO] [stdout]     |
[INFO] [stdout] 179 | pub fn encode_chat(data: u8) -> &'static[u8] {}
[INFO] [stdout]     |        -----------              ^^^^^^^^^^^^ expected `&[u8]`, found `()`
[INFO] [stdout]     |        |
[INFO] [stdout]     |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/server/packet/packet_data.rs:180:39
[INFO] [stdout]     |
[INFO] [stdout] 180 | pub fn encode_identifier(data: u8) -> &'static[u8] {}
[INFO] [stdout]     |        -----------------              ^^^^^^^^^^^^ expected `&[u8]`, found `()`
[INFO] [stdout]     |        |
[INFO] [stdout]     |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/server/packet/packet_data.rs:181:36
[INFO] [stdout]     |
[INFO] [stdout] 181 | pub fn encode_var_int(data: u8) -> &'static[u8] {}
[INFO] [stdout]     |        --------------              ^^^^^^^^^^^^ expected `&[u8]`, found `()`
[INFO] [stdout]     |        |
[INFO] [stdout]     |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/server/packet/packet_data.rs:182:37
[INFO] [stdout]     |
[INFO] [stdout] 182 | pub fn encode_var_long(data: u8) -> &'static[u8] {}
[INFO] [stdout]     |        ---------------              ^^^^^^^^^^^^ expected `&[u8]`, found `()`
[INFO] [stdout]     |        |
[INFO] [stdout]     |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/server/packet/packet_data.rs:183:44
[INFO] [stdout]     |
[INFO] [stdout] 183 | pub fn encode_entity_metadata(data: u8) -> &'static[u8] {}
[INFO] [stdout]     |        ----------------------              ^^^^^^^^^^^^ expected `&[u8]`, found `()`
[INFO] [stdout]     |        |
[INFO] [stdout]     |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/server/packet/packet_data.rs:184:33
[INFO] [stdout]     |
[INFO] [stdout] 184 | pub fn encode_slot(data: u8) -> &'static[u8] {}
[INFO] [stdout]     |        -----------              ^^^^^^^^^^^^ expected `&[u8]`, found `()`
[INFO] [stdout]     |        |
[INFO] [stdout]     |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/server/packet/packet_data.rs:185:36
[INFO] [stdout]     |
[INFO] [stdout] 185 | pub fn encode_nbt_tag(data: u8) -> &'static[u8] {}
[INFO] [stdout]     |        --------------              ^^^^^^^^^^^^ expected `&[u8]`, found `()`
[INFO] [stdout]     |        |
[INFO] [stdout]     |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/server/packet/packet_data.rs:186:37
[INFO] [stdout]     |
[INFO] [stdout] 186 | pub fn encode_position(data: u8) -> &'static[u8] {}
[INFO] [stdout]     |        ---------------              ^^^^^^^^^^^^ expected `&[u8]`, found `()`
[INFO] [stdout]     |        |
[INFO] [stdout]     |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/server/packet/packet_data.rs:187:37
[INFO] [stdout]     |
[INFO] [stdout] 187 | pub fn encode_angle(data: usize) -> &'static[u8] {}
[INFO] [stdout]     |        ------------                 ^^^^^^^^^^^^ expected `&[u8]`, found `()`
[INFO] [stdout]     |        |
[INFO] [stdout]     |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/server/packet/packet_data.rs:188:39
[INFO] [stdout]     |
[INFO] [stdout] 188 | pub fn encode_uuid(data: [u64; 2]) -> &'static[u8] {}
[INFO] [stdout]     |        -----------                    ^^^^^^^^^^^^ expected `&[u8]`, found `()`
[INFO] [stdout]     |        |
[INFO] [stdout]     |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/server/packet/packet_data.rs:189:39
[INFO] [stdout]     |
[INFO] [stdout] 189 | pub fn encode_byte_array(data: u8) -> &'static[u8] {}
[INFO] [stdout]     |        -----------------              ^^^^^^^^^^^^ expected `&[u8]`, found `()`
[INFO] [stdout]     |        |
[INFO] [stdout]     |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/server/mod.rs:120:48
[INFO] [stdout]     |
[INFO] [stdout] 120 |             subscriber.on_packet_recv(&client, packet.clone());
[INFO] [stdout]     |                        --------------          ^^^^^^^^^^^^^^ expected enum `Message`, found struct `Packet`
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/server/mod.rs:14:8
[INFO] [stdout]     |
[INFO] [stdout] 14  |     fn on_packet_recv(&self, client: &Client, message: Message);
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 21 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust` due to 22 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "0a9a26b533365c0e9924ab051ae88a858a76de2fc02bc7a5ca3d41dd419924f3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0a9a26b533365c0e9924ab051ae88a858a76de2fc02bc7a5ca3d41dd419924f3", kill_on_drop: false }`
[INFO] [stdout] 0a9a26b533365c0e9924ab051ae88a858a76de2fc02bc7a5ca3d41dd419924f3
