[INFO] cloning repository https://github.com/Hammed-Oluwatoyin/secure_share_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Hammed-Oluwatoyin/secure_share_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHammed-Oluwatoyin%2Fsecure_share_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHammed-Oluwatoyin%2Fsecure_share_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9d927e3b1a8604257d84cf372e46dbb57252ab09 [INFO] checking Hammed-Oluwatoyin/secure_share_rust against try#0bdee9e879c87b7211d316e9152109cfd46c576b for pr-150097 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHammed-Oluwatoyin%2Fsecure_share_rust" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Hammed-Oluwatoyin/secure_share_rust [INFO] finished tweaking git repo https://github.com/Hammed-Oluwatoyin/secure_share_rust [INFO] tweaked toml for git repo https://github.com/Hammed-Oluwatoyin/secure_share_rust written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Hammed-Oluwatoyin/secure_share_rust on toolchain 0bdee9e879c87b7211d316e9152109cfd46c576b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Hammed-Oluwatoyin/secure_share_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" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded croner v2.2.0 [INFO] [stderr] Downloaded block-modes v0.8.1 [INFO] [stderr] Downloaded axum-extra v0.9.6 [INFO] [stderr] Downloaded rustix v0.37.28 [INFO] [stderr] Downloaded tokio-cron-scheduler v0.13.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c70c3a9feb1b6bead7b8e7d392a9a9e4e434cbe16f67dbd5d689fc65824187fb [INFO] running `Command { std: "docker" "start" "-a" "c70c3a9feb1b6bead7b8e7d392a9a9e4e434cbe16f67dbd5d689fc65824187fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c70c3a9feb1b6bead7b8e7d392a9a9e4e434cbe16f67dbd5d689fc65824187fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c70c3a9feb1b6bead7b8e7d392a9a9e4e434cbe16f67dbd5d689fc65824187fb", kill_on_drop: false }` [INFO] [stdout] c70c3a9feb1b6bead7b8e7d392a9a9e4e434cbe16f67dbd5d689fc65824187fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7f85d1638ca8559d9effe80e0e2ad73a83ab2d190a3483794a7919bae8ad48e [INFO] running `Command { std: "docker" "start" "-a" "a7f85d1638ca8559d9effe80e0e2ad73a83ab2d190a3483794a7919bae8ad48e", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Checking value-bag v1.11.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling rustix v0.37.28 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling futures-lite v2.6.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Checking base64ct v1.8.0 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling async-executor v1.13.2 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Checking polling v3.8.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling async-io v2.4.1 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling async-std v1.13.1 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking crc v3.3.0 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [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 validator_types v0.16.0 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking hyper-util v0.1.14 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Compiling tokio-cron-scheduler v0.13.0 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Compiling validator_derive v0.16.0 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Checking pkcs1 v0.7.5 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking croner v2.2.0 [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.9 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking aes v0.7.5 [INFO] [stderr] Checking block-modes v0.8.1 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking jsonwebtoken v9.3.1 [INFO] [stderr] Checking rsa v0.9.8 [INFO] [stderr] Checking validator v0.16.1 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking axum-extra v0.9.6 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking 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 = 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 = 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] 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 = 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 = 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] 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 `secureshare_backend` (bin "secureshare_backend") due to 22 previous errors [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` (bin "secureshare_backend" test) due to 22 previous errors [INFO] running `Command { std: "docker" "inspect" "a7f85d1638ca8559d9effe80e0e2ad73a83ab2d190a3483794a7919bae8ad48e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7f85d1638ca8559d9effe80e0e2ad73a83ab2d190a3483794a7919bae8ad48e", kill_on_drop: false }` [INFO] [stdout] a7f85d1638ca8559d9effe80e0e2ad73a83ab2d190a3483794a7919bae8ad48e