[INFO] cloning repository https://github.com/rifqidamarali/support-desk
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rifqidamarali/support-desk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frifqidamarali%2Fsupport-desk", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frifqidamarali%2Fsupport-desk'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fadd893f497066c22f793c1a5287e9b61edb7246
[INFO] checking rifqidamarali/support-desk against 3154cc1a3e6424e44f438a95007d043ed5ceaaf6+rustflags=-Znext-solver=coherence for pr-133502-30
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frifqidamarali%2Fsupport-desk" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/rifqidamarali/support-desk
[INFO] finished tweaking git repo https://github.com/rifqidamarali/support-desk
[INFO] tweaked toml for git repo https://github.com/rifqidamarali/support-desk written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/rifqidamarali/support-desk on toolchain 3154cc1a3e6424e44f438a95007d043ed5ceaaf6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/rifqidamarali/support-desk 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" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded validator_derive v0.18.2
[INFO] [stderr]   Downloaded validator v0.18.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] b9b5bceb5a05a87979f0c8bf4721da914e32342ed2002c4b0fe5484a92308de2
[INFO] running `Command { std: "docker" "start" "b9b5bceb5a05a87979f0c8bf4721da914e32342ed2002c4b0fe5484a92308de2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b9b5bceb5a05a87979f0c8bf4721da914e32342ed2002c4b0fe5484a92308de2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b9b5bceb5a05a87979f0c8bf4721da914e32342ed2002c4b0fe5484a92308de2" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b9b5bceb5a05a87979f0c8bf4721da914e32342ed2002c4b0fe5484a92308de2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Znext-solver=coherence" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b9b5bceb5a05a87979f0c8bf4721da914e32342ed2002c4b0fe5484a92308de2" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling openssl-sys v0.9.117
[INFO] [stderr]    Compiling zerofrom v0.1.8
[INFO] [stderr]     Checking yoke v0.8.3
[INFO] [stderr]     Checking bytes v1.12.0
[INFO] [stderr]    Compiling serde_json v1.0.150
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking crypto-common v0.1.7
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking zerovec v0.11.6
[INFO] [stderr]    Compiling zerotrie v0.2.4
[INFO] [stderr]    Compiling openssl v0.10.81
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]    Compiling icu_properties_data v2.2.0
[INFO] [stderr]    Compiling icu_normalizer_data v2.2.0
[INFO] [stderr]    Compiling futures-core v0.3.32
[INFO] [stderr]     Checking http v1.4.2
[INFO] [stderr]    Compiling zerocopy v0.8.52
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]     Checking tinystr v0.8.3
[INFO] [stderr]    Compiling potential_utf v0.1.5
[INFO] [stderr]     Checking icu_locale_core v2.2.0
[INFO] [stderr]    Compiling icu_collections v2.2.0
[INFO] [stderr]    Compiling mio v1.2.1
[INFO] [stderr]    Compiling socket2 v0.6.4
[INFO] [stderr]    Compiling bitflags v2.13.0
[INFO] [stderr]    Compiling futures-sink v0.3.32
[INFO] [stderr]     Checking icu_provider v2.2.0
[INFO] [stderr]    Compiling tinyvec v1.11.0
[INFO] [stderr]    Compiling tokio v1.52.3
[INFO] [stderr]     Checking icu_properties v2.2.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling futures-task v0.3.32
[INFO] [stderr]    Compiling futures-io v0.3.32
[INFO] [stderr]    Compiling event-listener v5.4.1
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking smallvec v1.15.2
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]    Compiling icu_normalizer v2.2.0
[INFO] [stderr]    Compiling idna_adapter v1.2.2
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling either v1.16.0
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling chrono v0.4.45
[INFO] [stderr]     Checking unicode-normalization v0.1.25
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling uuid v1.23.3
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling rand v0.8.6
[INFO] [stderr]     Checking getrandom v0.4.3
[INFO] [stderr]    Compiling futures-channel v0.3.32
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling sqlx-core v0.8.6
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]     Checking hkdf v0.12.4
[INFO] [stderr]     Checking time v0.3.51
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking hyper v1.10.1
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]     Checking atoi v2.0.0
[INFO] [stderr]     Checking password-hash v0.5.0
[INFO] [stderr]     Checking axum-core v0.5.6
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking regex v1.12.4
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]    Compiling validator_derive v0.18.2
[INFO] [stderr]    Compiling sqlx-postgres v0.8.6
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]     Checking simple_asn1 v0.6.4
[INFO] [stderr]     Checking blake2 v0.10.6
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]     Checking argon2 v0.5.3
[INFO] [stderr]     Checking tower-http v0.6.11
[INFO] [stderr]     Checking axum v0.8.9
[INFO] [stderr]     Checking validator v0.18.1
[INFO] [stderr]     Checking jsonwebtoken v9.3.1
[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 support-desk v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repositories/ticket_repository.rs:19:19
[INFO] [stdout]    |
[INFO] [stdout] 19 |           let res = sqlx::query_as!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 20 | |         Ticket,
[INFO] [stdout] 21 | |         r#"
[INFO] [stdout] 22 | |         INSERT INTO tickets (
[INFO] [stdout] ...  |
[INFO] [stdout] 56 | |         ticket.updated_at,
[INFO] [stdout] 57 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repositories/ticket_repository.rs:65:19
[INFO] [stdout]    |
[INFO] [stdout] 65 |           let res = sqlx::query_as!(Ticket, r#"SELECT id, customer_id, agent_id, 
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 66 | |             category as "category: TicketCategory",
[INFO] [stdout] 67 | |             priority as "priority: TicketPriority",
[INFO] [stdout] 68 | |             status as "status: TicketStatus",
[INFO] [stdout] 69 | |             subject, description, created_at, updated_at FROM tickets WHERE id = $1"#, id).fetch_optional(&self.pool).await;
[INFO] [stdout]    | |__________________________________________________________________________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repositories/ticket_repository.rs:109:19
[INFO] [stdout]     |
[INFO] [stdout] 109 |           let res = sqlx::query_as!(Ticket, r#"UPDATE tickets SET id = $1, customer_id = $2, agent_id = $3,
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 110 | |             category = COALESCE($4, category),
[INFO] [stdout] 111 | |             priority = COALESCE($5, priority),
[INFO] [stdout] 112 | |             status = COALESCE($6, status),
[INFO] [stdout] ...   |
[INFO] [stdout] 133 | |         id
[INFO] [stdout] 134 | |         ).fetch_one(&self.pool).await;
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repositories/ticket_repository.rs:143:19
[INFO] [stdout]     |
[INFO] [stdout] 143 |         let res = sqlx::query!("DELETE FROM tickets WHERE id = $1", id).execute(&self.pool).await;
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repositories/user_repository.rs:50:18
[INFO] [stdout]    |
[INFO] [stdout] 50 |          let res = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 51 | |         User,
[INFO] [stdout] 52 | |         r#"SELECT id, name, email, password, 
[INFO] [stdout] 53 | |            role as "role: Role", 
[INFO] [stdout] ...  |
[INFO] [stdout] 56 | |         id
[INFO] [stdout] 57 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repositories/user_repository.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 68 | / ...   sqlx::query_as!(User, r#"SELECT id, name, email, password, 
[INFO] [stdout] 69 | | ...       role as "role: Role", created_at, updated_at FROM users WHERE email = $1 "#, email).fetch_optional(&self.pool).await.map...
[INFO] [stdout]    | |_____________________________________________________________________________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repositories/user_repository.rs:73:19
[INFO] [stdout]    |
[INFO] [stdout] 73 |           let res = sqlx::query_as!(User, r#"UPDATE users SET 
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 74 | |                 name = COALESCE($1, name), 
[INFO] [stdout] 75 | |                 email = COALESCE($2, email), 
[INFO] [stdout] 76 | |                 role = COALESCE($3, role), 
[INFO] [stdout] ...  |
[INFO] [stdout] 91 | |         payload.updated_at,
[INFO] [stdout] 92 | |         id).
[INFO] [stdout]    | |___________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repositories/user_repository.rs:102:22
[INFO] [stdout]     |
[INFO] [stdout] 102 |         let result = sqlx::query!("DELETE FROM users WHERE id = $1", id).execute(&self.pool).await?;
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repositories/answer_repository.rs:18:19
[INFO] [stdout]    |
[INFO] [stdout] 18 |   ...   let res = sqlx::query_as!(Answer, r#"INSERT INTO answers (id, ticket_id, user_id, message, created_at, updated_at) 
[INFO] [stdout]    |  _________________^
[INFO] [stdout] 19 | | ...       VALUES
[INFO] [stdout] 20 | | ...       ($1, $2, $3, $4, $5, $6)
[INFO] [stdout] 21 | | ...       RETURNING
[INFO] [stdout] 22 | | ...       id, ticket_id, user_id, message, created_at, updated_at
[INFO] [stdout] 23 | | ...       "#, answer.id, answer.ticket_id, answer.user_id, answer.message, answer.created_at, answer.updated_at).fetch_one(&self.p...
[INFO] [stdout]    | |________________________________________________________________________________________________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repositories/answer_repository.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |         sqlx::query_as!(Answer, r#"SELECT * FROM answers WHERE id = $1"#, id)
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repositories/answer_repository.rs:42:20
[INFO] [stdout]    |
[INFO] [stdout] 42 |           let rows = sqlx::query!(r#"SELECT 
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 43 | |             t.id as ticket_id,
[INFO] [stdout] 44 | |             a.id as "answer_id?",
[INFO] [stdout] 45 | |             a.user_id as "user_id?",
[INFO] [stdout] ...  |
[INFO] [stdout] 50 | |             LEFT JOIN answers a ON a.ticket_id = t.id
[INFO] [stdout] 51 | |             WHERE t.id = $1"#, ticket_id).fetch_all(&self.pool).await.map_err(|err| RepoError::Other(err.to_string()))?;
[INFO] [stdout]    | |_________________________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repositories/answer_repository.rs:69:9
[INFO] [stdout]    |
[INFO] [stdout] 69 | ...   sqlx::query_as!(Answer, "UPDATE answers SET message = COALESCE($1, message), updated_at = $2 WHERE id = $3 RETURNING *", answer.message, Utc::now(), id).fe...
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repositories/answer_repository.rs:74:19
[INFO] [stdout]    |
[INFO] [stdout] 74 | ...   let res = sqlx::query!("DELETE FROM answers WHERE id = $1", id).execute(&self.pool).await.map_err(|err| RepoError::Other(err.t...
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Date`
[INFO] [stdout]  --> src/dto/user_dto.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | use chrono::{Date, DateTime, Utc};
[INFO] [stdout]   |              ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FromRequest`, `Request`, and `rejection::JsonRejection`
[INFO] [stdout]  --> src/common/error.rs:2:22
[INFO] [stdout]   |
[INFO] [stdout] 2 | use axum::{extract::{FromRequest, Request, rejection::JsonRejection}, Json, http::StatusCode, response::{IntoResponse, Response}};
[INFO] [stdout]   |                      ^^^^^^^^^^^  ^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Query`
[INFO] [stdout]  --> src/handlers/user_handler.rs:2:38
[INFO] [stdout]   |
[INFO] [stdout] 2 |     Extension, Json, extract::{Path, Query, State} 
[INFO] [stdout]   |                                      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `auth_service::AuthService`
[INFO] [stdout]  --> src/handlers/user_handler.rs:8:64
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::{dto::user_dto::*, models::auth::Claims, services::{auth_service::AuthService, user_service::UserService}};
[INFO] [stdout]   |                                                                ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `body`
[INFO] [stdout]  --> src/handlers/ticket_handler.rs:2:22
[INFO] [stdout]   |
[INFO] [stdout] 2 |     Extension, Json, body, extract::{Path, Query, State}
[INFO] [stdout]   |                      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::Deserialize`
[INFO] [stdout]  --> src/handlers/ticket_handler.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde::Deserialize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Value` and `json`
[INFO] [stdout]  --> src/handlers/ticket_handler.rs:6:18
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde_json::{Value, json};
[INFO] [stdout]   |                  ^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `TicketCategory`, `TicketPriority`, `TicketStatus`, and `self`
[INFO] [stdout]  --> src/handlers/ticket_handler.rs:9:45
[INFO] [stdout]   |
[INFO] [stdout] 9 | ...ims, ticket::{TicketCategory, TicketPriority, TicketStatus}}, services::ticket_service::TicketService, state::{self, AppState}};
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^  ^^^^^^^^^^^^                                                     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AppState` and `self`
[INFO] [stdout]  --> src/handlers/answer_handler.rs:5:212
[INFO] [stdout]   |
[INFO] [stdout] 5 | ...Claims}, services::answer_service::AnswerService, state::{self, AppState}};
[INFO] [stdout]   |                                                              ^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter::Filter`
[INFO] [stdout]  --> src/services/ticket_service.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::iter::Filter;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid`
[INFO] [stdout]  --> src/services/answer_service.rs:4:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | use uuid::{Uuid, uuid};
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::error::Category`
[INFO] [stdout]  --> src/repositories/ticket_repository.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde_json::error::Category;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `TicketCategory`, `TicketPriority`, and `TicketStatus`
[INFO] [stdout]  --> src/repositories/ticket_repository.rs:6:96
[INFO] [stdout]   |
[INFO] [stdout] 6 | ...o::TicketFilters, models::ticket::{Ticket, TicketCategory, TicketPriority, TicketStatus}};
[INFO] [stdout]   |                                               ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Role`
[INFO] [stdout]  --> src/repositories/user_repository.rs:2:54
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::{common::error::RepoError, models::user::{Role, UpdateUserPayload, User}};
[INFO] [stdout]   |                                                      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::Utc`
[INFO] [stdout]  --> src/repositories/answer_repository.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::Utc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/repositories/answer_repository.rs:5:87
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::{common::error::RepoError, dto::answer_dto::UpdateAnswer, models::answer::{self, Answer}};
[INFO] [stdout]   |                                                                                       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]  --> src/db.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::env;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/state.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `StatusCode`
[INFO] [stdout]  --> src/middleware/auth.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 |     http::{StatusCode, header::AUTHORIZATION},
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `delete`
[INFO] [stdout]  --> src/routes/ticket_route.rs:1:60
[INFO] [stdout]   |
[INFO] [stdout] 1 | use axum::{Router, middleware, routing::{get, patch, post, delete}};
[INFO] [stdout]   |                                                            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Route` and `extract::State`
[INFO] [stdout]  --> src/routes/answer_route.rs:1:20
[INFO] [stdout]   |
[INFO] [stdout] 1 | use axum::{Router, extract::State, middleware, routing::{Route, get, post, put}};
[INFO] [stdout]   |                    ^^^^^^^^^^^^^^                        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime<Tz>` instead
[INFO] [stdout]  --> src/dto/user_dto.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | use chrono::{Date, DateTime, Utc};
[INFO] [stdout]   |              ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repositories/ticket_repository.rs:19:19
[INFO] [stdout]    |
[INFO] [stdout] 19 |           let res = sqlx::query_as!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 20 | |         Ticket,
[INFO] [stdout] 21 | |         r#"
[INFO] [stdout] 22 | |         INSERT INTO tickets (
[INFO] [stdout] ...  |
[INFO] [stdout] 56 | |         ticket.updated_at,
[INFO] [stdout] 57 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repositories/ticket_repository.rs:65:19
[INFO] [stdout]    |
[INFO] [stdout] 65 |           let res = sqlx::query_as!(Ticket, r#"SELECT id, customer_id, agent_id, 
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 66 | |             category as "category: TicketCategory",
[INFO] [stdout] 67 | |             priority as "priority: TicketPriority",
[INFO] [stdout] 68 | |             status as "status: TicketStatus",
[INFO] [stdout] 69 | |             subject, description, created_at, updated_at FROM tickets WHERE id = $1"#, id).fetch_optional(&self.pool).await;
[INFO] [stdout]    | |__________________________________________________________________________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repositories/ticket_repository.rs:109:19
[INFO] [stdout]     |
[INFO] [stdout] 109 |           let res = sqlx::query_as!(Ticket, r#"UPDATE tickets SET id = $1, customer_id = $2, agent_id = $3,
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 110 | |             category = COALESCE($4, category),
[INFO] [stdout] 111 | |             priority = COALESCE($5, priority),
[INFO] [stdout] 112 | |             status = COALESCE($6, status),
[INFO] [stdout] ...   |
[INFO] [stdout] 133 | |         id
[INFO] [stdout] 134 | |         ).fetch_one(&self.pool).await;
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repositories/ticket_repository.rs:143:19
[INFO] [stdout]     |
[INFO] [stdout] 143 |         let res = sqlx::query!("DELETE FROM tickets WHERE id = $1", id).execute(&self.pool).await;
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repositories/user_repository.rs:50:18
[INFO] [stdout]    |
[INFO] [stdout] 50 |          let res = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 51 | |         User,
[INFO] [stdout] 52 | |         r#"SELECT id, name, email, password, 
[INFO] [stdout] 53 | |            role as "role: Role", 
[INFO] [stdout] ...  |
[INFO] [stdout] 56 | |         id
[INFO] [stdout] 57 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repositories/user_repository.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 68 | / ...   sqlx::query_as!(User, r#"SELECT id, name, email, password, 
[INFO] [stdout] 69 | | ...       role as "role: Role", created_at, updated_at FROM users WHERE email = $1 "#, email).fetch_optional(&self.pool).await.map...
[INFO] [stdout]    | |_____________________________________________________________________________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repositories/user_repository.rs:73:19
[INFO] [stdout]    |
[INFO] [stdout] 73 |           let res = sqlx::query_as!(User, r#"UPDATE users SET 
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 74 | |                 name = COALESCE($1, name), 
[INFO] [stdout] 75 | |                 email = COALESCE($2, email), 
[INFO] [stdout] 76 | |                 role = COALESCE($3, role), 
[INFO] [stdout] ...  |
[INFO] [stdout] 91 | |         payload.updated_at,
[INFO] [stdout] 92 | |         id).
[INFO] [stdout]    | |___________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repositories/user_repository.rs:102:22
[INFO] [stdout]     |
[INFO] [stdout] 102 |         let result = sqlx::query!("DELETE FROM users WHERE id = $1", id).execute(&self.pool).await?;
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repositories/answer_repository.rs:18:19
[INFO] [stdout]    |
[INFO] [stdout] 18 |   ...   let res = sqlx::query_as!(Answer, r#"INSERT INTO answers (id, ticket_id, user_id, message, created_at, updated_at) 
[INFO] [stdout]    |  _________________^
[INFO] [stdout] 19 | | ...       VALUES
[INFO] [stdout] 20 | | ...       ($1, $2, $3, $4, $5, $6)
[INFO] [stdout] 21 | | ...       RETURNING
[INFO] [stdout] 22 | | ...       id, ticket_id, user_id, message, created_at, updated_at
[INFO] [stdout] 23 | | ...       "#, answer.id, answer.ticket_id, answer.user_id, answer.message, answer.created_at, answer.updated_at).fetch_one(&self.p...
[INFO] [stdout]    | |________________________________________________________________________________________________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repositories/answer_repository.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |         sqlx::query_as!(Answer, r#"SELECT * FROM answers WHERE id = $1"#, id)
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repositories/answer_repository.rs:42:20
[INFO] [stdout]    |
[INFO] [stdout] 42 |           let rows = sqlx::query!(r#"SELECT 
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 43 | |             t.id as ticket_id,
[INFO] [stdout] 44 | |             a.id as "answer_id?",
[INFO] [stdout] 45 | |             a.user_id as "user_id?",
[INFO] [stdout] ...  |
[INFO] [stdout] 50 | |             LEFT JOIN answers a ON a.ticket_id = t.id
[INFO] [stdout] 51 | |             WHERE t.id = $1"#, ticket_id).fetch_all(&self.pool).await.map_err(|err| RepoError::Other(err.to_string()))?;
[INFO] [stdout]    | |_________________________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repositories/answer_repository.rs:69:9
[INFO] [stdout]    |
[INFO] [stdout] 69 | ...   sqlx::query_as!(Answer, "UPDATE answers SET message = COALESCE($1, message), updated_at = $2 WHERE id = $3 RETURNING *", answer.message, Utc::now(), id).fe...
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repositories/answer_repository.rs:74:19
[INFO] [stdout]    |
[INFO] [stdout] 74 | ...   let res = sqlx::query!("DELETE FROM answers WHERE id = $1", id).execute(&self.pool).await.map_err(|err| RepoError::Other(err.t...
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Date`
[INFO] [stdout]  --> src/dto/user_dto.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | use chrono::{Date, DateTime, Utc};
[INFO] [stdout]   |              ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FromRequest`, `Request`, and `rejection::JsonRejection`
[INFO] [stdout]  --> src/common/error.rs:2:22
[INFO] [stdout]   |
[INFO] [stdout] 2 | use axum::{extract::{FromRequest, Request, rejection::JsonRejection}, Json, http::StatusCode, response::{IntoResponse, Response}};
[INFO] [stdout]   |                      ^^^^^^^^^^^  ^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Query`
[INFO] [stdout]  --> src/handlers/user_handler.rs:2:38
[INFO] [stdout]   |
[INFO] [stdout] 2 |     Extension, Json, extract::{Path, Query, State} 
[INFO] [stdout]   |                                      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `auth_service::AuthService`
[INFO] [stdout]  --> src/handlers/user_handler.rs:8:64
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::{dto::user_dto::*, models::auth::Claims, services::{auth_service::AuthService, user_service::UserService}};
[INFO] [stdout]   |                                                                ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `body`
[INFO] [stdout]  --> src/handlers/ticket_handler.rs:2:22
[INFO] [stdout]   |
[INFO] [stdout] 2 |     Extension, Json, body, extract::{Path, Query, State}
[INFO] [stdout]   |                      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::Deserialize`
[INFO] [stdout]  --> src/handlers/ticket_handler.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde::Deserialize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Value` and `json`
[INFO] [stdout]  --> src/handlers/ticket_handler.rs:6:18
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde_json::{Value, json};
[INFO] [stdout]   |                  ^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `TicketCategory`, `TicketPriority`, `TicketStatus`, and `self`
[INFO] [stdout]  --> src/handlers/ticket_handler.rs:9:45
[INFO] [stdout]   |
[INFO] [stdout] 9 | ...ims, ticket::{TicketCategory, TicketPriority, TicketStatus}}, services::ticket_service::TicketService, state::{self, AppState}};
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^  ^^^^^^^^^^^^                                                     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AppState` and `self`
[INFO] [stdout]  --> src/handlers/answer_handler.rs:5:212
[INFO] [stdout]   |
[INFO] [stdout] 5 | ...Claims}, services::answer_service::AnswerService, state::{self, AppState}};
[INFO] [stdout]   |                                                              ^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter::Filter`
[INFO] [stdout]  --> src/services/ticket_service.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::iter::Filter;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid`
[INFO] [stdout]  --> src/services/answer_service.rs:4:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | use uuid::{Uuid, uuid};
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::error::Category`
[INFO] [stdout]  --> src/repositories/ticket_repository.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde_json::error::Category;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `TicketCategory`, `TicketPriority`, and `TicketStatus`
[INFO] [stdout]  --> src/repositories/ticket_repository.rs:6:96
[INFO] [stdout]   |
[INFO] [stdout] 6 | ...o::TicketFilters, models::ticket::{Ticket, TicketCategory, TicketPriority, TicketStatus}};
[INFO] [stdout]   |                                               ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Role`
[INFO] [stdout]  --> src/repositories/user_repository.rs:2:54
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::{common::error::RepoError, models::user::{Role, UpdateUserPayload, User}};
[INFO] [stdout]   |                                                      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::Utc`
[INFO] [stdout]  --> src/repositories/answer_repository.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::Utc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/repositories/answer_repository.rs:5:87
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::{common::error::RepoError, dto::answer_dto::UpdateAnswer, models::answer::{self, Answer}};
[INFO] [stdout]   |                                                                                       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]  --> src/db.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::env;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/state.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `StatusCode`
[INFO] [stdout]  --> src/middleware/auth.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 |     http::{StatusCode, header::AUTHORIZATION},
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `delete`
[INFO] [stdout]  --> src/routes/ticket_route.rs:1:60
[INFO] [stdout]   |
[INFO] [stdout] 1 | use axum::{Router, middleware, routing::{get, patch, post, delete}};
[INFO] [stdout]   |                                                            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Route` and `extract::State`
[INFO] [stdout]  --> src/routes/answer_route.rs:1:20
[INFO] [stdout]   |
[INFO] [stdout] 1 | use axum::{Router, extract::State, middleware, routing::{Route, get, post, put}};
[INFO] [stdout]   |                    ^^^^^^^^^^^^^^                        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime<Tz>` instead
[INFO] [stdout]  --> src/dto/user_dto.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | use chrono::{Date, DateTime, Utc};
[INFO] [stdout]   |              ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]    --> src/repositories/ticket_repository.rs:151:14
[INFO] [stdout]     |
[INFO] [stdout] 151 |         if r.rows_affected() == 0 {
[INFO] [stdout]     |              ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider providing a type annotation
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #156047 <https://github.com/rust-lang/rust/issues/156047>
[INFO] [stdout]     = note: `#[warn(method_call_on_diverging_infer_var)]` (part of `#[warn(future_incompatible)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `rows_affected` found for type `!` in the current scope
[INFO] [stdout]    --> src/repositories/ticket_repository.rs:151:14
[INFO] [stdout]     |
[INFO] [stdout] 151 |         if r.rows_affected() == 0 {
[INFO] [stdout]     |              ^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]    --> src/repositories/user_repository.rs:103:19
[INFO] [stdout]     |
[INFO] [stdout] 103 |         if result.rows_affected() == 0 {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider providing a type annotation
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #156047 <https://github.com/rust-lang/rust/issues/156047>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `rows_affected` found for type `!` in the current scope
[INFO] [stdout]    --> src/repositories/user_repository.rs:103:19
[INFO] [stdout]     |
[INFO] [stdout] 103 |         if result.rows_affected() == 0 {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]    --> src/repositories/ticket_repository.rs:151:14
[INFO] [stdout]     |
[INFO] [stdout] 151 |         if r.rows_affected() == 0 {
[INFO] [stdout]     |              ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider providing a type annotation
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #156047 <https://github.com/rust-lang/rust/issues/156047>
[INFO] [stdout]     = note: `#[warn(method_call_on_diverging_infer_var)]` (part of `#[warn(future_incompatible)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `rows_affected` found for type `!` in the current scope
[INFO] [stdout]    --> src/repositories/ticket_repository.rs:151:14
[INFO] [stdout]     |
[INFO] [stdout] 151 |         if r.rows_affected() == 0 {
[INFO] [stdout]     |              ^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]    --> src/repositories/user_repository.rs:103:19
[INFO] [stdout]     |
[INFO] [stdout] 103 |         if result.rows_affected() == 0 {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider providing a type annotation
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #156047 <https://github.com/rust-lang/rust/issues/156047>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `rows_affected` found for type `!` in the current scope
[INFO] [stdout]    --> src/repositories/user_repository.rs:103:19
[INFO] [stdout]     |
[INFO] [stdout] 103 |         if result.rows_affected() == 0 {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/handlers/user_handler.rs:26:37
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let _= body.validate().map_err(|err| AppError::BadRequest("coba lagi".into()));
[INFO] [stdout]    |                                     ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `support-desk` (bin "support-desk" test) due to 15 previous errors; 27 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/handlers/user_handler.rs:26:37
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let _= body.validate().map_err(|err| AppError::BadRequest("coba lagi".into()));
[INFO] [stdout]    |                                     ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `support-desk` (bin "support-desk") due to 15 previous errors; 27 warnings emitted
[INFO] [stderr] warning: unused dependency `rand_core`
[INFO] [stderr]  --> Cargo.toml:6:1
[INFO] [stderr]   |
[INFO] [stderr] 6 | rand_core = "0.10.1"
[INFO] [stderr]   | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `rand_core`
[INFO] [stderr] warning: unused dependency `tower-http`
[INFO] [stderr]   --> Cargo.toml:28:15
[INFO] [stderr]    |
[INFO] [stderr] 28 | [dependencies.tower-http]
[INFO] [stderr]    |               ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `tower-http`
[INFO] [stderr] warning: `support-desk` (manifest) generated 2 warnings
[INFO] running `Command { std: "docker" "inspect" "b9b5bceb5a05a87979f0c8bf4721da914e32342ed2002c4b0fe5484a92308de2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b9b5bceb5a05a87979f0c8bf4721da914e32342ed2002c4b0fe5484a92308de2", kill_on_drop: false }`
[INFO] [stdout] b9b5bceb5a05a87979f0c8bf4721da914e32342ed2002c4b0fe5484a92308de2
