[INFO] cloning repository https://github.com/rei1406/fesnuk-be-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rei1406/fesnuk-be-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frei1406%2Ffesnuk-be-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frei1406%2Ffesnuk-be-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e0d21782780bdc91d5fe7c543be5bc8f4a19ce96 [INFO] checking rei1406/fesnuk-be-rust against try#b4c55082edd8dec08ce8af276d7054d9c4db20c4 for pr-147984 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frei1406%2Ffesnuk-be-rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rei1406/fesnuk-be-rust [INFO] finished tweaking git repo https://github.com/rei1406/fesnuk-be-rust [INFO] tweaked toml for git repo https://github.com/rei1406/fesnuk-be-rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rei1406/fesnuk-be-rust on toolchain b4c55082edd8dec08ce8af276d7054d9c4db20c4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rei1406/fesnuk-be-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "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 wasm-bindgen v0.2.104 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.104 [INFO] [stderr] Downloaded js-sys v0.3.81 [INFO] [stderr] Downloaded libredox v0.1.10 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.104 [INFO] [stderr] Downloaded zeroize v1.8.2 [INFO] [stderr] Downloaded serde_path_to_error v0.1.20 [INFO] [stderr] Downloaded windows-implement v0.60.1 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.104 [INFO] [stderr] Downloaded sqlx-macros v0.8.6 [INFO] [stderr] Downloaded uuid v1.18.1 [INFO] [stderr] Downloaded axum-core v0.5.2 [INFO] [stderr] Downloaded sqlx-macros-core v0.8.6 [INFO] [stderr] Downloaded sqlx-mysql v0.8.6 [INFO] [stderr] Downloaded hyper-util v0.1.17 [INFO] [stderr] Downloaded rsa v0.9.8 [INFO] [stderr] Downloaded sqlx-core v0.8.6 [INFO] [stderr] Downloaded hyper v1.7.0 [INFO] [stderr] Downloaded sqlx-postgres v0.8.6 [INFO] [stderr] Downloaded axum v0.8.4 [INFO] [stderr] Downloaded sqlx v0.8.6 [INFO] [stderr] Downloaded rustls-webpki v0.103.7 [INFO] [stderr] Downloaded sqlx-sqlite v0.8.6 [INFO] [stderr] Downloaded event-listener v5.4.1 [INFO] [stderr] Downloaded windows-core v0.62.1 [INFO] [stderr] Downloaded windows-interface v0.59.2 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.104 [INFO] [stderr] Downloaded rustls v0.23.32 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b96b57afcfba0337e8de20aedd891ba88bd6ce2644e6b329fb79c34b2bef8f2 [INFO] running `Command { std: "docker" "start" "-a" "0b96b57afcfba0337e8de20aedd891ba88bd6ce2644e6b329fb79c34b2bef8f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b96b57afcfba0337e8de20aedd891ba88bd6ce2644e6b329fb79c34b2bef8f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b96b57afcfba0337e8de20aedd891ba88bd6ce2644e6b329fb79c34b2bef8f2", kill_on_drop: false }` [INFO] [stdout] 0b96b57afcfba0337e8de20aedd891ba88bd6ce2644e6b329fb79c34b2bef8f2 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c877811e2a1a09666f5f5d34d7ec7f230659a888e545c6848cc0d9db4a1e8a27 [INFO] running `Command { std: "docker" "start" "-a" "c877811e2a1a09666f5f5d34d7ec7f230659a888e545c6848cc0d9db4a1e8a27", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling serde_core v1.0.226 [INFO] [stderr] Compiling serde v1.0.226 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling rustls v0.23.32 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Compiling webpki-roots v1.0.2 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.226 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Checking rustls-webpki v0.103.7 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking axum-core v0.5.2 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking hyper-util v0.1.17 [INFO] [stderr] Checking sqlx-core v0.8.6 [INFO] [stderr] Checking axum v0.8.4 [INFO] [stderr] Checking sqlx-postgres v0.8.6 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking fesnuk 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/app/comment/repositories/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | / sqlx::query_as!( [INFO] [stdout] 9 | | Comment, [INFO] [stdout] 10 | | "SELECT c.*, COALESCE(COUNT(r.id), 0) as reply_count [INFO] [stdout] 11 | | FROM comments c [INFO] [stdout] ... | [INFO] [stdout] 14 | | GROUP BY c.id" [INFO] [stdout] 15 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/app/comment/repositories/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | / sqlx::query_as!( [INFO] [stdout] 22 | | Comment, [INFO] [stdout] 23 | | "SELECT c.*, COALESCE(COUNT(r.id), 0) as reply_count [INFO] [stdout] 24 | | FROM comments c [INFO] [stdout] ... | [INFO] [stdout] 28 | | comment_id [INFO] [stdout] 29 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/app/comment/repositories/mod.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | / sqlx::query_as!( [INFO] [stdout] 36 | | Comment, [INFO] [stdout] 37 | | "SELECT c.*, COALESCE(COUNT(r.id), 0) as reply_count [INFO] [stdout] 38 | | FROM comments c [INFO] [stdout] ... | [INFO] [stdout] 42 | | post_id [INFO] [stdout] 43 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/app/comment/repositories/mod.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / sqlx::query_as!( [INFO] [stdout] 50 | | Comment, [INFO] [stdout] 51 | | "SELECT c.*, COALESCE(COUNT(r.id), 0) as reply_count [INFO] [stdout] 52 | | FROM comments c [INFO] [stdout] ... | [INFO] [stdout] 56 | | parent_id [INFO] [stdout] 57 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/app/comment/repositories/mod.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | / sqlx::query_as!( [INFO] [stdout] 64 | | Comment, [INFO] [stdout] 65 | | "INSERT INTO comments (post_id, parent_id, content, attachments) [INFO] [stdout] 66 | | VALUES ($1, $2, $3, $4) [INFO] [stdout] ... | [INFO] [stdout] 71 | | new_comment.attachments [INFO] [stdout] 72 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/app/comment/repositories/mod.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | / sqlx::query_as!( [INFO] [stdout] 79 | | Comment, [INFO] [stdout] 80 | | "UPDATE comments [INFO] [stdout] 81 | | SET deleted_at = CURRENT_TIMESTAMP, updated_at = CURRENT_TIMESTAMP [INFO] [stdout] ... | [INFO] [stdout] 84 | | comment_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/app/nook/repositories/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | / sqlx::query_as!( [INFO] [stdout] 9 | | Nook, [INFO] [stdout] 10 | | "SELECT id, name, description, image, created_at, updated_at, deleted_at [INFO] [stdout] 11 | | FROM nooks [INFO] [stdout] 12 | | WHERE deleted_at IS NULL" [INFO] [stdout] 13 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/app/nook/repositories/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / sqlx::query_as!( [INFO] [stdout] 20 | | Nook, [INFO] [stdout] 21 | | "SELECT id, name, description, image, created_at, updated_at, deleted_at [INFO] [stdout] 22 | | FROM nooks [INFO] [stdout] 23 | | WHERE id = $1 AND deleted_at IS NULL", [INFO] [stdout] 24 | | nook_id [INFO] [stdout] 25 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/app/nook/repositories/mod.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | / sqlx::query_as!( [INFO] [stdout] 35 | | Nook, [INFO] [stdout] 36 | | "SELECT id, name, description, image, created_at, updated_at, deleted_at [INFO] [stdout] 37 | | FROM nooks [INFO] [stdout] 38 | | WHERE id = $1", [INFO] [stdout] 39 | | nook_id [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/app/nook/repositories/mod.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | sqlx::query!("DELETE FROM nooks WHERE id = $1", &new_nook.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/app/nook/repositories/mod.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | / sqlx::query_as!( [INFO] [stdout] 63 | | Nook, [INFO] [stdout] 64 | | "INSERT INTO nooks (id, name, description) [INFO] [stdout] 65 | | VALUES ($1, $2, $3) [INFO] [stdout] ... | [INFO] [stdout] 69 | | new_nook.description [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/app/nook/repositories/mod.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | / sqlx::query_as!( [INFO] [stdout] 77 | | Nook, [INFO] [stdout] 78 | | "UPDATE nooks [INFO] [stdout] 79 | | SET deleted_at = CURRENT_TIMESTAMP, updated_at = CURRENT_TIMESTAMP [INFO] [stdout] ... | [INFO] [stdout] 82 | | nook_id [INFO] [stdout] 83 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/app/nook/repositories/mod.rs:89:22 [INFO] [stdout] | [INFO] [stdout] 89 | let result = sqlx::query!("DELETE FROM nooks WHERE id = $1", nook_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/app/post/repositories/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | / sqlx::query_as!( [INFO] [stdout] 9 | | PostDetail, [INFO] [stdout] 10 | | "SELECT p.*, n.name as nook_name, COALESCE(COUNT(c.id), 0) as comment_count [INFO] [stdout] 11 | | FROM posts p [INFO] [stdout] ... | [INFO] [stdout] 16 | | ORDER BY p.created_at DESC" [INFO] [stdout] 17 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/app/post/repositories/mod.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / ... sqlx::query_as!( [INFO] [stdout] 24 | | ... PostDetail, [INFO] [stdout] 25 | | ... "SELECT p.id, p.title, p.content, p.attachments, p.reactions, p.nook_id, n.name as nook_name, p.created_at, p.updated_at, p.del... [INFO] [stdout] 26 | | ... FROM posts p [INFO] [stdout] ... | [INFO] [stdout] 31 | | ... post_id [INFO] [stdout] 32 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [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/app/post/repositories/mod.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | / ... sqlx::query_as!( [INFO] [stdout] 39 | | ... PostDetail, [INFO] [stdout] 40 | | ... "SELECT p.id, p.title, p.content, p.attachments, p.reactions, p.nook_id, n.name as nook_name, p.created_at, p.updated_at, p.del... [INFO] [stdout] 41 | | ... FROM posts p [INFO] [stdout] ... | [INFO] [stdout] 47 | | ... nook_id [INFO] [stdout] 48 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [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/app/post/repositories/mod.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | / sqlx::query_as!( [INFO] [stdout] 55 | | Post, [INFO] [stdout] 56 | | "INSERT INTO posts (title, content, attachments, nook_id) [INFO] [stdout] 57 | | VALUES ($1, $2, $3, $4) [INFO] [stdout] ... | [INFO] [stdout] 62 | | new_post.nook_id [INFO] [stdout] 63 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/app/post/repositories/mod.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | / sqlx::query_as!( [INFO] [stdout] 122 | | Post, [INFO] [stdout] 123 | | "UPDATE posts [INFO] [stdout] 124 | | SET deleted_at = CURRENT_TIMESTAMP, updated_at = CURRENT_TIMESTAMP [INFO] [stdout] ... | [INFO] [stdout] 127 | | post_id [INFO] [stdout] 128 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/app/post/repositories/mod.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | / ... sqlx::query!( [INFO] [stdout] 141 | | ... "UPDATE posts [INFO] [stdout] 142 | | ... SET reactions = COALESCE(reactions, '{}'::jsonb) || jsonb_build_object($2::text, COALESCE((reactions->>$2::text)::int, 0) + $3... [INFO] [stdout] 143 | | ... updated_at = CURRENT_TIMESTAMP [INFO] [stdout] ... | [INFO] [stdout] 147 | | ... action as i32 [INFO] [stdout] 148 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [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/app/comment/repositories/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | / sqlx::query_as!( [INFO] [stdout] 9 | | Comment, [INFO] [stdout] 10 | | "SELECT c.*, COALESCE(COUNT(r.id), 0) as reply_count [INFO] [stdout] 11 | | FROM comments c [INFO] [stdout] ... | [INFO] [stdout] 14 | | GROUP BY c.id" [INFO] [stdout] 15 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/app/comment/repositories/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | / sqlx::query_as!( [INFO] [stdout] 22 | | Comment, [INFO] [stdout] 23 | | "SELECT c.*, COALESCE(COUNT(r.id), 0) as reply_count [INFO] [stdout] 24 | | FROM comments c [INFO] [stdout] ... | [INFO] [stdout] 28 | | comment_id [INFO] [stdout] 29 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/app/comment/repositories/mod.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | / sqlx::query_as!( [INFO] [stdout] 36 | | Comment, [INFO] [stdout] 37 | | "SELECT c.*, COALESCE(COUNT(r.id), 0) as reply_count [INFO] [stdout] 38 | | FROM comments c [INFO] [stdout] ... | [INFO] [stdout] 42 | | post_id [INFO] [stdout] 43 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/app/comment/repositories/mod.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / sqlx::query_as!( [INFO] [stdout] 50 | | Comment, [INFO] [stdout] 51 | | "SELECT c.*, COALESCE(COUNT(r.id), 0) as reply_count [INFO] [stdout] 52 | | FROM comments c [INFO] [stdout] ... | [INFO] [stdout] 56 | | parent_id [INFO] [stdout] 57 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/app/comment/repositories/mod.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | / sqlx::query_as!( [INFO] [stdout] 64 | | Comment, [INFO] [stdout] 65 | | "INSERT INTO comments (post_id, parent_id, content, attachments) [INFO] [stdout] 66 | | VALUES ($1, $2, $3, $4) [INFO] [stdout] ... | [INFO] [stdout] 71 | | new_comment.attachments [INFO] [stdout] 72 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/app/comment/repositories/mod.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | / sqlx::query_as!( [INFO] [stdout] 79 | | Comment, [INFO] [stdout] 80 | | "UPDATE comments [INFO] [stdout] 81 | | SET deleted_at = CURRENT_TIMESTAMP, updated_at = CURRENT_TIMESTAMP [INFO] [stdout] ... | [INFO] [stdout] 84 | | comment_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/app/nook/repositories/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | / sqlx::query_as!( [INFO] [stdout] 9 | | Nook, [INFO] [stdout] 10 | | "SELECT id, name, description, image, created_at, updated_at, deleted_at [INFO] [stdout] 11 | | FROM nooks [INFO] [stdout] 12 | | WHERE deleted_at IS NULL" [INFO] [stdout] 13 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/app/nook/repositories/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / sqlx::query_as!( [INFO] [stdout] 20 | | Nook, [INFO] [stdout] 21 | | "SELECT id, name, description, image, created_at, updated_at, deleted_at [INFO] [stdout] 22 | | FROM nooks [INFO] [stdout] 23 | | WHERE id = $1 AND deleted_at IS NULL", [INFO] [stdout] 24 | | nook_id [INFO] [stdout] 25 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/app/nook/repositories/mod.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | / sqlx::query_as!( [INFO] [stdout] 35 | | Nook, [INFO] [stdout] 36 | | "SELECT id, name, description, image, created_at, updated_at, deleted_at [INFO] [stdout] 37 | | FROM nooks [INFO] [stdout] 38 | | WHERE id = $1", [INFO] [stdout] 39 | | nook_id [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/app/nook/repositories/mod.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | sqlx::query!("DELETE FROM nooks WHERE id = $1", &new_nook.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/app/nook/repositories/mod.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | / sqlx::query_as!( [INFO] [stdout] 63 | | Nook, [INFO] [stdout] 64 | | "INSERT INTO nooks (id, name, description) [INFO] [stdout] 65 | | VALUES ($1, $2, $3) [INFO] [stdout] ... | [INFO] [stdout] 69 | | new_nook.description [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/app/nook/repositories/mod.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | / sqlx::query_as!( [INFO] [stdout] 77 | | Nook, [INFO] [stdout] 78 | | "UPDATE nooks [INFO] [stdout] 79 | | SET deleted_at = CURRENT_TIMESTAMP, updated_at = CURRENT_TIMESTAMP [INFO] [stdout] ... | [INFO] [stdout] 82 | | nook_id [INFO] [stdout] 83 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/app/nook/repositories/mod.rs:89:22 [INFO] [stdout] | [INFO] [stdout] 89 | let result = sqlx::query!("DELETE FROM nooks WHERE id = $1", nook_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/app/post/repositories/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | / sqlx::query_as!( [INFO] [stdout] 9 | | PostDetail, [INFO] [stdout] 10 | | "SELECT p.*, n.name as nook_name, COALESCE(COUNT(c.id), 0) as comment_count [INFO] [stdout] 11 | | FROM posts p [INFO] [stdout] ... | [INFO] [stdout] 16 | | ORDER BY p.created_at DESC" [INFO] [stdout] 17 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/app/post/repositories/mod.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / ... sqlx::query_as!( [INFO] [stdout] 24 | | ... PostDetail, [INFO] [stdout] 25 | | ... "SELECT p.id, p.title, p.content, p.attachments, p.reactions, p.nook_id, n.name as nook_name, p.created_at, p.updated_at, p.del... [INFO] [stdout] 26 | | ... FROM posts p [INFO] [stdout] ... | [INFO] [stdout] 31 | | ... post_id [INFO] [stdout] 32 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [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/app/post/repositories/mod.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | / ... sqlx::query_as!( [INFO] [stdout] 39 | | ... PostDetail, [INFO] [stdout] 40 | | ... "SELECT p.id, p.title, p.content, p.attachments, p.reactions, p.nook_id, n.name as nook_name, p.created_at, p.updated_at, p.del... [INFO] [stdout] 41 | | ... FROM posts p [INFO] [stdout] ... | [INFO] [stdout] 47 | | ... nook_id [INFO] [stdout] 48 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [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/app/post/repositories/mod.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | / sqlx::query_as!( [INFO] [stdout] 55 | | Post, [INFO] [stdout] 56 | | "INSERT INTO posts (title, content, attachments, nook_id) [INFO] [stdout] 57 | | VALUES ($1, $2, $3, $4) [INFO] [stdout] ... | [INFO] [stdout] 62 | | new_post.nook_id [INFO] [stdout] 63 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/app/post/repositories/mod.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | / sqlx::query_as!( [INFO] [stdout] 122 | | Post, [INFO] [stdout] 123 | | "UPDATE posts [INFO] [stdout] 124 | | SET deleted_at = CURRENT_TIMESTAMP, updated_at = CURRENT_TIMESTAMP [INFO] [stdout] ... | [INFO] [stdout] 127 | | post_id [INFO] [stdout] 128 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/app/post/repositories/mod.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | / ... sqlx::query!( [INFO] [stdout] 141 | | ... "UPDATE posts [INFO] [stdout] 142 | | ... SET reactions = COALESCE(reactions, '{}'::jsonb) || jsonb_build_object($2::text, COALESCE((reactions->>$2::text)::int, 0) + $3... [INFO] [stdout] 143 | | ... updated_at = CURRENT_TIMESTAMP [INFO] [stdout] ... | [INFO] [stdout] 147 | | ... action as i32 [INFO] [stdout] 148 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/app/nook/repositories/mod.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | let result = sqlx::query!("DELETE FROM nooks WHERE id = $1", nook_id) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | Ok(result.rows_affected() > 0) [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 89 | let result: /* Type */ = sqlx::query!("DELETE FROM nooks WHERE id = $1", nook_id) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/app/nook/repositories/mod.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | let result = sqlx::query!("DELETE FROM nooks WHERE id = $1", nook_id) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | Ok(result.rows_affected() > 0) [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 89 | let result: /* Type */ = sqlx::query!("DELETE FROM nooks WHERE id = $1", nook_id) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fesnuk` (lib) due to 20 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fesnuk` (lib test) due to 20 previous errors [INFO] running `Command { std: "docker" "inspect" "c877811e2a1a09666f5f5d34d7ec7f230659a888e545c6848cc0d9db4a1e8a27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c877811e2a1a09666f5f5d34d7ec7f230659a888e545c6848cc0d9db4a1e8a27", kill_on_drop: false }` [INFO] [stdout] c877811e2a1a09666f5f5d34d7ec7f230659a888e545c6848cc0d9db4a1e8a27