[INFO] cloning repository https://github.com/Skryptonyte/RSCube [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Skryptonyte/RSCube" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSkryptonyte%2FRSCube", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSkryptonyte%2FRSCube'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 15bdb6becc3a668ada3b4f07b54761dd6fbfb158 [INFO] building Skryptonyte/RSCube against try#9b5e8b16bd1c4acf4cf8e6880368314cf021a987+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSkryptonyte%2FRSCube" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Skryptonyte/RSCube on toolchain 9b5e8b16bd1c4acf4cf8e6880368314cf021a987 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Skryptonyte/RSCube [INFO] finished tweaking git repo https://github.com/Skryptonyte/RSCube [INFO] tweaked toml for git repo https://github.com/Skryptonyte/RSCube written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Skryptonyte/RSCube 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" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 61aefd86bbe84cd408ba6cc24ff148c13fa91599fb3fb3db6da62c36e8bba553 [INFO] running `Command { std: "docker" "start" "-a" "61aefd86bbe84cd408ba6cc24ff148c13fa91599fb3fb3db6da62c36e8bba553", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "61aefd86bbe84cd408ba6cc24ff148c13fa91599fb3fb3db6da62c36e8bba553", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61aefd86bbe84cd408ba6cc24ff148c13fa91599fb3fb3db6da62c36e8bba553", kill_on_drop: false }` [INFO] [stdout] 61aefd86bbe84cd408ba6cc24ff148c13fa91599fb3fb3db6da62c36e8bba553 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail-expr-drop-order" "-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" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1cd5d7f3991c9b2eb487a5f7618e3aea7a167715a0cd7257fdf88330bfaa6802 [INFO] running `Command { std: "docker" "start" "-a" "1cd5d7f3991c9b2eb487a5f7618e3aea7a167715a0cd7257fdf88330bfaa6802", kill_on_drop: false }` [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling RSCube v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io::BufReader` [INFO] [stdout] --> main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::BufReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude::*` [INFO] [stdout] --> main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `flate2::read::GzDecoder` [INFO] [stdout] --> main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use flate2::read::GzDecoder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `flate2::write::GzEncoder` [INFO] [stdout] --> main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use flate2::write::GzEncoder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `flate2::Compression` [INFO] [stdout] --> main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use flate2::Compression; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BigEndian`, `LittleEndian`, `ReadBytesExt`, and `WriteBytesExt` [INFO] [stdout] --> main.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | use byteorder::{BigEndian, LittleEndian, ReadBytesExt, WriteBytesExt}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RwLock` [INFO] [stdout] --> main.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | use std::sync::{Mutex, Arc, RwLock}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::TcpListener` [INFO] [stdout] --> protocol/client_packets.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::TcpListener; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::TcpStream` [INFO] [stdout] --> protocol/client_packets.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::net::TcpStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> protocol/client_packets.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> protocol/client_packets.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude::*` [INFO] [stdout] --> protocol/client_packets.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LittleEndian` and `WriteBytesExt` [INFO] [stdout] --> protocol/client_packets.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | use byteorder::{BigEndian, LittleEndian, ReadBytesExt, WriteBytesExt}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> protocol/client_packets.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::client::Client` [INFO] [stdout] --> protocol/client_packets.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::client::Client; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> protocol/client_packets.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> protocol/client_packets.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> protocol/client_packets.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | if (*player_id != client_id) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 46 - if (*player_id != client_id) [INFO] [stdout] 46 + if *player_id != client_id [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> protocol/client_packets.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | if (unused == 0x42) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 80 - if (unused == 0x42) [INFO] [stdout] 80 + if unused == 0x42 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> protocol/client_packets.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | if (mode == 1) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 132 - if (mode == 1) [INFO] [stdout] 132 + if mode == 1 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> protocol/client_packets.rs:195:8 [INFO] [stdout] | [INFO] [stdout] 195 | if (chat_message.starts_with("/")) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 195 - if (chat_message.starts_with("/")) [INFO] [stdout] 195 + if chat_message.starts_with("/") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> protocol/client_packets.rs:198:15 [INFO] [stdout] | [INFO] [stdout] 198 | match (parse_command(server, client_id, command)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 198 - match (parse_command(server, client_id, command)) [INFO] [stdout] 198 + match parse_command(server, client_id, command) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::TcpListener` [INFO] [stdout] --> protocol/server_packets.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::net::TcpListener; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::TcpStream` [INFO] [stdout] --> protocol/server_packets.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::net::TcpStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> protocol/server_packets.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude::*` [INFO] [stdout] --> protocol/server_packets.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `flate2::read::GzDecoder` [INFO] [stdout] --> protocol/server_packets.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use flate2::read::GzDecoder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Cursor` [INFO] [stdout] --> protocol/server_packets.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::io::Cursor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LittleEndian` and `ReadBytesExt` [INFO] [stdout] --> protocol/server_packets.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | use byteorder::{BigEndian, LittleEndian, ReadBytesExt, WriteBytesExt}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> protocol/server_packets.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufReader` [INFO] [stdout] --> protocol/server_packets.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::io::BufReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufWriter` [INFO] [stdout] --> protocol/server_packets.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::io::BufWriter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> protocol/server_packets.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | if (use_fastmap) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 54 - if (use_fastmap) [INFO] [stdout] 54 + if use_fastmap [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> protocol/server_packets.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | if (!use_fastmap) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 87 - if (!use_fastmap) [INFO] [stdout] 87 + if !use_fastmap [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> protocol/server_packets.rs:216:11 [INFO] [stdout] | [INFO] [stdout] 216 | while (i < message.len()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 216 - while (i < message.len()) [INFO] [stdout] 216 + while i < message.len() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> protocol/server_packets.rs:247:11 [INFO] [stdout] | [INFO] [stdout] 247 | while (i < message.len()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 247 - while (i < message.len()) [INFO] [stdout] 247 + while i < message.len() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> protocol/server_packets.rs:325:12 [INFO] [stdout] | [INFO] [stdout] 325 | if (client.customblocksupportlevel >= 1) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 325 - if (client.customblocksupportlevel >= 1) [INFO] [stdout] 325 + if client.customblocksupportlevel >= 1 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> protocol/server_packets.rs:382:12 [INFO] [stdout] | [INFO] [stdout] 382 | if (*player_id != calling_player_id) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 382 - if (*player_id != calling_player_id) [INFO] [stdout] 382 + if *player_id != calling_player_id [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::TcpListener` [INFO] [stdout] --> protocol/server_cpe_packets.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::net::TcpListener; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::TcpStream` [INFO] [stdout] --> protocol/server_cpe_packets.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::net::TcpStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> protocol/server_cpe_packets.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude::*` [INFO] [stdout] --> protocol/server_cpe_packets.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `flate2::read::GzDecoder` [INFO] [stdout] --> protocol/server_cpe_packets.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use flate2::read::GzDecoder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `flate2::write::GzEncoder` [INFO] [stdout] --> protocol/server_cpe_packets.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use flate2::write::GzEncoder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `flate2::Compression` [INFO] [stdout] --> protocol/server_cpe_packets.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use flate2::Compression; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Cursor` [INFO] [stdout] --> protocol/server_cpe_packets.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::io::Cursor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LittleEndian` and `ReadBytesExt` [INFO] [stdout] --> protocol/server_cpe_packets.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | use byteorder::{BigEndian, LittleEndian, ReadBytesExt, WriteBytesExt}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> protocol/server_cpe_packets.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::client::Client` [INFO] [stdout] --> protocol/server_cpe_packets.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::client::Client; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufReader` [INFO] [stdout] --> protocol/server_cpe_packets.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::io::BufReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufWriter` [INFO] [stdout] --> protocol/server_cpe_packets.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::io::BufWriter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::TcpListener` [INFO] [stdout] --> protocol/client_cpe_packets.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::net::TcpListener; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::TcpStream` [INFO] [stdout] --> protocol/client_cpe_packets.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::net::TcpStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> protocol/client_cpe_packets.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> protocol/client_cpe_packets.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude::*` [INFO] [stdout] --> protocol/client_cpe_packets.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `flate2::read::GzDecoder` [INFO] [stdout] --> protocol/client_cpe_packets.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use flate2::read::GzDecoder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `flate2::write::GzEncoder` [INFO] [stdout] --> protocol/client_cpe_packets.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use flate2::write::GzEncoder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `flate2::Compression` [INFO] [stdout] --> protocol/client_cpe_packets.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use flate2::Compression; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LittleEndian` and `WriteBytesExt` [INFO] [stdout] --> protocol/client_cpe_packets.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | use byteorder::{BigEndian, LittleEndian, ReadBytesExt, WriteBytesExt}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> protocol/client_cpe_packets.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::client::Client` [INFO] [stdout] --> protocol/client_cpe_packets.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::client::Client; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufReader` [INFO] [stdout] --> protocol/client_cpe_packets.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::io::BufReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufWriter` [INFO] [stdout] --> protocol/client_cpe_packets.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::io::BufWriter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> protocol/client_cpe_packets.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | if (direction == 0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 105 - if (direction == 0) [INFO] [stdout] 105 + if direction == 0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BigEndian` [INFO] [stdout] --> server.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use byteorder::{BigEndian, LittleEndian, ReadBytesExt, WriteBytesExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SeekFrom` and `Seek` [INFO] [stdout] --> server.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::{Read, Write, Seek, SeekFrom}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> server.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | if (key < 0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 51 - if (key < 0) [INFO] [stdout] 51 + if key < 0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::client::Client` [INFO] [stdout] --> main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::client::Client; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cur` [INFO] [stdout] --> protocol/client_packets.rs:22:45 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn login_procedure(server: &mut Server, cur: &mut Cursor<&Vec>, client_id: i8) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cur` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_name` [INFO] [stdout] --> protocol/client_packets.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let mut player_name: [u8; 64] = [0x0; 64]; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `verification_key` [INFO] [stdout] --> protocol/client_packets.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut verification_key: [u8; 64] = [0x0; 64]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_verification_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `protocol` [INFO] [stdout] --> protocol/client_packets.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let protocol: u8 = cur.read_u8().unwrap(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_protocol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> protocol/client_packets.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let mut player_name: [u8; 64] = [0x0; 64]; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> protocol/client_packets.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | let mut verification_key: [u8; 64] = [0x0; 64]; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `player_id` is assigned to, but never used [INFO] [stdout] --> protocol/client_packets.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | let player_id: i8; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_player_id` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> protocol/client_packets.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | let client = &mut server.clients.get_mut(&client_id).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `player_id` is never read [INFO] [stdout] --> protocol/client_packets.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | player_id = cur.read_i8().unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> protocol/client_packets.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | let client = &mut server.clients.get_mut(&client_id).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unused` [INFO] [stdout] --> protocol/client_packets.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | let unused: u8 = cur.read_u8().unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_unused` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> protocol/client_packets.rs:203:17 [INFO] [stdout] | [INFO] [stdout] 203 | Err(e) => [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> protocol/server_packets.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | Err(e) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> protocol/server_packets.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | Err(e) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> protocol/server_packets.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let mut packet: [u8; 1] = [2]; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tuple` [INFO] [stdout] --> protocol/server_packets.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let tuple: (u16, u16, u16, u16, u16, u16); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tuple` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> protocol/server_packets.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | for j in chunk_length..1024 [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> protocol/server_packets.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | Err(e) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> protocol/server_packets.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | let mut data: Vec = Vec::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> protocol/server_packets.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | Err(e) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> protocol/server_packets.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | Err(e) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_id` [INFO] [stdout] --> protocol/server_packets.rs:197:10 [INFO] [stdout] | [INFO] [stdout] 197 | for (c_id, client) in & server.clients [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_c_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> protocol/server_packets.rs:203:17 [INFO] [stdout] | [INFO] [stdout] 203 | Err(e) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> protocol/server_packets.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | for j in cmp::min(i+64,message.len())..(i+64) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> protocol/server_packets.rs:237:17 [INFO] [stdout] | [INFO] [stdout] 237 | Err(e) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> protocol/server_packets.rs:260:13 [INFO] [stdout] | [INFO] [stdout] 260 | for j in cmp::min(i+64,message.len())..(i+64) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_id` [INFO] [stdout] --> protocol/server_packets.rs:265:14 [INFO] [stdout] | [INFO] [stdout] 265 | for (player_id, client) in &mut server.clients [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> protocol/server_packets.rs:271:21 [INFO] [stdout] | [INFO] [stdout] 271 | Err(e) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world_y` [INFO] [stdout] --> protocol/server_packets.rs:312:9 [INFO] [stdout] | [INFO] [stdout] 312 | let world_y = server.world_y; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_world_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_id` [INFO] [stdout] --> protocol/server_packets.rs:320:10 [INFO] [stdout] | [INFO] [stdout] 320 | for (player_id, client) in & server.clients [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> protocol/server_packets.rs:336:17 [INFO] [stdout] | [INFO] [stdout] 336 | Err(e) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> protocol/server_packets.rs:360:13 [INFO] [stdout] | [INFO] [stdout] 360 | Err(e) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> protocol/server_packets.rs:387:21 [INFO] [stdout] | [INFO] [stdout] 387 | Err(e) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> protocol/server_packets.rs:404:9 [INFO] [stdout] | [INFO] [stdout] 404 | for i in cmp::min(message.len(),64)..64 [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> protocol/server_packets.rs:411:13 [INFO] [stdout] | [INFO] [stdout] 411 | Err(e) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> protocol/server_packets.rs:425:13 [INFO] [stdout] | [INFO] [stdout] 425 | Err(e) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> protocol/server_cpe_packets.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | for i in cmp::min(server.software_name.len(),64)..64 [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> protocol/server_cpe_packets.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | Err(e) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> protocol/server_cpe_packets.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | for i in cmp::min(app_name.len(),64)..64 [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> protocol/server_cpe_packets.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | Err(e) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> protocol/server_cpe_packets.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | Err(e) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> protocol/server_cpe_packets.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | Err(e) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `support_level` [INFO] [stdout] --> protocol/client_cpe_packets.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | let support_level = cur.read_u8(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_support_level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: compiler/rustc_mir_build/src/builder/scope.rs:1724:17: cannot unwind from goto -> bb232 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] thread 'rustc' panicked at compiler/rustc_mir_build/src/builder/scope.rs:1724:17: [INFO] [stderr] Box [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x70cd47f81caa - ::fmt::h636462e57d5ef1e1 [INFO] [stderr] 1: 0x70cd48613cbc - core::fmt::write::h067060808ac50eb9 [INFO] [stderr] 2: 0x70cd49528e11 - std::io::Write::write_fmt::h4674fa2ed7c0dfdd [INFO] [stderr] 3: 0x70cd47f81b02 - std::sys::backtrace::BacktraceLock::print::h0c77148acfb0b5e9 [INFO] [stderr] 4: 0x70cd47f83ffa - std::panicking::default_hook::{{closure}}::h30daa8e7c6ccb09d [INFO] [stderr] 5: 0x70cd47f83e43 - std::panicking::default_hook::h25f21dc0f2064615 [INFO] [stderr] 6: 0x70cd470eff28 - std[b36e883d67eb0403]::panicking::update_hook::>::{closure#0} [INFO] [stderr] 7: 0x70cd47f847b8 - std::panicking::rust_panic_with_hook::hc98438687e833605 [INFO] [stderr] 8: 0x70cd4712a341 - std[b36e883d67eb0403]::panicking::begin_panic::::{closure#0} [INFO] [stderr] 9: 0x70cd4711f526 - std[b36e883d67eb0403]::sys::backtrace::__rust_end_short_backtrace::::{closure#0}, !> [INFO] [stderr] 10: 0x70cd4711f50d - std[b36e883d67eb0403]::panicking::begin_panic:: [INFO] [stderr] 11: 0x70cd471342a1 - ::emit_producing_guarantee [INFO] [stderr] 12: 0x70cd47684fdc - ::span_bug:: [INFO] [stderr] 13: 0x70cd4770a897 - rustc_middle[8ad6e8ce52578819]::util::bug::opt_span_bug_fmt::::{closure#0} [INFO] [stderr] 14: 0x70cd476f006a - rustc_middle[8ad6e8ce52578819]::ty::context::tls::with_opt::::{closure#0}, !>::{closure#0} [INFO] [stderr] 15: 0x70cd476efefb - rustc_middle[8ad6e8ce52578819]::ty::context::tls::with_context_opt::::{closure#0}, !>::{closure#0}, !> [INFO] [stderr] 16: 0x70cd45b34437 - rustc_middle[8ad6e8ce52578819]::util::bug::span_bug_fmt:: [INFO] [stderr] 17: 0x70cd48fd541b - ::build_unwind_tree [INFO] [stderr] 18: 0x70cd48fcd7cd - rustc_mir_build[73684a27b88b946a]::builder::mir_build [INFO] [stderr] 19: 0x70cd48607714 - rustc_mir_transform[857cd804783fef4d]::mir_built [INFO] [stderr] 20: 0x70cd486076d7 - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 21: 0x70cd488953d1 - rustc_query_system[67781f9dc633c543]::query::plumbing::try_execute_query::, rustc_query_system[67781f9dc633c543]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[1e55094a59e290f4]::plumbing::QueryCtxt, false> [INFO] [stderr] 22: 0x70cd48894f8d - rustc_query_impl[1e55094a59e290f4]::query_impl::mir_built::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 23: 0x70cd45667185 - rustc_mir_build[73684a27b88b946a]::check_unsafety::check_unsafety [INFO] [stderr] 24: 0x70cd48ee98a7 - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 25: 0x70cd48ee9b69 - rustc_query_system[67781f9dc633c543]::query::plumbing::try_execute_query::, rustc_query_system[67781f9dc633c543]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[1e55094a59e290f4]::plumbing::QueryCtxt, false> [INFO] [stderr] 26: 0x70cd48ee97d1 - rustc_query_impl[1e55094a59e290f4]::query_impl::check_unsafety::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 27: 0x70cd48a9bd32 - rustc_interface[b59e7ee7606ca029]::passes::run_required_analyses [INFO] [stderr] 28: 0x70cd4952cc9e - rustc_interface[b59e7ee7606ca029]::passes::analysis [INFO] [stderr] 29: 0x70cd4952cc6f - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 30: 0x70cd4957b355 - rustc_query_system[67781f9dc633c543]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[1e55094a59e290f4]::plumbing::QueryCtxt, false> [INFO] [stderr] 31: 0x70cd4957b08e - rustc_query_impl[1e55094a59e290f4]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 32: 0x70cd495701de - rustc_interface[b59e7ee7606ca029]::passes::create_and_enter_global_ctxt::, rustc_driver_impl[be5855d19ccc8b6c]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} [INFO] [stderr] 33: 0x70cd495dff51 - rustc_interface[b59e7ee7606ca029]::interface::run_compiler::<(), rustc_driver_impl[be5855d19ccc8b6c]::run_compiler::{closure#0}>::{closure#1} [INFO] [stderr] 34: 0x70cd494f5087 - std[b36e883d67eb0403]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> [INFO] [stderr] 35: 0x70cd494f551c - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[303105738bd0c2ae]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stderr] 36: 0x70cd494f6aef - std::sys::pal::unix::thread::Thread::new::thread_start::ha554cc4ba6335b05 [INFO] [stderr] 37: 0x70cd4acc6ac3 - [INFO] [stderr] 38: 0x70cd4ad57a04 - clone [INFO] [stderr] 39: 0x0 - [INFO] [stderr] [INFO] [stderr] note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md [INFO] [stderr] [INFO] [stderr] note: please make sure that you have updated to the latest nightly [INFO] [stderr] [INFO] [stderr] warning: the ICE couldn't be written to `/opt/rustwide/workdir/rustc-ice-2024-12-31T21_53_48-58.txt`: Read-only file system (os error 30) [INFO] [stderr] [INFO] [stderr] note: rustc 1.85.0-nightly (9b5e8b16b 2024-12-19) running on x86_64-unknown-linux-gnu [INFO] [stderr] [INFO] [stderr] note: compiler flags: --crate-type bin -C embed-bitcode=no -C debuginfo=2 [INFO] [stderr] [INFO] [stderr] note: some of the compiler flags provided by cargo are hidden [INFO] [stderr] [INFO] [stderr] query stack during panic: [INFO] [stderr] #0 [mir_built] building MIR for `recieve_packets` [INFO] [stderr] #1 [check_unsafety] unsafety-checking `recieve_packets` [INFO] [stderr] #2 [analysis] running analysis passes on this crate [INFO] [stderr] end of query stack [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> main.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | Err(e) => [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `RSCube` (bin "RSCube"); 116 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/9b5e8b16bd1c4acf4cf8e6880368314cf021a987/bin/rustc --crate-name RSCube --edition=2021 main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=b075f8036f74f8a9 -C extra-filename=-ef73d251e82e030a --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern byteorder=/opt/rustwide/target/debug/deps/libbyteorder-bee6d530db7c96ad.rlib --extern flate2=/opt/rustwide/target/debug/deps/libflate2-7f79a8d8a82bbb0e.rlib --cap-lints=forbid -Dtail-expr-drop-order` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "1cd5d7f3991c9b2eb487a5f7618e3aea7a167715a0cd7257fdf88330bfaa6802", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cd5d7f3991c9b2eb487a5f7618e3aea7a167715a0cd7257fdf88330bfaa6802", kill_on_drop: false }` [INFO] [stdout] 1cd5d7f3991c9b2eb487a5f7618e3aea7a167715a0cd7257fdf88330bfaa6802