[INFO] cloning repository https://github.com/Smartanth/Smarinth [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Smartanth/Smarinth" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSmartanth%2FSmarinth", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSmartanth%2FSmarinth'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5783676c5457b485899b455203f246b629007973 [INFO] checking Smartanth/Smarinth against try#5de9e0e6cf775e94e0de2003f35e183f3f77bfe8 for pr-143808 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSmartanth%2FSmarinth" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Smartanth/Smarinth [INFO] finished tweaking git repo https://github.com/Smartanth/Smarinth [INFO] tweaked toml for git repo https://github.com/Smartanth/Smarinth written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Smartanth/Smarinth on toolchain 5de9e0e6cf775e94e0de2003f35e183f3f77bfe8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 351 packages to latest compatible versions [INFO] [stderr] Adding ntex-mqtt v4.6.1 (available: v5.2.1) [INFO] [stderr] Adding toml v0.8.23 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a29ec271e5f79988144d0df1bcaedec72cbb4018305e54436cc3f2a1fe692213 [INFO] running `Command { std: "docker" "start" "-a" "a29ec271e5f79988144d0df1bcaedec72cbb4018305e54436cc3f2a1fe692213", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a29ec271e5f79988144d0df1bcaedec72cbb4018305e54436cc3f2a1fe692213", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a29ec271e5f79988144d0df1bcaedec72cbb4018305e54436cc3f2a1fe692213", kill_on_drop: false }` [INFO] [stdout] a29ec271e5f79988144d0df1bcaedec72cbb4018305e54436cc3f2a1fe692213 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f6692d6c7cfa52ba3f38f1165128b75d9249c2d87aca5c2fa5deddc0fe2a85cf [INFO] running `Command { std: "docker" "start" "-a" "f6692d6c7cfa52ba3f38f1165128b75d9249c2d87aca5c2fa5deddc0fe2a85cf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Checking parking v2.2.1 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking event-listener v5.4.0 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling ntex-service v3.5.0 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling ntex-rt v0.4.32 [INFO] [stderr] Checking async-channel v2.5.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking base64ct v1.8.0 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Checking oneshot v0.1.11 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking anstyle v1.0.11 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Checking anstyle-query v1.1.3 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking core_affinity v0.8.3 [INFO] [stderr] Checking anstream v0.6.19 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Checking clap_lex v0.7.5 [INFO] [stderr] Compiling camino v1.1.10 [INFO] [stderr] Checking nanorand v0.8.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking winnow v0.7.12 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking unicode-width v0.2.1 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking toml_write v0.1.2 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking pem v3.0.5 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking glob v0.3.2 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Compiling ntex-macros v0.1.4 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling variadics_please v1.1.0 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Checking dialoguer v0.11.0 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking ntex-bytes v0.1.30 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Checking ntex-codec v0.6.2 [INFO] [stderr] Checking ntex-http v0.1.14 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking ntex-router v0.5.3 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking cargo-platform v0.1.9 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking jsonwebtoken v9.3.1 [INFO] [stderr] Checking cargo_metadata v0.18.1 [INFO] [stderr] Checking rsa v0.9.8 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking polling v3.9.0 [INFO] [stderr] Checking terminal_size v0.4.2 [INFO] [stderr] Checking clap_builder v4.5.41 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Checking clap v4.5.41 [INFO] [stderr] Checking clap_complete v4.5.55 [INFO] [stderr] Checking backoff v0.4.0 [INFO] [stderr] Checking ntex-util v2.13.0 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Compiling sqlx-mysql v0.8.6 [INFO] [stderr] Checking ntex-io v2.14.0 [INFO] [stderr] Checking ntex-tokio v0.5.3 [INFO] [stderr] Checking ntex-net v2.7.0 [INFO] [stderr] Checking ntex-server v2.8.1 [INFO] [stderr] Checking ntex-tls v2.5.0 [INFO] [stderr] Checking ntex-h2 v1.12.0 [INFO] [stderr] Checking ntex-mqtt v4.6.1 [INFO] [stderr] Checking ntex v2.15.1 [INFO] [stderr] Checking ntex-cors v2.1.0 [INFO] [stderr] Checking sqlx-sqlite v0.8.6 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking sqlx-cli v0.8.6 [INFO] [stderr] Checking smarinth v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `SchemaManager` [INFO] [stdout] --> src/main.rs:10:54 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::configs::{Argon2Hash, Database, Password, SchemaManager, Settings}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JWTAuthMiddleware` [INFO] [stdout] --> src/main.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::middlewares::{JWTAuth, JWTAuthMiddleware}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `MissingIdentity` and `UserUpdateFail` are never constructed [INFO] [stdout] --> src/errors/user_error.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum UserError { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 6 | #[error("User Identity Error: Missing required user identity information. Either name or email must be provided.")] [INFO] [stdout] 7 | MissingIdentity, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | UserUpdateFail, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserUpdateDao` is never constructed [INFO] [stdout] --> src/payload/user_dao.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct UserUpdateDao { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserUpdateDto` is never constructed [INFO] [stdout] --> src/payload/user_dto.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct UserUpdateDto { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update` and `remove` are never used [INFO] [stdout] --> src/repository/user_repository.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 15 | impl UserRepository { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | pub async fn update>(&self, data: T) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub async fn remove(&self, id: i32) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user_repo` is never read [INFO] [stdout] --> src/services/user_service.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct UserService { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 9 | user_repo: Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserService` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find_user` and `update_user` are never used [INFO] [stdout] --> src/services/user_service.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 12 | impl UserService { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub async fn find_user(&self, identity: UserIdentity) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub async fn update_user(&self, identity: UserIdentity, data: UserUpdateDto) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user_service` is never read [INFO] [stdout] --> src/states/user_state.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct UserState { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 7 | pub user_service: Arc, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SchemaManager` [INFO] [stdout] --> src/main.rs:10:54 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::configs::{Argon2Hash, Database, Password, SchemaManager, Settings}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JWTAuthMiddleware` [INFO] [stdout] --> src/main.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::middlewares::{JWTAuth, JWTAuthMiddleware}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `MissingIdentity` and `UserUpdateFail` are never constructed [INFO] [stdout] --> src/errors/user_error.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum UserError { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 6 | #[error("User Identity Error: Missing required user identity information. Either name or email must be provided.")] [INFO] [stdout] 7 | MissingIdentity, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | UserUpdateFail, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserUpdateDao` is never constructed [INFO] [stdout] --> src/payload/user_dao.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct UserUpdateDao { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserUpdateDto` is never constructed [INFO] [stdout] --> src/payload/user_dto.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct UserUpdateDto { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update` is never used [INFO] [stdout] --> src/repository/user_repository.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 15 | impl UserRepository { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | pub async fn update>(&self, data: T) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user_repo` is never read [INFO] [stdout] --> src/services/user_service.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct UserService { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 9 | user_repo: Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserService` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find_user` and `update_user` are never used [INFO] [stdout] --> src/services/user_service.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 12 | impl UserService { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub async fn find_user(&self, identity: UserIdentity) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub async fn update_user(&self, identity: UserIdentity, data: UserUpdateDto) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user_service` is never read [INFO] [stdout] --> src/states/user_state.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct UserState { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 7 | pub user_service: Arc, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 6m 10s [INFO] running `Command { std: "docker" "inspect" "f6692d6c7cfa52ba3f38f1165128b75d9249c2d87aca5c2fa5deddc0fe2a85cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6692d6c7cfa52ba3f38f1165128b75d9249c2d87aca5c2fa5deddc0fe2a85cf", kill_on_drop: false }` [INFO] [stdout] f6692d6c7cfa52ba3f38f1165128b75d9249c2d87aca5c2fa5deddc0fe2a85cf