[INFO] cloning repository https://github.com/safatanc/safatanc-connect [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/safatanc/safatanc-connect" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsafatanc%2Fsafatanc-connect", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsafatanc%2Fsafatanc-connect'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5d576777e992bbb568e1e75b406f7732efdacba4 [INFO] checking safatanc/safatanc-connect against try#3857be5045fe74bd0f296f6f4c23db10f8857f73 for pr-156807 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsafatanc%2Fsafatanc-connect" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/safatanc/safatanc-connect [INFO] finished tweaking git repo https://github.com/safatanc/safatanc-connect [INFO] tweaked toml for git repo https://github.com/safatanc/safatanc-connect written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/safatanc/safatanc-connect on toolchain 3857be5045fe74bd0f296f6f4c23db10f8857f73 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3857be5045fe74bd0f296f6f4c23db10f8857f73" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/safatanc/safatanc-connect 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" "+3857be5045fe74bd0f296f6f4c23db10f8857f73" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded oauth2 v4.4.2 [INFO] [stderr] Downloaded axum-extra v0.9.6 [INFO] [stderr] Downloaded lettre v0.11.16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3857be5045fe74bd0f296f6f4c23db10f8857f73" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d92c81639cb1218b8e273747ffba9d8558a708ea79115561a8ec0d6e11fa4469 [INFO] running `Command { std: "docker" "start" "-a" "d92c81639cb1218b8e273747ffba9d8558a708ea79115561a8ec0d6e11fa4469", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d92c81639cb1218b8e273747ffba9d8558a708ea79115561a8ec0d6e11fa4469", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d92c81639cb1218b8e273747ffba9d8558a708ea79115561a8ec0d6e11fa4469", kill_on_drop: false }` [INFO] [stdout] d92c81639cb1218b8e273747ffba9d8558a708ea79115561a8ec0d6e11fa4469 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3857be5045fe74bd0f296f6f4c23db10f8857f73" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] beb82adb3852b7ab437ce7b14ed21b398084e5f16f3144fcecfb4cdea40e1407 [INFO] running `Command { std: "docker" "start" "-a" "beb82adb3852b7ab437ce7b14ed21b398084e5f16f3144fcecfb4cdea40e1407", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.22 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling icu_properties_data v2.0.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking tokio v1.45.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Checking icu_properties v2.0.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling pest v2.8.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking ahash v0.7.8 [INFO] [stderr] Compiling pest_meta v2.8.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling pest_generator v2.8.0 [INFO] [stderr] Compiling rustls v0.23.27 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking rustls-webpki v0.103.3 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking dlv-list v0.3.0 [INFO] [stderr] Checking ordered-multimap v0.4.3 [INFO] [stderr] Checking hyper-util v0.1.11 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling pest_derive v2.8.0 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking headers-core v0.3.0 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking base64ct v1.7.3 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking ron v0.7.1 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Compiling validator_derive v0.16.0 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking multer v3.1.0 [INFO] [stderr] Checking headers v0.4.0 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking chumsky v0.9.3 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Checking tokio-rustls v0.26.2 [INFO] [stderr] Checking rust-ini v0.18.0 [INFO] [stderr] Checking email-encoding v0.4.1 [INFO] [stderr] Checking pem v3.0.5 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking nom v8.0.0 [INFO] [stderr] Checking quoted_printable v0.5.1 [INFO] [stderr] Checking email_address v0.2.9 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking validator v0.16.1 [INFO] [stderr] Checking jsonwebtoken v9.3.1 [INFO] [stderr] Checking config v0.13.4 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking oauth2 v4.4.2 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking axum-extra v0.9.6 [INFO] [stderr] Checking lettre v0.11.16 [INFO] [stderr] Checking safatanc-connect-core 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/repositories/badge.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | let badge = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 20 | | Badge, [INFO] [stdout] 21 | | r#" [INFO] [stdout] 22 | | INSERT INTO badges ( [INFO] [stdout] ... | [INFO] [stdout] 32 | | dto.image_url [INFO] [stdout] 33 | | ) [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/repositories/badge.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | let badge = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 59 | | Badge, [INFO] [stdout] 60 | | r#" [INFO] [stdout] 61 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 67 | | id [INFO] [stdout] 68 | | ) [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/repositories/badge.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | let badge = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 20 | | Badge, [INFO] [stdout] 21 | | r#" [INFO] [stdout] 22 | | INSERT INTO badges ( [INFO] [stdout] ... | [INFO] [stdout] 32 | | dto.image_url [INFO] [stdout] 33 | | ) [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/repositories/badge.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | let badge = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 79 | | Badge, [INFO] [stdout] 80 | | r#" [INFO] [stdout] 81 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 87 | | name [INFO] [stdout] 88 | | ) [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/repositories/badge.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | let badge = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 59 | | Badge, [INFO] [stdout] 60 | | r#" [INFO] [stdout] 61 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 67 | | id [INFO] [stdout] 68 | | ) [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/repositories/badge.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | let badge = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 79 | | Badge, [INFO] [stdout] 80 | | r#" [INFO] [stdout] 81 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 87 | | name [INFO] [stdout] 88 | | ) [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/repositories/badge.rs:98:22 [INFO] [stdout] | [INFO] [stdout] 98 | let badges = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 99 | | Badge, [INFO] [stdout] 100 | | r#" [INFO] [stdout] 101 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 110 | | offset [INFO] [stdout] 111 | | ) [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/repositories/badge.rs:98:22 [INFO] [stdout] | [INFO] [stdout] 98 | let badges = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 99 | | Badge, [INFO] [stdout] 100 | | r#" [INFO] [stdout] 101 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 110 | | offset [INFO] [stdout] 111 | | ) [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/repositories/badge.rs:121:21 [INFO] [stdout] | [INFO] [stdout] 121 | let count = sqlx::query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 122 | | r#" [INFO] [stdout] 123 | | SELECT COUNT(*) as count [INFO] [stdout] 124 | | FROM badges [INFO] [stdout] 125 | | WHERE deleted_at IS NULL [INFO] [stdout] 126 | | "# [INFO] [stdout] 127 | | ) [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/repositories/badge.rs:121:21 [INFO] [stdout] | [INFO] [stdout] 121 | let count = sqlx::query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 122 | | r#" [INFO] [stdout] 123 | | SELECT COUNT(*) as count [INFO] [stdout] 124 | | FROM badges [INFO] [stdout] 125 | | WHERE deleted_at IS NULL [INFO] [stdout] 126 | | "# [INFO] [stdout] 127 | | ) [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/repositories/badge.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | / sqlx::query_as!( [INFO] [stdout] 138 | | Badge, [INFO] [stdout] 139 | | r#" [INFO] [stdout] 140 | | UPDATE badges [INFO] [stdout] ... | [INFO] [stdout] 154 | | id [INFO] [stdout] 155 | | ) [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/repositories/badge.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | / sqlx::query_as!( [INFO] [stdout] 138 | | Badge, [INFO] [stdout] 139 | | r#" [INFO] [stdout] 140 | | UPDATE badges [INFO] [stdout] ... | [INFO] [stdout] 154 | | id [INFO] [stdout] 155 | | ) [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/repositories/badge.rs:179:22 [INFO] [stdout] | [INFO] [stdout] 179 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 180 | | r#" [INFO] [stdout] 181 | | UPDATE badges [INFO] [stdout] 182 | | SET [INFO] [stdout] ... | [INFO] [stdout] 187 | | id [INFO] [stdout] 188 | | ) [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/repositories/badge.rs:179:22 [INFO] [stdout] | [INFO] [stdout] 179 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 180 | | r#" [INFO] [stdout] 181 | | UPDATE badges [INFO] [stdout] 182 | | SET [INFO] [stdout] ... | [INFO] [stdout] 187 | | id [INFO] [stdout] 188 | | ) [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/repositories/oauth.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | / sqlx::query_as!( [INFO] [stdout] 28 | | OAuthProvider, [INFO] [stdout] 29 | | r#" [INFO] [stdout] 30 | | INSERT INTO oauth_providers ( [INFO] [stdout] ... | [INFO] [stdout] 49 | | dto.icon_url [INFO] [stdout] 50 | | ) [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/repositories/oauth.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | / sqlx::query_as!( [INFO] [stdout] 28 | | OAuthProvider, [INFO] [stdout] 29 | | r#" [INFO] [stdout] 30 | | INSERT INTO oauth_providers ( [INFO] [stdout] ... | [INFO] [stdout] 49 | | dto.icon_url [INFO] [stdout] 50 | | ) [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/repositories/oauth.rs:73:24 [INFO] [stdout] | [INFO] [stdout] 73 | let provider = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 74 | | OAuthProvider, [INFO] [stdout] 75 | | r#" [INFO] [stdout] 76 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 83 | | id [INFO] [stdout] 84 | | ) [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/repositories/oauth.rs:73:24 [INFO] [stdout] | [INFO] [stdout] 73 | let provider = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 74 | | OAuthProvider, [INFO] [stdout] 75 | | r#" [INFO] [stdout] 76 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 83 | | id [INFO] [stdout] 84 | | ) [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/repositories/oauth.rs:97:24 [INFO] [stdout] | [INFO] [stdout] 97 | let provider = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 98 | | OAuthProvider, [INFO] [stdout] 99 | | r#" [INFO] [stdout] 100 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 107 | | provider_name [INFO] [stdout] 108 | | ) [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/repositories/oauth.rs:97:24 [INFO] [stdout] | [INFO] [stdout] 97 | let provider = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 98 | | OAuthProvider, [INFO] [stdout] 99 | | r#" [INFO] [stdout] 100 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 107 | | provider_name [INFO] [stdout] 108 | | ) [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/repositories/oauth.rs:118:25 [INFO] [stdout] | [INFO] [stdout] 118 | let providers = sqlx::query_as!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 119 | | OAuthProvider, [INFO] [stdout] 120 | | r#" [INFO] [stdout] 121 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 128 | | "# [INFO] [stdout] 129 | | ) [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/repositories/oauth.rs:118:25 [INFO] [stdout] | [INFO] [stdout] 118 | let providers = sqlx::query_as!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 119 | | OAuthProvider, [INFO] [stdout] 120 | | r#" [INFO] [stdout] 121 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 128 | | "# [INFO] [stdout] 129 | | ) [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/repositories/oauth.rs:143:24 [INFO] [stdout] | [INFO] [stdout] 143 | let provider = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 144 | | OAuthProvider, [INFO] [stdout] 145 | | r#" [INFO] [stdout] 146 | | UPDATE oauth_providers [INFO] [stdout] ... | [INFO] [stdout] 175 | | id [INFO] [stdout] 176 | | ) [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/repositories/oauth.rs:143:24 [INFO] [stdout] | [INFO] [stdout] 143 | let provider = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 144 | | OAuthProvider, [INFO] [stdout] 145 | | r#" [INFO] [stdout] 146 | | UPDATE oauth_providers [INFO] [stdout] ... | [INFO] [stdout] 175 | | id [INFO] [stdout] 176 | | ) [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/repositories/oauth.rs:186:24 [INFO] [stdout] | [INFO] [stdout] 186 | let provider = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 187 | | OAuthProvider, [INFO] [stdout] 188 | | r#" [INFO] [stdout] 189 | | UPDATE oauth_providers [INFO] [stdout] ... | [INFO] [stdout] 199 | | id [INFO] [stdout] 200 | | ) [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/repositories/oauth.rs:186:24 [INFO] [stdout] | [INFO] [stdout] 186 | let provider = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 187 | | OAuthProvider, [INFO] [stdout] 188 | | r#" [INFO] [stdout] 189 | | UPDATE oauth_providers [INFO] [stdout] ... | [INFO] [stdout] 199 | | id [INFO] [stdout] 200 | | ) [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/repositories/oauth.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | / sqlx::query_as!( [INFO] [stdout] 225 | | UserOAuthConnection, [INFO] [stdout] 226 | | r#" [INFO] [stdout] 227 | | INSERT INTO user_oauth_connections ( [INFO] [stdout] ... | [INFO] [stdout] 257 | | raw_user_info [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_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/repositories/oauth.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | / sqlx::query_as!( [INFO] [stdout] 225 | | UserOAuthConnection, [INFO] [stdout] 226 | | r#" [INFO] [stdout] 227 | | INSERT INTO user_oauth_connections ( [INFO] [stdout] ... | [INFO] [stdout] 257 | | raw_user_info [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_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/repositories/oauth.rs:266:26 [INFO] [stdout] | [INFO] [stdout] 266 | let connection = sqlx::query_as!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 267 | | UserOAuthConnection, [INFO] [stdout] 268 | | r#" [INFO] [stdout] 269 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 276 | | id [INFO] [stdout] 277 | | ) [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/repositories/oauth.rs:291:26 [INFO] [stdout] | [INFO] [stdout] 291 | let connection = sqlx::query_as!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 292 | | UserOAuthConnection, [INFO] [stdout] 293 | | r#" [INFO] [stdout] 294 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 302 | | provider_user_id [INFO] [stdout] 303 | | ) [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/repositories/oauth.rs:266:26 [INFO] [stdout] | [INFO] [stdout] 266 | let connection = sqlx::query_as!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 267 | | UserOAuthConnection, [INFO] [stdout] 268 | | r#" [INFO] [stdout] 269 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 276 | | id [INFO] [stdout] 277 | | ) [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/repositories/oauth.rs:291:26 [INFO] [stdout] | [INFO] [stdout] 291 | let connection = sqlx::query_as!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 292 | | UserOAuthConnection, [INFO] [stdout] 293 | | r#" [INFO] [stdout] 294 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 302 | | provider_user_id [INFO] [stdout] 303 | | ) [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/repositories/oauth.rs:316:27 [INFO] [stdout] | [INFO] [stdout] 316 | let connections = sqlx::query_as!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 317 | | UserOAuthConnection, [INFO] [stdout] 318 | | r#" [INFO] [stdout] 319 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 327 | | user_id [INFO] [stdout] 328 | | ) [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/repositories/oauth.rs:316:27 [INFO] [stdout] | [INFO] [stdout] 316 | let connections = sqlx::query_as!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 317 | | UserOAuthConnection, [INFO] [stdout] 318 | | r#" [INFO] [stdout] 319 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 327 | | user_id [INFO] [stdout] 328 | | ) [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/repositories/oauth.rs:342:26 [INFO] [stdout] | [INFO] [stdout] 342 | let connection = sqlx::query_as!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 343 | | UserOAuthConnection, [INFO] [stdout] 344 | | r#" [INFO] [stdout] 345 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 353 | | provider_id [INFO] [stdout] 354 | | ) [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/repositories/oauth.rs:364:26 [INFO] [stdout] | [INFO] [stdout] 364 | let connection = sqlx::query_as!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 365 | | UserOAuthConnection, [INFO] [stdout] 366 | | r#" [INFO] [stdout] 367 | | UPDATE user_oauth_connections [INFO] [stdout] ... | [INFO] [stdout] 377 | | id [INFO] [stdout] 378 | | ) [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/repositories/oauth.rs:391:9 [INFO] [stdout] | [INFO] [stdout] 391 | / sqlx::query!( [INFO] [stdout] 392 | | r#" [INFO] [stdout] 393 | | UPDATE user_oauth_connections [INFO] [stdout] 394 | | SET [INFO] [stdout] ... | [INFO] [stdout] 399 | | user_id [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` (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/repositories/oauth.rs:342:26 [INFO] [stdout] | [INFO] [stdout] 342 | let connection = sqlx::query_as!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 343 | | UserOAuthConnection, [INFO] [stdout] 344 | | r#" [INFO] [stdout] 345 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 353 | | provider_id [INFO] [stdout] 354 | | ) [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/repositories/session.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | / sqlx::query_as!( [INFO] [stdout] 31 | | Session, [INFO] [stdout] 32 | | r#" [INFO] [stdout] 33 | | INSERT INTO sessions ( [INFO] [stdout] ... | [INFO] [stdout] 50 | | device_info [INFO] [stdout] 51 | | ) [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/repositories/session.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | let session = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 75 | | Session, [INFO] [stdout] 76 | | r#" [INFO] [stdout] 77 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 84 | | id [INFO] [stdout] 85 | | ) [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/repositories/session.rs:95:23 [INFO] [stdout] | [INFO] [stdout] 95 | let session = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 96 | | Session, [INFO] [stdout] 97 | | r#" [INFO] [stdout] 98 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 105 | | token [INFO] [stdout] 106 | | ) [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/repositories/oauth.rs:364:26 [INFO] [stdout] | [INFO] [stdout] 364 | let connection = sqlx::query_as!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 365 | | UserOAuthConnection, [INFO] [stdout] 366 | | r#" [INFO] [stdout] 367 | | UPDATE user_oauth_connections [INFO] [stdout] ... | [INFO] [stdout] 377 | | id [INFO] [stdout] 378 | | ) [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/repositories/session.rs:116:23 [INFO] [stdout] | [INFO] [stdout] 116 | let session = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 117 | | Session, [INFO] [stdout] 118 | | r#" [INFO] [stdout] 119 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 126 | | refresh_token [INFO] [stdout] 127 | | ) [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/repositories/session.rs:137:24 [INFO] [stdout] | [INFO] [stdout] 137 | let sessions = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 138 | | Session, [INFO] [stdout] 139 | | r#" [INFO] [stdout] 140 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 148 | | user_id [INFO] [stdout] 149 | | ) [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/repositories/oauth.rs:391:9 [INFO] [stdout] | [INFO] [stdout] 391 | / sqlx::query!( [INFO] [stdout] 392 | | r#" [INFO] [stdout] 393 | | UPDATE user_oauth_connections [INFO] [stdout] 394 | | SET [INFO] [stdout] ... | [INFO] [stdout] 399 | | user_id [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` (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/repositories/session.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | / sqlx::query_as!( [INFO] [stdout] 31 | | Session, [INFO] [stdout] 32 | | r#" [INFO] [stdout] 33 | | INSERT INTO sessions ( [INFO] [stdout] ... | [INFO] [stdout] 50 | | device_info [INFO] [stdout] 51 | | ) [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/repositories/session.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | let session = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 75 | | Session, [INFO] [stdout] 76 | | r#" [INFO] [stdout] 77 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 84 | | id [INFO] [stdout] 85 | | ) [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/repositories/session.rs:95:23 [INFO] [stdout] | [INFO] [stdout] 95 | let session = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 96 | | Session, [INFO] [stdout] 97 | | r#" [INFO] [stdout] 98 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 105 | | token [INFO] [stdout] 106 | | ) [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/repositories/session.rs:116:23 [INFO] [stdout] | [INFO] [stdout] 116 | let session = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 117 | | Session, [INFO] [stdout] 118 | | r#" [INFO] [stdout] 119 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 126 | | refresh_token [INFO] [stdout] 127 | | ) [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/repositories/session.rs:137:24 [INFO] [stdout] | [INFO] [stdout] 137 | let sessions = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 138 | | Session, [INFO] [stdout] 139 | | r#" [INFO] [stdout] 140 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 148 | | user_id [INFO] [stdout] 149 | | ) [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/repositories/session.rs:159:23 [INFO] [stdout] | [INFO] [stdout] 159 | let session = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 160 | | Session, [INFO] [stdout] 161 | | r#" [INFO] [stdout] 162 | | UPDATE sessions [INFO] [stdout] ... | [INFO] [stdout] 172 | | id [INFO] [stdout] 173 | | ) [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/repositories/session.rs:190:23 [INFO] [stdout] | [INFO] [stdout] 190 | let session = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 191 | | Session, [INFO] [stdout] 192 | | r#" [INFO] [stdout] 193 | | UPDATE sessions [INFO] [stdout] ... | [INFO] [stdout] 211 | | id [INFO] [stdout] 212 | | ) [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/repositories/session.rs:222:23 [INFO] [stdout] | [INFO] [stdout] 222 | let session = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 223 | | Session, [INFO] [stdout] 224 | | r#" [INFO] [stdout] 225 | | UPDATE sessions [INFO] [stdout] ... | [INFO] [stdout] 235 | | id [INFO] [stdout] 236 | | ) [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/repositories/session.rs:159:23 [INFO] [stdout] | [INFO] [stdout] 159 | let session = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 160 | | Session, [INFO] [stdout] 161 | | r#" [INFO] [stdout] 162 | | UPDATE sessions [INFO] [stdout] ... | [INFO] [stdout] 172 | | id [INFO] [stdout] 173 | | ) [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/repositories/session.rs:190:23 [INFO] [stdout] | [INFO] [stdout] 190 | let session = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 191 | | Session, [INFO] [stdout] 192 | | r#" [INFO] [stdout] 193 | | UPDATE sessions [INFO] [stdout] ... | [INFO] [stdout] 211 | | id [INFO] [stdout] 212 | | ) [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/repositories/session.rs:222:23 [INFO] [stdout] | [INFO] [stdout] 222 | let session = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 223 | | Session, [INFO] [stdout] 224 | | r#" [INFO] [stdout] 225 | | UPDATE sessions [INFO] [stdout] ... | [INFO] [stdout] 235 | | id [INFO] [stdout] 236 | | ) [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/repositories/session.rs:246:9 [INFO] [stdout] | [INFO] [stdout] 246 | / sqlx::query!( [INFO] [stdout] 247 | | r#" [INFO] [stdout] 248 | | UPDATE sessions [INFO] [stdout] 249 | | SET [INFO] [stdout] ... | [INFO] [stdout] 254 | | user_id [INFO] [stdout] 255 | | ) [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/repositories/session.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | / sqlx::query!( [INFO] [stdout] 264 | | r#" [INFO] [stdout] 265 | | UPDATE sessions [INFO] [stdout] 266 | | SET [INFO] [stdout] ... | [INFO] [stdout] 270 | | "# [INFO] [stdout] 271 | | ) [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/repositories/session.rs:279:21 [INFO] [stdout] | [INFO] [stdout] 279 | let count = sqlx::query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 280 | | r#" [INFO] [stdout] 281 | | SELECT COUNT(*) as count [INFO] [stdout] 282 | | FROM sessions [INFO] [stdout] ... | [INFO] [stdout] 285 | | user_id [INFO] [stdout] 286 | | ) [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/repositories/token.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | / sqlx::query_as!( [INFO] [stdout] 28 | | VerificationToken, [INFO] [stdout] 29 | | r#" [INFO] [stdout] 30 | | INSERT INTO verification_tokens ( [INFO] [stdout] ... | [INFO] [stdout] 41 | | expires_at [INFO] [stdout] 42 | | ) [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/repositories/token.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | let token = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 70 | | VerificationToken, [INFO] [stdout] 71 | | r#" [INFO] [stdout] 72 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 79 | | token_type [INFO] [stdout] 80 | | ) [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/repositories/session.rs:246:9 [INFO] [stdout] | [INFO] [stdout] 246 | / sqlx::query!( [INFO] [stdout] 247 | | r#" [INFO] [stdout] 248 | | UPDATE sessions [INFO] [stdout] 249 | | SET [INFO] [stdout] ... | [INFO] [stdout] 254 | | user_id [INFO] [stdout] 255 | | ) [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/repositories/token.rs:94:22 [INFO] [stdout] | [INFO] [stdout] 94 | let tokens = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 95 | | VerificationToken, [INFO] [stdout] 96 | | r#" [INFO] [stdout] 97 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 106 | | token_type [INFO] [stdout] 107 | | ) [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/repositories/token.rs:119:21 [INFO] [stdout] | [INFO] [stdout] 119 | let token = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 120 | | VerificationToken, [INFO] [stdout] 121 | | r#" [INFO] [stdout] 122 | | UPDATE verification_tokens [INFO] [stdout] ... | [INFO] [stdout] 132 | | token_id [INFO] [stdout] 133 | | ) [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/repositories/token.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | / sqlx::query!( [INFO] [stdout] 150 | | r#" [INFO] [stdout] 151 | | UPDATE verification_tokens [INFO] [stdout] 152 | | SET [INFO] [stdout] ... | [INFO] [stdout] 159 | | token_type [INFO] [stdout] 160 | | ) [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/repositories/token.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | / sqlx::query!( [INFO] [stdout] 169 | | r#" [INFO] [stdout] 170 | | DELETE FROM verification_tokens [INFO] [stdout] 171 | | WHERE expires_at < NOW() [INFO] [stdout] 172 | | "# [INFO] [stdout] 173 | | ) [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/repositories/token.rs:185:21 [INFO] [stdout] | [INFO] [stdout] 185 | let token = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 186 | | VerificationToken, [INFO] [stdout] 187 | | r#" [INFO] [stdout] 188 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 196 | | token_type [INFO] [stdout] 197 | | ) [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/repositories/user.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | let user = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 20 | | User, [INFO] [stdout] 21 | | r#" [INFO] [stdout] 22 | | INSERT INTO users ( [INFO] [stdout] ... | [INFO] [stdout] 39 | | true, // User active by default [INFO] [stdout] 40 | | ) [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/repositories/user.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 68 | let user = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 69 | | User, [INFO] [stdout] 70 | | r#" [INFO] [stdout] 71 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 78 | | id [INFO] [stdout] 79 | | ) [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/repositories/user.rs:89:20 [INFO] [stdout] | [INFO] [stdout] 89 | let user = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 90 | | User, [INFO] [stdout] 91 | | r#" [INFO] [stdout] 92 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 99 | | email [INFO] [stdout] 100 | | ) [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/repositories/user.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | let user = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 111 | | User, [INFO] [stdout] 112 | | r#" [INFO] [stdout] 113 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 120 | | username [INFO] [stdout] 121 | | ) [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/repositories/user.rs:131:21 [INFO] [stdout] | [INFO] [stdout] 131 | let users = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 132 | | User, [INFO] [stdout] 133 | | r#" [INFO] [stdout] 134 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 144 | | offset [INFO] [stdout] 145 | | ) [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/repositories/user.rs:155:21 [INFO] [stdout] | [INFO] [stdout] 155 | let count = sqlx::query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 156 | | r#" [INFO] [stdout] 157 | | SELECT COUNT(*) as count [INFO] [stdout] 158 | | FROM users [INFO] [stdout] 159 | | WHERE deleted_at IS NULL [INFO] [stdout] 160 | | "# [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` (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/repositories/user.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | / sqlx::query_as!( [INFO] [stdout] 172 | | User, [INFO] [stdout] 173 | | r#" [INFO] [stdout] 174 | | UPDATE users [INFO] [stdout] ... | [INFO] [stdout] 191 | | id [INFO] [stdout] 192 | | ) [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/repositories/user.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 | | UPDATE users [INFO] [stdout] ... | [INFO] [stdout] 230 | | id [INFO] [stdout] 231 | | ) [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/repositories/user.rs:245:20 [INFO] [stdout] | [INFO] [stdout] 245 | let user = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 246 | | User, [INFO] [stdout] 247 | | r#" [INFO] [stdout] 248 | | UPDATE users [INFO] [stdout] ... | [INFO] [stdout] 259 | | id [INFO] [stdout] 260 | | ) [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/repositories/user.rs:270:20 [INFO] [stdout] | [INFO] [stdout] 270 | let user = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 271 | | User, [INFO] [stdout] 272 | | r#" [INFO] [stdout] 273 | | UPDATE users [INFO] [stdout] ... | [INFO] [stdout] 283 | | id [INFO] [stdout] 284 | | ) [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/repositories/user.rs:294:22 [INFO] [stdout] | [INFO] [stdout] 294 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 295 | | r#" [INFO] [stdout] 296 | | UPDATE users [INFO] [stdout] 297 | | SET [INFO] [stdout] ... | [INFO] [stdout] 302 | | id [INFO] [stdout] 303 | | ) [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/repositories/user_badge.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | let user_badge = sqlx::query_as!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 23 | | UserBadge, [INFO] [stdout] 24 | | r#" [INFO] [stdout] 25 | | INSERT INTO user_badges ( [INFO] [stdout] ... | [INFO] [stdout] 33 | | dto.badge_id, [INFO] [stdout] 34 | | ) [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/repositories/user_badge.rs:61:26 [INFO] [stdout] | [INFO] [stdout] 61 | let user_badge = sqlx::query_as!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 62 | | UserBadge, [INFO] [stdout] 63 | | r#" [INFO] [stdout] 64 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 69 | | id [INFO] [stdout] 70 | | ) [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/repositories/user_badge.rs:80:22 [INFO] [stdout] | [INFO] [stdout] 80 | let badges = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 81 | | Badge, [INFO] [stdout] 82 | | r#" [INFO] [stdout] 83 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 93 | | user_id [INFO] [stdout] 94 | | ) [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/repositories/session.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | / sqlx::query!( [INFO] [stdout] 264 | | r#" [INFO] [stdout] 265 | | UPDATE sessions [INFO] [stdout] 266 | | SET [INFO] [stdout] ... | [INFO] [stdout] 270 | | "# [INFO] [stdout] 271 | | ) [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/repositories/session.rs:279:21 [INFO] [stdout] | [INFO] [stdout] 279 | let count = sqlx::query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 280 | | r#" [INFO] [stdout] 281 | | SELECT COUNT(*) as count [INFO] [stdout] 282 | | FROM sessions [INFO] [stdout] ... | [INFO] [stdout] 285 | | user_id [INFO] [stdout] 286 | | ) [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/repositories/user_badge.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | let users = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 105 | | User, [INFO] [stdout] 106 | | r#" [INFO] [stdout] 107 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 118 | | badge_id [INFO] [stdout] 119 | | ) [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/repositories/user_badge.rs:129:22 [INFO] [stdout] | [INFO] [stdout] 129 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 130 | | r#" [INFO] [stdout] 131 | | SELECT EXISTS ( [INFO] [stdout] 132 | | SELECT 1 FROM user_badges [INFO] [stdout] ... | [INFO] [stdout] 137 | | badge_id [INFO] [stdout] 138 | | ) [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/repositories/token.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | / sqlx::query_as!( [INFO] [stdout] 28 | | VerificationToken, [INFO] [stdout] 29 | | r#" [INFO] [stdout] 30 | | INSERT INTO verification_tokens ( [INFO] [stdout] ... | [INFO] [stdout] 41 | | expires_at [INFO] [stdout] 42 | | ) [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/repositories/user_badge.rs:152:20 [INFO] [stdout] | [INFO] [stdout] 152 | let user = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 153 | | User, [INFO] [stdout] 154 | | r#" [INFO] [stdout] 155 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 162 | | user_id [INFO] [stdout] 163 | | ) [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/repositories/token.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | let token = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 70 | | VerificationToken, [INFO] [stdout] 71 | | r#" [INFO] [stdout] 72 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 79 | | token_type [INFO] [stdout] 80 | | ) [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/repositories/token.rs:94:22 [INFO] [stdout] | [INFO] [stdout] 94 | let tokens = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 95 | | VerificationToken, [INFO] [stdout] 96 | | r#" [INFO] [stdout] 97 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 106 | | token_type [INFO] [stdout] 107 | | ) [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/repositories/token.rs:119:21 [INFO] [stdout] | [INFO] [stdout] 119 | let token = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 120 | | VerificationToken, [INFO] [stdout] 121 | | r#" [INFO] [stdout] 122 | | UPDATE verification_tokens [INFO] [stdout] ... | [INFO] [stdout] 132 | | token_id [INFO] [stdout] 133 | | ) [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/repositories/token.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | / sqlx::query!( [INFO] [stdout] 150 | | r#" [INFO] [stdout] 151 | | UPDATE verification_tokens [INFO] [stdout] 152 | | SET [INFO] [stdout] ... | [INFO] [stdout] 159 | | token_type [INFO] [stdout] 160 | | ) [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/repositories/user_badge.rs:187:21 [INFO] [stdout] | [INFO] [stdout] 187 | let badge = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 188 | | Badge, [INFO] [stdout] 189 | | r#" [INFO] [stdout] 190 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 196 | | badge_id [INFO] [stdout] 197 | | ) [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/repositories/token.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | / sqlx::query!( [INFO] [stdout] 169 | | r#" [INFO] [stdout] 170 | | DELETE FROM verification_tokens [INFO] [stdout] 171 | | WHERE expires_at < NOW() [INFO] [stdout] 172 | | "# [INFO] [stdout] 173 | | ) [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/repositories/token.rs:185:21 [INFO] [stdout] | [INFO] [stdout] 185 | let token = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 186 | | VerificationToken, [INFO] [stdout] 187 | | r#" [INFO] [stdout] 188 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 196 | | token_type [INFO] [stdout] 197 | | ) [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/repositories/user_badge.rs:220:22 [INFO] [stdout] | [INFO] [stdout] 220 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 221 | | r#" [INFO] [stdout] 222 | | UPDATE user_badges [INFO] [stdout] 223 | | SET [INFO] [stdout] ... | [INFO] [stdout] 229 | | badge_id [INFO] [stdout] 230 | | ) [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/repositories/user.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | let user = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 20 | | User, [INFO] [stdout] 21 | | r#" [INFO] [stdout] 22 | | INSERT INTO users ( [INFO] [stdout] ... | [INFO] [stdout] 39 | | true, // User active by default [INFO] [stdout] 40 | | ) [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/repositories/user.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 68 | let user = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 69 | | User, [INFO] [stdout] 70 | | r#" [INFO] [stdout] 71 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 78 | | id [INFO] [stdout] 79 | | ) [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/repositories/user.rs:89:20 [INFO] [stdout] | [INFO] [stdout] 89 | let user = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 90 | | User, [INFO] [stdout] 91 | | r#" [INFO] [stdout] 92 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 99 | | email [INFO] [stdout] 100 | | ) [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/repositories/user.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | let user = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 111 | | User, [INFO] [stdout] 112 | | r#" [INFO] [stdout] 113 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 120 | | username [INFO] [stdout] 121 | | ) [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/repositories/user.rs:131:21 [INFO] [stdout] | [INFO] [stdout] 131 | let users = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 132 | | User, [INFO] [stdout] 133 | | r#" [INFO] [stdout] 134 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 144 | | offset [INFO] [stdout] 145 | | ) [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/repositories/user.rs:155:21 [INFO] [stdout] | [INFO] [stdout] 155 | let count = sqlx::query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 156 | | r#" [INFO] [stdout] 157 | | SELECT COUNT(*) as count [INFO] [stdout] 158 | | FROM users [INFO] [stdout] 159 | | WHERE deleted_at IS NULL [INFO] [stdout] 160 | | "# [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` (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/repositories/user.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | / sqlx::query_as!( [INFO] [stdout] 172 | | User, [INFO] [stdout] 173 | | r#" [INFO] [stdout] 174 | | UPDATE users [INFO] [stdout] ... | [INFO] [stdout] 191 | | id [INFO] [stdout] 192 | | ) [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/repositories/user.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 | | UPDATE users [INFO] [stdout] ... | [INFO] [stdout] 230 | | id [INFO] [stdout] 231 | | ) [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/repositories/user.rs:245:20 [INFO] [stdout] | [INFO] [stdout] 245 | let user = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 246 | | User, [INFO] [stdout] 247 | | r#" [INFO] [stdout] 248 | | UPDATE users [INFO] [stdout] ... | [INFO] [stdout] 259 | | id [INFO] [stdout] 260 | | ) [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/repositories/user.rs:270:20 [INFO] [stdout] | [INFO] [stdout] 270 | let user = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 271 | | User, [INFO] [stdout] 272 | | r#" [INFO] [stdout] 273 | | UPDATE users [INFO] [stdout] ... | [INFO] [stdout] 283 | | id [INFO] [stdout] 284 | | ) [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/repositories/user.rs:294:22 [INFO] [stdout] | [INFO] [stdout] 294 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 295 | | r#" [INFO] [stdout] 296 | | UPDATE users [INFO] [stdout] 297 | | SET [INFO] [stdout] ... | [INFO] [stdout] 302 | | id [INFO] [stdout] 303 | | ) [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/repositories/user_badge.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | let user_badge = sqlx::query_as!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 23 | | UserBadge, [INFO] [stdout] 24 | | r#" [INFO] [stdout] 25 | | INSERT INTO user_badges ( [INFO] [stdout] ... | [INFO] [stdout] 33 | | dto.badge_id, [INFO] [stdout] 34 | | ) [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/repositories/user_badge.rs:61:26 [INFO] [stdout] | [INFO] [stdout] 61 | let user_badge = sqlx::query_as!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 62 | | UserBadge, [INFO] [stdout] 63 | | r#" [INFO] [stdout] 64 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 69 | | id [INFO] [stdout] 70 | | ) [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/repositories/user_badge.rs:80:22 [INFO] [stdout] | [INFO] [stdout] 80 | let badges = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 81 | | Badge, [INFO] [stdout] 82 | | r#" [INFO] [stdout] 83 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 93 | | user_id [INFO] [stdout] 94 | | ) [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/repositories/user_badge.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | let users = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 105 | | User, [INFO] [stdout] 106 | | r#" [INFO] [stdout] 107 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 118 | | badge_id [INFO] [stdout] 119 | | ) [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/repositories/user_badge.rs:129:22 [INFO] [stdout] | [INFO] [stdout] 129 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 130 | | r#" [INFO] [stdout] 131 | | SELECT EXISTS ( [INFO] [stdout] 132 | | SELECT 1 FROM user_badges [INFO] [stdout] ... | [INFO] [stdout] 137 | | badge_id [INFO] [stdout] 138 | | ) [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/repositories/user_badge.rs:152:20 [INFO] [stdout] | [INFO] [stdout] 152 | let user = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 153 | | User, [INFO] [stdout] 154 | | r#" [INFO] [stdout] 155 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 162 | | user_id [INFO] [stdout] 163 | | ) [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/repositories/user_badge.rs:187:21 [INFO] [stdout] | [INFO] [stdout] 187 | let badge = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 188 | | Badge, [INFO] [stdout] 189 | | r#" [INFO] [stdout] 190 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 196 | | badge_id [INFO] [stdout] 197 | | ) [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/repositories/user_badge.rs:220:22 [INFO] [stdout] | [INFO] [stdout] 220 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 221 | | r#" [INFO] [stdout] 222 | | UPDATE user_badges [INFO] [stdout] 223 | | SET [INFO] [stdout] ... | [INFO] [stdout] 229 | | badge_id [INFO] [stdout] 230 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ResendVerificationEmailDto` [INFO] [stdout] --> src/api/auth/handlers.rs:18:48 [INFO] [stdout] | [INFO] [stdout] 18 | CreateUserDto, LoginDto, PasswordResetDto, ResendVerificationEmailDto, UserResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GLOBAL_ROLE_USER` [INFO] [stdout] --> src/db/repositories/user.rs:5:63 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::models::user::{CreateUserDto, UpdateUserDto, User, GLOBAL_ROLE_USER}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ResendVerificationEmailDto` [INFO] [stdout] --> src/api/auth/handlers.rs:18:48 [INFO] [stdout] | [INFO] [stdout] 18 | CreateUserDto, LoginDto, PasswordResetDto, ResendVerificationEmailDto, UserResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GLOBAL_ROLE_USER` [INFO] [stdout] --> src/db/repositories/user.rs:5:63 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::models::user::{CreateUserDto, UpdateUserDto, User, GLOBAL_ROLE_USER}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/services/email/email.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `template::TemplateManager` [INFO] [stdout] --> src/services/email/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use template::TemplateManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/services/email/email.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `template::TemplateManager` [INFO] [stdout] --> src/services/email/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use template::TemplateManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `safatanc-connect-core` (bin "safatanc-connect-core") due to 57 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `safatanc-connect-core` (bin "safatanc-connect-core" test) due to 57 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "beb82adb3852b7ab437ce7b14ed21b398084e5f16f3144fcecfb4cdea40e1407", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "beb82adb3852b7ab437ce7b14ed21b398084e5f16f3144fcecfb4cdea40e1407", kill_on_drop: false }` [INFO] [stdout] beb82adb3852b7ab437ce7b14ed21b398084e5f16f3144fcecfb4cdea40e1407