[INFO] cloning repository https://github.com/priyanshu07222/secure_file_sharing_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/priyanshu07222/secure_file_sharing_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpriyanshu07222%2Fsecure_file_sharing_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpriyanshu07222%2Fsecure_file_sharing_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 263b7762ceb16b53db2fe4d60a166f6a1c69374d
[INFO] checking priyanshu07222/secure_file_sharing_rust/263b7762ceb16b53db2fe4d60a166f6a1c69374d against master#f2c70877a7dbc51cd98e2d5d25209b24d4a586d5 for pr-150097
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpriyanshu07222%2Fsecure_file_sharing_rust" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/priyanshu07222/secure_file_sharing_rust
[INFO] finished tweaking git repo https://github.com/priyanshu07222/secure_file_sharing_rust
[INFO] tweaked toml for git repo https://github.com/priyanshu07222/secure_file_sharing_rust written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/priyanshu07222/secure_file_sharing_rust on toolchain f2c70877a7dbc51cd98e2d5d25209b24d4a586d5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f2c70877a7dbc51cd98e2d5d25209b24d4a586d5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/priyanshu07222/secure_file_sharing_rust 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" "+f2c70877a7dbc51cd98e2d5d25209b24d4a586d5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded croner v2.1.0
[INFO] [stderr]   Downloaded tempfile v3.16.0
[INFO] [stderr]   Downloaded openssl-sys v0.9.105
[INFO] [stderr]   Downloaded tokio-cron-scheduler v0.13.0
[INFO] [stderr]   Downloaded uuid v1.13.1
[INFO] [stderr]   Downloaded openssl v0.10.70
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f2c70877a7dbc51cd98e2d5d25209b24d4a586d5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5b75892b69aa3df69a918c5099b98c8525bdd78a61fdf47d06e513cc306f130c
[INFO] running `Command { std: "docker" "start" "-a" "5b75892b69aa3df69a918c5099b98c8525bdd78a61fdf47d06e513cc306f130c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5b75892b69aa3df69a918c5099b98c8525bdd78a61fdf47d06e513cc306f130c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5b75892b69aa3df69a918c5099b98c8525bdd78a61fdf47d06e513cc306f130c", kill_on_drop: false }`
[INFO] [stdout] 5b75892b69aa3df69a918c5099b98c8525bdd78a61fdf47d06e513cc306f130c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f2c70877a7dbc51cd98e2d5d25209b24d4a586d5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2cc8ccd67d409d50f02e6a676e3cf1e7701f5e64d9ae55c2aa10091299daa423
[INFO] running `Command { std: "docker" "start" "-a" "2cc8ccd67d409d50f02e6a676e3cf1e7701f5e64d9ae55c2aa10091299daa423", kill_on_drop: false }`
[INFO] [stderr]    Compiling cc v1.2.13
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling parking v2.2.1
[INFO] [stderr]     Checking log v0.4.25
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling syn v2.0.98
[INFO] [stderr]    Compiling libm v0.2.11
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling value-bag v1.10.0
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]     Checking futures-sink v0.3.31
[INFO] [stderr]    Compiling serde_json v1.0.138
[INFO] [stderr]    Compiling bitflags v2.8.0
[INFO] [stderr]    Compiling writeable v0.5.5
[INFO] [stderr]    Compiling litemap v0.7.4
[INFO] [stderr]    Compiling polling v2.8.0
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling rustix v0.37.28
[INFO] [stderr]    Compiling openssl v0.10.70
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.0
[INFO] [stderr]    Compiling linux-raw-sys v0.4.15
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling futures-lite v2.6.0
[INFO] [stderr]     Checking event-listener v5.4.0
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling async-io v1.13.0
[INFO] [stderr]    Compiling icu_properties_data v1.5.0
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling async-task v4.7.1
[INFO] [stderr]    Compiling utf16_iter v1.0.5
[INFO] [stderr]    Compiling atomic-waker v1.1.2
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.0
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling write16 v1.0.0
[INFO] [stderr]    Compiling piper v0.2.4
[INFO] [stderr]    Compiling foldhash v0.1.4
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]     Checking event-listener-strategy v0.5.3
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling io-lifetimes v1.0.11
[INFO] [stderr]     Checking mio v1.0.3
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling waker-fn v1.2.0
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling fastrand v1.9.0
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling async-lock v3.4.0
[INFO] [stderr]    Compiling async-channel v2.3.1
[INFO] [stderr]    Compiling linux-raw-sys v0.3.8
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling futures-lite v1.13.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling tinyvec v1.8.1
[INFO] [stderr]    Compiling hashbrown v0.15.2
[INFO] [stderr]    Compiling async-lock v2.8.0
[INFO] [stderr]    Compiling async-channel v1.9.0
[INFO] [stderr]    Compiling kv-log-macro v1.0.7
[INFO] [stderr]    Compiling async-executor v1.13.1
[INFO] [stderr]    Compiling blocking v1.6.1
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]    Compiling socket2 v0.4.10
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling openssl-sys v0.9.105
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling iana-time-zone v0.1.61
[INFO] [stderr]    Compiling crc v3.2.1
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling chrono v0.4.39
[INFO] [stderr]    Compiling indexmap v2.7.1
[INFO] [stderr]    Compiling hashlink v0.10.0
[INFO] [stderr]     Checking pem-rfc7468 v0.7.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]     Checking lazy_static v1.5.0
[INFO] [stderr]     Checking getrandom v0.3.1
[INFO] [stderr]    Compiling native-tls v0.2.13
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]     Checking unicode-bidi v0.3.18
[INFO] [stderr]    Compiling unicode-properties v0.1.3
[INFO] [stderr]    Compiling uuid v1.13.1
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]     Checking der v0.7.9
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling multer v3.1.0
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling whoami v1.5.2
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling cookie v0.18.1
[INFO] [stderr]     Checking spki v0.7.3
[INFO] [stderr]     Checking http-body-util v0.1.2
[INFO] [stderr]    Compiling num-bigint-dig v0.8.4
[INFO] [stderr]     Checking pkcs8 v0.10.2
[INFO] [stderr]     Checking num-iter v0.1.45
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]     Checking cipher v0.3.0
[INFO] [stderr]     Checking home v0.5.11
[INFO] [stderr]    Compiling tokio-cron-scheduler v0.13.0
[INFO] [stderr]    Compiling if_chain v1.0.2
[INFO] [stderr]     Checking pkcs1 v0.7.5
[INFO] [stderr]     Checking pem v3.0.4
[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 blake2 v0.10.6
[INFO] [stderr]     Checking signature v2.2.0
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking aes v0.7.5
[INFO] [stderr]     Checking block-modes v0.8.1
[INFO] [stderr]     Checking argon2 v0.5.3
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling validator_types v0.16.0
[INFO] [stderr]    Compiling serde_derive v1.0.217
[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 icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v2.0.11
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling async-trait v0.1.86
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]    Compiling tempfile v3.16.0
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]     Checking thiserror v2.0.11
[INFO] [stderr]     Checking simple_asn1 v0.6.3
[INFO] [stderr]    Compiling validator_derive v0.16.0
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]    Compiling zerofrom v0.1.5
[INFO] [stderr]    Compiling polling v3.7.4
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]     Checking tower-http v0.5.2
[INFO] [stderr]    Compiling yoke v0.7.5
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling zerovec v0.10.4
[INFO] [stderr]    Compiling async-io v2.4.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]     Checking async-global-executor v2.4.1
[INFO] [stderr]     Checking tinystr v0.7.6
[INFO] [stderr]     Checking icu_collections v1.5.0
[INFO] [stderr]     Checking serde v1.0.217
[INFO] [stderr]     Checking async-std v1.13.0
[INFO] [stderr]     Checking icu_locid v1.5.0
[INFO] [stderr]     Checking icu_provider v1.5.0
[INFO] [stderr]     Checking icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling icu_properties v1.5.1
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]     Checking either v1.13.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_path_to_error v0.1.16
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking tracing-subscriber v0.3.19
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking tokio v1.43.0
[INFO] [stderr]     Checking futures-intrusive v0.5.0
[INFO] [stderr]     Checking jsonwebtoken v9.3.1
[INFO] [stderr]     Checking rsa v0.9.7
[INFO] [stderr]     Checking croner v2.1.0
[INFO] [stderr]     Checking icu_normalizer v1.5.0
[INFO] [stderr]     Checking idna_adapter v1.2.0
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking sqlx-core v0.8.3
[INFO] [stderr]     Checking validator v0.16.1
[INFO] [stderr]     Checking hyper v1.6.0
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking sqlx-postgres v0.8.3
[INFO] [stderr]     Checking hyper-util v0.1.10
[INFO] [stderr]     Checking axum v0.7.9
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.3
[INFO] [stderr]     Checking axum-extra v0.9.6
[INFO] [stderr]    Compiling sqlx-macros v0.8.3
[INFO] [stderr]     Checking sqlx v0.8.3
[INFO] [stderr]     Checking secureshare_backend_p 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:102:20
[INFO] [stdout]     |
[INFO] [stdout] 102 |               user = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 103 | |                 User,
[INFO] [stdout] 104 | |                 r#"SELECT id, name, email, password, public_key, created_at, updated_at FROM users WHERE id = $1"#,
[INFO] [stdout] 105 | |                 user_id
[INFO] [stdout] 106 | |             ).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:108:20
[INFO] [stdout]     |
[INFO] [stdout] 108 |               user = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 109 | |                 User,
[INFO] [stdout] 110 | |                 r#"SELECT id, name, email, password, public_key, created_at, updated_at FROM users WHERE name = $1"#,
[INFO] [stdout] 111 | |                 name
[INFO] [stdout] 112 | |             ).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:114:20
[INFO] [stdout]     |
[INFO] [stdout] 114 |               user = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 115 | |                 User,
[INFO] [stdout] 116 | |                 r#"SELECT id, name, email, password, public_key, created_at, updated_at FROM users WHERE email = $1"#,
[INFO] [stdout] 117 | |                 email
[INFO] [stdout] 118 | |             ).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:130:20
[INFO] [stdout]     |
[INFO] [stdout] 130 |           let user = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 131 | |             User,
[INFO] [stdout] 132 | |             r#"
[INFO] [stdout] 133 | |             INSERT INTO users (name, email, password) 
[INFO] [stdout] ...   |
[INFO] [stdout] 139 | |             password.into()
[INFO] [stdout] 140 | |         )
[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:151:20
[INFO] [stdout]     |
[INFO] [stdout] 151 |           let user = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 152 | |             User,
[INFO] [stdout] 153 | |             r#"
[INFO] [stdout] 154 | |             UPDATE users
[INFO] [stdout] ...   |
[INFO] [stdout] 160 | |             user_id
[INFO] [stdout] 161 | |         )
[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:173:20
[INFO] [stdout]     |
[INFO] [stdout] 173 |           let user = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 174 | |             User,
[INFO] [stdout] 175 | |             r#"
[INFO] [stdout] 176 | |             UPDATE users
[INFO] [stdout] ...   |
[INFO] [stdout] 182 | |             user_id
[INFO] [stdout] 183 | |         )
[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:191:9
[INFO] [stdout]     |
[INFO] [stdout] 191 | /         sqlx::query_as!(
[INFO] [stdout] 192 | |             User,
[INFO] [stdout] 193 | |             r#"
[INFO] [stdout] 194 | |             UPDATE users
[INFO] [stdout] ...   |
[INFO] [stdout] 200 | |             user_id
[INFO] [stdout] 201 | |         )
[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:212:20
[INFO] [stdout]     |
[INFO] [stdout] 212 |           let user = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 213 | |             User,
[INFO] [stdout] 214 | |             r#"
[INFO] [stdout] 215 | |             SELECT id, name, email, password, public_key, created_at, updated_at
[INFO] [stdout] ...   |
[INFO] [stdout] 222 | |             user_id
[INFO] [stdout] 223 | |         )
[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:242:29
[INFO] [stdout]     |
[INFO] [stdout] 242 |           let file_id: Uuid = sqlx::query_scalar!(
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 243 | |             r#"
[INFO] [stdout] 244 | |             INSERT INTO files (user_id, file_name, file_size, encrypted_aes_key, encrypted_file, iv, created_at)
[INFO] [stdout] 245 | |             VALUES ($1, $2, $3, $4, $5, $6, NOW())
[INFO] [stdout] ...   |
[INFO] [stdout] 253 | |             iv
[INFO] [stdout] 254 | |         )
[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:259:9
[INFO] [stdout]     |
[INFO] [stdout] 259 | /         sqlx::query!(
[INFO] [stdout] 260 | |             r#"
[INFO] [stdout] 261 | |             INSERT INTO shared_links (file_id, recipient_user_id, password, expiration_date, created_at)
[INFO] [stdout] 262 | |             VALUES ($1, $2, $3, $4, NOW())
[INFO] [stdout] ...   |
[INFO] [stdout] 267 | |             expiration_date
[INFO] [stdout] 268 | |         )
[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:280:27
[INFO] [stdout]     |
[INFO] [stdout] 280 |           let shared_link = sqlx::query_as!(
[INFO] [stdout]     |  ___________________________^
[INFO] [stdout] 281 | |             SharedLink,
[INFO] [stdout] 282 | |             r#"
[INFO] [stdout] 283 | |             SELECT id, file_id, recipient_user_id, password, expiration_date, created_at
[INFO] [stdout] ...   |
[INFO] [stdout] 290 | |             user_id,
[INFO] [stdout] 291 | |         )
[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:299:20
[INFO] [stdout]     |
[INFO] [stdout] 299 |           let file = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 300 | |             File,
[INFO] [stdout] 301 | |             r#"
[INFO] [stdout] 302 | |             SELECT id, user_id, file_name, file_size, encrypted_aes_key, encrypted_file, iv, created_at
[INFO] [stdout] ...   |
[INFO] [stdout] 306 | |             file_id
[INFO] [stdout] 307 | |         )
[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:321:21
[INFO] [stdout]     |
[INFO] [stdout] 321 |           let files = sqlx::query_as!(
[INFO] [stdout]     |  _____________________^
[INFO] [stdout] 322 | |             SentFileDetails,
[INFO] [stdout] 323 | |             r#"
[INFO] [stdout] 324 | |                 SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 345 | |             offset as i64,
[INFO] [stdout] 346 | |         )
[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:350:25
[INFO] [stdout]     |
[INFO] [stdout] 350 |           let count_row = sqlx::query_scalar!(
[INFO] [stdout]     |  _________________________^
[INFO] [stdout] 351 | |             r#"
[INFO] [stdout] 352 | |                 SELECT COUNT(*)
[INFO] [stdout] 353 | |                 FROM shared_links sl
[INFO] [stdout] ...   |
[INFO] [stdout] 357 | |             user_id,
[INFO] [stdout] 358 | |         )
[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:375:21
[INFO] [stdout]     |
[INFO] [stdout] 375 |           let files = sqlx::query_as!(
[INFO] [stdout]     |  _____________________^
[INFO] [stdout] 376 | |             ReceiveFileDetails,
[INFO] [stdout] 377 | |             r#"
[INFO] [stdout] 378 | |                 SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 399 | |             offset as i64,
[INFO] [stdout] 400 | |         )
[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:404:25
[INFO] [stdout]     |
[INFO] [stdout] 404 |           let count_row = sqlx::query_scalar!(
[INFO] [stdout]     |  _________________________^
[INFO] [stdout] 405 | |             r#"
[INFO] [stdout] 406 | |                 SELECT COUNT(*)
[INFO] [stdout] 407 | |                 FROM shared_links sl
[INFO] [stdout] ...   |
[INFO] [stdout] 411 | |             user_id,
[INFO] [stdout] 412 | |         )
[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:422:47
[INFO] [stdout]     |
[INFO] [stdout] 422 |           let expired_shared_links: Vec<Uuid> = sqlx::query_scalar!(
[INFO] [stdout]     |  _______________________________________________^
[INFO] [stdout] 423 | |             r#"
[INFO] [stdout] 424 | |             SELECT sl.id
[INFO] [stdout] 425 | |             FROM shared_links sl
[INFO] [stdout] 426 | |             WHERE sl.expiration_date < NOW()
[INFO] [stdout] 427 | |             "#,
[INFO] [stdout] 428 | |         )
[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:437:43
[INFO] [stdout]     |
[INFO] [stdout] 437 |           let expired_file_ids: Vec<Uuid> = sqlx::query_scalar!(
[INFO] [stdout]     |  ___________________________________________^
[INFO] [stdout] 438 | |             r#"
[INFO] [stdout] 439 | |             SELECT f.id
[INFO] [stdout] 440 | |             FROM files f
[INFO] [stdout] ...   |
[INFO] [stdout] 446 | |             "#,
[INFO] [stdout] 447 | |         )
[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:451:9
[INFO] [stdout]     |
[INFO] [stdout] 451 | /         sqlx::query!(
[INFO] [stdout] 452 | |             r#"
[INFO] [stdout] 453 | |             DELETE FROM shared_links
[INFO] [stdout] 454 | |             WHERE id = ANY($1)
[INFO] [stdout] 455 | |             "#,
[INFO] [stdout] 456 | |             &expired_shared_links[..] // Pass the list of expired shared link IDs
[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` (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:462:9
[INFO] [stdout]     |
[INFO] [stdout] 462 | /         sqlx::query!(
[INFO] [stdout] 463 | |             r#"
[INFO] [stdout] 464 | |             DELETE FROM files
[INFO] [stdout] 465 | |             WHERE id = ANY($1)
[INFO] [stdout] 466 | |             "#,
[INFO] [stdout] 467 | |             &expired_file_ids[..] // Pass the list of expired file IDs
[INFO] [stdout] 468 | |         )
[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:102:20
[INFO] [stdout]     |
[INFO] [stdout] 102 |               user = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 103 | |                 User,
[INFO] [stdout] 104 | |                 r#"SELECT id, name, email, password, public_key, created_at, updated_at FROM users WHERE id = $1"#,
[INFO] [stdout] 105 | |                 user_id
[INFO] [stdout] 106 | |             ).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:108:20
[INFO] [stdout]     |
[INFO] [stdout] 108 |               user = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 109 | |                 User,
[INFO] [stdout] 110 | |                 r#"SELECT id, name, email, password, public_key, created_at, updated_at FROM users WHERE name = $1"#,
[INFO] [stdout] 111 | |                 name
[INFO] [stdout] 112 | |             ).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:114:20
[INFO] [stdout]     |
[INFO] [stdout] 114 |               user = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 115 | |                 User,
[INFO] [stdout] 116 | |                 r#"SELECT id, name, email, password, public_key, created_at, updated_at FROM users WHERE email = $1"#,
[INFO] [stdout] 117 | |                 email
[INFO] [stdout] 118 | |             ).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:130:20
[INFO] [stdout]     |
[INFO] [stdout] 130 |           let user = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 131 | |             User,
[INFO] [stdout] 132 | |             r#"
[INFO] [stdout] 133 | |             INSERT INTO users (name, email, password) 
[INFO] [stdout] ...   |
[INFO] [stdout] 139 | |             password.into()
[INFO] [stdout] 140 | |         )
[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:151:20
[INFO] [stdout]     |
[INFO] [stdout] 151 |           let user = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 152 | |             User,
[INFO] [stdout] 153 | |             r#"
[INFO] [stdout] 154 | |             UPDATE users
[INFO] [stdout] ...   |
[INFO] [stdout] 160 | |             user_id
[INFO] [stdout] 161 | |         )
[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:173:20
[INFO] [stdout]     |
[INFO] [stdout] 173 |           let user = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 174 | |             User,
[INFO] [stdout] 175 | |             r#"
[INFO] [stdout] 176 | |             UPDATE users
[INFO] [stdout] ...   |
[INFO] [stdout] 182 | |             user_id
[INFO] [stdout] 183 | |         )
[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:191:9
[INFO] [stdout]     |
[INFO] [stdout] 191 | /         sqlx::query_as!(
[INFO] [stdout] 192 | |             User,
[INFO] [stdout] 193 | |             r#"
[INFO] [stdout] 194 | |             UPDATE users
[INFO] [stdout] ...   |
[INFO] [stdout] 200 | |             user_id
[INFO] [stdout] 201 | |         )
[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:212:20
[INFO] [stdout]     |
[INFO] [stdout] 212 |           let user = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 213 | |             User,
[INFO] [stdout] 214 | |             r#"
[INFO] [stdout] 215 | |             SELECT id, name, email, password, public_key, created_at, updated_at
[INFO] [stdout] ...   |
[INFO] [stdout] 222 | |             user_id
[INFO] [stdout] 223 | |         )
[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:242:29
[INFO] [stdout]     |
[INFO] [stdout] 242 |           let file_id: Uuid = sqlx::query_scalar!(
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 243 | |             r#"
[INFO] [stdout] 244 | |             INSERT INTO files (user_id, file_name, file_size, encrypted_aes_key, encrypted_file, iv, created_at)
[INFO] [stdout] 245 | |             VALUES ($1, $2, $3, $4, $5, $6, NOW())
[INFO] [stdout] ...   |
[INFO] [stdout] 253 | |             iv
[INFO] [stdout] 254 | |         )
[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:259:9
[INFO] [stdout]     |
[INFO] [stdout] 259 | /         sqlx::query!(
[INFO] [stdout] 260 | |             r#"
[INFO] [stdout] 261 | |             INSERT INTO shared_links (file_id, recipient_user_id, password, expiration_date, created_at)
[INFO] [stdout] 262 | |             VALUES ($1, $2, $3, $4, NOW())
[INFO] [stdout] ...   |
[INFO] [stdout] 267 | |             expiration_date
[INFO] [stdout] 268 | |         )
[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:280:27
[INFO] [stdout]     |
[INFO] [stdout] 280 |           let shared_link = sqlx::query_as!(
[INFO] [stdout]     |  ___________________________^
[INFO] [stdout] 281 | |             SharedLink,
[INFO] [stdout] 282 | |             r#"
[INFO] [stdout] 283 | |             SELECT id, file_id, recipient_user_id, password, expiration_date, created_at
[INFO] [stdout] ...   |
[INFO] [stdout] 290 | |             user_id,
[INFO] [stdout] 291 | |         )
[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:299:20
[INFO] [stdout]     |
[INFO] [stdout] 299 |           let file = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 300 | |             File,
[INFO] [stdout] 301 | |             r#"
[INFO] [stdout] 302 | |             SELECT id, user_id, file_name, file_size, encrypted_aes_key, encrypted_file, iv, created_at
[INFO] [stdout] ...   |
[INFO] [stdout] 306 | |             file_id
[INFO] [stdout] 307 | |         )
[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:321:21
[INFO] [stdout]     |
[INFO] [stdout] 321 |           let files = sqlx::query_as!(
[INFO] [stdout]     |  _____________________^
[INFO] [stdout] 322 | |             SentFileDetails,
[INFO] [stdout] 323 | |             r#"
[INFO] [stdout] 324 | |                 SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 345 | |             offset as i64,
[INFO] [stdout] 346 | |         )
[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:350:25
[INFO] [stdout]     |
[INFO] [stdout] 350 |           let count_row = sqlx::query_scalar!(
[INFO] [stdout]     |  _________________________^
[INFO] [stdout] 351 | |             r#"
[INFO] [stdout] 352 | |                 SELECT COUNT(*)
[INFO] [stdout] 353 | |                 FROM shared_links sl
[INFO] [stdout] ...   |
[INFO] [stdout] 357 | |             user_id,
[INFO] [stdout] 358 | |         )
[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:375:21
[INFO] [stdout]     |
[INFO] [stdout] 375 |           let files = sqlx::query_as!(
[INFO] [stdout]     |  _____________________^
[INFO] [stdout] 376 | |             ReceiveFileDetails,
[INFO] [stdout] 377 | |             r#"
[INFO] [stdout] 378 | |                 SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 399 | |             offset as i64,
[INFO] [stdout] 400 | |         )
[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:404:25
[INFO] [stdout]     |
[INFO] [stdout] 404 |           let count_row = sqlx::query_scalar!(
[INFO] [stdout]     |  _________________________^
[INFO] [stdout] 405 | |             r#"
[INFO] [stdout] 406 | |                 SELECT COUNT(*)
[INFO] [stdout] 407 | |                 FROM shared_links sl
[INFO] [stdout] ...   |
[INFO] [stdout] 411 | |             user_id,
[INFO] [stdout] 412 | |         )
[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:422:47
[INFO] [stdout]     |
[INFO] [stdout] 422 |           let expired_shared_links: Vec<Uuid> = sqlx::query_scalar!(
[INFO] [stdout]     |  _______________________________________________^
[INFO] [stdout] 423 | |             r#"
[INFO] [stdout] 424 | |             SELECT sl.id
[INFO] [stdout] 425 | |             FROM shared_links sl
[INFO] [stdout] 426 | |             WHERE sl.expiration_date < NOW()
[INFO] [stdout] 427 | |             "#,
[INFO] [stdout] 428 | |         )
[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:437:43
[INFO] [stdout]     |
[INFO] [stdout] 437 |           let expired_file_ids: Vec<Uuid> = sqlx::query_scalar!(
[INFO] [stdout]     |  ___________________________________________^
[INFO] [stdout] 438 | |             r#"
[INFO] [stdout] 439 | |             SELECT f.id
[INFO] [stdout] 440 | |             FROM files f
[INFO] [stdout] ...   |
[INFO] [stdout] 446 | |             "#,
[INFO] [stdout] 447 | |         )
[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:451:9
[INFO] [stdout]     |
[INFO] [stdout] 451 | /         sqlx::query!(
[INFO] [stdout] 452 | |             r#"
[INFO] [stdout] 453 | |             DELETE FROM shared_links
[INFO] [stdout] 454 | |             WHERE id = ANY($1)
[INFO] [stdout] 455 | |             "#,
[INFO] [stdout] 456 | |             &expired_shared_links[..] // Pass the list of expired shared link IDs
[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` (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:462:9
[INFO] [stdout]     |
[INFO] [stdout] 462 | /         sqlx::query!(
[INFO] [stdout] 463 | |             r#"
[INFO] [stdout] 464 | |             DELETE FROM files
[INFO] [stdout] 465 | |             WHERE id = ANY($1)
[INFO] [stdout] 466 | |             "#,
[INFO] [stdout] 467 | |             &expired_file_ids[..] // Pass the list of expired file IDs
[INFO] [stdout] 468 | |         )
[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[E0282]: type annotations needed
[INFO] [stdout]    --> src/db.rs:350:13
[INFO] [stdout]     |
[INFO] [stdout] 350 |         let count_row = sqlx::query_scalar!(
[INFO] [stdout]     |             ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 362 |         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] 350 |         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:404:13
[INFO] [stdout]     |
[INFO] [stdout] 404 |         let count_row = sqlx::query_scalar!(
[INFO] [stdout]     |             ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 416 |         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] 404 |         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:350:13
[INFO] [stdout]     |
[INFO] [stdout] 350 |         let count_row = sqlx::query_scalar!(
[INFO] [stdout]     |             ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 362 |         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] 350 |         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:404:13
[INFO] [stdout]     |
[INFO] [stdout] 404 |         let count_row = sqlx::query_scalar!(
[INFO] [stdout]     |             ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 416 |         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] 404 |         let count_row: /* Type */ = sqlx::query_scalar!(
[INFO] [stdout]     |                      ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user_id`
[INFO] [stdout]   --> src/handler/file_query.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let user_id = &user.user;
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user_id`
[INFO] [stdout]   --> src/handler/file_query.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let user_id = &user.user;
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user_id`
[INFO] [stdout]   --> src/handler/file_query.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let user_id = &user.user;
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user_id`
[INFO] [stdout]   --> src/handler/file_query.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let user_id = &user.user;
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/main.rs:49:13
[INFO] [stdout]    |
[INFO] [stdout] 49 |         Err(err) => {
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/main.rs:49:13
[INFO] [stdout]    |
[INFO] [stdout] 49 |         Err(err) => {
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `secureshare_backend_p` (bin "secureshare_backend_p" test) 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 `secureshare_backend_p` (bin "secureshare_backend_p") due to 22 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "2cc8ccd67d409d50f02e6a676e3cf1e7701f5e64d9ae55c2aa10091299daa423", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2cc8ccd67d409d50f02e6a676e3cf1e7701f5e64d9ae55c2aa10091299daa423", kill_on_drop: false }`
[INFO] [stdout] 2cc8ccd67d409d50f02e6a676e3cf1e7701f5e64d9ae55c2aa10091299daa423
