[INFO] cloning repository https://github.com/lukewberg/blink [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lukewberg/blink" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flukewberg%2Fblink", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flukewberg%2Fblink'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 293f6223080a9c5a244ddf1d460ebb2c40586193 [INFO] checking lukewberg/blink against try#50b21af28e291c419ae81eebcb7705fb4200dc90 for pr-135167 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flukewberg%2Fblink" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lukewberg/blink on toolchain 50b21af28e291c419ae81eebcb7705fb4200dc90 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+50b21af28e291c419ae81eebcb7705fb4200dc90" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lukewberg/blink [INFO] finished tweaking git repo https://github.com/lukewberg/blink [INFO] tweaked toml for git repo https://github.com/lukewberg/blink written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/lukewberg/blink 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" "+50b21af28e291c419ae81eebcb7705fb4200dc90" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+50b21af28e291c419ae81eebcb7705fb4200dc90" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aa3488cbfe30d052af2bf2fa5da46340b78c5e39f005dde8422a6e462917cb91 [INFO] running `Command { std: "docker" "start" "-a" "aa3488cbfe30d052af2bf2fa5da46340b78c5e39f005dde8422a6e462917cb91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa3488cbfe30d052af2bf2fa5da46340b78c5e39f005dde8422a6e462917cb91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa3488cbfe30d052af2bf2fa5da46340b78c5e39f005dde8422a6e462917cb91", kill_on_drop: false }` [INFO] [stdout] aa3488cbfe30d052af2bf2fa5da46340b78c5e39f005dde8422a6e462917cb91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+50b21af28e291c419ae81eebcb7705fb4200dc90" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36800b2e31e0cbc67585b0eb31462267c52adaa44c77d3b2129216d013b44d2e [INFO] running `Command { std: "docker" "start" "-a" "36800b2e31e0cbc67585b0eb31462267c52adaa44c77d3b2129216d013b44d2e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.167 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking cesu8 v1.1.0 [INFO] [stderr] Compiling cc v1.2.2 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Checking tokio v1.42.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking syn v2.0.90 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling libz-sys v1.1.20 [INFO] [stderr] Checking flate2 v1.0.35 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking blink_macros v0.1.0 (/opt/rustwide/workdir/blink_macros) [INFO] [stdout] warning: unused import: `format_ident` [INFO] [stdout] --> blink_macros/src/lib.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use quote::{format_ident, quote}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `format_ident` [INFO] [stdout] --> blink_macros/src/lib.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use quote::{format_ident, quote}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stdout] warning: unused import: `format_ident` [INFO] [stdout] --> blink_macros/src/lib.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use quote::{format_ident, quote}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking lib_blink v0.1.0 (/opt/rustwide/workdir/lib_blink) [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> lib_blink/src/packets.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(JavaPacket)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: not yet implemented [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found attribute macro `test` [INFO] [stdout] --> lib_blink/src/packets.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 16 | pub test: String, [INFO] [stdout] | ---- a field by that name exists in `Self` [INFO] [stdout] ... [INFO] [stdout] 39 | test, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ManuallyDrop` [INFO] [stdout] --> lib_blink/src/nbt/raw.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | mem::{self, ManuallyDrop}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ahash::AHashMap` [INFO] [stdout] --> lib_blink/src/nbt/utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ahash::AHashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nbt_lexer::*` [INFO] [stdout] --> lib_blink/src/nbt/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use nbt_lexer::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BedrockPacket` [INFO] [stdout] --> lib_blink/src/packets.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use blink_macros::{BedrockPacket, JavaPacket}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `blink_macros::JavaPacket` [INFO] [stdout] --> lib_blink/src/protocol/java/serverbound/login.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use blink_macros::JavaPacket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BigEndian`, `LittleEndian`, and `NativeEndian` [INFO] [stdout] --> lib_blink/src/protocol/java/serverbound/login.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use byteorder::{BigEndian, ByteOrder, LittleEndian, NativeEndian, ReadBytesExt}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types::VarInt` [INFO] [stdout] --> lib_blink/src/protocol/java/serverbound/login.rs:8:41 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::{protocol::traits::Identify, types::VarInt}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> lib_blink/src/protocol/traits.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{Error, Read}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> lib_blink/src/types/err.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{error, string::FromUtf8Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> lib_blink/src/types/varint.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> lib_blink/src/packets.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(JavaPacket)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: not yet implemented [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found attribute macro `test` [INFO] [stdout] --> lib_blink/src/packets.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 16 | pub test: String, [INFO] [stdout] | ---- a field by that name exists in `Self` [INFO] [stdout] ... [INFO] [stdout] 39 | test, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ManuallyDrop` [INFO] [stdout] --> lib_blink/src/nbt/raw.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | mem::{self, ManuallyDrop}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ahash::AHashMap` [INFO] [stdout] --> lib_blink/src/nbt/utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ahash::AHashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BedrockPacket` [INFO] [stdout] --> lib_blink/src/packets.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use blink_macros::{BedrockPacket, JavaPacket}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `blink_macros::JavaPacket` [INFO] [stdout] --> lib_blink/src/protocol/java/serverbound/login.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use blink_macros::JavaPacket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BigEndian`, `LittleEndian`, and `NativeEndian` [INFO] [stdout] --> lib_blink/src/protocol/java/serverbound/login.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use byteorder::{BigEndian, ByteOrder, LittleEndian, NativeEndian, ReadBytesExt}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types::VarInt` [INFO] [stdout] --> lib_blink/src/protocol/java/serverbound/login.rs:8:41 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::{protocol::traits::Identify, types::VarInt}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> lib_blink/src/protocol/traits.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{Error, Read}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> lib_blink/src/types/err.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{error, string::FromUtf8Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> lib_blink/src/types/varint.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> lib_blink/src/packets.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | hello, [INFO] [stdout] | ^^^^^ expected `VarInt`, found `i32` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `types::varint::VarInt` (its field is private, but it's local to this crate and its privacy can be changed) [INFO] [stdout] | [INFO] [stdout] 40 | hello: types::varint::VarInt { value: hello }, [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `split_at` found for mutable reference `&mut R` in the current scope [INFO] [stdout] --> lib_blink/src/protocol/java/serverbound/login.rs:57:47 [INFO] [stdout] | [INFO] [stdout] 57 | let (mut split_buff, buffer) = buffer.split_at(std::mem::size_of::()); [INFO] [stdout] | ^^^^^^^^ method not found in `&mut R` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the type parameter is bounded by the trait [INFO] [stdout] help: the following trait defines an item `split_at`, perhaps you need to restrict type parameter `R` with it: [INFO] [stdout] | [INFO] [stdout] 54 | R: Read + zerocopy::ByteSlice, [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the variant or associated item `read_u8` exists for enum `BigEndian`, but its trait bounds were not satisfied [INFO] [stdout] --> lib_blink/src/protocol/java/serverbound/login.rs:62:37 [INFO] [stdout] | [INFO] [stdout] 62 | let nest_state = BigEndian::read_u8(buffer); [INFO] [stdout] | ^^^^^^^ variant or associated item cannot be called on `BigEndian` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/byteorder-1.5.0/src/lib.rs:1813:1 [INFO] [stdout] | [INFO] [stdout] 1813 | pub enum BigEndian {} [INFO] [stdout] | ------------------ doesn't satisfy `BigEndian: ReadBytesExt` or `BigEndian: std::io::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `BigEndian: std::io::Read` [INFO] [stdout] which is required by `BigEndian: ReadBytesExt` [INFO] [stdout] `&BigEndian: std::io::Read` [INFO] [stdout] which is required by `&BigEndian: ReadBytesExt` [INFO] [stdout] `&mut BigEndian: std::io::Read` [INFO] [stdout] which is required by `&mut BigEndian: ReadBytesExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&[u8]: ReadMCTypesExt` is not satisfied [INFO] [stdout] --> lib_blink/src/traits/packet.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | Self::decode(&mut decoded_buf.as_slice()) [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `ReadMCTypesExt` is not implemented for `&[u8]` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: this trait has no implementations, consider adding one [INFO] [stdout] --> lib_blink/src/protocol/traits.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait ReadMCTypesExt: ReadBytesExt [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `packet::NetworkPacket::decode` [INFO] [stdout] --> lib_blink/src/traits/packet.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 14 | fn decode(buffer: &mut R) -> Result [INFO] [stdout] | ------ required by a bound in this associated function [INFO] [stdout] 15 | where [INFO] [stdout] 16 | R: ReadMCTypesExt; [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `NetworkPacket::decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> lib_blink/src/protocol/traits.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{Error, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ByteOrder` [INFO] [stdout] --> lib_blink/src/packets.rs:34:36 [INFO] [stdout] | [INFO] [stdout] 34 | use byteorder::{BigEndian, ByteOrder}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `byteorder::ReadBytesExt` [INFO] [stdout] --> lib_blink/src/packets.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use byteorder::ReadBytesExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ByteOrder` [INFO] [stdout] --> lib_blink/src/protocol/java/serverbound/login.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | use byteorder::{BigEndian, ByteOrder, LittleEndian, NativeEndian, ReadBytesExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> lib_blink/src/nbt/nbt_lexer.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let token = NBTLexer::lex_compound(reader); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tag_type` [INFO] [stdout] --> lib_blink/src/nbt/nbt_lexer.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 40 | let tag_type = tag.id(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tag_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> lib_blink/src/packets.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | hello, [INFO] [stdout] | ^^^^^ expected `VarInt`, found `i32` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `types::varint::VarInt` (its field is private, but it's local to this crate and its privacy can be changed) [INFO] [stdout] | [INFO] [stdout] 40 | hello: types::varint::VarInt { value: hello }, [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0423, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `split_at` found for mutable reference `&mut R` in the current scope [INFO] [stdout] --> lib_blink/src/protocol/java/serverbound/login.rs:57:47 [INFO] [stdout] | [INFO] [stdout] 57 | let (mut split_buff, buffer) = buffer.split_at(std::mem::size_of::()); [INFO] [stdout] | ^^^^^^^^ method not found in `&mut R` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the type parameter is bounded by the trait [INFO] [stdout] help: the following trait defines an item `split_at`, perhaps you need to restrict type parameter `R` with it: [INFO] [stdout] | [INFO] [stdout] 54 | R: Read + zerocopy::ByteSlice, [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lib_blink` (lib) due to 6 previous errors; 16 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: the variant or associated item `read_u8` exists for enum `BigEndian`, but its trait bounds were not satisfied [INFO] [stdout] --> lib_blink/src/protocol/java/serverbound/login.rs:62:37 [INFO] [stdout] | [INFO] [stdout] 62 | let nest_state = BigEndian::read_u8(buffer); [INFO] [stdout] | ^^^^^^^ variant or associated item cannot be called on `BigEndian` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/byteorder-1.5.0/src/lib.rs:1813:1 [INFO] [stdout] | [INFO] [stdout] 1813 | pub enum BigEndian {} [INFO] [stdout] | ------------------ doesn't satisfy `BigEndian: ReadBytesExt` or `BigEndian: std::io::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `BigEndian: std::io::Read` [INFO] [stdout] which is required by `BigEndian: ReadBytesExt` [INFO] [stdout] `&BigEndian: std::io::Read` [INFO] [stdout] which is required by `&BigEndian: ReadBytesExt` [INFO] [stdout] `&mut BigEndian: std::io::Read` [INFO] [stdout] which is required by `&mut BigEndian: ReadBytesExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&[u8]: ReadMCTypesExt` is not satisfied [INFO] [stdout] --> lib_blink/src/traits/packet.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | Self::decode(&mut decoded_buf.as_slice()) [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `ReadMCTypesExt` is not implemented for `&[u8]` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: this trait has no implementations, consider adding one [INFO] [stdout] --> lib_blink/src/protocol/traits.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait ReadMCTypesExt: ReadBytesExt [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `packet::NetworkPacket::decode` [INFO] [stdout] --> lib_blink/src/traits/packet.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 14 | fn decode(buffer: &mut R) -> Result [INFO] [stdout] | ------ required by a bound in this associated function [INFO] [stdout] 15 | where [INFO] [stdout] 16 | R: ReadMCTypesExt; [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `NetworkPacket::decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> lib_blink/src/protocol/traits.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{Error, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ByteOrder` [INFO] [stdout] --> lib_blink/src/packets.rs:34:36 [INFO] [stdout] | [INFO] [stdout] 34 | use byteorder::{BigEndian, ByteOrder}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `byteorder::ReadBytesExt` [INFO] [stdout] --> lib_blink/src/packets.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use byteorder::ReadBytesExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ByteOrder` [INFO] [stdout] --> lib_blink/src/protocol/java/serverbound/login.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | use byteorder::{BigEndian, ByteOrder, LittleEndian, NativeEndian, ReadBytesExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> lib_blink/src/nbt/nbt_lexer.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let token = NBTLexer::lex_compound(reader); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tag_type` [INFO] [stdout] --> lib_blink/src/nbt/nbt_lexer.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 40 | let tag_type = tag.id(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tag_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0423, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lib_blink` (lib test) due to 6 previous errors; 15 warnings emitted [INFO] running `Command { std: "docker" "inspect" "36800b2e31e0cbc67585b0eb31462267c52adaa44c77d3b2129216d013b44d2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36800b2e31e0cbc67585b0eb31462267c52adaa44c77d3b2129216d013b44d2e", kill_on_drop: false }` [INFO] [stdout] 36800b2e31e0cbc67585b0eb31462267c52adaa44c77d3b2129216d013b44d2e