[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] checking yuri-potatoq/mc-phone against master#2aabf3ce0569dd7c8c2d2a27944850056dcf2566 for pr-156508
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuri-potatoq%2Fmc-phone" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/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-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/yuri-potatoq/mc-phone on toolchain 2aabf3ce0569dd7c8c2d2a27944850056dcf2566
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2aabf3ce0569dd7c8c2d2a27944850056dcf2566" "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" "+2aabf3ce0569dd7c8c2d2a27944850056dcf2566" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded redox_syscall v0.5.14
[INFO] [stderr]   Downloaded base64 v0.20.0
[INFO] [stderr]   Downloaded actix-test v0.1.5
[INFO] [stderr]   Downloaded actix-http-test v3.2.0
[INFO] [stderr]   Downloaded actix-session v0.10.1
[INFO] [stderr]   Downloaded awc v3.7.0
[INFO] [stderr]   Downloaded actix-tls v3.4.0
[INFO] [stderr]   Downloaded jwt v0.16.0
[INFO] [stderr]   Downloaded snafu-derive v0.8.6
[INFO] [stderr]   Downloaded snafu v0.8.6
[INFO] [stderr]   Downloaded h2 v0.4.11
[INFO] [stderr]   Downloaded actix-identity v0.8.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+2aabf3ce0569dd7c8c2d2a27944850056dcf2566" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4360fdce743068bccdc2f6e966332b2d39ca4f7ed11b1b938179221027ab2364
[INFO] running `Command { std: "docker" "start" "-a" "4360fdce743068bccdc2f6e966332b2d39ca4f7ed11b1b938179221027ab2364", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4360fdce743068bccdc2f6e966332b2d39ca4f7ed11b1b938179221027ab2364", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4360fdce743068bccdc2f6e966332b2d39ca4f7ed11b1b938179221027ab2364", kill_on_drop: false }`
[INFO] [stdout] 4360fdce743068bccdc2f6e966332b2d39ca4f7ed11b1b938179221027ab2364
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+2aabf3ce0569dd7c8c2d2a27944850056dcf2566" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f39744cc235703edd0383d27d561c82f3cd7a9ce7edbbe6950f7f8be8a22f625
[INFO] running `Command { std: "docker" "start" "-a" "f39744cc235703edd0383d27d561c82f3cd7a9ce7edbbe6950f7f8be8a22f625", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]     Checking cfg-if v1.0.1
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]     Checking memchr v2.7.5
[INFO] [stderr]     Checking tracing-core v0.1.34
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling serde_json v1.0.142
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]     Checking foldhash v0.1.5
[INFO] [stderr]     Checking slab v0.4.10
[INFO] [stderr]     Checking futures-io v0.3.31
[INFO] [stderr]    Compiling zerocopy v0.8.26
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling litemap v0.8.0
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling writeable v0.6.1
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]     Checking local-waker v0.1.4
[INFO] [stderr]     Checking hashbrown v0.15.4
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking alloc-no-stdlib v2.0.4
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]     Checking actix-utils v3.0.1
[INFO] [stderr]     Checking alloc-stdlib v0.2.2
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]     Checking actix-service v2.0.3
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling time-core v0.1.4
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking deranged v0.4.0
[INFO] [stderr]     Checking brotli-decompressor v5.0.0
[INFO] [stderr]     Checking crc32fast v1.5.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling time-macros v0.2.22
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking inout v0.1.4
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]     Checking bytestring v1.4.0
[INFO] [stderr]     Checking bitflags v2.9.1
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]     Checking indexmap v2.10.0
[INFO] [stderr]     Checking flate2 v1.1.2
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking parking_lot_core v0.9.11
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking parking_lot v0.12.4
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]    Compiling jobserver v0.1.33
[INFO] [stderr]     Checking signal-hook-registry v1.4.5
[INFO] [stderr]     Checking mio v1.0.4
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]     Checking universal-hash v0.5.1
[INFO] [stderr]     Checking polyval v0.6.2
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling cc v1.2.29
[INFO] [stderr]     Checking aead v0.5.2
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking ghash v0.5.1
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking hkdf v0.12.4
[INFO] [stderr]     Checking aes v0.8.4
[INFO] [stderr]     Checking ctr v0.9.2
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]     Checking local-channel v0.1.5
[INFO] [stderr]     Checking brotli v8.0.1
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking impl-more v0.1.9
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking base64 v0.20.0
[INFO] [stderr]     Checking language-tags v0.3.2
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]     Checking time v0.3.41
[INFO] [stderr]     Checking aes-gcm v0.10.3
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling tokio v1.46.1
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling parking v2.2.1
[INFO] [stderr]    Compiling cpufeatures v0.2.17
[INFO] [stderr]    Compiling crc v3.3.0
[INFO] [stderr]    Compiling event-listener v5.4.0
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling hashlink v0.10.0
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]     Checking regex-lite v0.1.6
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]    Compiling flume v0.11.1
[INFO] [stderr]    Compiling zstd-sys v2.0.15+zstd.1.5.7
[INFO] [stderr]    Compiling libsqlite3-sys v0.30.1
[INFO] [stderr]     Checking anstyle-query v1.1.3
[INFO] [stderr]     Checking anstyle v1.0.11
[INFO] [stderr]     Checking env_filter v0.1.3
[INFO] [stderr]     Checking base64ct v1.8.0
[INFO] [stderr]     Checking anstream v0.6.19
[INFO] [stderr]     Checking jiff v0.2.15
[INFO] [stderr]     Checking clap_lex v0.7.5
[INFO] [stderr]     Checking password-hash v0.5.0
[INFO] [stderr]     Checking blake2 v0.10.6
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]     Checking clap_builder v4.5.41
[INFO] [stderr]     Checking argon2 v0.5.3
[INFO] [stderr]     Checking futures-executor v0.3.31
[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 displaydoc v0.2.5
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling derive_more-impl v2.0.1
[INFO] [stderr]    Compiling derive_more-impl v1.0.0
[INFO] [stderr]    Compiling clap_derive v4.5.41
[INFO] [stderr]    Compiling snafu-derive v0.8.6
[INFO] [stderr]     Checking zstd v0.13.3
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.8.0
[INFO] [stderr]     Checking zerotrie v0.2.2
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking zerovec v0.11.2
[INFO] [stderr]     Checking env_logger v0.11.8
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]     Checking snafu v0.8.6
[INFO] [stderr]     Checking clap v4.5.41
[INFO] [stderr]     Checking tinystr v0.8.1
[INFO] [stderr]     Checking potential_utf v0.1.2
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]     Checking icu_collections v2.0.0
[INFO] [stderr]     Checking icu_locale_core v2.0.0
[INFO] [stderr]     Checking derive_more v2.0.1
[INFO] [stderr]     Checking icu_provider v2.0.0
[INFO] [stderr]     Checking derive_more v1.0.0
[INFO] [stderr]     Checking icu_properties v2.0.1
[INFO] [stderr]     Checking icu_normalizer v2.0.0
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking tokio-util v0.7.15
[INFO] [stderr]     Checking actix-rt v2.10.0
[INFO] [stderr]     Checking actix-server v2.6.0
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]     Checking actix-codec v0.5.2
[INFO] [stderr]     Checking actix-tls v3.4.0
[INFO] [stderr]     Checking h2 v0.4.11
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking actix-router v0.5.3
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking sqlx-core v0.8.6
[INFO] [stderr]     Checking jwt v0.16.0
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]     Checking actix-http v3.11.0
[INFO] [stderr]     Checking sqlx-sqlite v0.8.6
[INFO] [stderr]     Checking hyper v1.6.0
[INFO] [stderr]     Checking hyper-util v0.1.15
[INFO] [stderr]     Checking actix-web v4.11.0
[INFO] [stderr]     Checking awc v3.7.0
[INFO] [stderr]     Checking actix-http-test v3.2.0
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.6
[INFO] [stderr]     Checking actix-session v0.10.1
[INFO] [stderr]     Checking actix-test v0.1.5
[INFO] [stderr]     Checking actix-identity v0.8.0
[INFO] [stderr]    Compiling sqlx-macros v0.8.6
[INFO] [stderr]     Checking sqlx v0.8.6
[INFO] [stderr]     Checking sqlite-session-store v0.1.0 (/opt/rustwide/workdir/sqlite-session-store)
[INFO] [stderr]     Checking mc-phone v0.1.0 (/opt/rustwide/workdir)
[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: 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: 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 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 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<String>) -> Self {        
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     fn hash_password(&self, password: String) -> Result<String, ()> {
[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<SqlitePool>, secret_key: Arc<String>) -> Self {
[INFO] [stdout]    |                   ^^^
[INFO] [stdout] ...
[INFO] [stdout] 70 |     pub(crate) fn hash_password(&self, password: String) -> Result<String, ()> {
[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<SqlitePool>) -> 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<i32> {
[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<S: Into<&'a str>>(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<Mutex<TcpStream>>) -> CrateResult<()> {
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 |     pub async fn recv(&self, stream: Arc<Mutex<TcpStream>>) -> CrateResult<Self> {
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 127 |     pub async fn send_sync(&self, stream: Arc<Mutex<TcpStream>>) -> CrateResult<Self> {        
[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<A: ToSocketAddrs>(addr: A, pass: &str) -> CrateResult<Self> {
[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<T, E = Error> = std::result::Result<T, E>;
[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: ToString>(s: S) -> Self {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub(crate) fn server_error<S: ToString>(s: S) -> Self {
[INFO] [stdout]    |                   ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub(crate) fn cant_create_user<S: ToString>(s: S) -> Self {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub(crate) fn dont_have_permission<S: ToString>(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: 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<SqlitePool>, secret_key: Arc<String>) -> Self {
[INFO] [stdout]    |                   ^^^
[INFO] [stdout] ...
[INFO] [stdout] 70 |     pub(crate) fn hash_password(&self, password: String) -> Result<String, ()> {
[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<i32> {
[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<S: Into<&'a str>>(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<Mutex<TcpStream>>) -> CrateResult<()> {
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 |     pub async fn recv(&self, stream: Arc<Mutex<TcpStream>>) -> CrateResult<Self> {
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 127 |     pub async fn send_sync(&self, stream: Arc<Mutex<TcpStream>>) -> CrateResult<Self> {        
[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<A: ToSocketAddrs>(addr: A, pass: &str) -> CrateResult<Self> {
[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: ToString>(s: S) -> Self {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub(crate) fn server_error<S: ToString>(s: S) -> Self {
[INFO] [stdout]    |                   ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub(crate) fn dont_have_permission<S: ToString>(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 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: 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: 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: 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: ToString>(s: S) -> Self {
[INFO] [stdout]    |                   ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub(crate) fn dont_have_permission<S: ToString>(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: 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: ToString>(s: S) -> Self {
[INFO] [stdout]    |                   ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub(crate) fn dont_have_permission<S: ToString>(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 26s
[INFO] running `Command { std: "docker" "inspect" "f39744cc235703edd0383d27d561c82f3cd7a9ce7edbbe6950f7f8be8a22f625", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f39744cc235703edd0383d27d561c82f3cd7a9ce7edbbe6950f7f8be8a22f625", kill_on_drop: false }`
[INFO] [stdout] f39744cc235703edd0383d27d561c82f3cd7a9ce7edbbe6950f7f8be8a22f625
