[INFO] cloning repository https://github.com/yuri-potatoq/mc-phone [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yuri-potatoq/mc-phone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuri-potatoq%2Fmc-phone", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuri-potatoq%2Fmc-phone'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bc82ddcdea5ad954862e62958891baf26e7fe7a0 [INFO] testing yuri-potatoq/mc-phone against beta-2025-09-21 for beta-1.91-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuri-potatoq%2Fmc-phone" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/yuri-potatoq/mc-phone [INFO] finished tweaking git repo https://github.com/yuri-potatoq/mc-phone [INFO] tweaked toml for git repo https://github.com/yuri-potatoq/mc-phone written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/yuri-potatoq/mc-phone on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/yuri-potatoq/mc-phone 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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 846511d33668e32b69a63dca8a9acb88b0bf94d3c85c050f5b8de592ee45028e [INFO] running `Command { std: "docker" "start" "-a" "846511d33668e32b69a63dca8a9acb88b0bf94d3c85c050f5b8de592ee45028e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "846511d33668e32b69a63dca8a9acb88b0bf94d3c85c050f5b8de592ee45028e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "846511d33668e32b69a63dca8a9acb88b0bf94d3c85c050f5b8de592ee45028e", kill_on_drop: false }` [INFO] [stdout] 846511d33668e32b69a63dca8a9acb88b0bf94d3c85c050f5b8de592ee45028e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e0ccb554ee31dce61ffbfca9bd33f8ad879f4dedc40b865cf41faed6cf90a9e6 [INFO] running `Command { std: "docker" "start" "-a" "e0ccb554ee31dce61ffbfca9bd33f8ad879f4dedc40b865cf41faed6cf90a9e6", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling base64 v0.20.0 [INFO] [stderr] Compiling brotli v8.0.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling clap_builder v4.5.41 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling snafu-derive v0.8.6 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling snafu v0.8.6 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling clap v4.5.41 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling actix-tls v3.4.0 [INFO] [stderr] Compiling h2 v0.4.11 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling jwt v0.16.0 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling sqlx-sqlite v0.8.6 [INFO] [stderr] Compiling actix-http v3.11.0 [INFO] [stderr] Compiling hyper-util v0.1.15 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling actix-web v4.11.0 [INFO] [stderr] Compiling awc v3.7.0 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Compiling actix-http-test v3.2.0 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Compiling actix-session v0.10.1 [INFO] [stderr] Compiling actix-test v0.1.5 [INFO] [stderr] Compiling actix-identity v0.8.0 [INFO] [stderr] Compiling sqlite-session-store v0.1.0 (/opt/rustwide/workdir/sqlite-session-store) [INFO] [stderr] Compiling mc-phone v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `storage::CookieSessionStore` [INFO] [stdout] --> src/web_server.rs:4:67 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_session::{SessionMiddleware, config::PersistentSession, storage::CookieSessionStore}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SqlitePool` and `Sqlite` [INFO] [stdout] --> src/web_server.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | use sqlx::{Sqlite, SqlitePool}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rcon.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | let mut stream = TcpStream::connect(addr) [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rcon.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | let mut conn = Self { stream: Arc::new(Mutex::new(stream)) }; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/rcon.rs:3:40 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::prelude::{Read as IORead, Write as IOWrite}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/rcon.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::prelude::{Read as IORead, Write as IOWrite}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PassHasher` is never constructed [INFO] [stdout] --> src/password.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) struct PassHasher { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `hash_password`, and `verify_password` are never used [INFO] [stdout] --> src/password.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl PassHasher { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 21 | [INFO] [stdout] 22 | fn new(secret_key: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn hash_password(&self, password: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | fn verify_password<'c>(&self, password: String, hash: &'c str) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PasswordManager` is never constructed [INFO] [stdout] --> src/password.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct PasswordManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `hash_password`, and `verify_user_password` are never used [INFO] [stdout] --> src/password.rs:66:19 [INFO] [stdout] | [INFO] [stdout] 64 | impl PasswordManager { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 65 | [INFO] [stdout] 66 | pub(crate) fn new(pool: Arc, secret_key: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub(crate) fn hash_password(&self, password: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub(crate) async fn verify_user_password( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserManager` is never constructed [INFO] [stdout] --> src/user.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct UserManager { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `new_user`, `add_user_permissions`, `create_super_user`, and `has_permissions` are never used [INFO] [stdout] --> src/user.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 11 | impl UserManager { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 12 | pub(crate) fn new(pool: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub(crate) async fn new_user(&self, nick: String, password: String) -> CrateResult<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub(crate) async fn add_user_permissions( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub(crate) async fn create_super_user(&self, root_password: String) -> CrateResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub(crate) async fn has_permissions( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `PACKET_ID_COUNTER` is never used [INFO] [stdout] --> src/rcon.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | static PACKET_ID_COUNTER: AtomicUsize = AtomicUsize::new(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_i32` is never used [INFO] [stdout] --> src/rcon.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn read_i32(data: &[u8]) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RCONPacketKind` is never used [INFO] [stdout] --> src/rcon.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum RCONPacketKind { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RCONPacket` is never constructed [INFO] [stdout] --> src/rcon.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct RCONPacket<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `auth_packet`, `send`, `recv`, and `send_sync` are never used [INFO] [stdout] --> src/rcon.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl<'a> RCONPacket<'a> { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 69 | pub fn new>(kind: RCONPacketKind, body: S) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn auth_packet(pass: &'a str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub async fn send(&self, stream: Arc>) -> CrateResult<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub async fn recv(&self, stream: Arc>) -> CrateResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub async fn send_sync(&self, stream: Arc>) -> CrateResult { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RconConnection` is never constructed [INFO] [stdout] --> src/rcon.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct RconConnection { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `connect`, `rcon_auth`, and `exec_command` are never used [INFO] [stdout] --> src/rcon.rs:143:18 [INFO] [stdout] | [INFO] [stdout] 141 | impl RconConnection { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 142 | /// Returns a authenticated session [INFO] [stdout] 143 | pub async fn connect(addr: A, pass: &str) -> CrateResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | async fn rcon_auth(&self, pass: &str) -> CrateResult<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub async fn exec_command(&self, cmd: String) -> CrateResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `CrateResult` is never used [INFO] [stdout] --> src/error.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) type CrateResult = std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `connection_error`, `server_error`, `cant_create_user`, and `dont_have_permission` are never used [INFO] [stdout] --> src/error.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 24 | impl Error { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 25 | pub(crate) fn connection_error(s: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub(crate) fn server_error(s: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub(crate) fn cant_create_user(s: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub(crate) fn dont_have_permission(s: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_server` is never used [INFO] [stdout] --> src/web_server.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | pub async fn run_server<'a, S>( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LoginData` is never constructed [INFO] [stdout] --> src/web_server.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | struct LoginData { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RconCommandRequest` is never constructed [INFO] [stdout] --> src/web_server.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | struct RconCommandRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateUserRequest` is never constructed [INFO] [stdout] --> src/web_server.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 153 | struct CreateUserRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GrantUserPermissionsRequest` is never constructed [INFO] [stdout] --> src/web_server.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | struct GrantUserPermissionsRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::*` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use error::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `storage::CookieSessionStore` [INFO] [stdout] --> src/web_server.rs:4:67 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_session::{SessionMiddleware, config::PersistentSession, storage::CookieSessionStore}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SqlitePool` and `Sqlite` [INFO] [stdout] --> src/web_server.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | use sqlx::{Sqlite, SqlitePool}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MIGRATOR` [INFO] [stdout] --> src/main.rs:20:48 [INFO] [stdout] | [INFO] [stdout] 20 | use sqlite_session_store::{SqliteSessionStore, MIGRATOR}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rcon.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | let mut stream = TcpStream::connect(addr) [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rcon.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | let mut conn = Self { stream: Arc::new(Mutex::new(stream)) }; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/rcon.rs:3:40 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::prelude::{Read as IORead, Write as IOWrite}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/rcon.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::prelude::{Read as IORead, Write as IOWrite}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `server_error` and `dont_have_permission` are never used [INFO] [stdout] --> src/error.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 24 | impl Error { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub(crate) fn server_error(s: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub(crate) fn dont_have_permission(s: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `AuthResponse` and `ResponseValue` are never constructed [INFO] [stdout] --> src/rcon.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum RCONPacketKind { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 33 | Auth, [INFO] [stdout] 34 | AuthResponse, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 35 | ExecCommand, [INFO] [stdout] 36 | ResponseValue, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RCONPacketKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 47s [INFO] running `Command { std: "docker" "inspect" "e0ccb554ee31dce61ffbfca9bd33f8ad879f4dedc40b865cf41faed6cf90a9e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0ccb554ee31dce61ffbfca9bd33f8ad879f4dedc40b865cf41faed6cf90a9e6", kill_on_drop: false }` [INFO] [stdout] e0ccb554ee31dce61ffbfca9bd33f8ad879f4dedc40b865cf41faed6cf90a9e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa26c8fe1590783564d20c2bc4ce1ca5bca5605592f11d54186a9dc74757ebf5 [INFO] running `Command { std: "docker" "start" "-a" "fa26c8fe1590783564d20c2bc4ce1ca5bca5605592f11d54186a9dc74757ebf5", kill_on_drop: false }` [INFO] [stderr] Compiling mc-phone v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `storage::CookieSessionStore` [INFO] [stdout] --> src/web_server.rs:4:67 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_session::{SessionMiddleware, config::PersistentSession, storage::CookieSessionStore}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SqlitePool` and `Sqlite` [INFO] [stdout] --> src/web_server.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | use sqlx::{Sqlite, SqlitePool}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rcon.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | let mut stream = TcpStream::connect(addr) [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rcon.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | let mut conn = Self { stream: Arc::new(Mutex::new(stream)) }; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/rcon.rs:3:40 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::prelude::{Read as IORead, Write as IOWrite}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/rcon.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::prelude::{Read as IORead, Write as IOWrite}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PassHasher` is never constructed [INFO] [stdout] --> src/password.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) struct PassHasher { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `hash_password`, and `verify_password` are never used [INFO] [stdout] --> src/password.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl PassHasher { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 21 | [INFO] [stdout] 22 | fn new(secret_key: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn hash_password(&self, password: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | fn verify_password<'c>(&self, password: String, hash: &'c str) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PasswordManager` is never constructed [INFO] [stdout] --> src/password.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct PasswordManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `hash_password`, and `verify_user_password` are never used [INFO] [stdout] --> src/password.rs:66:19 [INFO] [stdout] | [INFO] [stdout] 64 | impl PasswordManager { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 65 | [INFO] [stdout] 66 | pub(crate) fn new(pool: Arc, secret_key: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub(crate) fn hash_password(&self, password: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub(crate) async fn verify_user_password( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserManager` is never constructed [INFO] [stdout] --> src/user.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct UserManager { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `new_user`, `add_user_permissions`, `create_super_user`, and `has_permissions` are never used [INFO] [stdout] --> src/user.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 11 | impl UserManager { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 12 | pub(crate) fn new(pool: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub(crate) async fn new_user(&self, nick: String, password: String) -> CrateResult<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub(crate) async fn add_user_permissions( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub(crate) async fn create_super_user(&self, root_password: String) -> CrateResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub(crate) async fn has_permissions( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `PACKET_ID_COUNTER` is never used [INFO] [stdout] --> src/rcon.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | static PACKET_ID_COUNTER: AtomicUsize = AtomicUsize::new(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_i32` is never used [INFO] [stdout] --> src/rcon.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn read_i32(data: &[u8]) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RCONPacketKind` is never used [INFO] [stdout] --> src/rcon.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum RCONPacketKind { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RCONPacket` is never constructed [INFO] [stdout] --> src/rcon.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct RCONPacket<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `auth_packet`, `send`, `recv`, and `send_sync` are never used [INFO] [stdout] --> src/rcon.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl<'a> RCONPacket<'a> { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 69 | pub fn new>(kind: RCONPacketKind, body: S) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn auth_packet(pass: &'a str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub async fn send(&self, stream: Arc>) -> CrateResult<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub async fn recv(&self, stream: Arc>) -> CrateResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub async fn send_sync(&self, stream: Arc>) -> CrateResult { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RconConnection` is never constructed [INFO] [stdout] --> src/rcon.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct RconConnection { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `connect`, `rcon_auth`, and `exec_command` are never used [INFO] [stdout] --> src/rcon.rs:143:18 [INFO] [stdout] | [INFO] [stdout] 141 | impl RconConnection { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 142 | /// Returns a authenticated session [INFO] [stdout] 143 | pub async fn connect(addr: A, pass: &str) -> CrateResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | async fn rcon_auth(&self, pass: &str) -> CrateResult<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub async fn exec_command(&self, cmd: String) -> CrateResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `CrateResult` is never used [INFO] [stdout] --> src/error.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) type CrateResult = std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `connection_error`, `server_error`, `cant_create_user`, and `dont_have_permission` are never used [INFO] [stdout] --> src/error.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 24 | impl Error { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 25 | pub(crate) fn connection_error(s: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub(crate) fn server_error(s: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub(crate) fn cant_create_user(s: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub(crate) fn dont_have_permission(s: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_server` is never used [INFO] [stdout] --> src/web_server.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | pub async fn run_server<'a, S>( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LoginData` is never constructed [INFO] [stdout] --> src/web_server.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | struct LoginData { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RconCommandRequest` is never constructed [INFO] [stdout] --> src/web_server.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | struct RconCommandRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateUserRequest` is never constructed [INFO] [stdout] --> src/web_server.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 153 | struct CreateUserRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GrantUserPermissionsRequest` is never constructed [INFO] [stdout] --> src/web_server.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | struct GrantUserPermissionsRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `pool::PoolOptions` and `query_as` [INFO] [stdout] --> src/user.rs:112:28 [INFO] [stdout] | [INFO] [stdout] 112 | use sqlx::{SqlitePool, pool::PoolOptions, query_as}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::*` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use error::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `storage::CookieSessionStore` [INFO] [stdout] --> src/web_server.rs:4:67 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_session::{SessionMiddleware, config::PersistentSession, storage::CookieSessionStore}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SqlitePool` and `Sqlite` [INFO] [stdout] --> src/web_server.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | use sqlx::{Sqlite, SqlitePool}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MIGRATOR` [INFO] [stdout] --> src/main.rs:20:48 [INFO] [stdout] | [INFO] [stdout] 20 | use sqlite_session_store::{SqliteSessionStore, MIGRATOR}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `pool::PoolOptions` and `query_as` [INFO] [stdout] --> src/user.rs:112:28 [INFO] [stdout] | [INFO] [stdout] 112 | use sqlx::{SqlitePool, pool::PoolOptions, query_as}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `storage::CookieSessionStore` [INFO] [stdout] --> src/web_server.rs:4:67 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_session::{SessionMiddleware, config::PersistentSession, storage::CookieSessionStore}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SqlitePool` and `Sqlite` [INFO] [stdout] --> src/web_server.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | use sqlx::{Sqlite, SqlitePool}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rcon.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | let mut stream = TcpStream::connect(addr) [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rcon.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | let mut conn = Self { stream: Arc::new(Mutex::new(stream)) }; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/user.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | let r = manager [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/user.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | let r = manager [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rcon.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | let mut stream = TcpStream::connect(addr) [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rcon.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | let mut conn = Self { stream: Arc::new(Mutex::new(stream)) }; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/rcon.rs:3:40 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::prelude::{Read as IORead, Write as IOWrite}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/rcon.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::prelude::{Read as IORead, Write as IOWrite}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/rcon.rs:3:40 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::prelude::{Read as IORead, Write as IOWrite}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/rcon.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::prelude::{Read as IORead, Write as IOWrite}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `server_error` and `dont_have_permission` are never used [INFO] [stdout] --> src/error.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 24 | impl Error { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub(crate) fn server_error(s: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub(crate) fn dont_have_permission(s: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `AuthResponse` and `ResponseValue` are never constructed [INFO] [stdout] --> src/rcon.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum RCONPacketKind { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 33 | Auth, [INFO] [stdout] 34 | AuthResponse, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 35 | ExecCommand, [INFO] [stdout] 36 | ResponseValue, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RCONPacketKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PasswordManager` is never constructed [INFO] [stdout] --> src/password.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct PasswordManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `hash_password`, and `verify_user_password` are never used [INFO] [stdout] --> src/password.rs:66:19 [INFO] [stdout] | [INFO] [stdout] 64 | impl PasswordManager { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 65 | [INFO] [stdout] 66 | pub(crate) fn new(pool: Arc, secret_key: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub(crate) fn hash_password(&self, password: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub(crate) async fn verify_user_password( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create_super_user` and `has_permissions` are never used [INFO] [stdout] --> src/user.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 11 | impl UserManager { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub(crate) async fn create_super_user(&self, root_password: String) -> CrateResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub(crate) async fn has_permissions( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `PACKET_ID_COUNTER` is never used [INFO] [stdout] --> src/rcon.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | static PACKET_ID_COUNTER: AtomicUsize = AtomicUsize::new(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_i32` is never used [INFO] [stdout] --> src/rcon.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn read_i32(data: &[u8]) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RCONPacketKind` is never used [INFO] [stdout] --> src/rcon.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum RCONPacketKind { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RCONPacket` is never constructed [INFO] [stdout] --> src/rcon.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct RCONPacket<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `auth_packet`, `send`, `recv`, and `send_sync` are never used [INFO] [stdout] --> src/rcon.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl<'a> RCONPacket<'a> { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 69 | pub fn new>(kind: RCONPacketKind, body: S) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn auth_packet(pass: &'a str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub async fn send(&self, stream: Arc>) -> CrateResult<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub async fn recv(&self, stream: Arc>) -> CrateResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub async fn send_sync(&self, stream: Arc>) -> CrateResult { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RconConnection` is never constructed [INFO] [stdout] --> src/rcon.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct RconConnection { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `connect`, `rcon_auth`, and `exec_command` are never used [INFO] [stdout] --> src/rcon.rs:143:18 [INFO] [stdout] | [INFO] [stdout] 141 | impl RconConnection { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 142 | /// Returns a authenticated session [INFO] [stdout] 143 | pub async fn connect(addr: A, pass: &str) -> CrateResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | async fn rcon_auth(&self, pass: &str) -> CrateResult<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub async fn exec_command(&self, cmd: String) -> CrateResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `connection_error`, `server_error`, and `dont_have_permission` are never used [INFO] [stdout] --> src/error.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 24 | impl Error { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 25 | pub(crate) fn connection_error(s: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub(crate) fn server_error(s: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub(crate) fn dont_have_permission(s: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_server` is never used [INFO] [stdout] --> src/web_server.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | pub async fn run_server<'a, S>( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LoginData` is never constructed [INFO] [stdout] --> src/web_server.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | struct LoginData { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RconCommandRequest` is never constructed [INFO] [stdout] --> src/web_server.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | struct RconCommandRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateUserRequest` is never constructed [INFO] [stdout] --> src/web_server.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 153 | struct CreateUserRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GrantUserPermissionsRequest` is never constructed [INFO] [stdout] --> src/web_server.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | struct GrantUserPermissionsRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.30s [INFO] running `Command { std: "docker" "inspect" "fa26c8fe1590783564d20c2bc4ce1ca5bca5605592f11d54186a9dc74757ebf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa26c8fe1590783564d20c2bc4ce1ca5bca5605592f11d54186a9dc74757ebf5", kill_on_drop: false }` [INFO] [stdout] fa26c8fe1590783564d20c2bc4ce1ca5bca5605592f11d54186a9dc74757ebf5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2f4c64d741752869ecab12a500ac75797c66fc939db0408977551de9cdd6def7 [INFO] running `Command { std: "docker" "start" "-a" "2f4c64d741752869ecab12a500ac75797c66fc939db0408977551de9cdd6def7", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `storage::CookieSessionStore` [INFO] [stderr] --> src/web_server.rs:4:67 [INFO] [stderr] | [INFO] [stderr] 4 | use actix_session::{SessionMiddleware, config::PersistentSession, storage::CookieSessionStore}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `SqlitePool` and `Sqlite` [INFO] [stderr] --> src/web_server.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 14 | use sqlx::{Sqlite, SqlitePool}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/rcon.rs:144:13 [INFO] [stderr] | [INFO] [stderr] 144 | let mut stream = TcpStream::connect(addr) [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/rcon.rs:148:13 [INFO] [stderr] | [INFO] [stderr] 148 | let mut conn = Self { stream: Arc::new(Mutex::new(stream)) }; [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused import: `Write` [INFO] [stderr] --> src/rcon.rs:3:40 [INFO] [stderr] | [INFO] [stderr] 3 | use std::io::prelude::{Read as IORead, Write as IOWrite}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Read` [INFO] [stderr] --> src/rcon.rs:3:24 [INFO] [stderr] | [INFO] [stderr] 3 | use std::io::prelude::{Read as IORead, Write as IOWrite}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `PassHasher` is never constructed [INFO] [stderr] --> src/password.rs:16:19 [INFO] [stderr] | [INFO] [stderr] 16 | pub(crate) struct PassHasher { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `hash_password`, and `verify_password` are never used [INFO] [stderr] --> src/password.rs:22:8 [INFO] [stderr] | [INFO] [stderr] 20 | impl PassHasher { [INFO] [stderr] | --------------- associated items in this implementation [INFO] [stderr] 21 | [INFO] [stderr] 22 | fn new(secret_key: Arc) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 37 | fn hash_password(&self, password: String) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 46 | fn verify_password<'c>(&self, password: String, hash: &'c str) -> Result<(), ()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `PasswordManager` is never constructed [INFO] [stderr] --> src/password.rs:59:12 [INFO] [stderr] | [INFO] [stderr] 59 | pub struct PasswordManager { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `hash_password`, and `verify_user_password` are never used [INFO] [stderr] --> src/password.rs:66:19 [INFO] [stderr] | [INFO] [stderr] 64 | impl PasswordManager { [INFO] [stderr] | -------------------- associated items in this implementation [INFO] [stderr] 65 | [INFO] [stderr] 66 | pub(crate) fn new(pool: Arc, secret_key: Arc) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 70 | pub(crate) fn hash_password(&self, password: String) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 79 | pub(crate) async fn verify_user_password( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `UserManager` is never constructed [INFO] [stderr] --> src/user.rs:7:19 [INFO] [stderr] | [INFO] [stderr] 7 | pub(crate) struct UserManager { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `new_user`, `add_user_permissions`, `create_super_user`, and `has_permissions` are never used [INFO] [stderr] --> src/user.rs:12:19 [INFO] [stderr] | [INFO] [stderr] 11 | impl UserManager { [INFO] [stderr] | ---------------- associated items in this implementation [INFO] [stderr] 12 | pub(crate) fn new(pool: Arc) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 16 | pub(crate) async fn new_user(&self, nick: String, password: String) -> CrateResult<()> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 27 | pub(crate) async fn add_user_permissions( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 51 | pub(crate) async fn create_super_user(&self, root_password: String) -> CrateResult<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 82 | pub(crate) async fn has_permissions( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: static `PACKET_ID_COUNTER` is never used [INFO] [stderr] --> src/rcon.rs:14:8 [INFO] [stderr] | [INFO] [stderr] 14 | static PACKET_ID_COUNTER: AtomicUsize = AtomicUsize::new(0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `read_i32` is never used [INFO] [stderr] --> src/rcon.rs:16:4 [INFO] [stderr] | [INFO] [stderr] 16 | fn read_i32(data: &[u8]) -> Option { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `RCONPacketKind` is never used [INFO] [stderr] --> src/rcon.rs:32:10 [INFO] [stderr] | [INFO] [stderr] 32 | pub enum RCONPacketKind { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `RCONPacket` is never constructed [INFO] [stderr] --> src/rcon.rs:51:12 [INFO] [stderr] | [INFO] [stderr] 51 | pub struct RCONPacket<'a> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `auth_packet`, `send`, `recv`, and `send_sync` are never used [INFO] [stderr] --> src/rcon.rs:69:12 [INFO] [stderr] | [INFO] [stderr] 68 | impl<'a> RCONPacket<'a> { [INFO] [stderr] | ----------------------- associated items in this implementation [INFO] [stderr] 69 | pub fn new>(kind: RCONPacketKind, body: S) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 81 | pub fn auth_packet(pass: &'a str) -> Self { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 85 | pub async fn send(&self, stream: Arc>) -> CrateResult<()> { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 105 | pub async fn recv(&self, stream: Arc>) -> CrateResult { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 127 | pub async fn send_sync(&self, stream: Arc>) -> CrateResult { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `RconConnection` is never constructed [INFO] [stderr] --> src/rcon.rs:137:12 [INFO] [stderr] | [INFO] [stderr] 137 | pub struct RconConnection { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `connect`, `rcon_auth`, and `exec_command` are never used [INFO] [stderr] --> src/rcon.rs:143:18 [INFO] [stderr] | [INFO] [stderr] 141 | impl RconConnection { [INFO] [stderr] | ------------------- associated items in this implementation [INFO] [stderr] 142 | /// Returns a authenticated session [INFO] [stderr] 143 | pub async fn connect(addr: A, pass: &str) -> CrateResult { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 155 | async fn rcon_auth(&self, pass: &str) -> CrateResult<()> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 162 | pub async fn exec_command(&self, cmd: String) -> CrateResult<()> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `CrateResult` is never used [INFO] [stderr] --> src/error.rs:3:17 [INFO] [stderr] | [INFO] [stderr] 3 | pub(crate) type CrateResult = std::result::Result; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `connection_error`, `server_error`, `cant_create_user`, and `dont_have_permission` are never used [INFO] [stderr] --> src/error.rs:25:19 [INFO] [stderr] | [INFO] [stderr] 24 | impl Error { [INFO] [stderr] | ---------- associated functions in this implementation [INFO] [stderr] 25 | pub(crate) fn connection_error(s: S) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 29 | pub(crate) fn server_error(s: S) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 33 | pub(crate) fn cant_create_user(s: S) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 37 | pub(crate) fn dont_have_permission(s: S) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `run_server` is never used [INFO] [stderr] --> src/web_server.rs:21:14 [INFO] [stderr] | [INFO] [stderr] 21 | pub async fn run_server<'a, S>( [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `LoginData` is never constructed [INFO] [stderr] --> src/web_server.rs:87:8 [INFO] [stderr] | [INFO] [stderr] 87 | struct LoginData { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `RconCommandRequest` is never constructed [INFO] [stderr] --> src/web_server.rs:123:8 [INFO] [stderr] | [INFO] [stderr] 123 | struct RconCommandRequest { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `CreateUserRequest` is never constructed [INFO] [stderr] --> src/web_server.rs:153:8 [INFO] [stderr] | [INFO] [stderr] 153 | struct CreateUserRequest { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `GrantUserPermissionsRequest` is never constructed [INFO] [stderr] --> src/web_server.rs:183:8 [INFO] [stderr] | [INFO] [stderr] 183 | struct GrantUserPermissionsRequest { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `pool::PoolOptions` and `query_as` [INFO] [stderr] --> src/user.rs:112:28 [INFO] [stderr] | [INFO] [stderr] 112 | use sqlx::{SqlitePool, pool::PoolOptions, query_as}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `storage::CookieSessionStore` [INFO] [stderr] --> src/web_server.rs:4:67 [INFO] [stderr] | [INFO] [stderr] 4 | use actix_session::{SessionMiddleware, config::PersistentSession, storage::CookieSessionStore}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `r` [INFO] [stderr] --> src/user.rs:145:13 [INFO] [stderr] | [INFO] [stderr] 145 | let r = manager [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `PasswordManager` is never constructed [INFO] [stderr] --> src/password.rs:59:12 [INFO] [stderr] | [INFO] [stderr] 59 | pub struct PasswordManager { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: methods `create_super_user` and `has_permissions` are never used [INFO] [stderr] --> src/user.rs:51:25 [INFO] [stderr] | [INFO] [stderr] 11 | impl UserManager { [INFO] [stderr] | ---------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 51 | pub(crate) async fn create_super_user(&self, root_password: String) -> CrateResult<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 82 | pub(crate) async fn has_permissions( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `connection_error`, `server_error`, and `dont_have_permission` are never used [INFO] [stderr] --> src/error.rs:25:19 [INFO] [stderr] | [INFO] [stderr] 24 | impl Error { [INFO] [stderr] | ---------- associated functions in this implementation [INFO] [stderr] 25 | pub(crate) fn connection_error(s: S) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 29 | pub(crate) fn server_error(s: S) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 37 | pub(crate) fn dont_have_permission(s: S) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `mc-phone` (lib) generated 26 warnings (run `cargo fix --lib -p mc-phone` to apply 4 suggestions) [INFO] [stderr] warning: `mc-phone` (lib test) generated 24 warnings (18 duplicates) (run `cargo fix --lib -p mc-phone --tests` to apply 2 suggestions) [INFO] [stderr] warning: unused import: `error::*` [INFO] [stderr] --> src/main.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use error::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `MIGRATOR` [INFO] [stderr] --> src/main.rs:20:48 [INFO] [stderr] | [INFO] [stderr] 20 | use sqlite_session_store::{SqliteSessionStore, MIGRATOR}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `server_error` and `dont_have_permission` are never used [INFO] [stderr] --> src/error.rs:29:19 [INFO] [stderr] | [INFO] [stderr] 24 | impl Error { [INFO] [stderr] | ---------- associated functions in this implementation [INFO] [stderr] ... [INFO] [stderr] 29 | pub(crate) fn server_error(s: S) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 37 | pub(crate) fn dont_have_permission(s: S) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variants `AuthResponse` and `ResponseValue` are never constructed [INFO] [stderr] --> src/rcon.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 32 | pub enum RCONPacketKind { [INFO] [stderr] | -------------- variants in this enum [INFO] [stderr] 33 | Auth, [INFO] [stderr] 34 | AuthResponse, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 35 | ExecCommand, [INFO] [stderr] 36 | ResponseValue, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RCONPacketKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `mc-phone` (bin "mc-phone" test) generated 12 warnings (8 duplicates) (run `cargo fix --bin "mc-phone" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.39s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mc_phone-cdd4f7ed9de4c057) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test user::user_manager_test::create_and_add_permissions ... ok [INFO] [stdout] test user::user_manager_test::add_new_user ... FAILED [INFO] [stdout] test password::hasher_test::hash_and_verify_pass ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- user::user_manager_test::add_new_user stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'user::user_manager_test::add_new_user' (26) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-sqlite-0.8.6/src/testing/mod.rs:45:14: [INFO] [stdout] failed to create folders: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5b5b7e81b722 - std::backtrace_rs::backtrace::libunwind::trace::hcab59e1e990fdc24 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5b5b7e81b722 - std::backtrace_rs::backtrace::trace_unsynchronized::he24cc57f3d2f47b7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5b5b7e81b722 - std::sys::backtrace::_print_fmt::hf8d65ede198eeb54 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5b5b7e81b722 - ::fmt::h67edf0e4d33c343c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5b5b7e82ca9f - core::fmt::rt::Argument::fmt::hef94184842aeafdd [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5b5b7e82ca9f - core::fmt::write::hcf0c66b48a8fa606 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5b5b7e7e8041 - std::io::default_write_fmt::h69967ac0ba93195f [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5b5b7e7e8041 - std::io::Write::write_fmt::h8db9396209deaa1c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5b5b7e7f4522 - std::sys::backtrace::BacktraceLock::print::h07e5435aa717b414 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5b5b7e7f950f - std::panicking::default_hook::{{closure}}::h91001850288db5f7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5b5b7e7f93a1 - std::panicking::default_hook::h2346dbb704ef5512 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5b5b7e3fb56e - as core::ops::function::Fn>::call::h18383b2e29377420 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5b5b7e3fb56e - test::test_main_with_exit_callback::{{closure}}::h272d7ef99aef06dc [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5b5b7e7f9c7f - as core::ops::function::Fn>::call::h6dba6e441651a0d1 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5b5b7e7f9c7f - std::panicking::panic_with_hook::hd2b063a6090d23a4 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5b5b7e7f9a2a - std::panicking::panic_handler::{{closure}}::he666d95f139a333e [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5b5b7e7f4659 - std::sys::backtrace::__rust_end_short_backtrace::h631ad224854ebee5 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5b5b7e7dbf8d - __rustc[1d67440d6e82e4f]::rust_begin_unwind [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5b5b7e834740 - core::panicking::panic_fmt::h420ddb7fd73daf53 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5b5b7e833c56 - core::result::unwrap_failed::hdde076be853d034f [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x5b5b7e71546c - core::result::Result::expect::hd89c6e841e598d34 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/result.rs:1178:23 [INFO] [stdout] 21: 0x5b5b7e4d79be - sqlx_sqlite::testing::test_context::{{closure}}::hea2e67ae4fd9011a [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-sqlite-0.8.6/src/testing/mod.rs:45:14 [INFO] [stdout] 22: 0x5b5b7e4d812d - sqlx_sqlite::testing::::test_context::{{closure}}::heafb815c1e67083b [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-sqlite-0.8.6/src/testing/mod.rs:14:50 [INFO] [stdout] 23: 0x5b5b7e3bdcdf - as core::future::future::Future>::poll::h21ebb0eb1e8f577c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/future/future.rs:133:9 [INFO] [stdout] 24: 0x5b5b7e3c7a63 - sqlx_core::testing::run_test::{{closure}}::hc158c91900576204 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/testing/mod.rs:225:14 [INFO] [stdout] 25: 0x5b5b7e3bddbb - as core::future::future::Future>::poll::h4148b8fb4f0bdfd8 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/future/future.rs:133:9 [INFO] [stdout] 26: 0x5b5b7e3bdf7b - as core::future::future::Future>::poll::hdbcf971e4bc1a645 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/future/future.rs:133:9 [INFO] [stdout] 27: 0x5b5b7e39d70b - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::hcc68579990096b1c [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.46.1/src/runtime/scheduler/current_thread/mod.rs:742:70 [INFO] [stdout] 28: 0x5b5b7e39d1eb - tokio::task::coop::with_budget::h67c5c75e9106c406 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.46.1/src/task/coop/mod.rs:167:5 [INFO] [stdout] 29: 0x5b5b7e39d1eb - tokio::task::coop::budget::hca49180a9774d65e [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.46.1/src/task/coop/mod.rs:133:5 [INFO] [stdout] 30: 0x5b5b7e39d1eb - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::hc692d0391a370d1a [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.46.1/src/runtime/scheduler/current_thread/mod.rs:742:25 [INFO] [stdout] 31: 0x5b5b7e39759d - tokio::runtime::scheduler::current_thread::Context::enter::h77583281e5d41f0c [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.46.1/src/runtime/scheduler/current_thread/mod.rs:432:19 [INFO] [stdout] 32: 0x5b5b7e39b05d - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::ha43bd15072eb7419 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.46.1/src/runtime/scheduler/current_thread/mod.rs:741:44 [INFO] [stdout] 33: 0x5b5b7e39a10b - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::h2ee4b9baa60f1dfa [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.46.1/src/runtime/scheduler/current_thread/mod.rs:829:68 [INFO] [stdout] 34: 0x5b5b7e3b51fa - tokio::runtime::context::scoped::Scoped::set::h1ef211312350264f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.46.1/src/runtime/context/scoped.rs:40:9 [INFO] [stdout] 35: 0x5b5b7e3ca07a - tokio::runtime::context::set_scheduler::{{closure}}::h208812e9e08dabe8 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.46.1/src/runtime/context.rs:176:38 [INFO] [stdout] 36: 0x5b5b7e3d7e4e - std::thread::local::LocalKey::try_with::h1cbcfbde379a0c79 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/thread/local.rs:315:12 [INFO] [stdout] 37: 0x5b5b7e3d781d - std::thread::local::LocalKey::with::h582778053741b70f [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/thread/local.rs:279:20 [INFO] [stdout] 38: 0x5b5b7e3c9f81 - tokio::runtime::context::set_scheduler::hac12542214233526 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.46.1/src/runtime/context.rs:176:17 [INFO] [stdout] 39: 0x5b5b7e3999ce - tokio::runtime::scheduler::current_thread::CoreGuard::enter::he7a77b10ed47a8a5 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.46.1/src/runtime/scheduler/current_thread/mod.rs:829:27 [INFO] [stdout] 40: 0x5b5b7e39a181 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::h2be6c9a7cc8445a0 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.46.1/src/runtime/scheduler/current_thread/mod.rs:729:24 [INFO] [stdout] 41: 0x5b5b7e395482 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::hbc41f646bed2df3b [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.46.1/src/runtime/scheduler/current_thread/mod.rs:200:33 [INFO] [stdout] 42: 0x5b5b7e3b06d1 - tokio::runtime::context::runtime::enter_runtime::h881733d4e2f4ee7d [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.46.1/src/runtime/context/runtime.rs:65:16 [INFO] [stdout] 43: 0x5b5b7e394dc8 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::hed9e2a3809c9021a [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.46.1/src/runtime/scheduler/current_thread/mod.rs:188:9 [INFO] [stdout] 44: 0x5b5b7e3d6031 - tokio::runtime::runtime::Runtime::block_on_inner::ha8bae9c939ade940 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.46.1/src/runtime/runtime.rs:356:52 [INFO] [stdout] 45: 0x5b5b7e3d663b - tokio::runtime::runtime::Runtime::block_on::hcc8618297e1e6c16 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.46.1/src/runtime/runtime.rs:328:18 [INFO] [stdout] 46: 0x5b5b7e3cb818 - sqlx_core::rt::test_block_on::h1f0c33316156c50c [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/rt/mod.rs:123:14 [INFO] [stdout] 47: 0x5b5b7e3c7807 - sqlx_core::testing::run_test::h28c56b7934c48ff5 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/testing/mod.rs:223:5 [INFO] [stdout] 48: 0x5b5b7e3c6e9c - sqlx_core::testing::run_test_with_pool::hb2d32a4e371a1e32 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/testing/mod.rs:194:5 [INFO] [stdout] 49: 0x5b5b7e3c1361 - ) .> Fut as sqlx_core::testing::TestFn>::run_test::h37dcd959741e42e5 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/testing/mod.rs:97:9 [INFO] [stdout] 50: 0x5b5b7e3b6376 - mc_phone::user::user_manager_test::add_new_user::h788e9cb77abcb725 [INFO] [stdout] at /opt/rustwide/workdir/src/user.rs:141:5 [INFO] [stdout] 51: 0x5b5b7e3b63bd - mc_phone::user::user_manager_test::add_new_user::{{closure}}::he99746ac3a129eef [INFO] [stdout] at /opt/rustwide/workdir/src/user.rs:142:48 [INFO] [stdout] 52: 0x5b5b7e38d1b6 - core::ops::function::FnOnce::call_once::hcd78aca3af526a41 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 53: 0x5b5b7e3fb32b - core::ops::function::FnOnce::call_once::h70887edf07a630ba [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 54: 0x5b5b7e3fb32b - test::__rust_begin_short_backtrace::h27763c4cbbdb8601 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:663:18 [INFO] [stdout] 55: 0x5b5b7e410f95 - test::run_test_in_process::{{closure}}::h4dc8bc6d5e3924d3 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:686:74 [INFO] [stdout] 56: 0x5b5b7e410f95 - as core::ops::function::FnOnce<()>>::call_once::h75905e8ffe81974f [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 57: 0x5b5b7e410f95 - std::panicking::catch_unwind::do_call::h0bc60366ba66eba5 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40 [INFO] [stdout] 58: 0x5b5b7e410f95 - std::panicking::catch_unwind::hae1ec7bf94407afa [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19 [INFO] [stdout] 59: 0x5b5b7e410f95 - std::panic::catch_unwind::h0f4ff4773d84d3cd [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14 [INFO] [stdout] 60: 0x5b5b7e410f95 - test::run_test_in_process::h03fbc77ae48b3f10 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:686:27 [INFO] [stdout] 61: 0x5b5b7e410f95 - test::run_test::{{closure}}::h83476a9c453dc4d3 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:607:43 [INFO] [stdout] 62: 0x5b5b7e3e7784 - test::run_test::{{closure}}::h515482ad1e7fe7de [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:637:41 [INFO] [stdout] 63: 0x5b5b7e3e7784 - std::sys::backtrace::__rust_begin_short_backtrace::hed09f6ac5fe9d647 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 64: 0x5b5b7e3eb04a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h988e2cd969319888 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 65: 0x5b5b7e3eb04a - as core::ops::function::FnOnce<()>>::call_once::hd70e28dc46ec20be [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 66: 0x5b5b7e3eb04a - std::panicking::catch_unwind::do_call::hdc29e11311eb7655 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40 [INFO] [stdout] 67: 0x5b5b7e3eb04a - std::panicking::catch_unwind::h9e402d6a96fef41c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19 [INFO] [stdout] 68: 0x5b5b7e3eb04a - std::panic::catch_unwind::h9213c0c54aec70e0 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14 [INFO] [stdout] 69: 0x5b5b7e3eb04a - std::thread::Builder::spawn_unchecked_::{{closure}}::h6262965869ed2b87 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 70: 0x5b5b7e3eb04a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h05c05ed02619e462 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 71: 0x5b5b7e7ef7bf - as core::ops::function::FnOnce>::call_once::h2044e71c41d3958a [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 72: 0x5b5b7e7ef7bf - std::sys::thread::unix::Thread::new::thread_start::hf277835320aa8e5a [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 73: 0x7fa5f1c74aa4 - [INFO] [stdout] 74: 0x7fa5f1d01a34 - clone [INFO] [stdout] 75: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] user::user_manager_test::add_new_user [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.90s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "2f4c64d741752869ecab12a500ac75797c66fc939db0408977551de9cdd6def7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f4c64d741752869ecab12a500ac75797c66fc939db0408977551de9cdd6def7", kill_on_drop: false }` [INFO] [stdout] 2f4c64d741752869ecab12a500ac75797c66fc939db0408977551de9cdd6def7