[INFO] cloning repository https://github.com/banchen19/rust_minecraft_server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/banchen19/rust_minecraft_server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbanchen19%2Frust_minecraft_server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbanchen19%2Frust_minecraft_server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dac37e13ba55939283f712d35d9a134f7c53cb5a [INFO] checking banchen19/rust_minecraft_server against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbanchen19%2Frust_minecraft_server" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/banchen19/rust_minecraft_server [INFO] finished tweaking git repo https://github.com/banchen19/rust_minecraft_server [INFO] tweaked toml for git repo https://github.com/banchen19/rust_minecraft_server written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/banchen19/rust_minecraft_server on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/banchen19/rust_minecraft_server 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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hermit-abi v0.3.3 [INFO] [stderr] Downloaded miniz_oxide v0.7.1 [INFO] [stderr] Downloaded wd_tools v0.2.2 [INFO] [stderr] Downloaded wd_event v0.6.1 [INFO] [stderr] Downloaded async-trait v0.1.74 [INFO] [stderr] Downloaded mio v0.8.9 [INFO] [stderr] Downloaded socket2 v0.5.5 [INFO] [stderr] Downloaded rust-raknet v0.12.0 [INFO] [stderr] Downloaded gimli v0.28.0 [INFO] [stderr] Downloaded object v0.32.1 [INFO] [stderr] Downloaded tokio v1.33.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fdb3cebdcc7baa32d790797f099f5c1d0b2861caaf368f2b1fe0f4dffd6e8bb6 [INFO] running `Command { std: "docker" "start" "-a" "fdb3cebdcc7baa32d790797f099f5c1d0b2861caaf368f2b1fe0f4dffd6e8bb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fdb3cebdcc7baa32d790797f099f5c1d0b2861caaf368f2b1fe0f4dffd6e8bb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdb3cebdcc7baa32d790797f099f5c1d0b2861caaf368f2b1fe0f4dffd6e8bb6", kill_on_drop: false }` [INFO] [stdout] fdb3cebdcc7baa32d790797f099f5c1d0b2861caaf368f2b1fe0f4dffd6e8bb6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 85900f264e3e77635737fcdf1cae60eda400b7cd36817e3d8a970485ee736e0c [INFO] running `Command { std: "docker" "start" "-a" "85900f264e3e77635737fcdf1cae60eda400b7cd36817e3d8a970485ee736e0c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking wd_tools v0.2.2 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking mio v0.8.9 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Checking tokio v1.33.0 [INFO] [stderr] Checking wd_event v0.6.1 [INFO] [stderr] Checking rust-raknet v0.12.0 [INFO] [stderr] Checking bds_sdk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: 2 positional arguments in format string, but there is 1 argument [INFO] [stdout] --> src/Zlib.rs:45:31 [INFO] [stdout] | [INFO] [stdout] 45 | println!("{} {}", lang.tr("nukkit.zlib.unavailable")); [INFO] [stdout] | ^^ ^^ ---------------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 2 positional arguments in format string, but there is 1 argument [INFO] [stdout] --> src/Zlib.rs:45:31 [INFO] [stdout] | [INFO] [stdout] 45 | println!("{} {}", lang.tr("nukkit.zlib.unavailable")); [INFO] [stdout] | ^^ ^^ ---------------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ZlibOriginal` in this scope [INFO] [stdout] --> src/Zlib.rs:22:77 [INFO] [stdout] | [INFO] [stdout] 22 | self.providers[provider_index as usize] = Some(Box::new(ZlibOriginal)); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ZlibSingleThreadLowMem` in this scope [INFO] [stdout] --> src/Zlib.rs:27:77 [INFO] [stdout] | [INFO] [stdout] 27 | self.providers[provider_index as usize] = Some(Box::new(ZlibSingleThreadLowMem)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ZlibThreadLocal` in this scope [INFO] [stdout] --> src/Zlib.rs:32:77 [INFO] [stdout] | [INFO] [stdout] 32 | self.providers[provider_index as usize] = Some(Box::new(ZlibThreadLocal)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LibDeflateThreadLocal` in this scope [INFO] [stdout] --> src/Zlib.rs:42:81 [INFO] [stdout] | [INFO] [stdout] 42 | self.providers[provider_index as usize] = Some(Box::new(LibDeflateThreadLocal)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ZlibThreadLocal` in this scope [INFO] [stdout] --> src/Zlib.rs:48:81 [INFO] [stdout] | [INFO] [stdout] 48 | self.providers[provider_index as usize] = Some(Box::new(ZlibThreadLocal)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::hash_map::RandomState` [INFO] [stdout] --> src/data_pack.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::hash_map::RandomState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RaknetSocket` [INFO] [stdout] --> src/data_pack.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use rust_raknet::{RaknetSocket, Reliability}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::DataPacket` [INFO] [stdout] --> src/server.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::DataPacket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::CompressionProvider::*` [INFO] [stdout] --> src/lib.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use crate::CompressionProvider::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ZlibOriginal` in this scope [INFO] [stdout] --> src/Zlib.rs:22:77 [INFO] [stdout] | [INFO] [stdout] 22 | self.providers[provider_index as usize] = Some(Box::new(ZlibOriginal)); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ZlibSingleThreadLowMem` in this scope [INFO] [stdout] --> src/Zlib.rs:27:77 [INFO] [stdout] | [INFO] [stdout] 27 | self.providers[provider_index as usize] = Some(Box::new(ZlibSingleThreadLowMem)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ZlibThreadLocal` in this scope [INFO] [stdout] --> src/Zlib.rs:32:77 [INFO] [stdout] | [INFO] [stdout] 32 | self.providers[provider_index as usize] = Some(Box::new(ZlibThreadLocal)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LibDeflateThreadLocal` in this scope [INFO] [stdout] --> src/Zlib.rs:42:81 [INFO] [stdout] | [INFO] [stdout] 42 | self.providers[provider_index as usize] = Some(Box::new(LibDeflateThreadLocal)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ZlibThreadLocal` in this scope [INFO] [stdout] --> src/Zlib.rs:48:81 [INFO] [stdout] | [INFO] [stdout] 48 | self.providers[provider_index as usize] = Some(Box::new(ZlibThreadLocal)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::hash_map::RandomState` [INFO] [stdout] --> src/data_pack.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::hash_map::RandomState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RaknetSocket` [INFO] [stdout] --> src/data_pack.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use rust_raknet::{RaknetSocket, Reliability}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::DataPacket` [INFO] [stdout] --> src/server.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::DataPacket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::CompressionProvider::*` [INFO] [stdout] --> src/lib.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use crate::CompressionProvider::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server.rs:17:57 [INFO] [stdout] | [INFO] [stdout] 17 | let mut server_listener = RaknetListener::bind(&format!("{}:{}", ip_str, port_str)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `SocketAddr`, found `String` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server.rs:17:57 [INFO] [stdout] | [INFO] [stdout] 17 | let mut server_listener = RaknetListener::bind(&format!("{}:{}", ip_str, port_str)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `SocketAddr`, found `String` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_none` found for type `u8` in the current scope [INFO] [stdout] --> src/Zlib.rs:21:60 [INFO] [stdout] | [INFO] [stdout] 21 | if self.providers[provider_index as usize].is_none() { [INFO] [stdout] | ^^^^^^^ method not found in `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_none` found for type `u8` in the current scope [INFO] [stdout] --> src/Zlib.rs:21:60 [INFO] [stdout] | [INFO] [stdout] 21 | if self.providers[provider_index as usize].is_none() { [INFO] [stdout] | ^^^^^^^ method not found in `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_none` found for type `u8` in the current scope [INFO] [stdout] --> src/Zlib.rs:26:60 [INFO] [stdout] | [INFO] [stdout] 26 | if self.providers[provider_index as usize].is_none() { [INFO] [stdout] | ^^^^^^^ method not found in `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_none` found for type `u8` in the current scope [INFO] [stdout] --> src/Zlib.rs:26:60 [INFO] [stdout] | [INFO] [stdout] 26 | if self.providers[provider_index as usize].is_none() { [INFO] [stdout] | ^^^^^^^ method not found in `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_none` found for type `u8` in the current scope [INFO] [stdout] --> src/Zlib.rs:31:60 [INFO] [stdout] | [INFO] [stdout] 31 | if self.providers[provider_index as usize].is_none() { [INFO] [stdout] | ^^^^^^^ method not found in `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_none` found for type `u8` in the current scope [INFO] [stdout] --> src/Zlib.rs:31:60 [INFO] [stdout] | [INFO] [stdout] 31 | if self.providers[provider_index as usize].is_none() { [INFO] [stdout] | ^^^^^^^ method not found in `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Libdeflate` [INFO] [stdout] --> src/Zlib.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | if Libdeflate::is_available() { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Libdeflate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TextFormat` [INFO] [stdout] --> src/Zlib.rs:35:71 [INFO] [stdout] | [INFO] [stdout] 35 | println!("{} {}", "Zlib acceleration can enable", TextFormat::WHITE); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `TextFormat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Libdeflate` [INFO] [stdout] --> src/Zlib.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | if Libdeflate::is_available() { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Libdeflate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Network` [INFO] [stdout] --> src/Zlib.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | Network::libdeflate_available = true; [INFO] [stdout] | ^^^^^^^ use of undeclared type `Network` [INFO] [stdout] | [INFO] [stdout] help: you might have meant to introduce a new binding [INFO] [stdout] | [INFO] [stdout] 40 | let Network::libdeflate_available = true; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Libdeflate` [INFO] [stdout] --> src/Zlib.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | if Libdeflate::is_available() { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Libdeflate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TextFormat` [INFO] [stdout] --> src/Zlib.rs:35:71 [INFO] [stdout] | [INFO] [stdout] 35 | println!("{} {}", "Zlib acceleration can enable", TextFormat::WHITE); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `TextFormat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Libdeflate` [INFO] [stdout] --> src/Zlib.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | if Libdeflate::is_available() { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Libdeflate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Network` [INFO] [stdout] --> src/Zlib.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | Network::libdeflate_available = true; [INFO] [stdout] | ^^^^^^^ use of undeclared type `Network` [INFO] [stdout] | [INFO] [stdout] help: you might have meant to introduce a new binding [INFO] [stdout] | [INFO] [stdout] 40 | let Network::libdeflate_available = true; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_none` found for type `u8` in the current scope [INFO] [stdout] --> src/Zlib.rs:41:64 [INFO] [stdout] | [INFO] [stdout] 41 | if self.providers[provider_index as usize].is_none() { [INFO] [stdout] | ^^^^^^^ method not found in `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_none` found for type `u8` in the current scope [INFO] [stdout] --> src/Zlib.rs:41:64 [INFO] [stdout] | [INFO] [stdout] 41 | if self.providers[provider_index as usize].is_none() { [INFO] [stdout] | ^^^^^^^ method not found in `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `tr` found for reference `&str` in the current scope [INFO] [stdout] --> src/Zlib.rs:45:44 [INFO] [stdout] | [INFO] [stdout] 45 | println!("{} {}", lang.tr("nukkit.zlib.unavailable")); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `trim` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/core/src/str/mod.rs:2128:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `tr` found for reference `&str` in the current scope [INFO] [stdout] --> src/Zlib.rs:45:44 [INFO] [stdout] | [INFO] [stdout] 45 | println!("{} {}", lang.tr("nukkit.zlib.unavailable")); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `trim` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/core/src/str/mod.rs:2128:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_none` found for type `u8` in the current scope [INFO] [stdout] --> src/Zlib.rs:47:64 [INFO] [stdout] | [INFO] [stdout] 47 | if self.providers[provider_index as usize].is_none() { [INFO] [stdout] | ^^^^^^^ method not found in `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_none` found for type `u8` in the current scope [INFO] [stdout] --> src/Zlib.rs:47:64 [INFO] [stdout] | [INFO] [stdout] 47 | if self.providers[provider_index as usize].is_none() { [INFO] [stdout] | ^^^^^^^ method not found in `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `tr` found for reference `&str` in the current scope [INFO] [stdout] --> src/Zlib.rs:58:33 [INFO] [stdout] | [INFO] [stdout] 58 | println!("{}", lang.tr("nukkit.zlib.affect-performance")); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `trim` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/core/src/str/mod.rs:2128:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `tr` found for reference `&str` in the current scope [INFO] [stdout] --> src/Zlib.rs:58:33 [INFO] [stdout] | [INFO] [stdout] 58 | println!("{}", lang.tr("nukkit.zlib.affect-performance")); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `trim` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/core/src/str/mod.rs:2128:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `tr` found for reference `&str` in the current scope [INFO] [stdout] --> src/Zlib.rs:61:33 [INFO] [stdout] | [INFO] [stdout] 61 | println!("{}", lang.tr("nukkit.zlib.acceleration-experimental")); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `trim` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/core/src/str/mod.rs:2128:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `tr` found for reference `&str` in the current scope [INFO] [stdout] --> src/Zlib.rs:61:33 [INFO] [stdout] | [INFO] [stdout] 61 | println!("{}", lang.tr("nukkit.zlib.acceleration-experimental")); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `trim` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/core/src/str/mod.rs:2128:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `u8` is not an iterator [INFO] [stdout] --> src/Zlib.rs:64:65 [INFO] [stdout] | [INFO] [stdout] 64 | self.provider = self.providers[provider_index as usize].take(); [INFO] [stdout] | ^^^^ `u8` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `u8: Iterator` [INFO] [stdout] which is required by `&mut u8: Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `u8` is not an iterator [INFO] [stdout] --> src/Zlib.rs:64:65 [INFO] [stdout] | [INFO] [stdout] 64 | self.provider = self.providers[provider_index as usize].take(); [INFO] [stdout] | ^^^^ `u8` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `u8: Iterator` [INFO] [stdout] which is required by `&mut u8: Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn ZlibProvider + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/Zlib.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | self.provider = self.providers[provider_index as usize].take(); [INFO] [stdout] | ^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `(dyn ZlibProvider + 'static)` [INFO] [stdout] = note: the left-hand-side of an assignment must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn ZlibProvider + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/Zlib.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | self.provider = self.providers[provider_index as usize].take(); [INFO] [stdout] | ^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `(dyn ZlibProvider + 'static)` [INFO] [stdout] = note: the left-hand-side of an assignment must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `tr` found for reference `&str` in the current scope [INFO] [stdout] --> src/Zlib.rs:68:18 [INFO] [stdout] | [INFO] [stdout] 68 | lang.tr("nukkit.zlib.selected"), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `trim` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/core/src/str/mod.rs:2128:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `tr` found for reference `&str` in the current scope [INFO] [stdout] --> src/Zlib.rs:68:18 [INFO] [stdout] | [INFO] [stdout] 68 | lang.tr("nukkit.zlib.selected"), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `trim` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/core/src/str/mod.rs:2128:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_ref` found for trait object `(dyn ZlibProvider + 'static)` in the current scope [INFO] [stdout] --> src/Zlib.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 70 | / self.provider [INFO] [stdout] 71 | | .as_ref() [INFO] [stdout] | | -^^^^^^ method not found in `(dyn ZlibProvider + 'static)` [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_ref` found for trait object `(dyn ZlibProvider + 'static)` in the current scope [INFO] [stdout] --> src/Zlib.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 70 | / self.provider [INFO] [stdout] 71 | | .as_ref() [INFO] [stdout] | | -^^^^^^ method not found in `(dyn ZlibProvider + 'static)` [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `level` [INFO] [stdout] --> src/CompressionProvider.rs:15:41 [INFO] [stdout] | [INFO] [stdout] 15 | fn compress(&self, buffer: Vec, level: u32) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_level` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/CompressionProvider.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | fn compress(&self, buffer: Vec, level: u32) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `level` [INFO] [stdout] --> src/CompressionProvider.rs:27:41 [INFO] [stdout] | [INFO] [stdout] 27 | fn compress(&self, buffer: Vec, level: u32) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/CompressionProvider.rs:34:26 [INFO] [stdout] | [INFO] [stdout] 34 | fn decompress(&self, buffer: Vec) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/CompressionProvider.rs:45:24 [INFO] [stdout] | [INFO] [stdout] 45 | fn compress(&self, buffer: Vec, level: u32) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `level` [INFO] [stdout] --> src/CompressionProvider.rs:45:41 [INFO] [stdout] | [INFO] [stdout] 45 | fn compress(&self, buffer: Vec, level: u32) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/CompressionProvider.rs:51:26 [INFO] [stdout] | [INFO] [stdout] 51 | fn decompress(&self, buffer: Vec) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `level` [INFO] [stdout] --> src/CompressionProvider.rs:15:41 [INFO] [stdout] | [INFO] [stdout] 15 | fn compress(&self, buffer: Vec, level: u32) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_level` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/CompressionProvider.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | fn compress(&self, buffer: Vec, level: u32) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `level` [INFO] [stdout] --> src/CompressionProvider.rs:27:41 [INFO] [stdout] | [INFO] [stdout] 27 | fn compress(&self, buffer: Vec, level: u32) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/CompressionProvider.rs:34:26 [INFO] [stdout] | [INFO] [stdout] 34 | fn decompress(&self, buffer: Vec) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/CompressionProvider.rs:45:24 [INFO] [stdout] | [INFO] [stdout] 45 | fn compress(&self, buffer: Vec, level: u32) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `level` [INFO] [stdout] --> src/CompressionProvider.rs:45:41 [INFO] [stdout] | [INFO] [stdout] 45 | fn compress(&self, buffer: Vec, level: u32) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/CompressionProvider.rs:51:26 [INFO] [stdout] | [INFO] [stdout] 51 | fn decompress(&self, buffer: Vec) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bds_sdk` (lib) due to 23 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `bds_sdk` (lib test) due to 23 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "85900f264e3e77635737fcdf1cae60eda400b7cd36817e3d8a970485ee736e0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85900f264e3e77635737fcdf1cae60eda400b7cd36817e3d8a970485ee736e0c", kill_on_drop: false }` [INFO] [stdout] 85900f264e3e77635737fcdf1cae60eda400b7cd36817e3d8a970485ee736e0c