[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-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMadScientist2854%2Frust-game-server" "/workspace/builds/worker-106/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-106/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MadScientist2854/rust-game-server on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-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-106/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-04-10" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-106/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-106/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2971db0f9437856429dff5d93e6d82b1c24419b0b89c55ae0ba1da2ca2381a69 [INFO] running `Command { std: "docker" "start" "-a" "2971db0f9437856429dff5d93e6d82b1c24419b0b89c55ae0ba1da2ca2381a69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2971db0f9437856429dff5d93e6d82b1c24419b0b89c55ae0ba1da2ca2381a69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2971db0f9437856429dff5d93e6d82b1c24419b0b89c55ae0ba1da2ca2381a69", kill_on_drop: false }` [INFO] [stdout] 2971db0f9437856429dff5d93e6d82b1c24419b0b89c55ae0ba1da2ca2381a69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-106/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-106/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 521b1d1691bde9fe7db7b896f2bccf57e344239cf89c20c44a02b67f32d1b13a [INFO] running `Command { std: "docker" "start" "-a" "521b1d1691bde9fe7db7b896f2bccf57e344239cf89c20c44a02b67f32d1b13a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling smallvec v1.2.0 [INFO] [stderr] Compiling openssl v0.10.28 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling input_buffer v0.3.1 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling openssl-sys v0.9.54 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling rand v0.7.3 [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 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] [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" "521b1d1691bde9fe7db7b896f2bccf57e344239cf89c20c44a02b67f32d1b13a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "521b1d1691bde9fe7db7b896f2bccf57e344239cf89c20c44a02b67f32d1b13a", kill_on_drop: false }` [INFO] [stdout] 521b1d1691bde9fe7db7b896f2bccf57e344239cf89c20c44a02b67f32d1b13a