[INFO] cloning repository https://github.com/StackDoubleFlow/RustMcServer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/StackDoubleFlow/RustMcServer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStackDoubleFlow%2FRustMcServer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStackDoubleFlow%2FRustMcServer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] adc38e30bce3d0bcebbbd80ad10af1c4fc5e351f [INFO] testing StackDoubleFlow/RustMcServer 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%2FStackDoubleFlow%2FRustMcServer" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/StackDoubleFlow/RustMcServer 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/StackDoubleFlow/RustMcServer [INFO] finished tweaking git repo https://github.com/StackDoubleFlow/RustMcServer [INFO] tweaked toml for git repo https://github.com/StackDoubleFlow/RustMcServer written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/StackDoubleFlow/RustMcServer 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7c38173b25cc735442cdbf3cccbee1adb91d5b007144d08ed568a5654c15e15d [INFO] running `Command { std: "docker" "start" "-a" "7c38173b25cc735442cdbf3cccbee1adb91d5b007144d08ed568a5654c15e15d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c38173b25cc735442cdbf3cccbee1adb91d5b007144d08ed568a5654c15e15d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c38173b25cc735442cdbf3cccbee1adb91d5b007144d08ed568a5654c15e15d", kill_on_drop: false }` [INFO] [stdout] 7c38173b25cc735442cdbf3cccbee1adb91d5b007144d08ed568a5654c15e15d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6674d54695e4943370e591d5c194d10aafeaf9b77b7eeed38344be2c93936a88 [INFO] running `Command { std: "docker" "start" "-a" "6674d54695e4943370e591d5c194d10aafeaf9b77b7eeed38344be2c93936a88", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling proc-macro2 v1.0.4 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling cc v1.0.38 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling pkg-config v0.3.15 [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Compiling bytes v0.5.3 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Compiling futures-sink v0.3.1 [INFO] [stderr] Compiling futures-core v0.3.1 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling pin-project-lite v0.1.1 [INFO] [stderr] Compiling futures-task v0.3.1 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling futures-io v0.3.1 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling openssl v0.10.26 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling indexmap v1.2.0 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.5 [INFO] [stderr] Compiling encoding_rs v0.8.20 [INFO] [stderr] Compiling dtoa v0.4.4 [INFO] [stderr] Compiling mime v0.3.14 [INFO] [stderr] Compiling unicase v2.5.1 [INFO] [stderr] Compiling futures-channel v0.3.1 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling http v0.2.0 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling openssl-sys v0.9.53 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling getrandom v0.1.8 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling flate2 v1.0.9 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling tokio v0.2.6 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling tokio-tls v0.3.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling pin-project-internal v0.4.6 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling futures-macro v0.3.1 [INFO] [stderr] Compiling pin-project v0.4.6 [INFO] [stderr] Compiling futures-util v0.3.1 [INFO] [stderr] Compiling h2 v0.2.1 [INFO] [stderr] Compiling futures-executor v0.3.1 [INFO] [stderr] Compiling futures v0.3.1 [INFO] [stderr] Compiling hyper v0.13.1 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling serde_json v1.0.44 [INFO] [stderr] Compiling hyper-tls v0.4.0 [INFO] [stderr] Compiling reqwest v0.10.0 [INFO] [stderr] Compiling rustmcserver v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::world::World` [INFO] [stdout] --> src/utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::world::World; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/network.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 250 | let client = self.get_client(client_id); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/network.rs:249:65 [INFO] [stdout] | [INFO] [stdout] 249 | fn on_mojang_has_joined_response(&mut self, client_id: u32, result: MojangHasJoinedResponse) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `ChatColor` [INFO] [stdout] --> src/chat.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum ChatColor { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `ClickEventType` [INFO] [stdout] --> src/chat.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum ClickEventType { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `HoverEventType` [INFO] [stdout] --> src/chat.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum HoverEventType { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ChatComponent` [INFO] [stdout] --> src/chat.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct ChatComponent { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/chat.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn new(text: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `color_to_str` [INFO] [stdout] --> src/chat.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn color_to_str(cc: ChatColor) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `MojangResult` [INFO] [stdout] --> src/mojang.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | type MojangResult = std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ConnectionError` [INFO] [stdout] --> src/mojang.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | ConnectionError, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MojangError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/mojang.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HasJoined` [INFO] [stdout] --> src/mojang.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | HasJoined, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `request_type` [INFO] [stdout] --> src/mojang.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | request_type: RequestType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `future` [INFO] [stdout] --> src/mojang.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | future: ReqwestFuture, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/mojang.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | fn new(client_id: u32, future: ReqwestFuture, request_type: RequestType) -> Pending { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run` [INFO] [stdout] --> src/mojang.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 61 | async fn run(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `req_client` [INFO] [stdout] --> src/mojang.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | req_client: reqwest::Client, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `send_has_joined` [INFO] [stdout] --> src/mojang.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn send_has_joined(&mut self, username: &String, client_id: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `player` [INFO] [stdout] --> src/network.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | player: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PLAY` [INFO] [stdout] --> src/packets.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | PLAY, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `NetworkState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/packets.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Copy, Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Boolean` [INFO] [stdout] --> src/packets.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | type Boolean = bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Byte` [INFO] [stdout] --> src/packets.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | type Byte = i8; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `UnsignedByte` [INFO] [stdout] --> src/packets.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | type UnsignedByte = u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Short` [INFO] [stdout] --> src/packets.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | type Short = i16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Int` [INFO] [stdout] --> src/packets.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | type Int = i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Float` [INFO] [stdout] --> src/packets.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | type Float = f32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Double` [INFO] [stdout] --> src/packets.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | type Double = f64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Chat` [INFO] [stdout] --> src/packets.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | type Chat = String; // Max length of 32767 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Indentifier` [INFO] [stdout] --> src/packets.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | type Indentifier = String; // Max length of 32767 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `VarLong` [INFO] [stdout] --> src/packets.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | type VarLong = i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `UUID` [INFO] [stdout] --> src/packets.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | type UUID = u128; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_ubyte` [INFO] [stdout] --> src/packets.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | fn read_ubyte(&mut self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_int` [INFO] [stdout] --> src/packets.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn read_int(&mut self) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_bool` [INFO] [stdout] --> src/packets.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | fn read_bool(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_varlong` [INFO] [stdout] --> src/packets.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn read_varlong(&mut self) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_byte` [INFO] [stdout] --> src/packets.rs:228:8 [INFO] [stdout] | [INFO] [stdout] 228 | fn write_byte(&mut self, byte: i8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_int` [INFO] [stdout] --> src/packets.rs:239:8 [INFO] [stdout] | [INFO] [stdout] 239 | fn write_int(&mut self, int: i32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_bool` [INFO] [stdout] --> src/packets.rs:242:8 [INFO] [stdout] | [INFO] [stdout] 242 | fn write_bool(&mut self, b: bool) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_short` [INFO] [stdout] --> src/packets.rs:250:8 [INFO] [stdout] | [INFO] [stdout] 250 | fn write_short(&mut self, short: i16) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_ushort` [INFO] [stdout] --> src/packets.rs:254:8 [INFO] [stdout] | [INFO] [stdout] 254 | fn write_ushort(&mut self, ushort: u16) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_varlong` [INFO] [stdout] --> src/packets.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | fn write_varlong(&mut self, mut value: i64) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `C00Disconnect` [INFO] [stdout] --> src/packets.rs:318:12 [INFO] [stdout] | [INFO] [stdout] 318 | pub struct C00Disconnect { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `encode` [INFO] [stdout] --> src/packets.rs:323:12 [INFO] [stdout] | [INFO] [stdout] 323 | pub fn encode(self) -> PacketEncoder { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Vec3` [INFO] [stdout] --> src/utils.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Vec3 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/utils.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | fn new(x: i32, y: i32, z: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `x` [INFO] [stdout] --> src/utils.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | x: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `y` [INFO] [stdout] --> src/utils.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | y: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `z` [INFO] [stdout] --> src/utils.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | z: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pitch` [INFO] [stdout] --> src/utils.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | pitch: i8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `yaw` [INFO] [stdout] --> src/utils.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | yaw: i8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/utils.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(x: i32, y: i32, z: i32, pitch: i8, yaw: i8) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ChatComponent` [INFO] [stdout] --> src/utils.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct ChatComponent { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/utils.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn new(text: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build` [INFO] [stdout] --> src/utils.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn build() -> Option> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mc_twos_comp` [INFO] [stdout] --> src/utils.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | fn mc_twos_comp(bytes: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mc_hex_digest` [INFO] [stdout] --> src/utils.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn mc_hex_digest(name: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `World` [INFO] [stdout] --> src/world.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct World {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load_world` [INFO] [stdout] --> src/world.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn load_world() -> World { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load_player` [INFO] [stdout] --> src/world.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn load_player(&self, username: String) -> Player { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/rustmcserver-88b2f1c8bffa79c3.rustmcserver.2d3c469d-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/rustmcserver-88b2f1c8bffa79c3.rustmcserver.2d3c469d-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/rustmcserver-88b2f1c8bffa79c3.rustmcserver.2d3c469d-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/rustmcserver-88b2f1c8bffa79c3.rustmcserver.2d3c469d-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/rustmcserver-88b2f1c8bffa79c3.rustmcserver.2d3c469d-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/rustmcserver-88b2f1c8bffa79c3.rustmcserver.2d3c469d-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/rustmcserver-88b2f1c8bffa79c3.rustmcserver.2d3c469d-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/rustmcserver-88b2f1c8bffa79c3.rustmcserver.2d3c469d-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/rustmcserver-88b2f1c8bffa79c3.rustmcserver.2d3c469d-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/rustmcserver-88b2f1c8bffa79c3.rustmcserver.2d3c469d-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/rustmcserver-88b2f1c8bffa79c3.rustmcserver.2d3c469d-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/rustmcserver-88b2f1c8bffa79c3.rustmcserver.2d3c469d-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/rustmcserver-88b2f1c8bffa79c3.rustmcserver.2d3c469d-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/rustmcserver-88b2f1c8bffa79c3.rustmcserver.2d3c469d-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/rustmcserver-88b2f1c8bffa79c3.rustmcserver.2d3c469d-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/rustmcserver-88b2f1c8bffa79c3.rustmcserver.2d3c469d-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/rustmcserver-88b2f1c8bffa79c3.1sbdid4vz8gb3f53.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/miniz-sys-4ac9d9489cbf2968/out" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libserde_json-87f0a28fc88e87cb.rlib" "/opt/rustwide/target/debug/deps/libryu-9075e4fc1832368f.rlib" "/opt/rustwide/target/debug/deps/libfutures-c4c2d7cb84b716c2.rlib" "/opt/rustwide/target/debug/deps/libfutures_executor-a090a817b9f0989e.rlib" "/opt/rustwide/target/debug/deps/libreqwest-67cf24845c661d85.rlib" "/opt/rustwide/target/debug/deps/libhyper_tls-56a036d9526be4c2.rlib" "/opt/rustwide/target/debug/deps/libtokio_tls-aa67841380def90a.rlib" "/opt/rustwide/target/debug/deps/libencoding_rs-f26a6e001a324ff8.rlib" "/opt/rustwide/target/debug/deps/libserde_urlencoded-df93b9e800dd64b6.rlib" "/opt/rustwide/target/debug/deps/libdtoa-458cccf5222f7c56.rlib" "/opt/rustwide/target/debug/deps/libserde-f5289ed0229e23c9.rlib" "/opt/rustwide/target/debug/deps/libbase64-e0d8570cbc7da076.rlib" "/opt/rustwide/target/debug/deps/libmime_guess-d910f80b79dfdf1c.rlib" "/opt/rustwide/target/debug/deps/libunicase-f0e9dc4d8a3d0725.rlib" "/opt/rustwide/target/debug/deps/libmime-a2b0d347ab5e42a7.rlib" "/opt/rustwide/target/debug/deps/libnative_tls-b7af82c2d58005b4.rlib" "/opt/rustwide/target/debug/deps/libopenssl_probe-fe962c2cd87031d7.rlib" "/opt/rustwide/target/debug/deps/libhyper-b2a052519fde22a4.rlib" "/opt/rustwide/target/debug/deps/libhttparse-af5c8ad150445e6f.rlib" "/opt/rustwide/target/debug/deps/libwant-5f90fcbcde2b705c.rlib" "/opt/rustwide/target/debug/deps/libtry_lock-b73c9715cf27566f.rlib" "/opt/rustwide/target/debug/deps/libh2-f45ab18c6044802b.rlib" "/opt/rustwide/target/debug/deps/libindexmap-b36d574ce0e6fe48.rlib" "/opt/rustwide/target/debug/deps/libtokio_util-c0edd348da4ed2ad.rlib" "/opt/rustwide/target/debug/deps/libtime-195e51b71e0e344c.rlib" "/opt/rustwide/target/debug/deps/libtower_service-9fa19250f61b8c82.rlib" "/opt/rustwide/target/debug/deps/libpin_project-773c877ec1a804a4.rlib" "/opt/rustwide/target/debug/deps/libfutures_util-93152741aa3801a3.rlib" "/opt/rustwide/target/debug/deps/libproc_macro_nested-6ef7adf3062f700e.rlib" "/opt/rustwide/target/debug/deps/libfutures_io-230959cf0265211c.rlib" "/opt/rustwide/target/debug/deps/libfutures_channel-cb08ef38d72df491.rlib" "/opt/rustwide/target/debug/deps/libfutures_sink-e575a78bbdeebbae.rlib" "/opt/rustwide/target/debug/deps/libfutures_task-201299274bca8230.rlib" "/opt/rustwide/target/debug/deps/libpin_utils-a2058c5ec177353c.rlib" "/opt/rustwide/target/debug/deps/libtokio-fa41ca96e4263ef3.rlib" "/opt/rustwide/target/debug/deps/libmemchr-d4bcf8e1df1b63c8.rlib" "/opt/rustwide/target/debug/deps/libmio-42c5e892faad872c.rlib" "/opt/rustwide/target/debug/deps/libslab-ee0db592f9db8068.rlib" "/opt/rustwide/target/debug/deps/libiovec-4bf31b515fa68e58.rlib" "/opt/rustwide/target/debug/deps/libnet2-dc5faac14e3184df.rlib" "/opt/rustwide/target/debug/deps/libpin_project_lite-d7ba4095b5f51838.rlib" "/opt/rustwide/target/debug/deps/libhttp_body-dfba498e56d3714a.rlib" "/opt/rustwide/target/debug/deps/liblog-bd2aeabb893b6ff2.rlib" "/opt/rustwide/target/debug/deps/libfutures_core-3ec883462842479a.rlib" "/opt/rustwide/target/debug/deps/liburl-6cb6dc9ceea3e65d.rlib" "/opt/rustwide/target/debug/deps/libpercent_encoding-8c83310236959ef9.rlib" "/opt/rustwide/target/debug/deps/libidna-385e35d5103a06ab.rlib" "/opt/rustwide/target/debug/deps/libunicode_normalization-5472f7f0371b8eb3.rlib" "/opt/rustwide/target/debug/deps/libsmallvec-a78424d22891558d.rlib" "/opt/rustwide/target/debug/deps/libunicode_bidi-7ac4b89f889ff88f.rlib" "/opt/rustwide/target/debug/deps/libmatches-efe3d8804af1a290.rlib" "/opt/rustwide/target/debug/deps/libhttp-ab40fa9ee1ddc905.rlib" "/opt/rustwide/target/debug/deps/libitoa-ee4781cc30e192fc.rlib" "/opt/rustwide/target/debug/deps/libbytes-27e7835702184325.rlib" "/opt/rustwide/target/debug/deps/libfnv-3b027f9af76441c8.rlib" "/opt/rustwide/target/debug/deps/librand-56c2dd79551be575.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-9deb090568c0da33.rlib" "/opt/rustwide/target/debug/deps/libc2_chacha-f26f9eafb0a12081.rlib" "/opt/rustwide/target/debug/deps/libppv_lite86-c9cfe2b9093d2c5a.rlib" "/opt/rustwide/target/debug/deps/librand_core-741852e7d7cb1b3c.rlib" "/opt/rustwide/target/debug/deps/libgetrandom-a7b1b771607bba4d.rlib" "/opt/rustwide/target/debug/deps/libopenssl-9d88e2800cc507e8.rlib" "/opt/rustwide/target/debug/deps/libopenssl_sys-f124ef22f49397f1.rlib" "/opt/rustwide/target/debug/deps/liblibc-96a462c5444e48f6.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-86422d76b8bd90ed.rlib" "/opt/rustwide/target/debug/deps/libforeign_types-3138d685ddde873e.rlib" "/opt/rustwide/target/debug/deps/libforeign_types_shared-1df85ef0ce08cbc3.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-843e868c916b52db.rlib" "/opt/rustwide/target/debug/deps/libbitflags-95dbd6b1c1e7a457.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ff9290e971253a38.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-5534b29ea7b2d8f5.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-8bfbb13072fc2761.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-d6d1fa92fa620f17.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-7cfd201521727d95.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-0e8010e8fce8e5a7.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-19093fec3c6dd913.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-89c4cbe9256c1890.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-73e4507673363945.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-3fe98c0f46f27964.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-a76787f08d45e37d.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-8cea480e62c5b261.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-1fb939608cd05a1c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-842e67e3ab562f66.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0c1c8fec3b1a54cc.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-689faa634b72af17.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-6c2c561a8181be5e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88c4d85fe493b0a6.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-f5394bdb1df5df01.rlib" "-Wl,-Bdynamic" "-lssl" "-lcrypto" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/rustmcserver-88b2f1c8bffa79c3" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/libopenssl-9d88e2800cc507e8.rlib(openssl-9d88e2800cc507e8.openssl.2df9a679-cgu.9.rcgu.o): undefined reference to symbol 'EVP_des_ecb@@OPENSSL_1_1_0' [INFO] [stdout] /usr/bin/ld: /lib/x86_64-linux-gnu/libcrypto.so.1.1: error adding symbols: DSO missing from command line [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = help: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 59 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustmcserver` due to 2 previous errors; 59 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6674d54695e4943370e591d5c194d10aafeaf9b77b7eeed38344be2c93936a88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6674d54695e4943370e591d5c194d10aafeaf9b77b7eeed38344be2c93936a88", kill_on_drop: false }` [INFO] [stdout] 6674d54695e4943370e591d5c194d10aafeaf9b77b7eeed38344be2c93936a88