[INFO] cloning repository https://github.com/AmmarAlGhifary/uai_secureshare_backend
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AmmarAlGhifary/uai_secureshare_backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmmarAlGhifary%2Fuai_secureshare_backend", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmmarAlGhifary%2Fuai_secureshare_backend'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 26d4a49a9cf8251c682d99141e803de385a6fd52
[INFO] checking AmmarAlGhifary/uai_secureshare_backend against try#438eb4c1a1c3841523d7f672601e8adbe04cff28 for pr-147589-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmmarAlGhifary%2Fuai_secureshare_backend" "/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/AmmarAlGhifary/uai_secureshare_backend
[INFO] finished tweaking git repo https://github.com/AmmarAlGhifary/uai_secureshare_backend
[INFO] tweaked toml for git repo https://github.com/AmmarAlGhifary/uai_secureshare_backend written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AmmarAlGhifary/uai_secureshare_backend on toolchain 438eb4c1a1c3841523d7f672601e8adbe04cff28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/AmmarAlGhifary/uai_secureshare_backend 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" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 44e08edf8a9dcc953ce66236e5a3850e0526430f0ad6ebb82407396ef02a1749
[INFO] running `Command { std: "docker" "start" "-a" "44e08edf8a9dcc953ce66236e5a3850e0526430f0ad6ebb82407396ef02a1749", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "44e08edf8a9dcc953ce66236e5a3850e0526430f0ad6ebb82407396ef02a1749", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "44e08edf8a9dcc953ce66236e5a3850e0526430f0ad6ebb82407396ef02a1749", kill_on_drop: false }`
[INFO] [stdout] 44e08edf8a9dcc953ce66236e5a3850e0526430f0ad6ebb82407396ef02a1749
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e2e571ffb936008d73b69481d36f3b4b68ff3be90a68b9f0a6ae36d85bb97ec5
[INFO] running `Command { std: "docker" "start" "-a" "e2e571ffb936008d73b69481d36f3b4b68ff3be90a68b9f0a6ae36d85bb97ec5", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.92
[INFO] [stderr]    Compiling libc v0.2.168
[INFO] [stderr]    Compiling serde v1.0.216
[INFO] [stderr]    Compiling cc v1.2.4
[INFO] [stderr]     Checking value-bag v1.10.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.15
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]     Checking tracing-core v0.1.33
[INFO] [stderr]     Checking bytes v1.9.0
[INFO] [stderr]     Checking log v0.4.22
[INFO] [stderr]     Checking const-oid v0.9.6
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling serde_json v1.0.133
[INFO] [stderr]    Compiling syn v2.0.90
[INFO] [stderr]    Compiling io-lifetimes v1.0.11
[INFO] [stderr]    Compiling litemap v0.7.4
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling event-listener v5.3.1
[INFO] [stderr]    Compiling polling v2.8.0
[INFO] [stderr]    Compiling rustix v0.38.42
[INFO] [stderr]    Compiling rustix v0.37.27
[INFO] [stderr]    Compiling openssl v0.10.68
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]    Compiling event-listener-strategy v0.5.3
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.0
[INFO] [stderr]    Compiling futures-lite v2.5.0
[INFO] [stderr]    Compiling async-io v1.13.0
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]    Compiling icu_properties_data v1.5.0
[INFO] [stderr]     Checking http v1.2.0
[INFO] [stderr]    Compiling openssl-sys v0.9.104
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling async-task v4.7.1
[INFO] [stderr]    Compiling atomic-waker v1.1.2
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.0
[INFO] [stderr]    Compiling piper v0.2.4
[INFO] [stderr]    Compiling async-channel v2.3.1
[INFO] [stderr]    Compiling async-lock v3.4.0
[INFO] [stderr]     Checking base64ct v1.6.0
[INFO] [stderr]    Compiling blocking v1.6.1
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]    Compiling async-executor v1.13.1
[INFO] [stderr]     Checking socket2 v0.5.8
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking mio v1.0.3
[INFO] [stderr]    Compiling linux-raw-sys v0.3.8
[INFO] [stderr]    Compiling fastrand v1.9.0
[INFO] [stderr]    Compiling waker-fn v1.2.0
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling tinyvec v1.8.0
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling futures-lite v1.13.0
[INFO] [stderr]    Compiling async-lock v2.8.0
[INFO] [stderr]    Compiling async-channel v1.9.0
[INFO] [stderr]    Compiling socket2 v0.4.10
[INFO] [stderr]    Compiling kv-log-macro v1.0.7
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling cpufeatures v0.2.16
[INFO] [stderr]    Compiling iana-time-zone v0.1.61
[INFO] [stderr]    Compiling itoa v1.0.14
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling time-macros v0.2.19
[INFO] [stderr]    Compiling chrono v0.4.39
[INFO] [stderr]     Checking deranged v0.3.11
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling sqlformat v0.2.6
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]     Checking pem-rfc7468 v0.7.0
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]     Checking lazy_static v1.5.0
[INFO] [stderr]    Compiling crossbeam-queue v0.3.11
[INFO] [stderr]     Checking unicode-bidi v0.3.17
[INFO] [stderr]    Compiling uuid v1.11.0
[INFO] [stderr]     Checking minimal-lexical v0.2.1
[INFO] [stderr]     Checking time-core v0.1.2
[INFO] [stderr]     Checking time v0.3.37
[INFO] [stderr]    Compiling serde_derive v1.0.216
[INFO] [stderr]    Compiling zerofrom-derive v0.1.5
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling zerofrom v0.1.5
[INFO] [stderr]    Compiling yoke v0.7.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling zerovec v0.10.4
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]    Compiling tinystr v0.7.6
[INFO] [stderr]    Compiling icu_collections v1.5.0
[INFO] [stderr]    Compiling polling v3.7.4
[INFO] [stderr]    Compiling icu_locid v1.5.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling async-io v2.4.0
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling icu_provider v1.5.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling async-global-executor v2.4.1
[INFO] [stderr]    Compiling icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling hashlink v0.9.1
[INFO] [stderr]    Compiling async-std v1.13.0
[INFO] [stderr]     Checking icu_properties v1.5.1
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking icu_normalizer v1.5.0
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking tokio v1.42.0
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]     Checking idna_adapter v1.2.0
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]     Checking der v0.7.9
[INFO] [stderr]     Checking http-body-util v0.1.2
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling sqlx-core v0.8.2
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling multer v3.1.0
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling home v0.5.9
[INFO] [stderr]     Checking hashbrown v0.15.2
[INFO] [stderr]    Compiling whoami v1.5.2
[INFO] [stderr]     Checking spki v0.7.3
[INFO] [stderr]     Checking indexmap v2.7.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling async-trait v0.1.83
[INFO] [stderr]    Compiling tempfile v3.14.0
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]     Checking atoi v2.0.0
[INFO] [stderr]     Checking hyper v1.5.1
[INFO] [stderr]    Compiling cookie v0.18.1
[INFO] [stderr]    Compiling num-bigint-dig v0.8.4
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]    Compiling sqlx-postgres v0.8.2
[INFO] [stderr]     Checking hyper-util v0.1.10
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]    Compiling validator_types v0.16.0
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]     Checking pkcs8 v0.10.2
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_path_to_error v0.1.16
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking num-iter v0.1.45
[INFO] [stderr]     Checking cipher v0.3.0
[INFO] [stderr]    Compiling tokio-cron-scheduler v0.13.0
[INFO] [stderr]    Compiling if_chain v1.0.2
[INFO] [stderr]     Checking matchit v0.7.3
[INFO] [stderr]     Checking axum v0.7.9
[INFO] [stderr]    Compiling validator_derive v0.16.0
[INFO] [stderr]     Checking simple_asn1 v0.6.2
[INFO] [stderr]     Checking pkcs1 v0.7.5
[INFO] [stderr]     Checking pem v3.0.4
[INFO] [stderr]     Checking croner v2.1.0
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]     Checking idna v0.4.0
[INFO] [stderr]     Checking sharded-slab v0.1.7
[INFO] [stderr]     Checking password-hash v0.5.0
[INFO] [stderr]     Checking signature v2.2.0
[INFO] [stderr]     Checking blake2 v0.10.6
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking thread_local v1.1.8
[INFO] [stderr]     Checking block-modes v0.8.1
[INFO] [stderr]     Checking jsonwebtoken v9.3.0
[INFO] [stderr]     Checking validator v0.16.1
[INFO] [stderr]     Checking aes v0.7.5
[INFO] [stderr]     Checking tracing-subscriber v0.3.19
[INFO] [stderr]     Checking argon2 v0.5.3
[INFO] [stderr]     Checking rsa v0.9.7
[INFO] [stderr]     Checking tower-http v0.5.2
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.2
[INFO] [stderr]    Compiling sqlx-macros v0.8.2
[INFO] [stderr]     Checking sqlx v0.8.2
[INFO] [stderr]     Checking axum-extra v0.9.6
[INFO] [stderr]     Checking uai_secureshare_backend 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/db.rs:106:20
[INFO] [stdout]     |
[INFO] [stdout] 106 |               user = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 107 | |                 User,
[INFO] [stdout] 108 | |                 r#"SELECT id, name, email, password, public_key, created_at, updated_at FROM users WHERE id = $1"#,
[INFO] [stdout] 109 | |                 user_id
[INFO] [stdout] 110 | |             ).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/db.rs:112:20
[INFO] [stdout]     |
[INFO] [stdout] 112 |               user = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 113 | |                 User,
[INFO] [stdout] 114 | |                 r#"SELECT id, name, email, password, public_key, created_at, updated_at FROM users WHERE name = $1"#,
[INFO] [stdout] 115 | |                 name
[INFO] [stdout] 116 | |             ).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/db.rs:118:20
[INFO] [stdout]     |
[INFO] [stdout] 118 |               user = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 119 | |                 User,
[INFO] [stdout] 120 | |                 r#"SELECT id, name, email, password, public_key, created_at, updated_at FROM users WHERE email = $1"#,
[INFO] [stdout] 121 | |                 email
[INFO] [stdout] 122 | |             ).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/db.rs:134:20
[INFO] [stdout]     |
[INFO] [stdout] 134 |           let user = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 135 | |             User,
[INFO] [stdout] 136 | |             r#"
[INFO] [stdout] 137 | |             INSERT INTO users (name, email, password) 
[INFO] [stdout] ...   |
[INFO] [stdout] 143 | |             password.into()
[INFO] [stdout] 144 | |         )
[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/db.rs:155:20
[INFO] [stdout]     |
[INFO] [stdout] 155 |           let user = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 156 | |             User,
[INFO] [stdout] 157 | |             r#"
[INFO] [stdout] 158 | |             UPDATE users
[INFO] [stdout] ...   |
[INFO] [stdout] 164 | |             user_id
[INFO] [stdout] 165 | |         )
[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/db.rs:177:20
[INFO] [stdout]     |
[INFO] [stdout] 177 |           let user = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 178 | |             User,
[INFO] [stdout] 179 | |             r#"
[INFO] [stdout] 180 | |             UPDATE users
[INFO] [stdout] ...   |
[INFO] [stdout] 186 | |             user_id
[INFO] [stdout] 187 | |         )
[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/db.rs:195:9
[INFO] [stdout]     |
[INFO] [stdout] 195 | /         sqlx::query_as!(
[INFO] [stdout] 196 | |             User,
[INFO] [stdout] 197 | |             r#"
[INFO] [stdout] 198 | |             UPDATE users
[INFO] [stdout] ...   |
[INFO] [stdout] 204 | |             user_id
[INFO] [stdout] 205 | |         )
[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/db.rs:216:20
[INFO] [stdout]     |
[INFO] [stdout] 216 |           let user = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 217 | |             User,
[INFO] [stdout] 218 | |             r#"
[INFO] [stdout] 219 | |             SELECT id, name, email, password, public_key, created_at, updated_at
[INFO] [stdout] ...   |
[INFO] [stdout] 226 | |             user_id
[INFO] [stdout] 227 | |         )
[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/db.rs:246:29
[INFO] [stdout]     |
[INFO] [stdout] 246 |           let file_id: Uuid = sqlx::query_scalar!(
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 247 | |             r#"
[INFO] [stdout] 248 | |             INSERT INTO files (user_id, file_name, file_size, encrypted_aes_key, encrypted_file, iv, created_at)
[INFO] [stdout] 249 | |             VALUES ($1, $2, $3, $4, $5, $6, NOW())
[INFO] [stdout] ...   |
[INFO] [stdout] 257 | |             iv
[INFO] [stdout] 258 | |         )
[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_scalar` (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/db.rs:263:9
[INFO] [stdout]     |
[INFO] [stdout] 263 | /         sqlx::query!(
[INFO] [stdout] 264 | |             r#"
[INFO] [stdout] 265 | |             INSERT INTO shared_links (file_id, recipient_user_id, password, expiration_date, created_at)
[INFO] [stdout] 266 | |             VALUES ($1, $2, $3, $4, NOW())
[INFO] [stdout] ...   |
[INFO] [stdout] 271 | |             expiration_date
[INFO] [stdout] 272 | |         )
[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/db.rs:284:27
[INFO] [stdout]     |
[INFO] [stdout] 284 |           let shared_link = sqlx::query_as!(
[INFO] [stdout]     |  ___________________________^
[INFO] [stdout] 285 | |             SharedLink,
[INFO] [stdout] 286 | |             r#"
[INFO] [stdout] 287 | |             SELECT id, file_id, recipient_user_id, password, expiration_date, created_at
[INFO] [stdout] ...   |
[INFO] [stdout] 294 | |             user_id,
[INFO] [stdout] 295 | |         )
[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/db.rs:306:20
[INFO] [stdout]     |
[INFO] [stdout] 306 |           let file = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 307 | |             File,
[INFO] [stdout] 308 | |             r#"
[INFO] [stdout] 309 | |             SELECT id, user_id, file_name, file_size, encrypted_aes_key, encrypted_file, iv, created_at
[INFO] [stdout] ...   |
[INFO] [stdout] 313 | |             file_id
[INFO] [stdout] 314 | |         )
[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/db.rs:328:21
[INFO] [stdout]     |
[INFO] [stdout] 328 |           let files = sqlx::query_as!(
[INFO] [stdout]     |  _____________________^
[INFO] [stdout] 329 | |             SentFileDetails,
[INFO] [stdout] 330 | |             r#"
[INFO] [stdout] 331 | |                 SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 352 | |             offset as i64,
[INFO] [stdout] 353 | |         )
[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/db.rs:357:25
[INFO] [stdout]     |
[INFO] [stdout] 357 |           let count_row = sqlx::query_scalar!(
[INFO] [stdout]     |  _________________________^
[INFO] [stdout] 358 | |             r#"
[INFO] [stdout] 359 | |                 SELECT COUNT(*)
[INFO] [stdout] 360 | |                 FROM shared_links sl
[INFO] [stdout] ...   |
[INFO] [stdout] 364 | |             user_id,
[INFO] [stdout] 365 | |         )
[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_scalar` (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/db.rs:382:21
[INFO] [stdout]     |
[INFO] [stdout] 382 |           let files = sqlx::query_as!(
[INFO] [stdout]     |  _____________________^
[INFO] [stdout] 383 | |             ReceiveFileDetails,
[INFO] [stdout] 384 | |             r#"
[INFO] [stdout] 385 | |                 SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 406 | |             offset as i64,
[INFO] [stdout] 407 | |         )
[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/db.rs:411:25
[INFO] [stdout]     |
[INFO] [stdout] 411 |           let count_row = sqlx::query_scalar!(
[INFO] [stdout]     |  _________________________^
[INFO] [stdout] 412 | |             r#"
[INFO] [stdout] 413 | |                 SELECT COUNT(*)
[INFO] [stdout] 414 | |                 FROM shared_links sl
[INFO] [stdout] ...   |
[INFO] [stdout] 418 | |             user_id,
[INFO] [stdout] 419 | |         )
[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_scalar` (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/db.rs:432:47
[INFO] [stdout]     |
[INFO] [stdout] 432 |           let expired_shared_links: Vec<Uuid> = sqlx::query_scalar!(
[INFO] [stdout]     |  _______________________________________________^
[INFO] [stdout] 433 | |             r#"
[INFO] [stdout] 434 | |             SELECT sl.id
[INFO] [stdout] 435 | |             FROM shared_links sl
[INFO] [stdout] 436 | |             WHERE sl.expiration_date < NOW()
[INFO] [stdout] 437 | |             "#,
[INFO] [stdout] 438 | |         ).
[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_scalar` (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/db.rs:447:43
[INFO] [stdout]     |
[INFO] [stdout] 447 |           let expired_file_ids: Vec<Uuid> = sqlx::query_scalar!(
[INFO] [stdout]     |  ___________________________________________^
[INFO] [stdout] 448 | |             r#"
[INFO] [stdout] 449 | |             SELECT f.id
[INFO] [stdout] 450 | |             FROM files f
[INFO] [stdout] ...   |
[INFO] [stdout] 456 | |             "#,
[INFO] [stdout] 457 | |         )
[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_scalar` (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/db.rs:461:9
[INFO] [stdout]     |
[INFO] [stdout] 461 | /         sqlx::query!(
[INFO] [stdout] 462 | |             r#"
[INFO] [stdout] 463 | |             DELETE FROM shared_links
[INFO] [stdout] 464 | |             WHERE id = ANY($1)
[INFO] [stdout] 465 | |             "#,
[INFO] [stdout] 466 | |             &expired_shared_links[..] // Pass the list of expired shared link IDs
[INFO] [stdout] 467 | |         )
[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/db.rs:472:9
[INFO] [stdout]     |
[INFO] [stdout] 472 | /         sqlx::query!(
[INFO] [stdout] 473 | |             r#"
[INFO] [stdout] 474 | |             DELETE FROM files
[INFO] [stdout] 475 | |             WHERE id = ANY($1)
[INFO] [stdout] 476 | |             "#,
[INFO] [stdout] 477 | |             &expired_file_ids[..] // Pass the list of expired file IDs
[INFO] [stdout] 478 | |         )
[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 imports: `ErrorMessage` and `HttpError`
[INFO] [stdout]  --> src/utils/token.rs:5:20
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::error::{ErrorMessage, HttpError};
[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: `errors::Error as JwtError` and `errors::ErrorKind`
[INFO] [stdout]  --> src/middleware.rs:6:20
[INFO] [stdout]   |
[INFO] [stdout] 6 | use jsonwebtoken::{errors::Error as JwtError, errors::ErrorKind};
[INFO] [stdout]   |                    ^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^
[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/db.rs:106:20
[INFO] [stdout]     |
[INFO] [stdout] 106 |               user = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 107 | |                 User,
[INFO] [stdout] 108 | |                 r#"SELECT id, name, email, password, public_key, created_at, updated_at FROM users WHERE id = $1"#,
[INFO] [stdout] 109 | |                 user_id
[INFO] [stdout] 110 | |             ).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/db.rs:112:20
[INFO] [stdout]     |
[INFO] [stdout] 112 |               user = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 113 | |                 User,
[INFO] [stdout] 114 | |                 r#"SELECT id, name, email, password, public_key, created_at, updated_at FROM users WHERE name = $1"#,
[INFO] [stdout] 115 | |                 name
[INFO] [stdout] 116 | |             ).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/db.rs:118:20
[INFO] [stdout]     |
[INFO] [stdout] 118 |               user = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 119 | |                 User,
[INFO] [stdout] 120 | |                 r#"SELECT id, name, email, password, public_key, created_at, updated_at FROM users WHERE email = $1"#,
[INFO] [stdout] 121 | |                 email
[INFO] [stdout] 122 | |             ).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/db.rs:134:20
[INFO] [stdout]     |
[INFO] [stdout] 134 |           let user = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 135 | |             User,
[INFO] [stdout] 136 | |             r#"
[INFO] [stdout] 137 | |             INSERT INTO users (name, email, password) 
[INFO] [stdout] ...   |
[INFO] [stdout] 143 | |             password.into()
[INFO] [stdout] 144 | |         )
[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/db.rs:155:20
[INFO] [stdout]     |
[INFO] [stdout] 155 |           let user = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 156 | |             User,
[INFO] [stdout] 157 | |             r#"
[INFO] [stdout] 158 | |             UPDATE users
[INFO] [stdout] ...   |
[INFO] [stdout] 164 | |             user_id
[INFO] [stdout] 165 | |         )
[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/db.rs:177:20
[INFO] [stdout]     |
[INFO] [stdout] 177 |           let user = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 178 | |             User,
[INFO] [stdout] 179 | |             r#"
[INFO] [stdout] 180 | |             UPDATE users
[INFO] [stdout] ...   |
[INFO] [stdout] 186 | |             user_id
[INFO] [stdout] 187 | |         )
[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/db.rs:195:9
[INFO] [stdout]     |
[INFO] [stdout] 195 | /         sqlx::query_as!(
[INFO] [stdout] 196 | |             User,
[INFO] [stdout] 197 | |             r#"
[INFO] [stdout] 198 | |             UPDATE users
[INFO] [stdout] ...   |
[INFO] [stdout] 204 | |             user_id
[INFO] [stdout] 205 | |         )
[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/db.rs:216:20
[INFO] [stdout]     |
[INFO] [stdout] 216 |           let user = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 217 | |             User,
[INFO] [stdout] 218 | |             r#"
[INFO] [stdout] 219 | |             SELECT id, name, email, password, public_key, created_at, updated_at
[INFO] [stdout] ...   |
[INFO] [stdout] 226 | |             user_id
[INFO] [stdout] 227 | |         )
[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/db.rs:246:29
[INFO] [stdout]     |
[INFO] [stdout] 246 |           let file_id: Uuid = sqlx::query_scalar!(
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 247 | |             r#"
[INFO] [stdout] 248 | |             INSERT INTO files (user_id, file_name, file_size, encrypted_aes_key, encrypted_file, iv, created_at)
[INFO] [stdout] 249 | |             VALUES ($1, $2, $3, $4, $5, $6, NOW())
[INFO] [stdout] ...   |
[INFO] [stdout] 257 | |             iv
[INFO] [stdout] 258 | |         )
[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_scalar` (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/db.rs:263:9
[INFO] [stdout]     |
[INFO] [stdout] 263 | /         sqlx::query!(
[INFO] [stdout] 264 | |             r#"
[INFO] [stdout] 265 | |             INSERT INTO shared_links (file_id, recipient_user_id, password, expiration_date, created_at)
[INFO] [stdout] 266 | |             VALUES ($1, $2, $3, $4, NOW())
[INFO] [stdout] ...   |
[INFO] [stdout] 271 | |             expiration_date
[INFO] [stdout] 272 | |         )
[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/db.rs:284:27
[INFO] [stdout]     |
[INFO] [stdout] 284 |           let shared_link = sqlx::query_as!(
[INFO] [stdout]     |  ___________________________^
[INFO] [stdout] 285 | |             SharedLink,
[INFO] [stdout] 286 | |             r#"
[INFO] [stdout] 287 | |             SELECT id, file_id, recipient_user_id, password, expiration_date, created_at
[INFO] [stdout] ...   |
[INFO] [stdout] 294 | |             user_id,
[INFO] [stdout] 295 | |         )
[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/db.rs:306:20
[INFO] [stdout]     |
[INFO] [stdout] 306 |           let file = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 307 | |             File,
[INFO] [stdout] 308 | |             r#"
[INFO] [stdout] 309 | |             SELECT id, user_id, file_name, file_size, encrypted_aes_key, encrypted_file, iv, created_at
[INFO] [stdout] ...   |
[INFO] [stdout] 313 | |             file_id
[INFO] [stdout] 314 | |         )
[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/db.rs:328:21
[INFO] [stdout]     |
[INFO] [stdout] 328 |           let files = sqlx::query_as!(
[INFO] [stdout]     |  _____________________^
[INFO] [stdout] 329 | |             SentFileDetails,
[INFO] [stdout] 330 | |             r#"
[INFO] [stdout] 331 | |                 SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 352 | |             offset as i64,
[INFO] [stdout] 353 | |         )
[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/db.rs:357:25
[INFO] [stdout]     |
[INFO] [stdout] 357 |           let count_row = sqlx::query_scalar!(
[INFO] [stdout]     |  _________________________^
[INFO] [stdout] 358 | |             r#"
[INFO] [stdout] 359 | |                 SELECT COUNT(*)
[INFO] [stdout] 360 | |                 FROM shared_links sl
[INFO] [stdout] ...   |
[INFO] [stdout] 364 | |             user_id,
[INFO] [stdout] 365 | |         )
[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_scalar` (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/db.rs:382:21
[INFO] [stdout]     |
[INFO] [stdout] 382 |           let files = sqlx::query_as!(
[INFO] [stdout]     |  _____________________^
[INFO] [stdout] 383 | |             ReceiveFileDetails,
[INFO] [stdout] 384 | |             r#"
[INFO] [stdout] 385 | |                 SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 406 | |             offset as i64,
[INFO] [stdout] 407 | |         )
[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/db.rs:411:25
[INFO] [stdout]     |
[INFO] [stdout] 411 |           let count_row = sqlx::query_scalar!(
[INFO] [stdout]     |  _________________________^
[INFO] [stdout] 412 | |             r#"
[INFO] [stdout] 413 | |                 SELECT COUNT(*)
[INFO] [stdout] 414 | |                 FROM shared_links sl
[INFO] [stdout] ...   |
[INFO] [stdout] 418 | |             user_id,
[INFO] [stdout] 419 | |         )
[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_scalar` (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/db.rs:432:47
[INFO] [stdout]     |
[INFO] [stdout] 432 |           let expired_shared_links: Vec<Uuid> = sqlx::query_scalar!(
[INFO] [stdout]     |  _______________________________________________^
[INFO] [stdout] 433 | |             r#"
[INFO] [stdout] 434 | |             SELECT sl.id
[INFO] [stdout] 435 | |             FROM shared_links sl
[INFO] [stdout] 436 | |             WHERE sl.expiration_date < NOW()
[INFO] [stdout] 437 | |             "#,
[INFO] [stdout] 438 | |         ).
[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_scalar` (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/db.rs:447:43
[INFO] [stdout]     |
[INFO] [stdout] 447 |           let expired_file_ids: Vec<Uuid> = sqlx::query_scalar!(
[INFO] [stdout]     |  ___________________________________________^
[INFO] [stdout] 448 | |             r#"
[INFO] [stdout] 449 | |             SELECT f.id
[INFO] [stdout] 450 | |             FROM files f
[INFO] [stdout] ...   |
[INFO] [stdout] 456 | |             "#,
[INFO] [stdout] 457 | |         )
[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_scalar` (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/db.rs:461:9
[INFO] [stdout]     |
[INFO] [stdout] 461 | /         sqlx::query!(
[INFO] [stdout] 462 | |             r#"
[INFO] [stdout] 463 | |             DELETE FROM shared_links
[INFO] [stdout] 464 | |             WHERE id = ANY($1)
[INFO] [stdout] 465 | |             "#,
[INFO] [stdout] 466 | |             &expired_shared_links[..] // Pass the list of expired shared link IDs
[INFO] [stdout] 467 | |         )
[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/db.rs:472:9
[INFO] [stdout]     |
[INFO] [stdout] 472 | /         sqlx::query!(
[INFO] [stdout] 473 | |             r#"
[INFO] [stdout] 474 | |             DELETE FROM files
[INFO] [stdout] 475 | |             WHERE id = ANY($1)
[INFO] [stdout] 476 | |             "#,
[INFO] [stdout] 477 | |             &expired_file_ids[..] // Pass the list of expired file IDs
[INFO] [stdout] 478 | |         )
[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 imports: `ErrorMessage` and `HttpError`
[INFO] [stdout]  --> src/utils/token.rs:5:20
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::error::{ErrorMessage, HttpError};
[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: `errors::Error as JwtError` and `errors::ErrorKind`
[INFO] [stdout]  --> src/middleware.rs:6:20
[INFO] [stdout]   |
[INFO] [stdout] 6 | use jsonwebtoken::{errors::Error as JwtError, errors::ErrorKind};
[INFO] [stdout]   |                    ^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `axum_extra::extract::cookie::Cookie::<'c>::named`: use `Cookie::build(name)` or `Cookie::from(name)`
[INFO] [stdout]   --> src/handler/auth.rs:21:41
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let jar = cookie_jar.remove(Cookie::named("token"));
[INFO] [stdout]    |                                         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `axum_extra::extract::cookie::Cookie::<'c>::named`: use `Cookie::build(name)` or `Cookie::from(name)`
[INFO] [stdout]   --> src/handler/auth.rs:21:41
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let jar = cookie_jar.remove(Cookie::named("token"));
[INFO] [stdout]    |                                         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db.rs:357:13
[INFO] [stdout]     |
[INFO] [stdout] 357 |         let count_row = sqlx::query_scalar!(
[INFO] [stdout]     |             ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 369 |         let total_count = count_row.unwrap_or(0);
[INFO] [stdout]     |                           --------- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving `count_row` an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 357 |         let count_row: /* Type */ = sqlx::query_scalar!(
[INFO] [stdout]     |                      ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db.rs:411:13
[INFO] [stdout]     |
[INFO] [stdout] 411 |         let count_row = sqlx::query_scalar!(
[INFO] [stdout]     |             ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 423 |         let total_count = count_row.unwrap_or(0);
[INFO] [stdout]     |                           --------- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving `count_row` an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 411 |         let count_row: /* Type */ = sqlx::query_scalar!(
[INFO] [stdout]     |                      ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db.rs:357:13
[INFO] [stdout]     |
[INFO] [stdout] 357 |         let count_row = sqlx::query_scalar!(
[INFO] [stdout]     |             ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 369 |         let total_count = count_row.unwrap_or(0);
[INFO] [stdout]     |                           --------- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving `count_row` an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 357 |         let count_row: /* Type */ = sqlx::query_scalar!(
[INFO] [stdout]     |                      ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db.rs:411:13
[INFO] [stdout]     |
[INFO] [stdout] 411 |         let count_row = sqlx::query_scalar!(
[INFO] [stdout]     |             ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 423 |         let total_count = count_row.unwrap_or(0);
[INFO] [stdout]     |                           --------- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving `count_row` an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 411 |         let count_row: /* Type */ = sqlx::query_scalar!(
[INFO] [stdout]     |                      ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `uai_secureshare_backend` (bin "uai_secureshare_backend") due to 22 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about this error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `uai_secureshare_backend` (bin "uai_secureshare_backend" test) due to 22 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "e2e571ffb936008d73b69481d36f3b4b68ff3be90a68b9f0a6ae36d85bb97ec5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e2e571ffb936008d73b69481d36f3b4b68ff3be90a68b9f0a6ae36d85bb97ec5", kill_on_drop: false }`
[INFO] [stdout] e2e571ffb936008d73b69481d36f3b4b68ff3be90a68b9f0a6ae36d85bb97ec5
