[INFO] cloning repository https://github.com/rustscr1pt/ugo-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rustscr1pt/ugo-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frustscr1pt%2Fugo-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frustscr1pt%2Fugo-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 277ed0378163ed1ea20dfa0e29f1606c2b277667 [INFO] checking rustscr1pt/ugo-api/277ed0378163ed1ea20dfa0e29f1606c2b277667 against master#94b72d6bebbddb5d17860914c4544f37365e988c for pr-122789 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frustscr1pt%2Fugo-api" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rustscr1pt/ugo-api on toolchain 94b72d6bebbddb5d17860914c4544f37365e988c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+94b72d6bebbddb5d17860914c4544f37365e988c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/rustscr1pt/ugo-api [INFO] finished tweaking git repo https://github.com/rustscr1pt/ugo-api [INFO] tweaked toml for git repo https://github.com/rustscr1pt/ugo-api written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/rustscr1pt/ugo-api 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" "+94b72d6bebbddb5d17860914c4544f37365e988c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded saturating v0.1.0 [INFO] [stderr] Downloaded mysql v24.0.0 [INFO] [stderr] Downloaded frunk_derives v0.4.2 [INFO] [stderr] Downloaded bytecheck_derive v0.6.12 [INFO] [stderr] Downloaded frunk_proc_macro_helpers v0.1.2 [INFO] [stderr] Downloaded frunk_proc_macros v0.1.2 [INFO] [stderr] Downloaded bytecheck v0.6.12 [INFO] [stderr] Downloaded derive_utils v0.14.1 [INFO] [stderr] Downloaded lexical v6.1.1 [INFO] [stderr] Downloaded io-enum v1.1.3 [INFO] [stderr] Downloaded bigdecimal v0.3.1 [INFO] [stderr] Downloaded frunk_core v0.4.2 [INFO] [stderr] Downloaded borsh v1.3.1 [INFO] [stderr] Downloaded mysql_common v0.30.6 [INFO] [stderr] Downloaded rkyv v0.7.44 [INFO] [stderr] Downloaded rust_decimal v1.34.3 [INFO] [stderr] Downloaded frunk v0.4.2 [INFO] [stderr] Downloaded borsh-derive v1.3.1 [INFO] [stderr] Downloaded mysql-common-derive v0.30.2 [INFO] [stderr] Downloaded rend v0.4.2 [INFO] [stderr] Downloaded rkyv_derive v0.7.44 [INFO] [stderr] Downloaded openssl-src v300.2.2+3.2.1 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+94b72d6bebbddb5d17860914c4544f37365e988c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2c7f0341519beb38d1afd3162ef2ed93d99291220b5813fa86a991b6f57d3177 [INFO] running `Command { std: "docker" "start" "-a" "2c7f0341519beb38d1afd3162ef2ed93d99291220b5813fa86a991b6f57d3177", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c7f0341519beb38d1afd3162ef2ed93d99291220b5813fa86a991b6f57d3177", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c7f0341519beb38d1afd3162ef2ed93d99291220b5813fa86a991b6f57d3177", kill_on_drop: false }` [INFO] [stdout] 2c7f0341519beb38d1afd3162ef2ed93d99291220b5813fa86a991b6f57d3177 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+94b72d6bebbddb5d17860914c4544f37365e988c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aede6dd46c61c03369606994c5f217b22bc704a00e5e2da409e35e4a0fe69d48 [INFO] running `Command { std: "docker" "start" "-a" "aede6dd46c61c03369606994c5f217b22bc704a00e5e2da409e35e4a0fe69d48", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking lexical-util v0.8.5 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Compiling openssl-src v300.2.2+3.2.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling frunk_core v0.4.2 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling bindgen v0.69.4 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking lexical-parse-integer v0.8.6 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Compiling libz-sys v1.1.15 [INFO] [stderr] Checking lexical-write-integer v0.8.5 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling indexmap v2.2.5 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking lexical-write-float v0.8.5 [INFO] [stderr] Checking lexical-parse-float v0.8.5 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling subprocess v0.2.9 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling rust_decimal v1.34.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking lexical-core v0.8.5 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Checking data-encoding v2.5.0 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking lexical v6.1.1 [INFO] [stderr] Checking time v0.3.34 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking crossbeam-channel v0.5.12 [INFO] [stderr] Checking uuid v1.7.0 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking bigdecimal v0.3.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Compiling frunk_proc_macro_helpers v0.1.2 [INFO] [stderr] Compiling derive_utils v0.14.1 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking saturating v0.1.0 [INFO] [stderr] Compiling mysql v24.0.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking lru v0.10.1 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking headers v0.3.9 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking pem v2.0.1 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking bufstream v0.1.4 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling frunk_proc_macros v0.1.2 [INFO] [stderr] Compiling frunk_derives v0.4.2 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling io-enum v1.1.3 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Checking frunk v0.4.2 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Checking tungstenite v0.20.1 [INFO] [stderr] Compiling mysql-common-derive v0.30.2 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling mysql_common v0.30.6 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking tokio-tungstenite v0.20.1 [INFO] [stderr] Checking h2 v0.3.25 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking warp v0.3.6 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking ugo_api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `RwLock` [INFO] [stdout] --> src/main.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::sync::{Mutex, RwLock}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RwLock` [INFO] [stdout] --> src/main.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::sync::{Mutex, RwLock}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::data_structs::ActiveSessionsPool` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::data_structs::ActiveSessionsPool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::data_structs::ActiveSessionsPool` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::data_structs::ActiveSessionsPool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `with_admins_base`, `with_auth_token`, `with_session_pool` [INFO] [stdout] --> src/main.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::dependency_injector::{with_admins_base, with_auth_token, with_pool, with_session_pool}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `with_admins_base`, `with_auth_token`, `with_session_pool` [INFO] [stdout] --> src/main.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::dependency_injector::{with_admins_base, with_auth_token, with_pool, with_session_pool}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `set_token_and_refresh`, `spawn_async_thread_cleaner` [INFO] [stdout] --> src/main.rs:8:57 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::operational_logic::{refresh_pool_connection, set_token_and_refresh, spawn_async_thread_cleaner}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `set_token_and_refresh`, `spawn_async_thread_cleaner` [INFO] [stdout] --> src/main.rs:8:57 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::operational_logic::{refresh_pool_connection, set_token_and_refresh, spawn_async_thread_cleaner}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fill_the_admins` [INFO] [stdout] --> src/main.rs:9:48 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::mysql_logic::{establish_connection, fill_the_admins}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fill_the_admins` [INFO] [stdout] --> src/main.rs:9:48 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::mysql_logic::{establish_connection, fill_the_admins}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `handle_admin_login`, `handle_auth_check` [INFO] [stdout] --> src/main.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::warp_handler::{handle_admin_login, handle_auth_check, handle_writing_task}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `handle_admin_login`, `handle_auth_check` [INFO] [stdout] --> src/main.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::warp_handler::{handle_admin_login, handle_auth_check, handle_writing_task}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/data_structs.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/data_structs.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::SinkExt` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::SinkExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::SinkExt` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::SinkExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mysql::prelude::WithParams` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use mysql::prelude::WithParams; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mysql::prelude::WithParams` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use mysql::prelude::WithParams; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fill_the_admins` is never used [INFO] [stdout] --> src/mysql_logic.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn fill_the_admins(pool : Arc>) -> Result, Error> { // Fill the admins pool from the mySQL da... [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fill_the_admins` is never used [INFO] [stdout] --> src/mysql_logic.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn fill_the_admins(pool : Arc>) -> Result, Error> { // Fill the admins pool from the mySQL da... [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `with_admins_base` is never used [INFO] [stdout] --> src/dependency_injector.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn with_admins_base(base : Arc>>) -> impl Filter>>,), Error = std::convert... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `with_admins_base` is never used [INFO] [stdout] --> src/dependency_injector.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn with_admins_base(base : Arc>>) -> impl Filter>>,), Error = std::convert... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `with_session_pool` is never used [INFO] [stdout] --> src/dependency_injector.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn with_session_pool(session_pool : Arc>>) -> impl Filter>... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `with_session_pool` is never used [INFO] [stdout] --> src/dependency_injector.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn with_session_pool(session_pool : Arc>>) -> impl Filter>... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `with_auth_token` is never used [INFO] [stdout] --> src/dependency_injector.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn with_auth_token(auth_token : Arc>) -> impl Filter>,), Error = std::convert::Infallibl... [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `with_auth_token` is never used [INFO] [stdout] --> src/dependency_injector.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn with_auth_token(auth_token : Arc>) -> impl Filter>,), Error = std::convert::Infallibl... [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `login_try_reply_with_message` is never used [INFO] [stdout] --> src/warp_handler.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn login_try_reply_with_message(message: T, token : T) -> WebResult> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `login_try_reply_with_message` is never used [INFO] [stdout] --> src/warp_handler.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn login_try_reply_with_message(message: T, token : T) -> WebResult> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_auth_check` is never used [INFO] [stdout] --> src/warp_handler.rs:67:14 [INFO] [stdout] | [INFO] [stdout] 67 | pub async fn handle_auth_check(body : AgeStorageCheck, token_pool : Arc>) -> WebResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_auth_check` is never used [INFO] [stdout] --> src/warp_handler.rs:67:14 [INFO] [stdout] | [INFO] [stdout] 67 | pub async fn handle_auth_check(body : AgeStorageCheck, token_pool : Arc>) -> WebResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_admin_login` is never used [INFO] [stdout] --> src/warp_handler.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 76 | pub async fn handle_admin_login(body : LoginRequestData, session_pool : Arc>>, admin_pool : Arc src/data_structs.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const SESSION_DURATION : u16 = 900; // duration of login session in seconds [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_admin_login` is never used [INFO] [stdout] --> src/warp_handler.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 76 | pub async fn handle_admin_login(body : LoginRequestData, session_pool : Arc>>, admin_pool : Arc src/data_structs.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct AdminsData { // Represents the admin which is added in the admins stack of mySQL [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AdminsData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SESSION_DURATION` is never used [INFO] [stdout] --> src/data_structs.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const SESSION_DURATION : u16 = 900; // duration of login session in seconds [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ActiveSessionsPool` is never constructed [INFO] [stdout] --> src/data_structs.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct ActiveSessionsPool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ActiveSessionsPool` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_token_and_refresh` is never used [INFO] [stdout] --> src/operational_logic.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn set_token_and_refresh(token_holder : Arc>) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AdminsData` is never constructed [INFO] [stdout] --> src/data_structs.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct AdminsData { // Represents the admin which is added in the admins stack of mySQL [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AdminsData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_if_login_data_correct` is never used [INFO] [stdout] --> src/operational_logic.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn check_if_login_data_correct(login : String, password : String, pool : &mut MutexGuard>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ActiveSessionsPool` is never constructed [INFO] [stdout] --> src/data_structs.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct ActiveSessionsPool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ActiveSessionsPool` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `spawn_async_thread_cleaner` is never used [INFO] [stdout] --> src/operational_logic.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn spawn_async_thread_cleaner(active_sessions_pool: Arc>>) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `session_reduce_timer_and_filter` is never used [INFO] [stdout] --> src/operational_logic.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn session_reduce_timer_and_filter(cloned : Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_token_and_refresh` is never used [INFO] [stdout] --> src/operational_logic.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn set_token_and_refresh(token_holder : Arc>) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reduce_by_30` is never used [INFO] [stdout] --> src/operational_logic.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn reduce_by_30(object : &ActiveSessionsPool) -> ActiveSessionsPool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_if_login_data_correct` is never used [INFO] [stdout] --> src/operational_logic.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn check_if_login_data_correct(login : String, password : String, pool : &mut MutexGuard>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `spawn_async_thread_cleaner` is never used [INFO] [stdout] --> src/operational_logic.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn spawn_async_thread_cleaner(active_sessions_pool: Arc>>) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `session_reduce_timer_and_filter` is never used [INFO] [stdout] --> src/operational_logic.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn session_reduce_timer_and_filter(cloned : Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reduce_by_30` is never used [INFO] [stdout] --> src/operational_logic.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn reduce_by_30(object : &ActiveSessionsPool) -> ActiveSessionsPool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/operational_logic.rs:87:27 [INFO] [stdout] | [INFO] [stdout] 87 | .filter(|session| session.countdown_secs >= 0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/operational_logic.rs:87:27 [INFO] [stdout] | [INFO] [stdout] 87 | .filter(|session| session.countdown_secs >= 0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.56s [INFO] running `Command { std: "docker" "inspect" "aede6dd46c61c03369606994c5f217b22bc704a00e5e2da409e35e4a0fe69d48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aede6dd46c61c03369606994c5f217b22bc704a00e5e2da409e35e4a0fe69d48", kill_on_drop: false }` [INFO] [stdout] aede6dd46c61c03369606994c5f217b22bc704a00e5e2da409e35e4a0fe69d48