[INFO] cloning repository https://github.com/Raklit/mini-santa [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Raklit/mini-santa" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRaklit%2Fmini-santa", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRaklit%2Fmini-santa'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a995daaf90551aab4b0ef627f90bdcd9fd8fcc48 [INFO] checking Raklit/mini-santa against try#ed606620234c6b50f2414162c4bbabd5f4a925f3 for pr-147995 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRaklit%2Fmini-santa" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Raklit/mini-santa [INFO] finished tweaking git repo https://github.com/Raklit/mini-santa [INFO] tweaked toml for git repo https://github.com/Raklit/mini-santa written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Raklit/mini-santa on toolchain ed606620234c6b50f2414162c4bbabd5f4a925f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Raklit/mini-santa 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" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df460e7c2e87e55c6015792c488f8e3b6730bbd5810b1a69a6f0254a3a8d669c [INFO] running `Command { std: "docker" "start" "-a" "df460e7c2e87e55c6015792c488f8e3b6730bbd5810b1a69a6f0254a3a8d669c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df460e7c2e87e55c6015792c488f8e3b6730bbd5810b1a69a6f0254a3a8d669c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df460e7c2e87e55c6015792c488f8e3b6730bbd5810b1a69a6f0254a3a8d669c", kill_on_drop: false }` [INFO] [stdout] df460e7c2e87e55c6015792c488f8e3b6730bbd5810b1a69a6f0254a3a8d669c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 92e83ce3bc53ee4d94643eee8940b7a7d0285a4f4e034b922e4dcd04ff6f449b [INFO] running `Command { std: "docker" "start" "-a" "92e83ce3bc53ee4d94643eee8940b7a7d0285a4f4e034b922e4dcd04ff6f449b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling cc v1.2.18 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling rustls v0.23.26 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling webpki-roots v0.26.8 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking bstr v1.11.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking headers-core v0.3.0 [INFO] [stderr] Checking winnow v0.7.12 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking deunicode v1.6.1 [INFO] [stderr] Checking headers v0.4.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking slug v0.1.6 [INFO] [stderr] Checking unic-segment v0.9.0 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking http-range-header v0.4.2 [INFO] [stderr] Checking toml_writer v1.0.2 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking async_fn_traits v0.1.1 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Checking globset v0.4.16 [INFO] [stderr] Checking rustls-webpki v0.103.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking ignore v0.4.23 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking toml_parser v1.0.2 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking globwalk v0.9.1 [INFO] [stderr] Checking axum-core v0.5.2 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling pest v2.8.0 [INFO] [stderr] Checking axum-auth v0.8.1 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Compiling pest_meta v2.8.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Compiling pest_generator v2.8.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Compiling pest_derive v2.8.0 [INFO] [stderr] Checking tokio-util v0.7.14 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking h2 v0.4.8 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking chrono v0.4.40 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking toml_datetime v0.7.0 [INFO] [stderr] Checking serde_spanned v1.0.0 [INFO] [stderr] Checking uuid v1.16.0 [INFO] [stderr] Checking toml v0.9.5 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking sqlx-core v0.8.6 [INFO] [stderr] Checking tera v1.20.0 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking sqlx-sqlite v0.8.6 [INFO] [stderr] Checking hyper-util v0.1.11 [INFO] [stderr] Checking axum v0.8.4 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking axum-extra v0.10.1 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking mini-santa v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `database_config::DatabaseConfig` [INFO] [stdout] --> src/core/config/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use database_config::DatabaseConfig; [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: `server_config::ServerConfig` [INFO] [stdout] --> src/core/config/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use server_config::ServerConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `auth_config::AuthConfig` [INFO] [stdout] --> src/core/config/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use auth_config::AuthConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `any::Any`, `future::Future`, and `process::Output` [INFO] [stdout] --> src/core/functions/universal.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{any::Any, future::Future, num::NonZeroU32, process::Output}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncFnMut2` [INFO] [stdout] --> src/core/functions/universal.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use async_fn_traits::{AsyncFn2, AsyncFnMut2}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `local_object::LocalObject` [INFO] [stdout] --> src/core/data_model/implementations/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use local_object::LocalObject; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `account_related::AccountRelated` [INFO] [stdout] --> src/core/data_model/implementations/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use account_related::AccountRelated; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Executor` [INFO] [stdout] --> src/core/services/account_service.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlx::{Row, Executor}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `execute_script_template_wo_return` and `render_query_template` [INFO] [stdout] --> src/core/services/account_service.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::core::functions::{execute_script_template_wo_return, hash_password, render_query_template}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/core/services/account_service.rs:7:41 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::core::services::db_service::{self, SQLiteDbService}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Executor` [INFO] [stdout] --> src/core/services/client_service.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlx::{Row, Executor}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `execute_script_template_wo_return`, `get_one_item_from_command`, and `render_query_template` [INFO] [stdout] --> src/core/services/client_service.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::core::functions::{execute_script_template_wo_return, get_one_item_from_command, hash_password, render_query_template}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `db_service` [INFO] [stdout] --> src/core/services/account_session_service.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::core::services::{db_service, IDbService, SQLiteDbService}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Executor` [INFO] [stdout] --> src/core/services/auth_code_service.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use sqlx::{Row, Executor}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `render_query_template` [INFO] [stdout] --> src/core/services/auth_code_service.rs:9:65 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::core::functions::{execute_script_template_wo_return, render_query_template}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `db_service` [INFO] [stdout] --> src/core/services/auth_code_service.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::core::services::{db_service, IDbService, SQLiteDbService}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Executor` [INFO] [stdout] --> src/core/services/public_user_info_service.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use sqlx::{Row, Executor}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `execute_script_template_wo_return` and `render_query_template` [INFO] [stdout] --> src/core/services/public_user_info_service.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::core::functions::{execute_script_template_wo_return, render_query_template}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Executor` [INFO] [stdout] --> src/core/services/recovery_user_info_service.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use sqlx::{Row, Executor}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `execute_script_template_wo_return` and `render_query_template` [INFO] [stdout] --> src/core/services/recovery_user_info_service.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::core::functions::{execute_script_template_wo_return, render_query_template}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `db_service` and `escape_string` [INFO] [stdout] --> src/core/services/invite_service.rs:3:121 [INFO] [stdout] | [INFO] [stdout] 3 | ...Invite}, functions::generate_random_token, services::{db_service, escape_string, IDbService, SQLiteDbService}}, AppState}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `db_service` [INFO] [stdout] --> src/core/services/auth_service.rs:6:398 [INFO] [stdout] | [INFO] [stdout] 6 | ...code_safe, create_recovery_user_info, create_roles_user_info, db_service, delete_auth_code_by_id, get_account_by_id, get_auth_code_by_... [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_rooms_by_account_id` [INFO] [stdout] --> src/santa/controllers/room_router.rs:5:326 [INFO] [stdout] | [INFO] [stdout] 5 | ...ool, IPoolRelated, IRoom}}, services::{get_room_by_id, get_rooms_by_account_id, row_to_member, row_to_pool, row_to_room, user_create_r... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pool_router::*` [INFO] [stdout] --> src/santa/controllers/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use pool_router::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `room_router::*` [INFO] [stdout] --> src/santa/controllers/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use room_router::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `member_router::*` [INFO] [stdout] --> src/santa/controllers/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use member_router::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `message_router::*` [INFO] [stdout] --> src/santa/controllers/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use message_router::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::data_model::traits::ILocalObject` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::core::data_model::traits::ILocalObject; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `generate_random_token` [INFO] [stdout] --> src/main.rs:8:43 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::core::functions::{generate_id, generate_random_token}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SQLiteDbService`, `create_roles_user_info`, `row_to_account`, `row_to_role`, and `user_sign_up` [INFO] [stdout] --> src/main.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | ...ices::{create_roles_user_info, init_admin_if_not_exists, row_to_account, row_to_role, user_sign_up, IDbService, SQLiteDbService}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::santa::services::row_to_message` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::santa::services::row_to_message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `is_account_already_exists_by_login` [INFO] [stdout] --> src/main.rs:32:37 [INFO] [stdout] | [INFO] [stdout] 32 | use core::services::{create_client, is_account_already_exists_by_login, is_client_already_exists_by_client_name}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `database_config::DatabaseConfig` [INFO] [stdout] --> src/core/config/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use database_config::DatabaseConfig; [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: `server_config::ServerConfig` [INFO] [stdout] --> src/core/config/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use server_config::ServerConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `auth_config::AuthConfig` [INFO] [stdout] --> src/core/config/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use auth_config::AuthConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `any::Any`, `future::Future`, and `process::Output` [INFO] [stdout] --> src/core/functions/universal.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{any::Any, future::Future, num::NonZeroU32, process::Output}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncFnMut2` [INFO] [stdout] --> src/core/functions/universal.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use async_fn_traits::{AsyncFn2, AsyncFnMut2}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `local_object::LocalObject` [INFO] [stdout] --> src/core/data_model/implementations/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use local_object::LocalObject; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `account_related::AccountRelated` [INFO] [stdout] --> src/core/data_model/implementations/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use account_related::AccountRelated; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Executor` [INFO] [stdout] --> src/core/services/account_service.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlx::{Row, Executor}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `execute_script_template_wo_return` and `render_query_template` [INFO] [stdout] --> src/core/services/account_service.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::core::functions::{execute_script_template_wo_return, hash_password, render_query_template}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/core/services/account_service.rs:7:41 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::core::services::db_service::{self, SQLiteDbService}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Executor` [INFO] [stdout] --> src/core/services/client_service.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlx::{Row, Executor}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `execute_script_template_wo_return`, `get_one_item_from_command`, and `render_query_template` [INFO] [stdout] --> src/core/services/client_service.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::core::functions::{execute_script_template_wo_return, get_one_item_from_command, hash_password, render_query_template}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `db_service` [INFO] [stdout] --> src/core/services/account_session_service.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::core::services::{db_service, IDbService, SQLiteDbService}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Executor` [INFO] [stdout] --> src/core/services/auth_code_service.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use sqlx::{Row, Executor}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `render_query_template` [INFO] [stdout] --> src/core/services/auth_code_service.rs:9:65 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::core::functions::{execute_script_template_wo_return, render_query_template}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `db_service` [INFO] [stdout] --> src/core/services/auth_code_service.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::core::services::{db_service, IDbService, SQLiteDbService}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Executor` [INFO] [stdout] --> src/core/services/public_user_info_service.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use sqlx::{Row, Executor}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `execute_script_template_wo_return` and `render_query_template` [INFO] [stdout] --> src/core/services/public_user_info_service.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::core::functions::{execute_script_template_wo_return, render_query_template}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Executor` [INFO] [stdout] --> src/core/services/recovery_user_info_service.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use sqlx::{Row, Executor}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `execute_script_template_wo_return` and `render_query_template` [INFO] [stdout] --> src/core/services/recovery_user_info_service.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::core::functions::{execute_script_template_wo_return, render_query_template}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `db_service` and `escape_string` [INFO] [stdout] --> src/core/services/invite_service.rs:3:121 [INFO] [stdout] | [INFO] [stdout] 3 | ...Invite}, functions::generate_random_token, services::{db_service, escape_string, IDbService, SQLiteDbService}}, AppState}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `db_service` [INFO] [stdout] --> src/core/services/auth_service.rs:6:398 [INFO] [stdout] | [INFO] [stdout] 6 | ...code_safe, create_recovery_user_info, create_roles_user_info, db_service, delete_auth_code_by_id, get_account_by_id, get_auth_code_by_... [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_rooms_by_account_id` [INFO] [stdout] --> src/santa/controllers/room_router.rs:5:326 [INFO] [stdout] | [INFO] [stdout] 5 | ...ool, IPoolRelated, IRoom}}, services::{get_room_by_id, get_rooms_by_account_id, row_to_member, row_to_pool, row_to_room, user_create_r... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pool_router::*` [INFO] [stdout] --> src/santa/controllers/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use pool_router::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `room_router::*` [INFO] [stdout] --> src/santa/controllers/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use room_router::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `member_router::*` [INFO] [stdout] --> src/santa/controllers/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use member_router::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `message_router::*` [INFO] [stdout] --> src/santa/controllers/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use message_router::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::data_model::traits::ILocalObject` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::core::data_model::traits::ILocalObject; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `generate_random_token` [INFO] [stdout] --> src/main.rs:8:43 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::core::functions::{generate_id, generate_random_token}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SQLiteDbService`, `create_roles_user_info`, `row_to_account`, `row_to_role`, and `user_sign_up` [INFO] [stdout] --> src/main.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | ...ices::{create_roles_user_info, init_admin_if_not_exists, row_to_account, row_to_role, user_sign_up, IDbService, SQLiteDbService}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::santa::services::row_to_message` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::santa::services::row_to_message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `is_account_already_exists_by_login` [INFO] [stdout] --> src/main.rs:32:37 [INFO] [stdout] | [INFO] [stdout] 32 | use core::services::{create_client, is_account_already_exists_by_login, is_client_already_exists_by_client_name}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `santa::data_model::traits::IMember` [INFO] [stdout] --> src/core/functions/universal.rs:9:53 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{core::data_model::traits::ILocalObject, santa::data_model::traits::IMember, AppState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IDbService` [INFO] [stdout] --> src/main.rs:9:122 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::core::services::{create_roles_user_info, init_admin_if_not_exists, row_to_account, row_to_role, user_sign_up, IDbService, SQLi... [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `santa::data_model::traits::IMember` [INFO] [stdout] --> src/core/functions/universal.rs:9:53 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{core::data_model::traits::ILocalObject, santa::data_model::traits::IMember, AppState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IDbService` [INFO] [stdout] --> src/main.rs:9:122 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::core::services::{create_roles_user_info, init_admin_if_not_exists, row_to_account, row_to_role, user_sign_up, IDbService, SQLi... [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `password` [INFO] [stdout] --> src/core/services/auth_service.rs:240:29 [INFO] [stdout] | [INFO] [stdout] 240 | async fn is_password_common(password : &str, state : &AppState) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_password` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/core/services/auth_service.rs:240:46 [INFO] [stdout] | [INFO] [stdout] 240 | async fn is_password_common(password : &str, state : &AppState) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nickname` [INFO] [stdout] --> src/core/services/auth_service.rs:267:33 [INFO] [stdout] | [INFO] [stdout] 267 | async fn is_nickname_restricted(nickname : &str, state : &AppState) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nickname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/core/services/auth_service.rs:267:50 [INFO] [stdout] | [INFO] [stdout] 267 | async fn is_nickname_restricted(nickname : &str, state : &AppState) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `password` [INFO] [stdout] --> src/core/services/auth_service.rs:240:29 [INFO] [stdout] | [INFO] [stdout] 240 | async fn is_password_common(password : &str, state : &AppState) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_password` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/core/services/auth_service.rs:240:46 [INFO] [stdout] | [INFO] [stdout] 240 | async fn is_password_common(password : &str, state : &AppState) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nickname` [INFO] [stdout] --> src/core/services/auth_service.rs:267:33 [INFO] [stdout] | [INFO] [stdout] 267 | async fn is_nickname_restricted(nickname : &str, state : &AppState) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nickname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/core/services/auth_service.rs:267:50 [INFO] [stdout] | [INFO] [stdout] 267 | async fn is_nickname_restricted(nickname : &str, state : &AppState) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `role` [INFO] [stdout] --> src/santa/controllers/member_router.rs:65:27 [INFO] [stdout] | [INFO] [stdout] 65 | let (basic_check, role) = Self::basic_check_perm(state, executor_id).await; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_role` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `role` [INFO] [stdout] --> src/santa/controllers/member_router.rs:65:27 [INFO] [stdout] | [INFO] [stdout] 65 | let (basic_check, role) = Self::basic_check_perm(state, executor_id).await; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_role` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `connection_number` is never read [INFO] [stdout] --> src/core/config/database_config.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct DatabaseConfig { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 5 | pub db_file : String, [INFO] [stdout] 6 | pub connection_number : u64 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DatabaseConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config_secret` is never read [INFO] [stdout] --> src/core/config/server_config.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ServerConfig { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 5 | pub config_secret : String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_id` is never used [INFO] [stdout] --> src/core/data_model/traits/local_object.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait ILocalObject { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 4 | fn set_id(&mut self, id : &str) -> (); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_account_id` is never used [INFO] [stdout] --> src/core/data_model/traits/account_related.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait IAccountRelated : ILocalObject { [INFO] [stdout] | --------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 6 | fn set_account_id(&mut self, account_id : &str) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_login`, `set_password_hash`, and `set_password_salt` are never used [INFO] [stdout] --> src/core/data_model/traits/account.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait IAccount : ILocalObject { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 12 | fn set_login(&mut self, login : &str) -> (); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | [INFO] [stdout] 14 | fn set_password_hash(&mut self, password_hash : &str) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | [INFO] [stdout] 16 | fn set_password_salt(&mut self, passwrod_salt : &str) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `client_name`, `redirect_uri`, `set_client_name`, `set_password_hash`, `set_password_salt`, and `set_redirect_uri` are never used [INFO] [stdout] --> src/core/data_model/traits/client.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait IClient : ILocalObject { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 7 | fn client_name(&self) -> &str; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | fn redirect_uri(&self) -> &str; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | fn set_client_name(&mut self, client_name : &str) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | [INFO] [stdout] 19 | fn set_password_hash(&mut self, password_hash : &str) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | [INFO] [stdout] 21 | fn set_password_salt(&mut self, passwrod_salt : &str) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | [INFO] [stdout] 23 | fn set_redirect_uri(&mut self, redirect_uri : &str) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `code`, `set_code`, and `set_creation_date` are never used [INFO] [stdout] --> src/core/data_model/traits/auth_code.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait IAuthCode : IAccountRelated { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 9 | fn code(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | fn set_code(&mut self, code : &str) -> (); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | [INFO] [stdout] 15 | fn set_creation_date(&mut self, date : DateTime) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_access_token`, `set_refresh_token`, `set_access_token_creation_date`, `set_refresh_token_creation_date`, `set_start_date`, and `set_last_usage_date` are never used [INFO] [stdout] --> src/core/data_model/traits/account_session.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait IAccountSession : IAccountRelated { [INFO] [stdout] | --------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 21 | fn set_access_token(&mut self, access_token : &str) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | [INFO] [stdout] 23 | fn set_refresh_token(&mut self, refresh_token : &str) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | [INFO] [stdout] 25 | fn set_access_token_creation_date(&mut self, access_token_creation_date : DateTime) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | [INFO] [stdout] 27 | fn set_refresh_token_creation_date(&mut self, refresh_token_creation_date : DateTime) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | [INFO] [stdout] 29 | fn set_start_date(&mut self, start_date : DateTime) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 30 | [INFO] [stdout] 31 | fn set_last_usage_date(&mut self, last_usage_date : DateTime) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `params`, `set_role_id`, and `set_params` are never used [INFO] [stdout] --> src/core/data_model/traits/roles_user_info.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait IRolesUserInfo : ILocalObject + IAccountRelated { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 9 | fn params(&self) -> &str; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | [INFO] [stdout] 11 | fn set_role_id(&mut self, role_id : &str) -> (); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 12 | [INFO] [stdout] 13 | fn set_params(&mut self, params : &str) -> (); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `info`, `set_nickname`, and `set_info` are never used [INFO] [stdout] --> src/core/data_model/traits/public_user_info.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait IPublicUserInfo : IAccountRelated { [INFO] [stdout] | --------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 8 | fn info(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | [INFO] [stdout] 10 | fn set_nickname(&mut self, nickname : &str) -> (); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 11 | fn set_info(&mut self, info : &str) -> (); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `phone`, `set_email`, and `set_phone` are never used [INFO] [stdout] --> src/core/data_model/traits/recovery_user_info.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait IRecoveryUserInfo : IAccountRelated { [INFO] [stdout] | ----------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 9 | fn phone(&self) -> &str; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | [INFO] [stdout] 11 | fn set_email(&mut self, email : &str) -> (); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | [INFO] [stdout] 13 | fn set_phone(&mut self, phone : &str) -> (); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name`, `tags`, `set_name`, and `set_tags` are never used [INFO] [stdout] --> src/core/data_model/traits/role.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait IRole : ILocalObject { [INFO] [stdout] | ----- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 7 | async fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | [INFO] [stdout] 9 | async fn tags(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | [INFO] [stdout] 11 | async fn set_name(&mut self, name : &str) -> (); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | [INFO] [stdout] 13 | async fn set_tags(&mut self, tags : &str) -> (); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `invite_code`, `set_invite_code`, and `set_one_use` are never used [INFO] [stdout] --> src/core/data_model/traits/invite.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait IInvite : ILocalObject { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] 4 | fn new(id : &str, invite_code : &str, one_use : bool) -> Self; [INFO] [stdout] 5 | fn invite_code(&self) -> &str; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 6 | fn set_invite_code(&mut self, invite_code : &str) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | fn one_use(&self) -> bool; [INFO] [stdout] 8 | fn set_one_use(&mut self, one_use : bool) -> (); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LocalObject` is never constructed [INFO] [stdout] --> src/core/data_model/implementations/local_object.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct LocalObject { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AccountRelated` is never constructed [INFO] [stdout] --> src/core/data_model/implementations/account_related.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct AccountRelated { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_account_by_ids` is never used [INFO] [stdout] --> src/core/services/account_service.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | pub async fn delete_account_by_ids(ids : Vec<&str>, state : &AppState) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_account_by_logins` is never used [INFO] [stdout] --> src/core/services/account_service.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 68 | pub async fn delete_account_by_logins(logins : Vec<&str>, state : &AppState) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_account_by_id` is never used [INFO] [stdout] --> src/core/services/account_service.rs:73:14 [INFO] [stdout] | [INFO] [stdout] 73 | pub async fn delete_account_by_id(id : &str, state : &AppState) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_account_by_login` is never used [INFO] [stdout] --> src/core/services/account_service.rs:77:14 [INFO] [stdout] | [INFO] [stdout] 77 | pub async fn delete_account_by_login(login : &str, state : &AppState) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_client_already_exists_by_id` is never used [INFO] [stdout] --> src/core/services/client_service.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | pub async fn is_client_already_exists_by_id(id : &str, state : &AppState) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_client_by_id` is never used [INFO] [stdout] --> src/core/services/client_service.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | pub async fn get_client_by_id(id : &str, state : &AppState) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_client_name` is never used [INFO] [stdout] --> src/core/services/client_service.rs:58:14 [INFO] [stdout] | [INFO] [stdout] 58 | pub async fn set_client_name(id : &str, client_name : &str, state : &AppState) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_client_password` is never used [INFO] [stdout] --> src/core/services/client_service.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | pub async fn set_client_password(id : &str, password : &str, state : &AppState) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_client_redirect_uri` is never used [INFO] [stdout] --> src/core/services/client_service.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | pub async fn set_client_redirect_uri(id : &str, redirect_uri : &str, state : &AppState) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_client_by_id` is never used [INFO] [stdout] --> src/core/services/client_service.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 81 | pub async fn delete_client_by_id(id : &str, state : &AppState) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_client_by_client_name` is never used [INFO] [stdout] --> src/core/services/client_service.rs:86:14 [INFO] [stdout] | [INFO] [stdout] 86 | pub async fn delete_client_by_client_name(client_name : &str, state : &AppState) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_account_session_already_exists_by_id` is never used [INFO] [stdout] --> src/core/services/account_session_service.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | pub async fn is_account_session_already_exists_by_id(id : &str, state : &AppState) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_account_session_by_ids` is never used [INFO] [stdout] --> src/core/services/account_session_service.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 61 | pub async fn get_account_session_by_ids(ids : Vec<&str>, state : &AppState) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_account_session_last_usage_date_by_id` is never used [INFO] [stdout] --> src/core/services/account_session_service.rs:94:14 [INFO] [stdout] | [INFO] [stdout] 94 | pub async fn update_account_session_last_usage_date_by_id(id : &str, state : &AppState) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_auth_code_already_exists_by_id` is never used [INFO] [stdout] --> src/core/services/auth_code_service.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | pub async fn is_auth_code_already_exists_by_id(id : &str, state : &AppState) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_auth_code_already_exists_by_code` is never used [INFO] [stdout] --> src/core/services/auth_code_service.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | pub async fn is_auth_code_already_exists_by_code(code : &str, state : &AppState) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_auth_code` is never used [INFO] [stdout] --> src/core/services/auth_code_service.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | pub async fn create_auth_code(id : &str, account_id : &str, code : &str, state : &AppState) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_auth_code_by_id` is never used [INFO] [stdout] --> src/core/services/auth_code_service.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | pub async fn get_auth_code_by_id(id : &str, state : &AppState) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_auth_code_by_code` is never used [INFO] [stdout] --> src/core/services/auth_code_service.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | pub async fn delete_auth_code_by_code(code : &str, state : &AppState) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_public_user_info_already_exists_by_id` is never used [INFO] [stdout] --> src/core/services/public_user_info_service.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | pub async fn is_public_user_info_already_exists_by_id(id : &str, state : &AppState) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_public_user_info_by_id` is never used [INFO] [stdout] --> src/core/services/public_user_info_service.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 35 | pub async fn get_public_user_info_by_id(id : &str, state : &AppState) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_public_user_info_by_nickname` is never used [INFO] [stdout] --> src/core/services/public_user_info_service.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | pub async fn get_public_user_info_by_nickname(nickname : &str, state : &AppState) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_info` is never used [INFO] [stdout] --> src/core/services/public_user_info_service.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | pub async fn set_info(account_id : &str, info : &str, state : &AppState) -> () { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_recovery_user_info_already_exists_by_id` is never used [INFO] [stdout] --> src/core/services/recovery_user_info_service.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn is_recovery_user_info_already_exists_by_id(id : &str, state : &AppState) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_recovery_user_info_by_id` is never used [INFO] [stdout] --> src/core/services/recovery_user_info_service.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | pub async fn get_recovery_user_info_by_id(id : &str, state : &AppState) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_phone` is never used [INFO] [stdout] --> src/core/services/recovery_user_info_service.rs:53:14 [INFO] [stdout] | [INFO] [stdout] 53 | pub async fn set_phone(account_id : &str, phone : &str, state : &AppState) -> () { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_roles_user_info_already_exists_by_id` is never used [INFO] [stdout] --> src/core/services/roles_user_info_service.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | pub async fn is_roles_user_info_already_exists_by_id(id : &str, state : &AppState) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_roles_user_info_already_exists_by_account_id` is never used [INFO] [stdout] --> src/core/services/roles_user_info_service.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | pub async fn is_roles_user_info_already_exists_by_account_id(account_id : &str, state : &AppState) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_roles_user_info_by_id` is never used [INFO] [stdout] --> src/core/services/roles_user_info_service.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 35 | pub async fn get_roles_user_info_by_id(id : &str, state : &AppState) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_roles_user_info_by_account_id` is never used [INFO] [stdout] --> src/core/services/roles_user_info_service.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | pub async fn get_roles_user_info_by_account_id(account_id : &str, state : &AppState) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_role_already_exists_by_id` is never used [INFO] [stdout] --> src/core/services/role_service.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub async fn is_role_already_exists_by_id(id : &str, state : &AppState) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_role_already_exists_by_name` is never used [INFO] [stdout] --> src/core/services/role_service.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | pub async fn is_role_already_exists_by_name(name : &str, state : &AppState) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_role_by_id` is never used [INFO] [stdout] --> src/core/services/role_service.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | pub async fn get_role_by_id(id : &str, state : &AppState) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_role_by_name` is never used [INFO] [stdout] --> src/core/services/role_service.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 35 | pub async fn get_role_by_name(name : &str, state : &AppState) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_name` is never used [INFO] [stdout] --> src/core/services/role_service.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | pub async fn set_name(id : &str, name : &str, state : &AppState) -> () { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_tags` is never used [INFO] [stdout] --> src/core/services/role_service.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | pub async fn set_tags(id : &str, tags : &str, state : &AppState) -> () { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sign_out` is never used [INFO] [stdout] --> src/core/services/auth_service.rs:134:14 [INFO] [stdout] | [INFO] [stdout] 134 | pub async fn sign_out(id : &str, state : &AppState) -> () { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuthenticateHeader` is never constructed [INFO] [stdout] --> src/core/controllers/auth_router.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct AuthenticateHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `redirect_uri` is never read [INFO] [stdout] --> src/core/controllers/auth_router.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct SignInData { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | pub redirect_uri : Option [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `refresh_token_expired` and `refresh_token_not_found` are never used [INFO] [stdout] --> src/core/controllers/api_controller.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl OAuth2ErrorResponse { [INFO] [stdout] | ------------------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn refresh_token_expired() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn refresh_token_not_found() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_room_id` is never used [INFO] [stdout] --> src/santa/data_model/traits/room_related.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait IRoomRelated : ILocalObject { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 6 | fn set_room_id(&mut self, room_id : &str) -> (); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_pool_id` is never used [INFO] [stdout] --> src/santa/data_model/traits/pool_related.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait IPoolRelated : ILocalObject { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 6 | fn set_pool_id(&mut self, pool_id : &str) -> (); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/santa/data_model/traits/pool.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait IPool : IAccountRelated { [INFO] [stdout] | ----- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 10 | fn description(&self) -> &str; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 11 | fn min_price(&self) -> u64; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | fn max_price(&self) -> u64; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | fn creation_date(&self) -> DateTime; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 14 | fn lifetime(&self) -> u64; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | fn set_name(&mut self, name : &str) -> (); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 18 | fn set_description(&mut self, description : &str) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | fn set_min_price(&mut self, min_price : u64) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 20 | fn set_max_price(&mut self, max_price : u64) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 21 | fn set_creation_date(&mut self, creation_date : DateTime) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | fn set_lifetime(&mut self, lifetime : u64) -> (); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 23 | fn set_state(&mut self, state : PoolState) -> (); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_mailer_id`, `set_recipient_id`, and `set_room_state` are never used [INFO] [stdout] --> src/santa/data_model/traits/room.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait IRoom : ILocalObject + IPoolRelated { [INFO] [stdout] | ----- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 9 | fn set_mailer_id(&mut self, mailer_id : &str) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 10 | fn set_recipient_id(&mut self, recipient_id : &str) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | fn set_room_state(&mut self, room_state : RoomState) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_text_content` and `set_creation_date` are never used [INFO] [stdout] --> src/santa/data_model/traits/message.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait IMessage : IAccountRelated + IRoomRelated + IPoolRelated { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 12 | fn set_text_content(&mut self, text_content : &str) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | fn set_creation_date(&mut self, creation_date : DateTime) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_wishlist` is never used [INFO] [stdout] --> src/santa/data_model/traits/member.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait IMember : IAccountRelated + IRoomRelated + IPoolRelated { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 7 | fn set_wishlist(&mut self, wishlist : &str) -> (); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_pools_by_account_id` is never used [INFO] [stdout] --> src/santa/services/pool_service.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | pub async fn get_pools_by_account_id(account_id : &str, state : &AppState) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_pool_by_id` is never used [INFO] [stdout] --> src/santa/services/pool_service.rs:67:14 [INFO] [stdout] | [INFO] [stdout] 67 | pub async fn delete_pool_by_id(id : &str, state : &AppState) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_rooms_by_pool_id` is never used [INFO] [stdout] --> src/santa/services/room_service.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | pub async fn get_rooms_by_pool_id(pool_id : &str, state : &AppState) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_rooms_by_account_id` is never used [INFO] [stdout] --> src/santa/services/room_service.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | pub async fn get_rooms_by_account_id(account_id : &str, state : &AppState) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_room_state_by_id` is never used [INFO] [stdout] --> src/santa/services/room_service.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | pub async fn set_room_state_by_id(id : &str, room_state : RoomState, state : &AppState) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_room_by_id` is never used [INFO] [stdout] --> src/santa/services/room_service.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | pub async fn delete_room_by_id(id : &str, state : &AppState) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_members_by_account_id` is never used [INFO] [stdout] --> src/santa/services/member_service.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn get_members_by_account_id(account_id : &str, state : &AppState) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_members_by_room_id` is never used [INFO] [stdout] --> src/santa/services/member_service.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | pub async fn get_members_by_room_id(room_id : &str, state : &AppState) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_wishlist_by_id` is never used [INFO] [stdout] --> src/santa/services/member_service.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | pub async fn set_wishlist_by_id(id : &str, wishlist : &str, state : &AppState) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_message_by_id` is never used [INFO] [stdout] --> src/santa/services/message_service.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn get_message_by_id(id : &str, state : &AppState) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_messages_by_account_id` is never used [INFO] [stdout] --> src/santa/services/message_service.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | pub async fn get_messages_by_account_id(account_id : &str, state : &AppState) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_messages_by_room_id` is never used [INFO] [stdout] --> src/santa/services/message_service.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | pub async fn get_messages_by_room_id(room_id : &str, state : &AppState) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_messages_by_pool_id` is never used [INFO] [stdout] --> src/santa/services/message_service.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | pub async fn get_messages_by_pool_id(pool_id : &str, state : &AppState) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_message_text_content_by_id` is never used [INFO] [stdout] --> src/santa/services/message_service.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | pub async fn set_message_text_content_by_id(id : &str, text_content : &str, state : &AppState) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_message_by_id` is never used [INFO] [stdout] --> src/santa/services/message_service.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | pub async fn delete_message_by_id(id : &str, state : &AppState) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `user_set_member_wishlist` is never used [INFO] [stdout] --> src/santa/services/santa_service.rs:85:14 [INFO] [stdout] | [INFO] [stdout] 85 | pub async fn user_set_member_wishlist(pool_id : &str, account_id : &str, wishlist : &str, state : &AppState) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreatePoolRequestData` is never constructed [INFO] [stdout] --> src/santa/controllers/santa_router.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct CreatePoolRequestData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `connection_number` is never read [INFO] [stdout] --> src/core/config/database_config.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct DatabaseConfig { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 5 | pub db_file : String, [INFO] [stdout] 6 | pub connection_number : u64 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DatabaseConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config_secret` is never read [INFO] [stdout] --> src/core/config/server_config.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ServerConfig { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 5 | pub config_secret : String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_id` is never used [INFO] [stdout] --> src/core/data_model/traits/local_object.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait ILocalObject { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 4 | fn set_id(&mut self, id : &str) -> (); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_account_id` is never used [INFO] [stdout] --> src/core/data_model/traits/account_related.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait IAccountRelated : ILocalObject { [INFO] [stdout] | --------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 6 | fn set_account_id(&mut self, account_id : &str) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_login`, `set_password_hash`, and `set_password_salt` are never used [INFO] [stdout] --> src/core/data_model/traits/account.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait IAccount : ILocalObject { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 12 | fn set_login(&mut self, login : &str) -> (); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | [INFO] [stdout] 14 | fn set_password_hash(&mut self, password_hash : &str) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | [INFO] [stdout] 16 | fn set_password_salt(&mut self, passwrod_salt : &str) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `client_name`, `redirect_uri`, `set_client_name`, `set_password_hash`, `set_password_salt`, and `set_redirect_uri` are never used [INFO] [stdout] --> src/core/data_model/traits/client.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait IClient : ILocalObject { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 7 | fn client_name(&self) -> &str; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | fn redirect_uri(&self) -> &str; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | fn set_client_name(&mut self, client_name : &str) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | [INFO] [stdout] 19 | fn set_password_hash(&mut self, password_hash : &str) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | [INFO] [stdout] 21 | fn set_password_salt(&mut self, passwrod_salt : &str) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | [INFO] [stdout] 23 | fn set_redirect_uri(&mut self, redirect_uri : &str) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `code`, `set_code`, and `set_creation_date` are never used [INFO] [stdout] --> src/core/data_model/traits/auth_code.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait IAuthCode : IAccountRelated { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 9 | fn code(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | fn set_code(&mut self, code : &str) -> (); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | [INFO] [stdout] 15 | fn set_creation_date(&mut self, date : DateTime) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_access_token`, `set_refresh_token`, `set_access_token_creation_date`, `set_refresh_token_creation_date`, `set_start_date`, and `set_last_usage_date` are never used [INFO] [stdout] --> src/core/data_model/traits/account_session.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait IAccountSession : IAccountRelated { [INFO] [stdout] | --------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 21 | fn set_access_token(&mut self, access_token : &str) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | [INFO] [stdout] 23 | fn set_refresh_token(&mut self, refresh_token : &str) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | [INFO] [stdout] 25 | fn set_access_token_creation_date(&mut self, access_token_creation_date : DateTime) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | [INFO] [stdout] 27 | fn set_refresh_token_creation_date(&mut self, refresh_token_creation_date : DateTime) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | [INFO] [stdout] 29 | fn set_start_date(&mut self, start_date : DateTime) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 30 | [INFO] [stdout] 31 | fn set_last_usage_date(&mut self, last_usage_date : DateTime) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `params`, `set_role_id`, and `set_params` are never used [INFO] [stdout] --> src/core/data_model/traits/roles_user_info.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait IRolesUserInfo : ILocalObject + IAccountRelated { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 9 | fn params(&self) -> &str; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | [INFO] [stdout] 11 | fn set_role_id(&mut self, role_id : &str) -> (); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 12 | [INFO] [stdout] 13 | fn set_params(&mut self, params : &str) -> (); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `info`, `set_nickname`, and `set_info` are never used [INFO] [stdout] --> src/core/data_model/traits/public_user_info.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait IPublicUserInfo : IAccountRelated { [INFO] [stdout] | --------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 8 | fn info(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | [INFO] [stdout] 10 | fn set_nickname(&mut self, nickname : &str) -> (); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 11 | fn set_info(&mut self, info : &str) -> (); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `phone`, `set_email`, and `set_phone` are never used [INFO] [stdout] --> src/core/data_model/traits/recovery_user_info.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait IRecoveryUserInfo : IAccountRelated { [INFO] [stdout] | ----------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 9 | fn phone(&self) -> &str; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | [INFO] [stdout] 11 | fn set_email(&mut self, email : &str) -> (); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | [INFO] [stdout] 13 | fn set_phone(&mut self, phone : &str) -> (); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name`, `tags`, `set_name`, and `set_tags` are never used [INFO] [stdout] --> src/core/data_model/traits/role.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait IRole : ILocalObject { [INFO] [stdout] | ----- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 7 | async fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | [INFO] [stdout] 9 | async fn tags(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | [INFO] [stdout] 11 | async fn set_name(&mut self, name : &str) -> (); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | [INFO] [stdout] 13 | async fn set_tags(&mut self, tags : &str) -> (); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `invite_code`, `set_invite_code`, and `set_one_use` are never used [INFO] [stdout] --> src/core/data_model/traits/invite.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait IInvite : ILocalObject { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] 4 | fn new(id : &str, invite_code : &str, one_use : bool) -> Self; [INFO] [stdout] 5 | fn invite_code(&self) -> &str; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 6 | fn set_invite_code(&mut self, invite_code : &str) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | fn one_use(&self) -> bool; [INFO] [stdout] 8 | fn set_one_use(&mut self, one_use : bool) -> (); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LocalObject` is never constructed [INFO] [stdout] --> src/core/data_model/implementations/local_object.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct LocalObject { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AccountRelated` is never constructed [INFO] [stdout] --> src/core/data_model/implementations/account_related.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct AccountRelated { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_account_by_ids` is never used [INFO] [stdout] --> src/core/services/account_service.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | pub async fn delete_account_by_ids(ids : Vec<&str>, state : &AppState) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_account_by_logins` is never used [INFO] [stdout] --> src/core/services/account_service.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 68 | pub async fn delete_account_by_logins(logins : Vec<&str>, state : &AppState) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_account_by_id` is never used [INFO] [stdout] --> src/core/services/account_service.rs:73:14 [INFO] [stdout] | [INFO] [stdout] 73 | pub async fn delete_account_by_id(id : &str, state : &AppState) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_account_by_login` is never used [INFO] [stdout] --> src/core/services/account_service.rs:77:14 [INFO] [stdout] | [INFO] [stdout] 77 | pub async fn delete_account_by_login(login : &str, state : &AppState) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_client_already_exists_by_id` is never used [INFO] [stdout] --> src/core/services/client_service.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | pub async fn is_client_already_exists_by_id(id : &str, state : &AppState) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_client_by_id` is never used [INFO] [stdout] --> src/core/services/client_service.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | pub async fn get_client_by_id(id : &str, state : &AppState) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_client_name` is never used [INFO] [stdout] --> src/core/services/client_service.rs:58:14 [INFO] [stdout] | [INFO] [stdout] 58 | pub async fn set_client_name(id : &str, client_name : &str, state : &AppState) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_client_password` is never used [INFO] [stdout] --> src/core/services/client_service.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | pub async fn set_client_password(id : &str, password : &str, state : &AppState) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_client_redirect_uri` is never used [INFO] [stdout] --> src/core/services/client_service.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | pub async fn set_client_redirect_uri(id : &str, redirect_uri : &str, state : &AppState) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_client_by_id` is never used [INFO] [stdout] --> src/core/services/client_service.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 81 | pub async fn delete_client_by_id(id : &str, state : &AppState) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_client_by_client_name` is never used [INFO] [stdout] --> src/core/services/client_service.rs:86:14 [INFO] [stdout] | [INFO] [stdout] 86 | pub async fn delete_client_by_client_name(client_name : &str, state : &AppState) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_account_session_already_exists_by_id` is never used [INFO] [stdout] --> src/core/services/account_session_service.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | pub async fn is_account_session_already_exists_by_id(id : &str, state : &AppState) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_account_session_by_ids` is never used [INFO] [stdout] --> src/core/services/account_session_service.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 61 | pub async fn get_account_session_by_ids(ids : Vec<&str>, state : &AppState) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_account_session_last_usage_date_by_id` is never used [INFO] [stdout] --> src/core/services/account_session_service.rs:94:14 [INFO] [stdout] | [INFO] [stdout] 94 | pub async fn update_account_session_last_usage_date_by_id(id : &str, state : &AppState) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_auth_code_already_exists_by_id` is never used [INFO] [stdout] --> src/core/services/auth_code_service.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | pub async fn is_auth_code_already_exists_by_id(id : &str, state : &AppState) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_auth_code_already_exists_by_code` is never used [INFO] [stdout] --> src/core/services/auth_code_service.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | pub async fn is_auth_code_already_exists_by_code(code : &str, state : &AppState) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_auth_code` is never used [INFO] [stdout] --> src/core/services/auth_code_service.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | pub async fn create_auth_code(id : &str, account_id : &str, code : &str, state : &AppState) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_auth_code_by_id` is never used [INFO] [stdout] --> src/core/services/auth_code_service.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | pub async fn get_auth_code_by_id(id : &str, state : &AppState) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_auth_code_by_code` is never used [INFO] [stdout] --> src/core/services/auth_code_service.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | pub async fn delete_auth_code_by_code(code : &str, state : &AppState) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_public_user_info_already_exists_by_id` is never used [INFO] [stdout] --> src/core/services/public_user_info_service.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | pub async fn is_public_user_info_already_exists_by_id(id : &str, state : &AppState) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_public_user_info_by_id` is never used [INFO] [stdout] --> src/core/services/public_user_info_service.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 35 | pub async fn get_public_user_info_by_id(id : &str, state : &AppState) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_public_user_info_by_nickname` is never used [INFO] [stdout] --> src/core/services/public_user_info_service.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | pub async fn get_public_user_info_by_nickname(nickname : &str, state : &AppState) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_info` is never used [INFO] [stdout] --> src/core/services/public_user_info_service.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | pub async fn set_info(account_id : &str, info : &str, state : &AppState) -> () { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_recovery_user_info_already_exists_by_id` is never used [INFO] [stdout] --> src/core/services/recovery_user_info_service.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn is_recovery_user_info_already_exists_by_id(id : &str, state : &AppState) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_recovery_user_info_by_id` is never used [INFO] [stdout] --> src/core/services/recovery_user_info_service.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | pub async fn get_recovery_user_info_by_id(id : &str, state : &AppState) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_phone` is never used [INFO] [stdout] --> src/core/services/recovery_user_info_service.rs:53:14 [INFO] [stdout] | [INFO] [stdout] 53 | pub async fn set_phone(account_id : &str, phone : &str, state : &AppState) -> () { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_roles_user_info_already_exists_by_id` is never used [INFO] [stdout] --> src/core/services/roles_user_info_service.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | pub async fn is_roles_user_info_already_exists_by_id(id : &str, state : &AppState) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_roles_user_info_already_exists_by_account_id` is never used [INFO] [stdout] --> src/core/services/roles_user_info_service.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | pub async fn is_roles_user_info_already_exists_by_account_id(account_id : &str, state : &AppState) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_roles_user_info_by_id` is never used [INFO] [stdout] --> src/core/services/roles_user_info_service.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 35 | pub async fn get_roles_user_info_by_id(id : &str, state : &AppState) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_roles_user_info_by_account_id` is never used [INFO] [stdout] --> src/core/services/roles_user_info_service.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | pub async fn get_roles_user_info_by_account_id(account_id : &str, state : &AppState) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_role_already_exists_by_id` is never used [INFO] [stdout] --> src/core/services/role_service.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub async fn is_role_already_exists_by_id(id : &str, state : &AppState) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_role_already_exists_by_name` is never used [INFO] [stdout] --> src/core/services/role_service.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | pub async fn is_role_already_exists_by_name(name : &str, state : &AppState) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_role_by_id` is never used [INFO] [stdout] --> src/core/services/role_service.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | pub async fn get_role_by_id(id : &str, state : &AppState) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_role_by_name` is never used [INFO] [stdout] --> src/core/services/role_service.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 35 | pub async fn get_role_by_name(name : &str, state : &AppState) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_name` is never used [INFO] [stdout] --> src/core/services/role_service.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | pub async fn set_name(id : &str, name : &str, state : &AppState) -> () { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_tags` is never used [INFO] [stdout] --> src/core/services/role_service.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | pub async fn set_tags(id : &str, tags : &str, state : &AppState) -> () { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sign_out` is never used [INFO] [stdout] --> src/core/services/auth_service.rs:134:14 [INFO] [stdout] | [INFO] [stdout] 134 | pub async fn sign_out(id : &str, state : &AppState) -> () { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuthenticateHeader` is never constructed [INFO] [stdout] --> src/core/controllers/auth_router.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct AuthenticateHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `redirect_uri` is never read [INFO] [stdout] --> src/core/controllers/auth_router.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct SignInData { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | pub redirect_uri : Option [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `refresh_token_expired` and `refresh_token_not_found` are never used [INFO] [stdout] --> src/core/controllers/api_controller.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl OAuth2ErrorResponse { [INFO] [stdout] | ------------------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn refresh_token_expired() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn refresh_token_not_found() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_room_id` is never used [INFO] [stdout] --> src/santa/data_model/traits/room_related.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait IRoomRelated : ILocalObject { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 6 | fn set_room_id(&mut self, room_id : &str) -> (); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_pool_id` is never used [INFO] [stdout] --> src/santa/data_model/traits/pool_related.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait IPoolRelated : ILocalObject { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 6 | fn set_pool_id(&mut self, pool_id : &str) -> (); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/santa/data_model/traits/pool.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait IPool : IAccountRelated { [INFO] [stdout] | ----- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 10 | fn description(&self) -> &str; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 11 | fn min_price(&self) -> u64; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | fn max_price(&self) -> u64; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | fn creation_date(&self) -> DateTime; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 14 | fn lifetime(&self) -> u64; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | fn set_name(&mut self, name : &str) -> (); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 18 | fn set_description(&mut self, description : &str) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | fn set_min_price(&mut self, min_price : u64) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 20 | fn set_max_price(&mut self, max_price : u64) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 21 | fn set_creation_date(&mut self, creation_date : DateTime) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | fn set_lifetime(&mut self, lifetime : u64) -> (); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 23 | fn set_state(&mut self, state : PoolState) -> (); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_mailer_id`, `set_recipient_id`, and `set_room_state` are never used [INFO] [stdout] --> src/santa/data_model/traits/room.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait IRoom : ILocalObject + IPoolRelated { [INFO] [stdout] | ----- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 9 | fn set_mailer_id(&mut self, mailer_id : &str) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 10 | fn set_recipient_id(&mut self, recipient_id : &str) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | fn set_room_state(&mut self, room_state : RoomState) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_text_content` and `set_creation_date` are never used [INFO] [stdout] --> src/santa/data_model/traits/message.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait IMessage : IAccountRelated + IRoomRelated + IPoolRelated { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 12 | fn set_text_content(&mut self, text_content : &str) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | fn set_creation_date(&mut self, creation_date : DateTime) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_wishlist` is never used [INFO] [stdout] --> src/santa/data_model/traits/member.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait IMember : IAccountRelated + IRoomRelated + IPoolRelated { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 7 | fn set_wishlist(&mut self, wishlist : &str) -> (); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_pools_by_account_id` is never used [INFO] [stdout] --> src/santa/services/pool_service.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | pub async fn get_pools_by_account_id(account_id : &str, state : &AppState) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_pool_by_id` is never used [INFO] [stdout] --> src/santa/services/pool_service.rs:67:14 [INFO] [stdout] | [INFO] [stdout] 67 | pub async fn delete_pool_by_id(id : &str, state : &AppState) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_rooms_by_pool_id` is never used [INFO] [stdout] --> src/santa/services/room_service.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | pub async fn get_rooms_by_pool_id(pool_id : &str, state : &AppState) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_rooms_by_account_id` is never used [INFO] [stdout] --> src/santa/services/room_service.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | pub async fn get_rooms_by_account_id(account_id : &str, state : &AppState) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_room_state_by_id` is never used [INFO] [stdout] --> src/santa/services/room_service.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | pub async fn set_room_state_by_id(id : &str, room_state : RoomState, state : &AppState) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_room_by_id` is never used [INFO] [stdout] --> src/santa/services/room_service.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | pub async fn delete_room_by_id(id : &str, state : &AppState) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_members_by_account_id` is never used [INFO] [stdout] --> src/santa/services/member_service.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn get_members_by_account_id(account_id : &str, state : &AppState) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_members_by_room_id` is never used [INFO] [stdout] --> src/santa/services/member_service.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | pub async fn get_members_by_room_id(room_id : &str, state : &AppState) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_wishlist_by_id` is never used [INFO] [stdout] --> src/santa/services/member_service.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | pub async fn set_wishlist_by_id(id : &str, wishlist : &str, state : &AppState) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_message_by_id` is never used [INFO] [stdout] --> src/santa/services/message_service.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn get_message_by_id(id : &str, state : &AppState) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_messages_by_account_id` is never used [INFO] [stdout] --> src/santa/services/message_service.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | pub async fn get_messages_by_account_id(account_id : &str, state : &AppState) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_messages_by_room_id` is never used [INFO] [stdout] --> src/santa/services/message_service.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | pub async fn get_messages_by_room_id(room_id : &str, state : &AppState) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_messages_by_pool_id` is never used [INFO] [stdout] --> src/santa/services/message_service.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | pub async fn get_messages_by_pool_id(pool_id : &str, state : &AppState) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_message_text_content_by_id` is never used [INFO] [stdout] --> src/santa/services/message_service.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | pub async fn set_message_text_content_by_id(id : &str, text_content : &str, state : &AppState) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_message_by_id` is never used [INFO] [stdout] --> src/santa/services/message_service.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | pub async fn delete_message_by_id(id : &str, state : &AppState) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `user_set_member_wishlist` is never used [INFO] [stdout] --> src/santa/services/santa_service.rs:85:14 [INFO] [stdout] | [INFO] [stdout] 85 | pub async fn user_set_member_wishlist(pool_id : &str, account_id : &str, wishlist : &str, state : &AppState) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreatePoolRequestData` is never constructed [INFO] [stdout] --> src/santa/controllers/santa_router.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct CreatePoolRequestData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 43s [INFO] running `Command { std: "docker" "inspect" "92e83ce3bc53ee4d94643eee8940b7a7d0285a4f4e034b922e4dcd04ff6f449b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92e83ce3bc53ee4d94643eee8940b7a7d0285a4f4e034b922e4dcd04ff6f449b", kill_on_drop: false }` [INFO] [stdout] 92e83ce3bc53ee4d94643eee8940b7a7d0285a4f4e034b922e4dcd04ff6f449b