[INFO] cloning repository https://github.com/LinusWeigand/mano-backend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LinusWeigand/mano-backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLinusWeigand%2Fmano-backend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLinusWeigand%2Fmano-backend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1b64efca3cd8380d76ba9b0b9c78733493c0f439 [INFO] checking LinusWeigand/mano-backend against try#da0275e101cdc809ce291ed8b64d6f82c6b65467 for pr-134276 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLinusWeigand%2Fmano-backend" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LinusWeigand/mano-backend on toolchain da0275e101cdc809ce291ed8b64d6f82c6b65467 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da0275e101cdc809ce291ed8b64d6f82c6b65467" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LinusWeigand/mano-backend [INFO] finished tweaking git repo https://github.com/LinusWeigand/mano-backend [INFO] tweaked toml for git repo https://github.com/LinusWeigand/mano-backend written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/LinusWeigand/mano-backend already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da0275e101cdc809ce291ed8b64d6f82c6b65467" "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 rustls-pki-types v1.9.0 [INFO] [stderr] Downloaded email-encoding v0.3.0 [INFO] [stderr] Downloaded headers-core v0.3.0 [INFO] [stderr] Downloaded axum-extra v0.9.4 [INFO] [stderr] Downloaded email_address v0.2.9 [INFO] [stderr] Downloaded headers v0.4.0 [INFO] [stderr] Downloaded cc v1.1.25 [INFO] [stderr] Downloaded chumsky v0.9.3 [INFO] [stderr] Downloaded idna v1.0.2 [INFO] [stderr] Downloaded rustls v0.23.14 [INFO] [stderr] Downloaded lettre v0.11.9 [INFO] [stderr] Downloaded quoted_printable v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+da0275e101cdc809ce291ed8b64d6f82c6b65467" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 16752e1e0dc119f7702dc29e875d462250fd440e145b558a161283d8b1f4a21f [INFO] running `Command { std: "docker" "start" "-a" "16752e1e0dc119f7702dc29e875d462250fd440e145b558a161283d8b1f4a21f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16752e1e0dc119f7702dc29e875d462250fd440e145b558a161283d8b1f4a21f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16752e1e0dc119f7702dc29e875d462250fd440e145b558a161283d8b1f4a21f", kill_on_drop: false }` [INFO] [stdout] 16752e1e0dc119f7702dc29e875d462250fd440e145b558a161283d8b1f4a21f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+da0275e101cdc809ce291ed8b64d6f82c6b65467" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 145a2ade55659ae6be0ac3ac69b0763598b97db519e64b9e2b99e8f3c859e4d2 [INFO] running `Command { std: "docker" "start" "-a" "145a2ade55659ae6be0ac3ac69b0763598b97db519e64b9e2b99e8f3c859e4d2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling cc v1.1.25 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking once_cell v1.20.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling unicode-bidi v0.3.17 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking litemap v0.7.3 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling psm v0.1.23 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Checking rustls-pki-types v1.9.0 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling stacker v0.1.17 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling multer v3.0.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Compiling rustls v0.23.14 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking headers-core v0.3.0 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking email-encoding v0.3.0 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking webpki-roots v0.26.6 [INFO] [stderr] Checking hostname v0.4.0 [INFO] [stderr] Checking email_address v0.2.9 [INFO] [stderr] Checking quoted_printable v0.5.1 [INFO] [stderr] Checking tower-http v0.6.1 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking headers v0.4.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Compiling tempfile v3.13.0 [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling zerofrom-derive v0.1.4 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling yoke-derive v0.7.4 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Checking zerofrom v0.1.4 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking yoke v0.7.4 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking hashlink v0.9.1 [INFO] [stderr] Checking chumsky v0.9.3 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Compiling sqlx-core v0.8.2 [INFO] [stderr] Checking idna v1.0.2 [INFO] [stderr] Checking lettre v0.11.9 [INFO] [stderr] Compiling sqlx-postgres v0.8.2 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking tower v0.5.1 [INFO] [stderr] Checking hyper-util v0.1.9 [INFO] [stderr] Checking axum v0.7.7 [INFO] [stderr] Compiling sqlx-macros-core v0.8.2 [INFO] [stderr] Checking axum-extra v0.9.4 [INFO] [stderr] Compiling sqlx-macros v0.8.2 [INFO] [stderr] Checking sqlx v0.8.2 [INFO] [stderr] Checking mano 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/handlers/auth.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 38 | | ViewerModel, [INFO] [stdout] 39 | | "INSERT INTO viewers (email, first_name, last_name, hashed, salt) VALUES ($1, $2, $3, $4, $5) RETURNING *", [INFO] [stdout] 40 | | body.email, [INFO] [stdout] ... | [INFO] [stdout] 44 | | salt [INFO] [stdout] 45 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/handlers/auth.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 38 | | ViewerModel, [INFO] [stdout] 39 | | "INSERT INTO viewers (email, first_name, last_name, hashed, salt) VALUES ($1, $2, $3, $4, $5) RETURNING *", [INFO] [stdout] 40 | | body.email, [INFO] [stdout] ... | [INFO] [stdout] 44 | | salt [INFO] [stdout] 45 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/handlers/auth.rs:78:24 [INFO] [stdout] | [INFO] [stdout] 78 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 79 | | PreRegisteredModel, [INFO] [stdout] 80 | | "INSERT INTO pre_registered (viewer_id, verification_code_hashed, salt) VALUES ($1, $2, $3) RETURNING *", [INFO] [stdout] 81 | | viewer_id, [INFO] [stdout] 82 | | verification_code_hashed, [INFO] [stdout] 83 | | salt [INFO] [stdout] 84 | | ).fetch_one(&data.db).await; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/auth.rs:78:24 [INFO] [stdout] | [INFO] [stdout] 78 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 79 | | PreRegisteredModel, [INFO] [stdout] 80 | | "INSERT INTO pre_registered (viewer_id, verification_code_hashed, salt) VALUES ($1, $2, $3) RETURNING *", [INFO] [stdout] 81 | | viewer_id, [INFO] [stdout] 82 | | verification_code_hashed, [INFO] [stdout] 83 | | salt [INFO] [stdout] 84 | | ).fetch_one(&data.db).await; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/auth.rs:125:24 [INFO] [stdout] | [INFO] [stdout] 125 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 126 | | PreRegisteredModel, [INFO] [stdout] 127 | | "SELECT * FROM pre_registered WHERE viewer_id = (SELECT id FROM viewers WHERE email = $1)", [INFO] [stdout] 128 | | body.email [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/handlers/auth.rs:125:24 [INFO] [stdout] | [INFO] [stdout] 125 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 126 | | PreRegisteredModel, [INFO] [stdout] 127 | | "SELECT * FROM pre_registered WHERE viewer_id = (SELECT id FROM viewers WHERE email = $1)", [INFO] [stdout] 128 | | body.email [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/handlers/auth.rs:167:24 [INFO] [stdout] | [INFO] [stdout] 167 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 168 | | ViewerModel, [INFO] [stdout] 169 | | "UPDATE viewers SET verified = TRUE WHERE email = $1 RETURNING *", [INFO] [stdout] 170 | | body.email [INFO] [stdout] 171 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/handlers/auth.rs:185:24 [INFO] [stdout] | [INFO] [stdout] 185 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 186 | | PreRegisteredModel, [INFO] [stdout] 187 | | "UPDATE pre_registered SET was_used = TRUE WHERE id = $1 RETURNING *", [INFO] [stdout] 188 | | pre_registered_entry.id [INFO] [stdout] 189 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/handlers/auth.rs:167:24 [INFO] [stdout] | [INFO] [stdout] 167 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 168 | | ViewerModel, [INFO] [stdout] 169 | | "UPDATE viewers SET verified = TRUE WHERE email = $1 RETURNING *", [INFO] [stdout] 170 | | body.email [INFO] [stdout] 171 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/handlers/auth.rs:215:24 [INFO] [stdout] | [INFO] [stdout] 215 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 216 | | ViewerModel, [INFO] [stdout] 217 | | "SELECT * FROM viewers WHERE email = $1", [INFO] [stdout] 218 | | &body.email [INFO] [stdout] 219 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/handlers/auth.rs:185:24 [INFO] [stdout] | [INFO] [stdout] 185 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 186 | | PreRegisteredModel, [INFO] [stdout] 187 | | "UPDATE pre_registered SET was_used = TRUE WHERE id = $1 RETURNING *", [INFO] [stdout] 188 | | pre_registered_entry.id [INFO] [stdout] 189 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/handlers/auth.rs:257:24 [INFO] [stdout] | [INFO] [stdout] 257 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 258 | | UserSessionModel, [INFO] [stdout] 259 | | "INSERT INTO user_sessions (id, viewer_id, hashed_session_token, salt) VALUES ($1, $2, $3, $4) RETURNING *", [INFO] [stdout] 260 | | &session_id, [INFO] [stdout] ... | [INFO] [stdout] 263 | | &salt, [INFO] [stdout] 264 | | ).fetch_one(&data.db).await; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/auth.rs:215:24 [INFO] [stdout] | [INFO] [stdout] 215 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 216 | | ViewerModel, [INFO] [stdout] 217 | | "SELECT * FROM viewers WHERE email = $1", [INFO] [stdout] 218 | | &body.email [INFO] [stdout] 219 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/handlers/auth.rs:304:24 [INFO] [stdout] | [INFO] [stdout] 304 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 305 | | ViewerModel, [INFO] [stdout] 306 | | "SELECT * FROM viewers WHERE email = $1", [INFO] [stdout] 307 | | &body.email [INFO] [stdout] 308 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/handlers/auth.rs:257:24 [INFO] [stdout] | [INFO] [stdout] 257 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 258 | | UserSessionModel, [INFO] [stdout] 259 | | "INSERT INTO user_sessions (id, viewer_id, hashed_session_token, salt) VALUES ($1, $2, $3, $4) RETURNING *", [INFO] [stdout] 260 | | &session_id, [INFO] [stdout] ... | [INFO] [stdout] 263 | | &salt, [INFO] [stdout] 264 | | ).fetch_one(&data.db).await; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/auth.rs:339:13 [INFO] [stdout] | [INFO] [stdout] 339 | let _ = sqlx::query_as!( [INFO] [stdout] | _____________^ [INFO] [stdout] 340 | | ResetPasswordModel, [INFO] [stdout] 341 | | "DELETE FROM reset_password WHERE viewer_id = (SELECT id FROM viewers WHERE email = $1)", [INFO] [stdout] 342 | | &body.email [INFO] [stdout] 343 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/handlers/auth.rs:348:24 [INFO] [stdout] | [INFO] [stdout] 348 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 349 | | ResetPasswordModel, [INFO] [stdout] 350 | | "INSERT INTO reset_password (viewer_id, hashed_reset_password_token, salt) VALUES ($1, $2, $3) RETURNING *", [INFO] [stdout] 351 | | &viewer.id, [INFO] [stdout] 352 | | &hashed_reset_password_token, [INFO] [stdout] 353 | | &salt, [INFO] [stdout] 354 | | ).fetch_one(&data.db).await; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/auth.rs:304:24 [INFO] [stdout] | [INFO] [stdout] 304 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 305 | | ViewerModel, [INFO] [stdout] 306 | | "SELECT * FROM viewers WHERE email = $1", [INFO] [stdout] 307 | | &body.email [INFO] [stdout] 308 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/handlers/auth.rs:339:13 [INFO] [stdout] | [INFO] [stdout] 339 | let _ = sqlx::query_as!( [INFO] [stdout] | _____________^ [INFO] [stdout] 340 | | ResetPasswordModel, [INFO] [stdout] 341 | | "DELETE FROM reset_password WHERE viewer_id = (SELECT id FROM viewers WHERE email = $1)", [INFO] [stdout] 342 | | &body.email [INFO] [stdout] 343 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/handlers/auth.rs:395:24 [INFO] [stdout] | [INFO] [stdout] 395 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 396 | | ResetPasswordModel, [INFO] [stdout] 397 | | "SELECT * FROM reset_password WHERE viewer_id = (SELECT id FROM viewers WHERE email = $1)", [INFO] [stdout] 398 | | &body.email [INFO] [stdout] 399 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/handlers/auth.rs:348:24 [INFO] [stdout] | [INFO] [stdout] 348 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 349 | | ResetPasswordModel, [INFO] [stdout] 350 | | "INSERT INTO reset_password (viewer_id, hashed_reset_password_token, salt) VALUES ($1, $2, $3) RETURNING *", [INFO] [stdout] 351 | | &viewer.id, [INFO] [stdout] 352 | | &hashed_reset_password_token, [INFO] [stdout] 353 | | &salt, [INFO] [stdout] 354 | | ).fetch_one(&data.db).await; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/auth.rs:441:24 [INFO] [stdout] | [INFO] [stdout] 441 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 442 | | ViewerModel, [INFO] [stdout] 443 | | "UPDATE viewers SET hashed = $1, salt = $2 RETURNING *", [INFO] [stdout] 444 | | hashed_password, [INFO] [stdout] 445 | | salt [INFO] [stdout] 446 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/handlers/auth.rs:395:24 [INFO] [stdout] | [INFO] [stdout] 395 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 396 | | ResetPasswordModel, [INFO] [stdout] 397 | | "SELECT * FROM reset_password WHERE viewer_id = (SELECT id FROM viewers WHERE email = $1)", [INFO] [stdout] 398 | | &body.email [INFO] [stdout] 399 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/handlers/auth.rs:460:24 [INFO] [stdout] | [INFO] [stdout] 460 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 461 | | ResetPasswordModel, [INFO] [stdout] 462 | | "UPDATE reset_password SET was_used = TRUE WHERE id = $1 RETURNING *", [INFO] [stdout] 463 | | reset_password_entry.id [INFO] [stdout] 464 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/handlers/auth.rs:490:9 [INFO] [stdout] | [INFO] [stdout] 490 | sqlx::query_as!(ViewerModel, "SELECT * FROM viewers WHERE email = $1", email) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/handlers/auth.rs:441:24 [INFO] [stdout] | [INFO] [stdout] 441 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 442 | | ViewerModel, [INFO] [stdout] 443 | | "UPDATE viewers SET hashed = $1, salt = $2 RETURNING *", [INFO] [stdout] 444 | | hashed_password, [INFO] [stdout] 445 | | salt [INFO] [stdout] 446 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/handlers/auth.rs:460:24 [INFO] [stdout] | [INFO] [stdout] 460 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 461 | | ResetPasswordModel, [INFO] [stdout] 462 | | "UPDATE reset_password SET was_used = TRUE WHERE id = $1 RETURNING *", [INFO] [stdout] 463 | | reset_password_entry.id [INFO] [stdout] 464 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/handlers/auth.rs:490:9 [INFO] [stdout] | [INFO] [stdout] 490 | sqlx::query_as!(ViewerModel, "SELECT * FROM viewers WHERE email = $1", email) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/handlers/auth.rs:576:21 [INFO] [stdout] | [INFO] [stdout] 576 | let query = sqlx::query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 577 | | "SELECT viewer_id, salt, hashed_session_token FROM user_sessions WHERE id = $1", [INFO] [stdout] 578 | | session_id [INFO] [stdout] 579 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/handlers/auth.rs:615:21 [INFO] [stdout] | [INFO] [stdout] 615 | let query = sqlx::query!("SELECT is_admin FROM viewers WHERE id = $1", &viewer_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (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/handlers/crud.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 35 | | ViewerModel, [INFO] [stdout] 36 | | "SELECT * FROM viewers ORDER by id LIMIT $1 OFFSET $2", [INFO] [stdout] 37 | | limit as i32, [INFO] [stdout] 38 | | offset as i32 [INFO] [stdout] 39 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/handlers/auth.rs:576:21 [INFO] [stdout] | [INFO] [stdout] 576 | let query = sqlx::query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 577 | | "SELECT viewer_id, salt, hashed_session_token FROM user_sessions WHERE id = $1", [INFO] [stdout] 578 | | session_id [INFO] [stdout] 579 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/handlers/auth.rs:615:21 [INFO] [stdout] | [INFO] [stdout] 615 | let query = sqlx::query!("SELECT is_admin FROM viewers WHERE id = $1", &viewer_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (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/handlers/crud.rs:68:24 [INFO] [stdout] | [INFO] [stdout] 68 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 69 | | ViewerModel, [INFO] [stdout] 70 | | "INSERT INTO viewers (email, hashed, salt) VALUES ($1, $2, $3) RETURNING *", [INFO] [stdout] 71 | | body.email.to_string(), [INFO] [stdout] 72 | | body.hashed.to_string(), [INFO] [stdout] 73 | | body.salt.to_string() [INFO] [stdout] 74 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/handlers/crud.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 35 | | ViewerModel, [INFO] [stdout] 36 | | "SELECT * FROM viewers ORDER by id LIMIT $1 OFFSET $2", [INFO] [stdout] 37 | | limit as i32, [INFO] [stdout] 38 | | offset as i32 [INFO] [stdout] 39 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/handlers/crud.rs:113:24 [INFO] [stdout] | [INFO] [stdout] 113 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 114 | | ViewerModel, [INFO] [stdout] 115 | | "SELECT * FROM viewers WHERE id = $1", [INFO] [stdout] 116 | | id [INFO] [stdout] 117 | | ).fetch_one(&data.db) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/handlers/crud.rs:68:24 [INFO] [stdout] | [INFO] [stdout] 68 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 69 | | ViewerModel, [INFO] [stdout] 70 | | "INSERT INTO viewers (email, hashed, salt) VALUES ($1, $2, $3) RETURNING *", [INFO] [stdout] 71 | | body.email.to_string(), [INFO] [stdout] 72 | | body.hashed.to_string(), [INFO] [stdout] 73 | | body.salt.to_string() [INFO] [stdout] 74 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/handlers/crud.rs:136:25 [INFO] [stdout] | [INFO] [stdout] 136 | let rows_affected = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 137 | | "DELETE FROM viewers WHERE id = $1", id) [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (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/handlers/crud.rs:158:24 [INFO] [stdout] | [INFO] [stdout] 158 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 159 | | ViewerModel, [INFO] [stdout] 160 | | "SELECT * FROM viewers WHERE id = $1", [INFO] [stdout] 161 | | id [INFO] [stdout] 162 | | ).fetch_one(&data.db).await; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/crud.rs:113:24 [INFO] [stdout] | [INFO] [stdout] 113 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 114 | | ViewerModel, [INFO] [stdout] 115 | | "SELECT * FROM viewers WHERE id = $1", [INFO] [stdout] 116 | | id [INFO] [stdout] 117 | | ).fetch_one(&data.db) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/handlers/crud.rs:175:24 [INFO] [stdout] | [INFO] [stdout] 175 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 176 | | ViewerModel, [INFO] [stdout] 177 | | "UPDATE viewers SET email = $1, hashed = $2, salt = $3, updated_at = $4 WHERE id = $5 RETURNING *", [INFO] [stdout] 178 | | body.email.to_owned().unwrap_or(viewer.email), [INFO] [stdout] ... | [INFO] [stdout] 182 | | id [INFO] [stdout] 183 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/crud.rs:136:25 [INFO] [stdout] | [INFO] [stdout] 136 | let rows_affected = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 137 | | "DELETE FROM viewers WHERE id = $1", id) [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (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/handlers/profile.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | let query = sqlx::query!("SELECT * FROM profiles WHERE viewer_id = $1", &viewer_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (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/handlers/crud.rs:158:24 [INFO] [stdout] | [INFO] [stdout] 158 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 159 | | ViewerModel, [INFO] [stdout] 160 | | "SELECT * FROM viewers WHERE id = $1", [INFO] [stdout] 161 | | id [INFO] [stdout] 162 | | ).fetch_one(&data.db).await; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/crud.rs:175:24 [INFO] [stdout] | [INFO] [stdout] 175 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 176 | | ViewerModel, [INFO] [stdout] 177 | | "UPDATE viewers SET email = $1, hashed = $2, salt = $3, updated_at = $4 WHERE id = $5 RETURNING *", [INFO] [stdout] 178 | | body.email.to_owned().unwrap_or(viewer.email), [INFO] [stdout] ... | [INFO] [stdout] 182 | | id [INFO] [stdout] 183 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/profile.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | let query = sqlx::query!("SELECT * FROM profiles WHERE viewer_id = $1", &viewer_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (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/handlers/profile.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | let query = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 196 | | r#" [INFO] [stdout] 197 | | INSERT INTO profiles ( [INFO] [stdout] 198 | | viewer_id, name, craft, location, website, google_ratings , instagram, skills, bio, experience [INFO] [stdout] ... | [INFO] [stdout] 212 | | experience [INFO] [stdout] 213 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/handlers/profile.rs:230:28 [INFO] [stdout] | [INFO] [stdout] 230 | let query_result = sqlx::query!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 231 | | "INSERT INTO photos ( [INFO] [stdout] 232 | | profile_id, file_name, content_type, photo_data [INFO] [stdout] 233 | | ) VALUES ( [INFO] [stdout] ... | [INFO] [stdout] 239 | | &photo_data.as_ref() [INFO] [stdout] 240 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/handlers/profile.rs:281:20 [INFO] [stdout] | [INFO] [stdout] 281 | let profiles = sqlx::query_as!(ProfileModel, "SELECT * FROM profiles") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/handlers/profile.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | let query = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 196 | | r#" [INFO] [stdout] 197 | | INSERT INTO profiles ( [INFO] [stdout] 198 | | viewer_id, name, craft, location, website, google_ratings , instagram, skills, bio, experience [INFO] [stdout] ... | [INFO] [stdout] 212 | | experience [INFO] [stdout] 213 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/handlers/profile.rs:230:28 [INFO] [stdout] | [INFO] [stdout] 230 | let query_result = sqlx::query!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 231 | | "INSERT INTO photos ( [INFO] [stdout] 232 | | profile_id, file_name, content_type, photo_data [INFO] [stdout] 233 | | ) VALUES ( [INFO] [stdout] ... | [INFO] [stdout] 239 | | &photo_data.as_ref() [INFO] [stdout] 240 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/handlers/profile.rs:358:18 [INFO] [stdout] | [INFO] [stdout] 358 | let photos = sqlx::query_as!( [INFO] [stdout] | __________________^ [INFO] [stdout] 359 | | PhotoMetadataModel, [INFO] [stdout] 360 | | "SELECT id, file_name, content_type FROM photos" [INFO] [stdout] 361 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/handlers/profile.rs:281:20 [INFO] [stdout] | [INFO] [stdout] 281 | let profiles = sqlx::query_as!(ProfileModel, "SELECT * FROM profiles") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/handlers/profile.rs:397:17 [INFO] [stdout] | [INFO] [stdout] 397 | let photo = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 398 | | PhotoDataModel, [INFO] [stdout] 399 | | "SELECT file_name, content_type, photo_data FROM photos WHERE id = $1", [INFO] [stdout] 400 | | id [INFO] [stdout] 401 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/handlers/profile.rs:358:18 [INFO] [stdout] | [INFO] [stdout] 358 | let photos = sqlx::query_as!( [INFO] [stdout] | __________________^ [INFO] [stdout] 359 | | PhotoMetadataModel, [INFO] [stdout] 360 | | "SELECT id, file_name, content_type FROM photos" [INFO] [stdout] 361 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/handlers/profile.rs:429:16 [INFO] [stdout] | [INFO] [stdout] 429 | let rows = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 430 | | r#" [INFO] [stdout] 431 | | SELECT [INFO] [stdout] 432 | | photos.id [INFO] [stdout] ... | [INFO] [stdout] 438 | | id [INFO] [stdout] 439 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/handlers/profile.rs:465:17 [INFO] [stdout] | [INFO] [stdout] 465 | let query = sqlx::query_as!(ProfileModel, "SELECT * FROM profiles where id = $1", &id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/profile.rs:397:17 [INFO] [stdout] | [INFO] [stdout] 397 | let photo = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 398 | | PhotoDataModel, [INFO] [stdout] 399 | | "SELECT file_name, content_type, photo_data FROM photos WHERE id = $1", [INFO] [stdout] 400 | | id [INFO] [stdout] 401 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/handlers/profile.rs:504:17 [INFO] [stdout] | [INFO] [stdout] 504 | let query = sqlx::query!("DELETE FROM profiles WHERE id = $1", &id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (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/handlers/profile.rs:429:16 [INFO] [stdout] | [INFO] [stdout] 429 | let rows = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 430 | | r#" [INFO] [stdout] 431 | | SELECT [INFO] [stdout] 432 | | photos.id [INFO] [stdout] ... | [INFO] [stdout] 438 | | id [INFO] [stdout] 439 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/handlers/profile.rs:549:9 [INFO] [stdout] | [INFO] [stdout] 549 | sqlx::query!("SELECT viewer_id FROM profiles WHERE id = $1", &profile_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (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/handlers/profile.rs:465:17 [INFO] [stdout] | [INFO] [stdout] 465 | let query = sqlx::query_as!(ProfileModel, "SELECT * FROM profiles where id = $1", &id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/profile.rs:504:17 [INFO] [stdout] | [INFO] [stdout] 504 | let query = sqlx::query!("DELETE FROM profiles WHERE id = $1", &id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (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/handlers/profile.rs:549:9 [INFO] [stdout] | [INFO] [stdout] 549 | sqlx::query!("SELECT viewer_id FROM profiles WHERE id = $1", &profile_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (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/handlers/profile.rs:792:28 [INFO] [stdout] | [INFO] [stdout] 792 | let query_result = sqlx::query!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 793 | | "INSERT INTO photos ( [INFO] [stdout] 794 | | profile_id, file_name, content_type, photo_data [INFO] [stdout] 795 | | ) VALUES ( [INFO] [stdout] ... | [INFO] [stdout] 803 | | &photo_data.as_ref() [INFO] [stdout] 804 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/handlers/profile.rs:792:28 [INFO] [stdout] | [INFO] [stdout] 792 | let query_result = sqlx::query!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 793 | | "INSERT INTO photos ( [INFO] [stdout] 794 | | profile_id, file_name, content_type, photo_data [INFO] [stdout] 795 | | ) VALUES ( [INFO] [stdout] ... | [INFO] [stdout] 803 | | &photo_data.as_ref() [INFO] [stdout] 804 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/utils.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 16 | | UserSessionModel, [INFO] [stdout] 17 | | "SELECT * FROM user_sessions WHERE viewer_id = (SELECT id FROM viewers WHERE email = $1)", [INFO] [stdout] 18 | | &body.email [INFO] [stdout] 19 | | ).fetch_one(&data.db).await; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/utils.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 16 | | UserSessionModel, [INFO] [stdout] 17 | | "SELECT * FROM user_sessions WHERE viewer_id = (SELECT id FROM viewers WHERE email = $1)", [INFO] [stdout] 18 | | &body.email [INFO] [stdout] 19 | | ).fetch_one(&data.db).await; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HeaderMap` [INFO] [stdout] --> src/handlers/auth.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | HeaderMap, StatusCode, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TypedHeader` [INFO] [stdout] --> src/handlers/auth.rs:12:38 [INFO] [stdout] | [INFO] [stdout] 12 | use axum_extra::{extract::CookieJar, TypedHeader}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::query` [INFO] [stdout] --> src/handlers/auth.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use sqlx::query; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PreRegisteredModel`, `ResetPasswordModel`, `UserSessionModel`, and `ViewerModel` [INFO] [stdout] --> src/handlers/auth.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | model::{PreRegisteredModel, ResetPasswordModel, UserSessionModel, ViewerModel}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `model::ViewerModel` [INFO] [stdout] --> src/handlers/crud.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | model::ViewerModel, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Request` [INFO] [stdout] --> src/handlers/profile.rs:4:32 [INFO] [stdout] | [INFO] [stdout] 4 | extract::{Multipart, Path, Request, State}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `base64::decode` [INFO] [stdout] --> src/handlers/profile.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use base64::decode; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lettre::message::Body` [INFO] [stdout] --> src/handlers/profile.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use lettre::message::Body; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `timestamp::UUID_TICKS_BETWEEN_EPOCHS` [INFO] [stdout] --> src/handlers/profile.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | use uuid::{timestamp::UUID_TICKS_BETWEEN_EPOCHS, Uuid}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HeaderMap` [INFO] [stdout] --> src/handlers/auth.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | HeaderMap, StatusCode, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CreateProfilSchema`, `PhotoDataModel`, `PhotoMetadataModel`, `PhotoModel`, `ProfileUpdateModel`, and `ViewerModel` [INFO] [stdout] --> src/handlers/profile.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | PhotoDataModel, PhotoMetadataModel, PhotoModel, ProfileModel, ProfileUpdateModel, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | ViewerModel, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 22 | }, [INFO] [stdout] 23 | schema::{CreateProfilSchema, SearchSchema}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TypedHeader` [INFO] [stdout] --> src/handlers/auth.rs:12:38 [INFO] [stdout] | [INFO] [stdout] 12 | use axum_extra::{extract::CookieJar, TypedHeader}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::query` [INFO] [stdout] --> src/handlers/auth.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use sqlx::query; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PreRegisteredModel`, `ResetPasswordModel`, `UserSessionModel`, and `ViewerModel` [INFO] [stdout] --> src/handlers/auth.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | model::{PreRegisteredModel, ResetPasswordModel, UserSessionModel, ViewerModel}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `model::ViewerModel` [INFO] [stdout] --> src/handlers/crud.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | model::ViewerModel, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Request` [INFO] [stdout] --> src/handlers/profile.rs:4:32 [INFO] [stdout] | [INFO] [stdout] 4 | extract::{Multipart, Path, Request, State}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `base64::decode` [INFO] [stdout] --> src/handlers/profile.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use base64::decode; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lettre::message::Body` [INFO] [stdout] --> src/handlers/profile.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use lettre::message::Body; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `timestamp::UUID_TICKS_BETWEEN_EPOCHS` [INFO] [stdout] --> src/handlers/profile.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | use uuid::{timestamp::UUID_TICKS_BETWEEN_EPOCHS, Uuid}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `http::StatusCode` and `response::IntoResponse` [INFO] [stdout] --> src/utils.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{extract::State, http::StatusCode, response::IntoResponse, Json}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/utils.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `model::UserSessionModel` [INFO] [stdout] --> src/utils.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{model::UserSessionModel, schema::SessionVerifySchema, AppState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RequestBodyLimitLayer` and `RequestBodyLimit` [INFO] [stdout] --> src/main.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | use tower_http::limit::{RequestBodyLimit, RequestBodyLimitLayer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CreateProfilSchema`, `PhotoDataModel`, `PhotoMetadataModel`, `PhotoModel`, `ProfileUpdateModel`, and `ViewerModel` [INFO] [stdout] --> src/handlers/profile.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | PhotoDataModel, PhotoMetadataModel, PhotoModel, ProfileModel, ProfileUpdateModel, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | ViewerModel, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 22 | }, [INFO] [stdout] 23 | schema::{CreateProfilSchema, SearchSchema}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `http::StatusCode` and `response::IntoResponse` [INFO] [stdout] --> src/utils.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{extract::State, http::StatusCode, response::IntoResponse, Json}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/utils.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `model::UserSessionModel` [INFO] [stdout] --> src/utils.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{model::UserSessionModel, schema::SessionVerifySchema, AppState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RequestBodyLimitLayer` and `RequestBodyLimit` [INFO] [stdout] --> src/main.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | use tower_http::limit::{RequestBodyLimit, RequestBodyLimitLayer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/handlers/profile.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use base64::decode; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/handlers/profile.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use base64::decode; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mano` (bin "mano") due to 34 previous errors; 15 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `mano` (bin "mano" test) due to 34 previous errors; 15 warnings emitted [INFO] running `Command { std: "docker" "inspect" "145a2ade55659ae6be0ac3ac69b0763598b97db519e64b9e2b99e8f3c859e4d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "145a2ade55659ae6be0ac3ac69b0763598b97db519e64b9e2b99e8f3c859e4d2", kill_on_drop: false }` [INFO] [stdout] 145a2ade55659ae6be0ac3ac69b0763598b97db519e64b9e2b99e8f3c859e4d2