[INFO] cloning repository https://github.com/achmedhibatillah/opendata-project [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/achmedhibatillah/opendata-project" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fachmedhibatillah%2Fopendata-project", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fachmedhibatillah%2Fopendata-project'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 43c8f664c0aedab5e0d6fa6b52fd3f3198e23b6f [INFO] checking achmedhibatillah/opendata-project against master#80b898258da78fdd1262438126aa0cf90e395f0c for pr-149195-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fachmedhibatillah%2Fopendata-project" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/achmedhibatillah/opendata-project [INFO] finished tweaking git repo https://github.com/achmedhibatillah/opendata-project [INFO] tweaked toml for git repo https://github.com/achmedhibatillah/opendata-project written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/achmedhibatillah/opendata-project on toolchain 80b898258da78fdd1262438126aa0cf90e395f0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+80b898258da78fdd1262438126aa0cf90e395f0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/achmedhibatillah/opendata-project 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" "+80b898258da78fdd1262438126aa0cf90e395f0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded validator_types v0.16.0 [INFO] [stderr] Downloaded if_chain v1.0.3 [INFO] [stderr] Downloaded validator v0.16.1 [INFO] [stderr] Downloaded validator_derive v0.16.0 [INFO] [stderr] Downloaded async-std v1.13.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:29356a839a4d14451438f794ce8414e707d72405f44418718d724d22562fe786" "/opt/rustwide/cargo-home/bin/cargo" "+80b898258da78fdd1262438126aa0cf90e395f0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fa4c566010be4016ff0f8a51f7731881b823e8f9494060e29e27c597a6b883a6 [INFO] running `Command { std: "docker" "start" "-a" "fa4c566010be4016ff0f8a51f7731881b823e8f9494060e29e27c597a6b883a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa4c566010be4016ff0f8a51f7731881b823e8f9494060e29e27c597a6b883a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa4c566010be4016ff0f8a51f7731881b823e8f9494060e29e27c597a6b883a6", kill_on_drop: false }` [INFO] [stdout] fa4c566010be4016ff0f8a51f7731881b823e8f9494060e29e27c597a6b883a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:29356a839a4d14451438f794ce8414e707d72405f44418718d724d22562fe786" "/opt/rustwide/cargo-home/bin/cargo" "+80b898258da78fdd1262438126aa0cf90e395f0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 630b9ec0250c09eb77c27815445cc93e493b17851981d29348856fb293776191 [INFO] running `Command { std: "docker" "start" "-a" "630b9ec0250c09eb77c27815445cc93e493b17851981d29348856fb293776191", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.105 [INFO] [stderr] Compiling zerocopy v0.8.33 [INFO] [stderr] Checking value-bag v1.12.0 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking event-listener v5.4.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling quote v1.0.43 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking indexmap v2.13.0 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Compiling async-lock v3.4.2 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cc v1.2.53 [INFO] [stderr] Compiling time-core v0.1.7 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling async-executor v1.13.3 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling time-macros v0.2.25 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rustix v0.37.28 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling zmij v1.0.16 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Checking time v0.3.45 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling chrono v0.4.43 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking async-io v2.6.0 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling convert_case v0.10.0 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking simd-adler32 v0.3.8 [INFO] [stderr] Compiling uuid v1.19.0 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Checking actix-rt v2.11.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling bytestring v1.5.0 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling regex-lite v0.1.8 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Checking async-std v1.13.2 [INFO] [stderr] Checking flate2 v1.1.8 [INFO] [stderr] Checking brotli v8.0.2 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling polling v3.11.0 [INFO] [stderr] Compiling tempfile v3.24.0 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking ryu v1.0.22 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking cookie v0.16.2 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking thiserror v2.0.18 [INFO] [stderr] Checking actix-server v2.6.0 [INFO] [stderr] Compiling validator_types v0.16.0 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling if_chain v1.0.3 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking pem v3.0.6 [INFO] [stderr] Checking is-terminal v0.4.17 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking bcrypt v0.15.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking derive_more v2.1.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking jsonwebtoken v9.3.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Compiling validator_derive v0.16.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking validator v0.16.1 [INFO] [stderr] Checking sqlx-core v0.7.4 [INFO] [stderr] Checking actix-http v3.11.2 [INFO] [stderr] Checking actix-web v4.12.1 [INFO] [stderr] Checking sqlx-postgres v0.7.4 [INFO] [stderr] Checking actix-cors v0.7.1 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking sisima-akademik-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::User` [INFO] [stdout] --> src/entity/user.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | pub use super::User; [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: `super::UserRole` [INFO] [stdout] --> src/entity/user.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | pub use super::UserRole; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/error/app_error.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ErrorResponse` [INFO] [stdout] --> src/error/mod.rs:3:42 [INFO] [stdout] | [INFO] [stdout] 3 | pub use app_error::{AppError, AppResult, ErrorResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UserRepositoryTrait` [INFO] [stdout] --> src/handler/auth_handler.rs:4:41 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::repository::{UserRepository, UserRepositoryTrait}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::AppError` [INFO] [stdout] --> src/middleware/auth.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::error::AppError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util::verify_jwt` [INFO] [stdout] --> src/middleware/auth.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::util::verify_jwt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web` [INFO] [stdout] --> src/middleware/auth.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use actix_web::{web, HttpMessage}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util::JwtConfig` [INFO] [stdout] --> src/middleware/auth.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::util::JwtConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::User` [INFO] [stdout] --> src/entity/user.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | pub use super::User; [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: `super::UserRole` [INFO] [stdout] --> src/entity/user.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | pub use super::UserRole; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/error/app_error.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ErrorResponse` [INFO] [stdout] --> src/error/mod.rs:3:42 [INFO] [stdout] | [INFO] [stdout] 3 | pub use app_error::{AppError, AppResult, ErrorResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UserRepositoryTrait` [INFO] [stdout] --> src/handler/auth_handler.rs:4:41 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::repository::{UserRepository, UserRepositoryTrait}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::AppError` [INFO] [stdout] --> src/middleware/auth.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::error::AppError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util::verify_jwt` [INFO] [stdout] --> src/middleware/auth.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::util::verify_jwt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web` [INFO] [stdout] --> src/middleware/auth.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use actix_web::{web, HttpMessage}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util::JwtConfig` [INFO] [stdout] --> src/middleware/auth.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::util::JwtConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `jwt_secret` and `jwt_expiration_hours` are never read [INFO] [stdout] --> src/config/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | pub jwt_secret: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | pub jwt_expiration_hours: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are 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: struct `SuccessResponse` is never constructed [INFO] [stdout] --> src/dto/mod.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct SuccessResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `email` and `role` are never read [INFO] [stdout] --> src/middleware/auth.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct AuthenticatedUser { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 10 | pub user_id: String, [INFO] [stdout] 11 | pub email: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | pub role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuthenticatedUser` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/middleware/auth.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl AuthenticatedUser { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 16 | pub fn new(user_id: String, email: String, role: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_authenticated_user` is never used [INFO] [stdout] --> src/middleware/auth.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn get_authenticated_user(req: &ServiceRequest) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_role` is never used [INFO] [stdout] --> src/middleware/auth.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn has_role(user: &AuthenticatedUser, required_role: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_jwt` is never used [INFO] [stdout] --> src/util/jwt.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn verify_jwt(token: &str, config: &JwtConfig) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_jwt_expiration_hours` is never used [INFO] [stdout] --> src/util/jwt.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn get_jwt_expiration_hours() -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `jwt_secret` and `jwt_expiration_hours` are never read [INFO] [stdout] --> src/config/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | pub jwt_secret: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | pub jwt_expiration_hours: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are 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: struct `SuccessResponse` is never constructed [INFO] [stdout] --> src/dto/mod.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct SuccessResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `email` and `role` are never read [INFO] [stdout] --> src/middleware/auth.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct AuthenticatedUser { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 10 | pub user_id: String, [INFO] [stdout] 11 | pub email: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | pub role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuthenticatedUser` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/middleware/auth.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl AuthenticatedUser { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 16 | pub fn new(user_id: String, email: String, role: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_authenticated_user` is never used [INFO] [stdout] --> src/middleware/auth.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn get_authenticated_user(req: &ServiceRequest) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_role` is never used [INFO] [stdout] --> src/middleware/auth.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn has_role(user: &AuthenticatedUser, required_role: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_jwt` is never used [INFO] [stdout] --> src/util/jwt.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn verify_jwt(token: &str, config: &JwtConfig) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_jwt_expiration_hours` is never used [INFO] [stdout] --> src/util/jwt.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn get_jwt_expiration_hours() -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 17s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "630b9ec0250c09eb77c27815445cc93e493b17851981d29348856fb293776191", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "630b9ec0250c09eb77c27815445cc93e493b17851981d29348856fb293776191", kill_on_drop: false }` [INFO] [stdout] 630b9ec0250c09eb77c27815445cc93e493b17851981d29348856fb293776191