[INFO] cloning repository https://github.com/bambriz/SocialVibeRustApp
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bambriz/SocialVibeRustApp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbambriz%2FSocialVibeRustApp", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbambriz%2FSocialVibeRustApp'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 249748d3269300b4572d4baa8c3ef727d97989be
[INFO] checking bambriz/SocialVibeRustApp against try#94e848735e78b58442e0b82e9c60f8f430840389 for pr-149218
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbambriz%2FSocialVibeRustApp" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/bambriz/SocialVibeRustApp
[INFO] finished tweaking git repo https://github.com/bambriz/SocialVibeRustApp
[INFO] tweaked toml for git repo https://github.com/bambriz/SocialVibeRustApp written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/bambriz/SocialVibeRustApp on toolchain 94e848735e78b58442e0b82e9c60f8f430840389
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+94e848735e78b58442e0b82e9c60f8f430840389" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/bambriz/SocialVibeRustApp 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" "+94e848735e78b58442e0b82e9c60f8f430840389" "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
[ERROR] error running command: no output for 300 seconds
[INFO] checking bambriz/SocialVibeRustApp against try#94e848735e78b58442e0b82e9c60f8f430840389 for pr-149218
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbambriz%2FSocialVibeRustApp" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/bambriz/SocialVibeRustApp
[INFO] finished tweaking git repo https://github.com/bambriz/SocialVibeRustApp
[INFO] tweaked toml for git repo https://github.com/bambriz/SocialVibeRustApp written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/bambriz/SocialVibeRustApp on toolchain 94e848735e78b58442e0b82e9c60f8f430840389
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+94e848735e78b58442e0b82e9c60f8f430840389" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/bambriz/SocialVibeRustApp 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" "+94e848735e78b58442e0b82e9c60f8f430840389" "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 serde v1.0.224
[INFO] [stderr]   Downloaded sqlx-macros v0.7.4
[INFO] [stderr]   Downloaded csv-core v0.1.12
[INFO] [stderr]   Downloaded indexmap v2.11.3
[INFO] [stderr]   Downloaded sqlx-macros-core v0.7.4
[INFO] [stderr]   Downloaded sqlx-sqlite v0.7.4
[INFO] [stderr]   Downloaded sqlx-mysql v0.7.4
[INFO] [stderr]   Downloaded serde_core v1.0.224
[INFO] [stderr]   Downloaded sqlx-postgres v0.7.4
[INFO] [stderr]   Downloaded sqlx v0.7.4
[INFO] [stderr]   Downloaded sqlx-core v0.7.4
[INFO] [stderr]   Downloaded serde_derive v1.0.224
[INFO] [stderr]   Downloaded libsqlite3-sys v0.27.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+94e848735e78b58442e0b82e9c60f8f430840389" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b43bdba73e6ae7db58720ce08c96451237a2a70b04a457a7bdab3725857f00ba
[INFO] running `Command { std: "docker" "start" "-a" "b43bdba73e6ae7db58720ce08c96451237a2a70b04a457a7bdab3725857f00ba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b43bdba73e6ae7db58720ce08c96451237a2a70b04a457a7bdab3725857f00ba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b43bdba73e6ae7db58720ce08c96451237a2a70b04a457a7bdab3725857f00ba", kill_on_drop: false }`
[INFO] [stdout] b43bdba73e6ae7db58720ce08c96451237a2a70b04a457a7bdab3725857f00ba
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+94e848735e78b58442e0b82e9c60f8f430840389" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f533e7a54674201b2b11c58c617222ac07f790a8036bb55c351f2aa954f80dab
[INFO] running `Command { std: "docker" "start" "-a" "f533e7a54674201b2b11c58c617222ac07f790a8036bb55c351f2aa954f80dab", kill_on_drop: false }`
[INFO] [stderr]     Checking cfg-if v1.0.3
[INFO] [stderr]    Compiling find-msvc-tools v0.1.1
[INFO] [stderr]    Compiling serde_core v1.0.224
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]    Compiling serde v1.0.224
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]     Checking memchr v2.7.5
[INFO] [stderr]    Compiling zerocopy v0.8.27
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]     Checking litemap v0.8.0
[INFO] [stderr]     Checking writeable v0.6.1
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking parking_lot_core v0.9.11
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling cc v1.2.37
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]     Checking parking_lot v0.12.4
[INFO] [stderr]     Checking bitflags v2.9.4
[INFO] [stderr]     Checking hashbrown v0.15.5
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]     Checking http v1.3.1
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling socket2 v0.6.0
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling tinyvec v1.10.0
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]     Checking indexmap v2.11.3
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling tokio v1.47.1
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling slab v0.4.11
[INFO] [stderr]    Compiling iana-time-zone v0.1.64
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]     Checking serde_json v1.0.145
[INFO] [stderr]    Compiling sqlformat v0.2.6
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling crc v3.3.0
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling webpki-roots v0.25.4
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling linux-raw-sys v0.11.0
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling unicode-properties v0.1.3
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling whoami v1.6.1
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling time-core v0.1.6
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling home v0.5.11
[INFO] [stderr]    Compiling thiserror v2.0.16
[INFO] [stderr]    Compiling unicase v2.8.1
[INFO] [stderr]    Compiling time-macros v0.2.24
[INFO] [stderr]     Checking deranged v0.5.3
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling tempfile v3.22.0
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking sync_wrapper v1.0.2
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking time v0.3.43
[INFO] [stderr]     Checking base64ct v1.8.0
[INFO] [stderr]     Checking pem v3.0.5
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]     Checking csv-core v0.1.12
[INFO] [stderr]     Checking blake2 v0.10.6
[INFO] [stderr]     Checking password-hash v0.5.0
[INFO] [stderr]     Checking thread_local v1.1.9
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking http-range-header v0.4.2
[INFO] [stderr]     Checking nu-ansi-term v0.50.1
[INFO] [stderr]     Checking matchit v0.7.3
[INFO] [stderr]     Checking argon2 v0.5.3
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.224
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v2.0.16
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]     Checking tracing-subscriber v0.3.20
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]     Checking simple_asn1 v0.6.3
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]    Compiling zerovec v0.11.4
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.3
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking uuid v1.18.1
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking csv v1.3.1
[INFO] [stderr]     Checking jsonwebtoken v9.3.1
[INFO] [stderr]     Checking icu_provider v2.0.0
[INFO] [stderr]     Checking icu_properties v2.0.1
[INFO] [stderr]     Checking icu_normalizer v2.0.0
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking tokio-util v0.7.16
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking hyper v1.7.0
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking url v2.5.7
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]     Checking tower-http v0.5.2
[INFO] [stderr]     Checking hyper-util v0.1.17
[INFO] [stderr]     Checking sqlx-core v0.7.4
[INFO] [stderr]     Checking axum v0.7.9
[INFO] [stderr]     Checking sqlx-postgres v0.7.4
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.4
[INFO] [stderr]    Compiling sqlx-macros v0.7.4
[INFO] [stderr]     Checking sqlx v0.7.4
[INFO] [stderr]     Checking social_media_app v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/db/postgres.rs:67:19
[INFO] [stdout]    |
[INFO] [stdout] 67 |           let row = sqlx::query!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 68 | |             r#"
[INFO] [stdout] 69 | |             INSERT INTO users (id, username, email, password_hash, display_name, bio, avatar_url, is_active)
[INFO] [stdout] 70 | |             VALUES ($1, $2, $3, $4, $5, $6, $7, $8)
[INFO] [stdout] ...  |
[INFO] [stdout] 80 | |             user.is_active
[INFO] [stdout] 81 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/db/postgres.rs:67:19
[INFO] [stdout]    |
[INFO] [stdout] 67 |           let row = sqlx::query!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 68 | |             r#"
[INFO] [stdout] 69 | |             INSERT INTO users (id, username, email, password_hash, display_name, bio, avatar_url, is_active)
[INFO] [stdout] 70 | |             VALUES ($1, $2, $3, $4, $5, $6, $7, $8)
[INFO] [stdout] ...  |
[INFO] [stdout] 80 | |             user.is_active
[INFO] [stdout] 81 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/db/postgres.rs:101:19
[INFO] [stdout]     |
[INFO] [stdout] 101 |           let row = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 102 | |             r#"
[INFO] [stdout] 103 | |             SELECT id, username, email, password_hash, display_name, bio, avatar_url, created_at, updated_at, is_active
[INFO] [stdout] 104 | |             FROM users WHERE id = $1
[INFO] [stdout] 105 | |             "#,
[INFO] [stdout] 106 | |             id
[INFO] [stdout] 107 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/db/postgres.rs:101:19
[INFO] [stdout]     |
[INFO] [stdout] 101 |           let row = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 102 | |             r#"
[INFO] [stdout] 103 | |             SELECT id, username, email, password_hash, display_name, bio, avatar_url, created_at, updated_at, is_active
[INFO] [stdout] 104 | |             FROM users WHERE id = $1
[INFO] [stdout] 105 | |             "#,
[INFO] [stdout] 106 | |             id
[INFO] [stdout] 107 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/db/postgres.rs:127:19
[INFO] [stdout]     |
[INFO] [stdout] 127 |           let row = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 128 | |             r#"
[INFO] [stdout] 129 | |             SELECT id, username, email, password_hash, display_name, bio, avatar_url, created_at, updated_at, is_active
[INFO] [stdout] 130 | |             FROM users WHERE email = $1
[INFO] [stdout] 131 | |             "#,
[INFO] [stdout] 132 | |             email
[INFO] [stdout] 133 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/db/postgres.rs:153:19
[INFO] [stdout]     |
[INFO] [stdout] 153 |   ...   let row = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 154 | | ...       r#"
[INFO] [stdout] 155 | | ...       UPDATE users 
[INFO] [stdout] 156 | | ...       SET username = $2, email = $3, password_hash = $4, display_name = $5, bio = $6, avatar_url = $7, is_active = $8, update...
[INFO] [stdout] ...   |
[INFO] [stdout] 167 | | ...       user.is_active
[INFO] [stdout] 168 | | ...   )
[INFO] [stdout]     | |_______^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/db/postgres.rs:188:9
[INFO] [stdout]     |
[INFO] [stdout] 188 |         sqlx::query!("DELETE FROM users 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/db/postgres.rs:127:19
[INFO] [stdout]     |
[INFO] [stdout] 127 |           let row = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 128 | |             r#"
[INFO] [stdout] 129 | |             SELECT id, username, email, password_hash, display_name, bio, avatar_url, created_at, updated_at, is_active
[INFO] [stdout] 130 | |             FROM users WHERE email = $1
[INFO] [stdout] 131 | |             "#,
[INFO] [stdout] 132 | |             email
[INFO] [stdout] 133 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/db/postgres.rs:153:19
[INFO] [stdout]     |
[INFO] [stdout] 153 |   ...   let row = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 154 | | ...       r#"
[INFO] [stdout] 155 | | ...       UPDATE users 
[INFO] [stdout] 156 | | ...       SET username = $2, email = $3, password_hash = $4, display_name = $5, bio = $6, avatar_url = $7, is_active = $8, update...
[INFO] [stdout] ...   |
[INFO] [stdout] 167 | | ...       user.is_active
[INFO] [stdout] 168 | | ...   )
[INFO] [stdout]     | |_______^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/db/postgres.rs:188:9
[INFO] [stdout]     |
[INFO] [stdout] 188 |         sqlx::query!("DELETE FROM users 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/db/postgres.rs:236:19
[INFO] [stdout]     |
[INFO] [stdout] 236 |   ...   let row = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 237 | | ...       r#"
[INFO] [stdout] 238 | | ...       INSERT INTO posts (id, user_id, content, title, sentiment_analysis, moderation_result, is_flagged, view_count, populari...
[INFO] [stdout] 239 | | ...       VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9)
[INFO] [stdout] ...   |
[INFO] [stdout] 259 | | ...       post.popularity_score
[INFO] [stdout] 260 | | ...   )
[INFO] [stdout]     | |_______^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/db/postgres.rs:286:19
[INFO] [stdout]     |
[INFO] [stdout] 286 |           let row = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 287 | |             r#"
[INFO] [stdout] 288 | |             SELECT p.id, p.user_id, p.content, p.title, p.sentiment_analysis, p.moderation_result, 
[INFO] [stdout] 289 | |                    p.is_flagged, p.created_at, p.updated_at, p.view_count, p.popularity_score, u.username
[INFO] [stdout] ...   |
[INFO] [stdout] 294 | |             id
[INFO] [stdout] 295 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/db/postgres.rs:326:20
[INFO] [stdout]     |
[INFO] [stdout] 326 |           let rows = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 327 | |             r#"
[INFO] [stdout] 328 | |             SELECT p.id, p.user_id, p.content, p.title, p.sentiment_analysis, p.moderation_result, 
[INFO] [stdout] 329 | |                    p.is_flagged, p.created_at, p.updated_at, p.view_count, p.popularity_score, u.username,
[INFO] [stdout] ...   |
[INFO] [stdout] 337 | |             offset as i64
[INFO] [stdout] 338 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/db/postgres.rs:370:20
[INFO] [stdout]     |
[INFO] [stdout] 370 |           let rows = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 371 | |             r#"
[INFO] [stdout] 372 | |             SELECT p.id, p.user_id, p.content, p.title, p.sentiment_analysis, p.moderation_result, 
[INFO] [stdout] 373 | |                    p.is_flagged, p.created_at, p.updated_at, p.view_count, p.popularity_score, u.username,
[INFO] [stdout] ...   |
[INFO] [stdout] 381 | |             offset as i64
[INFO] [stdout] 382 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/db/postgres.rs:413:20
[INFO] [stdout]     |
[INFO] [stdout] 413 |           let rows = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 414 | |             r#"
[INFO] [stdout] 415 | |             SELECT p.id, p.user_id, p.content, p.title, p.sentiment_analysis, p.moderation_result, 
[INFO] [stdout] 416 | |                    p.is_flagged, p.created_at, p.updated_at, p.view_count, p.popularity_score, u.username,
[INFO] [stdout] ...   |
[INFO] [stdout] 426 | |             offset as i64
[INFO] [stdout] 427 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/db/postgres.rs:458:19
[INFO] [stdout]     |
[INFO] [stdout] 458 |           let row = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 459 | |             r#"
[INFO] [stdout] 460 | |             UPDATE posts 
[INFO] [stdout] 461 | |             SET content = $2, title = $3, updated_at = NOW()
[INFO] [stdout] ...   |
[INFO] [stdout] 468 | |             post.title
[INFO] [stdout] 469 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/db/postgres.rs:495:9
[INFO] [stdout]     |
[INFO] [stdout] 495 |         sqlx::query!("DELETE FROM posts 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/db/postgres.rs:509:9
[INFO] [stdout]     |
[INFO] [stdout] 509 | /         sqlx::query!(
[INFO] [stdout] 510 | |             "UPDATE posts SET popularity_score = $1 WHERE id = $2",
[INFO] [stdout] 511 | |             score,
[INFO] [stdout] 512 | |             post_id
[INFO] [stdout] 513 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/db/postgres.rs:236:19
[INFO] [stdout]     |
[INFO] [stdout] 236 |   ...   let row = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 237 | | ...       r#"
[INFO] [stdout] 238 | | ...       INSERT INTO posts (id, user_id, content, title, sentiment_analysis, moderation_result, is_flagged, view_count, populari...
[INFO] [stdout] 239 | | ...       VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9)
[INFO] [stdout] ...   |
[INFO] [stdout] 259 | | ...       post.popularity_score
[INFO] [stdout] 260 | | ...   )
[INFO] [stdout]     | |_______^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/db/postgres.rs:286:19
[INFO] [stdout]     |
[INFO] [stdout] 286 |           let row = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 287 | |             r#"
[INFO] [stdout] 288 | |             SELECT p.id, p.user_id, p.content, p.title, p.sentiment_analysis, p.moderation_result, 
[INFO] [stdout] 289 | |                    p.is_flagged, p.created_at, p.updated_at, p.view_count, p.popularity_score, u.username
[INFO] [stdout] ...   |
[INFO] [stdout] 294 | |             id
[INFO] [stdout] 295 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/db/postgres.rs:326:20
[INFO] [stdout]     |
[INFO] [stdout] 326 |           let rows = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 327 | |             r#"
[INFO] [stdout] 328 | |             SELECT p.id, p.user_id, p.content, p.title, p.sentiment_analysis, p.moderation_result, 
[INFO] [stdout] 329 | |                    p.is_flagged, p.created_at, p.updated_at, p.view_count, p.popularity_score, u.username,
[INFO] [stdout] ...   |
[INFO] [stdout] 337 | |             offset as i64
[INFO] [stdout] 338 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/db/postgres.rs:370:20
[INFO] [stdout]     |
[INFO] [stdout] 370 |           let rows = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 371 | |             r#"
[INFO] [stdout] 372 | |             SELECT p.id, p.user_id, p.content, p.title, p.sentiment_analysis, p.moderation_result, 
[INFO] [stdout] 373 | |                    p.is_flagged, p.created_at, p.updated_at, p.view_count, p.popularity_score, u.username,
[INFO] [stdout] ...   |
[INFO] [stdout] 381 | |             offset as i64
[INFO] [stdout] 382 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/db/postgres.rs:413:20
[INFO] [stdout]     |
[INFO] [stdout] 413 |           let rows = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 414 | |             r#"
[INFO] [stdout] 415 | |             SELECT p.id, p.user_id, p.content, p.title, p.sentiment_analysis, p.moderation_result, 
[INFO] [stdout] 416 | |                    p.is_flagged, p.created_at, p.updated_at, p.view_count, p.popularity_score, u.username,
[INFO] [stdout] ...   |
[INFO] [stdout] 426 | |             offset as i64
[INFO] [stdout] 427 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/db/postgres.rs:458:19
[INFO] [stdout]     |
[INFO] [stdout] 458 |           let row = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 459 | |             r#"
[INFO] [stdout] 460 | |             UPDATE posts 
[INFO] [stdout] 461 | |             SET content = $2, title = $3, updated_at = NOW()
[INFO] [stdout] ...   |
[INFO] [stdout] 468 | |             post.title
[INFO] [stdout] 469 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/db/postgres.rs:495:9
[INFO] [stdout]     |
[INFO] [stdout] 495 |         sqlx::query!("DELETE FROM posts 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/db/postgres.rs:509:9
[INFO] [stdout]     |
[INFO] [stdout] 509 | /         sqlx::query!(
[INFO] [stdout] 510 | |             "UPDATE posts SET popularity_score = $1 WHERE id = $2",
[INFO] [stdout] 511 | |             score,
[INFO] [stdout] 512 | |             post_id
[INFO] [stdout] 513 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/db/postgres.rs:611:17
[INFO] [stdout]     |
[INFO] [stdout] 611 | /                 sqlx::query!(
[INFO] [stdout] 612 | |                     "SELECT id FROM posts WHERE id = $1 FOR UPDATE",
[INFO] [stdout] 613 | |                     post_id
[INFO] [stdout] 614 | |                 )
[INFO] [stdout]     | |_________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/db/postgres.rs:620:30
[INFO] [stdout]     |
[INFO] [stdout] 620 |                   let result = sqlx::query!(
[INFO] [stdout]     |  ______________________________^
[INFO] [stdout] 621 | |                     r#"
[INFO] [stdout] 622 | |                     SELECT COALESCE(MAX(
[INFO] [stdout] 623 | |                         CAST(SPLIT_PART(TRIM(TRAILING '/' FROM path), '/', 1) AS INTEGER)
[INFO] [stdout] ...   |
[INFO] [stdout] 628 | |                     post_id
[INFO] [stdout] 629 | |                 )
[INFO] [stdout]     | |_________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/db/postgres.rs:640:37
[INFO] [stdout]     |
[INFO] [stdout] 640 |                   let parent_result = sqlx::query!(
[INFO] [stdout]     |  _____________________________________^
[INFO] [stdout] 641 | |                     "SELECT path, depth FROM comments WHERE id = $1 FOR UPDATE",
[INFO] [stdout] 642 | |                     parent_id
[INFO] [stdout] 643 | |                 )
[INFO] [stdout]     | |_________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/db/postgres.rs:649:30
[INFO] [stdout]     |
[INFO] [stdout] 649 |                   let result = sqlx::query!(
[INFO] [stdout]     |  ______________________________^
[INFO] [stdout] 650 | |                     r#"
[INFO] [stdout] 651 | |                     SELECT COALESCE(MAX(
[INFO] [stdout] 652 | |                         CAST(SPLIT_PART(TRIM(TRAILING '/' FROM SUBSTRING(path FROM LENGTH($2) + 1)), '/', 1) AS INTEGER)
[INFO] [stdout] ...   |
[INFO] [stdout] 658 | |                     parent_result.path
[INFO] [stdout] 659 | |                 )
[INFO] [stdout]     | |_________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/db/postgres.rs:674:13
[INFO] [stdout]     |
[INFO] [stdout] 674 | /             sqlx::query!(
[INFO] [stdout] 675 | |                 "UPDATE comments SET reply_count = reply_count + 1 WHERE id = $1",
[INFO] [stdout] 676 | |                 parent_id
[INFO] [stdout] 677 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/db/postgres.rs:684:19
[INFO] [stdout]     |
[INFO] [stdout] 684 |   ...   let row = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 685 | | ...       r#"
[INFO] [stdout] 686 | | ...       INSERT INTO comments (id, post_id, user_id, parent_id, content, path, depth, sentiment_analysis, moderation_result, is_...
[INFO] [stdout] 687 | | ...       VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14)
[INFO] [stdout] ...   |
[INFO] [stdout] 712 | | ...       comment.popularity_score
[INFO] [stdout] 713 | | ...   )
[INFO] [stdout]     | |_______^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/db/postgres.rs:759:20
[INFO] [stdout]     |
[INFO] [stdout] 759 |           let rows = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 760 | |             r#"
[INFO] [stdout] 761 | |             SELECT id, post_id, user_id, parent_id, content, path, depth, 
[INFO] [stdout] 762 | |                    sentiment_analysis, moderation_result, is_flagged, 
[INFO] [stdout] ...   |
[INFO] [stdout] 768 | |             post_id
[INFO] [stdout] 769 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/db/postgres.rs:814:9
[INFO] [stdout]     |
[INFO] [stdout] 814 |         sqlx::query!("DELETE FROM comments 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/db/postgres.rs:825:13
[INFO] [stdout]     |
[INFO] [stdout] 825 | /             sqlx::query!(
[INFO] [stdout] 826 | |                 "SELECT COUNT(*) as count FROM comments WHERE post_id = $1 AND parent_id IS NULL",
[INFO] [stdout] 827 | |                 post_id
[INFO] [stdout] 828 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/db/postgres.rs:835:13
[INFO] [stdout]     |
[INFO] [stdout] 835 | /             sqlx::query!(
[INFO] [stdout] 836 | |                 "SELECT COUNT(*) as count FROM comments WHERE post_id = $1",
[INFO] [stdout] 837 | |                 post_id
[INFO] [stdout] 838 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/db/postgres.rs:858:17
[INFO] [stdout]     |
[INFO] [stdout] 858 | /                 sqlx::query!(
[INFO] [stdout] 859 | |                     "SELECT id FROM posts WHERE id = $1 FOR UPDATE",
[INFO] [stdout] 860 | |                     post_id
[INFO] [stdout] 861 | |                 )
[INFO] [stdout]     | |_________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/db/postgres.rs:611:17
[INFO] [stdout]     |
[INFO] [stdout] 611 | /                 sqlx::query!(
[INFO] [stdout] 612 | |                     "SELECT id FROM posts WHERE id = $1 FOR UPDATE",
[INFO] [stdout] 613 | |                     post_id
[INFO] [stdout] 614 | |                 )
[INFO] [stdout]     | |_________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/db/postgres.rs:867:30
[INFO] [stdout]     |
[INFO] [stdout] 867 |                   let result = sqlx::query!(
[INFO] [stdout]     |  ______________________________^
[INFO] [stdout] 868 | |                     "SELECT COUNT(*) as count FROM comments WHERE post_id = $1 AND parent_id IS NULL",
[INFO] [stdout] 869 | |                     post_id
[INFO] [stdout] 870 | |                 )
[INFO] [stdout]     | |_________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/db/postgres.rs:620:30
[INFO] [stdout]     |
[INFO] [stdout] 620 |                   let result = sqlx::query!(
[INFO] [stdout]     |  ______________________________^
[INFO] [stdout] 621 | |                     r#"
[INFO] [stdout] 622 | |                     SELECT COALESCE(MAX(
[INFO] [stdout] 623 | |                         CAST(SPLIT_PART(TRIM(TRAILING '/' FROM path), '/', 1) AS INTEGER)
[INFO] [stdout] ...   |
[INFO] [stdout] 628 | |                     post_id
[INFO] [stdout] 629 | |                 )
[INFO] [stdout]     | |_________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/db/postgres.rs:880:17
[INFO] [stdout]     |
[INFO] [stdout] 880 | /                 sqlx::query!(
[INFO] [stdout] 881 | |                     "SELECT id FROM comments WHERE id = $1 FOR UPDATE",
[INFO] [stdout] 882 | |                     parent_id
[INFO] [stdout] 883 | |                 )
[INFO] [stdout]     | |_________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/db/postgres.rs:640:37
[INFO] [stdout]     |
[INFO] [stdout] 640 |                   let parent_result = sqlx::query!(
[INFO] [stdout]     |  _____________________________________^
[INFO] [stdout] 641 | |                     "SELECT path, depth FROM comments WHERE id = $1 FOR UPDATE",
[INFO] [stdout] 642 | |                     parent_id
[INFO] [stdout] 643 | |                 )
[INFO] [stdout]     | |_________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/db/postgres.rs:889:30
[INFO] [stdout]     |
[INFO] [stdout] 889 |                   let result = sqlx::query!(
[INFO] [stdout]     |  ______________________________^
[INFO] [stdout] 890 | |                     "SELECT COUNT(*) as count FROM comments WHERE parent_id = $1",
[INFO] [stdout] 891 | |                     parent_id
[INFO] [stdout] 892 | |                 )
[INFO] [stdout]     | |_________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/db/postgres.rs:649:30
[INFO] [stdout]     |
[INFO] [stdout] 649 |                   let result = sqlx::query!(
[INFO] [stdout]     |  ______________________________^
[INFO] [stdout] 650 | |                     r#"
[INFO] [stdout] 651 | |                     SELECT COALESCE(MAX(
[INFO] [stdout] 652 | |                         CAST(SPLIT_PART(TRIM(TRAILING '/' FROM SUBSTRING(path FROM LENGTH($2) + 1)), '/', 1) AS INTEGER)
[INFO] [stdout] ...   |
[INFO] [stdout] 658 | |                     parent_result.path
[INFO] [stdout] 659 | |                 )
[INFO] [stdout]     | |_________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/db/postgres.rs:910:9
[INFO] [stdout]     |
[INFO] [stdout] 910 | /         sqlx::query!(
[INFO] [stdout] 911 | |             "UPDATE comments SET reply_count = reply_count + 1, updated_at = NOW() WHERE id = $1",
[INFO] [stdout] 912 | |             comment_id
[INFO] [stdout] 913 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/db/postgres.rs:674:13
[INFO] [stdout]     |
[INFO] [stdout] 674 | /             sqlx::query!(
[INFO] [stdout] 675 | |                 "UPDATE comments SET reply_count = reply_count + 1 WHERE id = $1",
[INFO] [stdout] 676 | |                 parent_id
[INFO] [stdout] 677 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/db/postgres.rs:684:19
[INFO] [stdout]     |
[INFO] [stdout] 684 |   ...   let row = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 685 | | ...       r#"
[INFO] [stdout] 686 | | ...       INSERT INTO comments (id, post_id, user_id, parent_id, content, path, depth, sentiment_analysis, moderation_result, is_...
[INFO] [stdout] 687 | | ...       VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14)
[INFO] [stdout] ...   |
[INFO] [stdout] 712 | | ...       comment.popularity_score
[INFO] [stdout] 713 | | ...   )
[INFO] [stdout]     | |_______^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/db/postgres.rs:759:20
[INFO] [stdout]     |
[INFO] [stdout] 759 |           let rows = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 760 | |             r#"
[INFO] [stdout] 761 | |             SELECT id, post_id, user_id, parent_id, content, path, depth, 
[INFO] [stdout] 762 | |                    sentiment_analysis, moderation_result, is_flagged, 
[INFO] [stdout] ...   |
[INFO] [stdout] 768 | |             post_id
[INFO] [stdout] 769 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/db/postgres.rs:814:9
[INFO] [stdout]     |
[INFO] [stdout] 814 |         sqlx::query!("DELETE FROM comments 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/db/postgres.rs:825:13
[INFO] [stdout]     |
[INFO] [stdout] 825 | /             sqlx::query!(
[INFO] [stdout] 826 | |                 "SELECT COUNT(*) as count FROM comments WHERE post_id = $1 AND parent_id IS NULL",
[INFO] [stdout] 827 | |                 post_id
[INFO] [stdout] 828 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/db/postgres.rs:835:13
[INFO] [stdout]     |
[INFO] [stdout] 835 | /             sqlx::query!(
[INFO] [stdout] 836 | |                 "SELECT COUNT(*) as count FROM comments WHERE post_id = $1",
[INFO] [stdout] 837 | |                 post_id
[INFO] [stdout] 838 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/db/postgres.rs:858:17
[INFO] [stdout]     |
[INFO] [stdout] 858 | /                 sqlx::query!(
[INFO] [stdout] 859 | |                     "SELECT id FROM posts WHERE id = $1 FOR UPDATE",
[INFO] [stdout] 860 | |                     post_id
[INFO] [stdout] 861 | |                 )
[INFO] [stdout]     | |_________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/db/postgres.rs:867:30
[INFO] [stdout]     |
[INFO] [stdout] 867 |                   let result = sqlx::query!(
[INFO] [stdout]     |  ______________________________^
[INFO] [stdout] 868 | |                     "SELECT COUNT(*) as count FROM comments WHERE post_id = $1 AND parent_id IS NULL",
[INFO] [stdout] 869 | |                     post_id
[INFO] [stdout] 870 | |                 )
[INFO] [stdout]     | |_________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/db/postgres.rs:880:17
[INFO] [stdout]     |
[INFO] [stdout] 880 | /                 sqlx::query!(
[INFO] [stdout] 881 | |                     "SELECT id FROM comments WHERE id = $1 FOR UPDATE",
[INFO] [stdout] 882 | |                     parent_id
[INFO] [stdout] 883 | |                 )
[INFO] [stdout]     | |_________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/db/postgres.rs:889:30
[INFO] [stdout]     |
[INFO] [stdout] 889 |                   let result = sqlx::query!(
[INFO] [stdout]     |  ______________________________^
[INFO] [stdout] 890 | |                     "SELECT COUNT(*) as count FROM comments WHERE parent_id = $1",
[INFO] [stdout] 891 | |                     parent_id
[INFO] [stdout] 892 | |                 )
[INFO] [stdout]     | |_________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/db/postgres.rs:910:9
[INFO] [stdout]     |
[INFO] [stdout] 910 | /         sqlx::query!(
[INFO] [stdout] 911 | |             "UPDATE comments SET reply_count = reply_count + 1, updated_at = NOW() WHERE id = $1",
[INFO] [stdout] 912 | |             comment_id
[INFO] [stdout] 913 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/db/postgres.rs:936:22
[INFO] [stdout]     |
[INFO] [stdout] 936 |           let result = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 937 | |             r#"
[INFO] [stdout] 938 | |             INSERT INTO votes (id, user_id, target_id, target_type, vote_type, tag, is_upvote, created_at, updated_at)
[INFO] [stdout] 939 | |             VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9)
[INFO] [stdout] ...   |
[INFO] [stdout] 954 | |             vote.updated_at
[INFO] [stdout] 955 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/db/postgres.rs:974:22
[INFO] [stdout]     |
[INFO] [stdout] 974 |           let result = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 975 | |             "SELECT id, user_id, target_id, target_type, vote_type, tag, is_upvote, created_at, updated_at 
[INFO] [stdout] 976 | |              FROM votes 
[INFO] [stdout] 977 | |              WHERE user_id = $1 AND target_id = $2 AND vote_type = $3 AND tag = $4",
[INFO] [stdout] 978 | |             user_id, target_id, vote_type, tag
[INFO] [stdout] 979 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]     --> src/db/postgres.rs:998:23
[INFO] [stdout]      |
[INFO] [stdout]  998 |           let results = sqlx::query!(
[INFO] [stdout]      |  _______________________^
[INFO] [stdout]  999 | |             r#"
[INFO] [stdout] 1000 | |             SELECT 
[INFO] [stdout] 1001 | |                 vote_type,
[INFO] [stdout] ...    |
[INFO] [stdout] 1010 | |             target_id, target_type
[INFO] [stdout] 1011 | |         )
[INFO] [stdout]      | |_________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]     --> src/db/postgres.rs:1032:31
[INFO] [stdout]      |
[INFO] [stdout] 1032 |           let emotion_results = sqlx::query!(
[INFO] [stdout]      |  _______________________________^
[INFO] [stdout] 1033 | |             r#"
[INFO] [stdout] 1034 | |             SELECT 
[INFO] [stdout] 1035 | |                 tag,
[INFO] [stdout] ...    |
[INFO] [stdout] 1043 | |             target_id, target_type
[INFO] [stdout] 1044 | |         )
[INFO] [stdout]      | |_________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]     --> src/db/postgres.rs:1049:38
[INFO] [stdout]      |
[INFO] [stdout] 1049 |           let content_filter_results = sqlx::query!(
[INFO] [stdout]      |  ______________________________________^
[INFO] [stdout] 1050 | |             r#"
[INFO] [stdout] 1051 | |             SELECT 
[INFO] [stdout] 1052 | |                 tag,
[INFO] [stdout] ...    |
[INFO] [stdout] 1060 | |             target_id, target_type
[INFO] [stdout] 1061 | |         )
[INFO] [stdout]      | |_________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]     --> src/db/postgres.rs:1104:9
[INFO] [stdout]      |
[INFO] [stdout] 1104 | /         sqlx::query!(
[INFO] [stdout] 1105 | |             "DELETE FROM votes WHERE user_id = $1 AND target_id = $2 AND vote_type = $3 AND tag = $4",
[INFO] [stdout] 1106 | |             user_id, target_id, vote_type, tag
[INFO] [stdout] 1107 | |         )
[INFO] [stdout]      | |_________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]     --> src/db/postgres.rs:1116:22
[INFO] [stdout]      |
[INFO] [stdout] 1116 |           let result = sqlx::query!(
[INFO] [stdout]      |  ______________________^
[INFO] [stdout] 1117 | |             "SELECT COUNT(*) as vote_count FROM votes WHERE target_id = $1 AND target_type = $2",
[INFO] [stdout] 1118 | |             target_id, target_type
[INFO] [stdout] 1119 | |         )
[INFO] [stdout]      | |_________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/db/postgres.rs:936:22
[INFO] [stdout]     |
[INFO] [stdout] 936 |           let result = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 937 | |             r#"
[INFO] [stdout] 938 | |             INSERT INTO votes (id, user_id, target_id, target_type, vote_type, tag, is_upvote, created_at, updated_at)
[INFO] [stdout] 939 | |             VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9)
[INFO] [stdout] ...   |
[INFO] [stdout] 954 | |             vote.updated_at
[INFO] [stdout] 955 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/db/postgres.rs:974:22
[INFO] [stdout]     |
[INFO] [stdout] 974 |           let result = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 975 | |             "SELECT id, user_id, target_id, target_type, vote_type, tag, is_upvote, created_at, updated_at 
[INFO] [stdout] 976 | |              FROM votes 
[INFO] [stdout] 977 | |              WHERE user_id = $1 AND target_id = $2 AND vote_type = $3 AND tag = $4",
[INFO] [stdout] 978 | |             user_id, target_id, vote_type, tag
[INFO] [stdout] 979 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]     --> src/db/postgres.rs:998:23
[INFO] [stdout]      |
[INFO] [stdout]  998 |           let results = sqlx::query!(
[INFO] [stdout]      |  _______________________^
[INFO] [stdout]  999 | |             r#"
[INFO] [stdout] 1000 | |             SELECT 
[INFO] [stdout] 1001 | |                 vote_type,
[INFO] [stdout] ...    |
[INFO] [stdout] 1010 | |             target_id, target_type
[INFO] [stdout] 1011 | |         )
[INFO] [stdout]      | |_________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]     --> src/db/postgres.rs:1032:31
[INFO] [stdout]      |
[INFO] [stdout] 1032 |           let emotion_results = sqlx::query!(
[INFO] [stdout]      |  _______________________________^
[INFO] [stdout] 1033 | |             r#"
[INFO] [stdout] 1034 | |             SELECT 
[INFO] [stdout] 1035 | |                 tag,
[INFO] [stdout] ...    |
[INFO] [stdout] 1043 | |             target_id, target_type
[INFO] [stdout] 1044 | |         )
[INFO] [stdout]      | |_________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]     --> src/db/postgres.rs:1049:38
[INFO] [stdout]      |
[INFO] [stdout] 1049 |           let content_filter_results = sqlx::query!(
[INFO] [stdout]      |  ______________________________________^
[INFO] [stdout] 1050 | |             r#"
[INFO] [stdout] 1051 | |             SELECT 
[INFO] [stdout] 1052 | |                 tag,
[INFO] [stdout] ...    |
[INFO] [stdout] 1060 | |             target_id, target_type
[INFO] [stdout] 1061 | |         )
[INFO] [stdout]      | |_________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]     --> src/db/postgres.rs:1104:9
[INFO] [stdout]      |
[INFO] [stdout] 1104 | /         sqlx::query!(
[INFO] [stdout] 1105 | |             "DELETE FROM votes WHERE user_id = $1 AND target_id = $2 AND vote_type = $3 AND tag = $4",
[INFO] [stdout] 1106 | |             user_id, target_id, vote_type, tag
[INFO] [stdout] 1107 | |         )
[INFO] [stdout]      | |_________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]     --> src/db/postgres.rs:1116:22
[INFO] [stdout]      |
[INFO] [stdout] 1116 |           let result = sqlx::query!(
[INFO] [stdout]      |  ______________________^
[INFO] [stdout] 1117 | |             "SELECT COUNT(*) as vote_count FROM votes WHERE target_id = $1 AND target_type = $2",
[INFO] [stdout] 1118 | |             target_id, target_type
[INFO] [stdout] 1119 | |         )
[INFO] [stdout]      | |_________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/db/postgres.rs:67:19
[INFO] [stdout]    |
[INFO] [stdout] 67 |           let row = sqlx::query!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 68 | |             r#"
[INFO] [stdout] 69 | |             INSERT INTO users (id, username, email, password_hash, display_name, bio, avatar_url, is_active)
[INFO] [stdout] 70 | |             VALUES ($1, $2, $3, $4, $5, $6, $7, $8)
[INFO] [stdout] ...  |
[INFO] [stdout] 82 | |         .fetch_one(&*self.pool)
[INFO] [stdout] 83 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db/postgres.rs:101:19
[INFO] [stdout]     |
[INFO] [stdout] 101 |           let row = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 102 | |             r#"
[INFO] [stdout] 103 | |             SELECT id, username, email, password_hash, display_name, bio, avatar_url, created_at, updated_at, is_active
[INFO] [stdout] 104 | |             FROM users WHERE id = $1
[INFO] [stdout] ...   |
[INFO] [stdout] 108 | |         .fetch_optional(&*self.pool)
[INFO] [stdout] 109 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db/postgres.rs:127:19
[INFO] [stdout]     |
[INFO] [stdout] 127 |           let row = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 128 | |             r#"
[INFO] [stdout] 129 | |             SELECT id, username, email, password_hash, display_name, bio, avatar_url, created_at, updated_at, is_active
[INFO] [stdout] 130 | |             FROM users WHERE email = $1
[INFO] [stdout] ...   |
[INFO] [stdout] 134 | |         .fetch_optional(&*self.pool)
[INFO] [stdout] 135 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db/postgres.rs:153:19
[INFO] [stdout]     |
[INFO] [stdout] 153 |   ...   let row = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 154 | | ...       r#"
[INFO] [stdout] 155 | | ...       UPDATE users 
[INFO] [stdout] 156 | | ...       SET username = $2, email = $3, password_hash = $4, display_name = $5, bio = $6, avatar_url = $7, is_active = $8, update...
[INFO] [stdout] ...   |
[INFO] [stdout] 169 | | ...   .fetch_one(&*self.pool)
[INFO] [stdout] 170 | | ...   .await
[INFO] [stdout]     | |____________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db/postgres.rs:188:9
[INFO] [stdout]     |
[INFO] [stdout] 188 | /         sqlx::query!("DELETE FROM users WHERE id = $1", id)
[INFO] [stdout] 189 | |             .execute(&*self.pool)
[INFO] [stdout] 190 | |             .await
[INFO] [stdout]     | |__________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db/postgres.rs:236:19
[INFO] [stdout]     |
[INFO] [stdout] 236 |   ...   let row = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 237 | | ...       r#"
[INFO] [stdout] 238 | | ...       INSERT INTO posts (id, user_id, content, title, sentiment_analysis, moderation_result, is_flagged, view_count, populari...
[INFO] [stdout] 239 | | ...       VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9)
[INFO] [stdout] ...   |
[INFO] [stdout] 261 | | ...   .fetch_one(&*self.pool)
[INFO] [stdout] 262 | | ...   .await
[INFO] [stdout]     | |____________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db/postgres.rs:286:19
[INFO] [stdout]     |
[INFO] [stdout] 286 |           let row = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 287 | |             r#"
[INFO] [stdout] 288 | |             SELECT p.id, p.user_id, p.content, p.title, p.sentiment_analysis, p.moderation_result, 
[INFO] [stdout] 289 | |                    p.is_flagged, p.created_at, p.updated_at, p.view_count, p.popularity_score, u.username
[INFO] [stdout] ...   |
[INFO] [stdout] 296 | |         .fetch_optional(&*self.pool)
[INFO] [stdout] 297 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db/postgres.rs:326:20
[INFO] [stdout]     |
[INFO] [stdout] 326 |           let rows = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 327 | |             r#"
[INFO] [stdout] 328 | |             SELECT p.id, p.user_id, p.content, p.title, p.sentiment_analysis, p.moderation_result, 
[INFO] [stdout] 329 | |                    p.is_flagged, p.created_at, p.updated_at, p.view_count, p.popularity_score, u.username,
[INFO] [stdout] ...   |
[INFO] [stdout] 339 | |         .fetch_all(&*self.pool)
[INFO] [stdout] 340 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db/postgres.rs:370:20
[INFO] [stdout]     |
[INFO] [stdout] 370 |           let rows = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 371 | |             r#"
[INFO] [stdout] 372 | |             SELECT p.id, p.user_id, p.content, p.title, p.sentiment_analysis, p.moderation_result, 
[INFO] [stdout] 373 | |                    p.is_flagged, p.created_at, p.updated_at, p.view_count, p.popularity_score, u.username,
[INFO] [stdout] ...   |
[INFO] [stdout] 383 | |         .fetch_all(&*self.pool)
[INFO] [stdout] 384 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db/postgres.rs:413:20
[INFO] [stdout]     |
[INFO] [stdout] 413 |           let rows = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 414 | |             r#"
[INFO] [stdout] 415 | |             SELECT p.id, p.user_id, p.content, p.title, p.sentiment_analysis, p.moderation_result, 
[INFO] [stdout] 416 | |                    p.is_flagged, p.created_at, p.updated_at, p.view_count, p.popularity_score, u.username,
[INFO] [stdout] ...   |
[INFO] [stdout] 428 | |         .fetch_all(&*self.pool)
[INFO] [stdout] 429 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db/postgres.rs:458:19
[INFO] [stdout]     |
[INFO] [stdout] 458 |           let row = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 459 | |             r#"
[INFO] [stdout] 460 | |             UPDATE posts 
[INFO] [stdout] 461 | |             SET content = $2, title = $3, updated_at = NOW()
[INFO] [stdout] ...   |
[INFO] [stdout] 470 | |         .fetch_one(&*self.pool)
[INFO] [stdout] 471 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db/postgres.rs:495:9
[INFO] [stdout]     |
[INFO] [stdout] 495 | /         sqlx::query!("DELETE FROM posts WHERE id = $1", id)
[INFO] [stdout] 496 | |             .execute(&*self.pool)
[INFO] [stdout] 497 | |             .await
[INFO] [stdout]     | |__________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db/postgres.rs:509:9
[INFO] [stdout]     |
[INFO] [stdout] 509 | /         sqlx::query!(
[INFO] [stdout] 510 | |             "UPDATE posts SET popularity_score = $1 WHERE id = $2",
[INFO] [stdout] 511 | |             score,
[INFO] [stdout] 512 | |             post_id
[INFO] [stdout] 513 | |         )
[INFO] [stdout] 514 | |         .execute(&*self.pool)
[INFO] [stdout] 515 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db/postgres.rs:611:17
[INFO] [stdout]     |
[INFO] [stdout] 611 | /                 sqlx::query!(
[INFO] [stdout] 612 | |                     "SELECT id FROM posts WHERE id = $1 FOR UPDATE",
[INFO] [stdout] 613 | |                     post_id
[INFO] [stdout] ...   |
[INFO] [stdout] 616 | |                 .await
[INFO] [stdout]     | |______________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db/postgres.rs:620:30
[INFO] [stdout]     |
[INFO] [stdout] 620 |                   let result = sqlx::query!(
[INFO] [stdout]     |  ______________________________^
[INFO] [stdout] 621 | |                     r#"
[INFO] [stdout] 622 | |                     SELECT COALESCE(MAX(
[INFO] [stdout] 623 | |                         CAST(SPLIT_PART(TRIM(TRAILING '/' FROM path), '/', 1) AS INTEGER)
[INFO] [stdout] ...   |
[INFO] [stdout] 630 | |                 .fetch_one(&mut *tx)
[INFO] [stdout] 631 | |                 .await
[INFO] [stdout]     | |______________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db/postgres.rs:640:37
[INFO] [stdout]     |
[INFO] [stdout] 640 |                   let parent_result = sqlx::query!(
[INFO] [stdout]     |  _____________________________________^
[INFO] [stdout] 641 | |                     "SELECT path, depth FROM comments WHERE id = $1 FOR UPDATE",
[INFO] [stdout] 642 | |                     parent_id
[INFO] [stdout] ...   |
[INFO] [stdout] 645 | |                 .await
[INFO] [stdout]     | |______________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db/postgres.rs:649:30
[INFO] [stdout]     |
[INFO] [stdout] 649 |                   let result = sqlx::query!(
[INFO] [stdout]     |  ______________________________^
[INFO] [stdout] 650 | |                     r#"
[INFO] [stdout] 651 | |                     SELECT COALESCE(MAX(
[INFO] [stdout] 652 | |                         CAST(SPLIT_PART(TRIM(TRAILING '/' FROM SUBSTRING(path FROM LENGTH($2) + 1)), '/', 1) AS INTEGER)
[INFO] [stdout] ...   |
[INFO] [stdout] 660 | |                 .fetch_one(&mut *tx)
[INFO] [stdout] 661 | |                 .await
[INFO] [stdout]     | |______________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db/postgres.rs:674:13
[INFO] [stdout]     |
[INFO] [stdout] 674 | /             sqlx::query!(
[INFO] [stdout] 675 | |                 "UPDATE comments SET reply_count = reply_count + 1 WHERE id = $1",
[INFO] [stdout] 676 | |                 parent_id
[INFO] [stdout] ...   |
[INFO] [stdout] 679 | |             .await
[INFO] [stdout]     | |__________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db/postgres.rs:684:19
[INFO] [stdout]     |
[INFO] [stdout] 684 |   ...   let row = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 685 | | ...       r#"
[INFO] [stdout] 686 | | ...       INSERT INTO comments (id, post_id, user_id, parent_id, content, path, depth, sentiment_analysis, moderation_result, is_...
[INFO] [stdout] 687 | | ...       VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14)
[INFO] [stdout] ...   |
[INFO] [stdout] 714 | | ...   .fetch_one(&mut *tx)
[INFO] [stdout] 715 | | ...   .await
[INFO] [stdout]     | |____________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db/postgres.rs:759:20
[INFO] [stdout]     |
[INFO] [stdout] 759 |           let rows = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 760 | |             r#"
[INFO] [stdout] 761 | |             SELECT id, post_id, user_id, parent_id, content, path, depth, 
[INFO] [stdout] 762 | |                    sentiment_analysis, moderation_result, is_flagged, 
[INFO] [stdout] ...   |
[INFO] [stdout] 770 | |         .fetch_all(&*self.pool)
[INFO] [stdout] 771 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db/postgres.rs:814:9
[INFO] [stdout]     |
[INFO] [stdout] 814 | /         sqlx::query!("DELETE FROM comments WHERE id = $1", id)
[INFO] [stdout] 815 | |             .execute(&*self.pool)
[INFO] [stdout] 816 | |             .await
[INFO] [stdout]     | |__________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db/postgres.rs:825:13
[INFO] [stdout]     |
[INFO] [stdout] 825 | /             sqlx::query!(
[INFO] [stdout] 826 | |                 "SELECT COUNT(*) as count FROM comments WHERE post_id = $1 AND parent_id IS NULL",
[INFO] [stdout] 827 | |                 post_id
[INFO] [stdout] ...   |
[INFO] [stdout] 830 | |             .await
[INFO] [stdout]     | |__________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db/postgres.rs:835:13
[INFO] [stdout]     |
[INFO] [stdout] 835 | /             sqlx::query!(
[INFO] [stdout] 836 | |                 "SELECT COUNT(*) as count FROM comments WHERE post_id = $1",
[INFO] [stdout] 837 | |                 post_id
[INFO] [stdout] ...   |
[INFO] [stdout] 840 | |             .await
[INFO] [stdout]     | |__________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db/postgres.rs:858:17
[INFO] [stdout]     |
[INFO] [stdout] 858 | /                 sqlx::query!(
[INFO] [stdout] 859 | |                     "SELECT id FROM posts WHERE id = $1 FOR UPDATE",
[INFO] [stdout] 860 | |                     post_id
[INFO] [stdout] ...   |
[INFO] [stdout] 863 | |                 .await
[INFO] [stdout]     | |______________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db/postgres.rs:867:30
[INFO] [stdout]     |
[INFO] [stdout] 867 |                   let result = sqlx::query!(
[INFO] [stdout]     |  ______________________________^
[INFO] [stdout] 868 | |                     "SELECT COUNT(*) as count FROM comments WHERE post_id = $1 AND parent_id IS NULL",
[INFO] [stdout] 869 | |                     post_id
[INFO] [stdout] ...   |
[INFO] [stdout] 872 | |                 .await
[INFO] [stdout]     | |______________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db/postgres.rs:880:17
[INFO] [stdout]     |
[INFO] [stdout] 880 | /                 sqlx::query!(
[INFO] [stdout] 881 | |                     "SELECT id FROM comments WHERE id = $1 FOR UPDATE",
[INFO] [stdout] 882 | |                     parent_id
[INFO] [stdout] ...   |
[INFO] [stdout] 885 | |                 .await
[INFO] [stdout]     | |______________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db/postgres.rs:889:30
[INFO] [stdout]     |
[INFO] [stdout] 889 |                   let result = sqlx::query!(
[INFO] [stdout]     |  ______________________________^
[INFO] [stdout] 890 | |                     "SELECT COUNT(*) as count FROM comments WHERE parent_id = $1",
[INFO] [stdout] 891 | |                     parent_id
[INFO] [stdout] ...   |
[INFO] [stdout] 894 | |                 .await
[INFO] [stdout]     | |______________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db/postgres.rs:910:9
[INFO] [stdout]     |
[INFO] [stdout] 910 | /         sqlx::query!(
[INFO] [stdout] 911 | |             "UPDATE comments SET reply_count = reply_count + 1, updated_at = NOW() WHERE id = $1",
[INFO] [stdout] 912 | |             comment_id
[INFO] [stdout] ...   |
[INFO] [stdout] 915 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db/postgres.rs:936:22
[INFO] [stdout]     |
[INFO] [stdout] 936 |           let result = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 937 | |             r#"
[INFO] [stdout] 938 | |             INSERT INTO votes (id, user_id, target_id, target_type, vote_type, tag, is_upvote, created_at, updated_at)
[INFO] [stdout] 939 | |             VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9)
[INFO] [stdout] ...   |
[INFO] [stdout] 956 | |         .fetch_one(&*self.pool)
[INFO] [stdout] 957 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db/postgres.rs:974:22
[INFO] [stdout]     |
[INFO] [stdout] 974 |           let result = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 975 | |             "SELECT id, user_id, target_id, target_type, vote_type, tag, is_upvote, created_at, updated_at 
[INFO] [stdout] 976 | |              FROM votes 
[INFO] [stdout] 977 | |              WHERE user_id = $1 AND target_id = $2 AND vote_type = $3 AND tag = $4",
[INFO] [stdout] ...   |
[INFO] [stdout] 980 | |         .fetch_optional(&*self.pool)
[INFO] [stdout] 981 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]     --> src/db/postgres.rs:998:23
[INFO] [stdout]      |
[INFO] [stdout]  998 |           let results = sqlx::query!(
[INFO] [stdout]      |  _______________________^
[INFO] [stdout]  999 | |             r#"
[INFO] [stdout] 1000 | |             SELECT 
[INFO] [stdout] 1001 | |                 vote_type,
[INFO] [stdout] ...    |
[INFO] [stdout] 1012 | |         .fetch_all(&*self.pool)
[INFO] [stdout] 1013 | |         .await
[INFO] [stdout]      | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]     --> src/db/postgres.rs:1032:31
[INFO] [stdout]      |
[INFO] [stdout] 1032 |           let emotion_results = sqlx::query!(
[INFO] [stdout]      |  _______________________________^
[INFO] [stdout] 1033 | |             r#"
[INFO] [stdout] 1034 | |             SELECT 
[INFO] [stdout] 1035 | |                 tag,
[INFO] [stdout] ...    |
[INFO] [stdout] 1045 | |         .fetch_all(&*self.pool)
[INFO] [stdout] 1046 | |         .await
[INFO] [stdout]      | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]     --> src/db/postgres.rs:1049:38
[INFO] [stdout]      |
[INFO] [stdout] 1049 |           let content_filter_results = sqlx::query!(
[INFO] [stdout]      |  ______________________________________^
[INFO] [stdout] 1050 | |             r#"
[INFO] [stdout] 1051 | |             SELECT 
[INFO] [stdout] 1052 | |                 tag,
[INFO] [stdout] ...    |
[INFO] [stdout] 1062 | |         .fetch_all(&*self.pool)
[INFO] [stdout] 1063 | |         .await
[INFO] [stdout]      | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]     --> src/db/postgres.rs:1104:9
[INFO] [stdout]      |
[INFO] [stdout] 1104 | /         sqlx::query!(
[INFO] [stdout] 1105 | |             "DELETE FROM votes WHERE user_id = $1 AND target_id = $2 AND vote_type = $3 AND tag = $4",
[INFO] [stdout] 1106 | |             user_id, target_id, vote_type, tag
[INFO] [stdout] ...    |
[INFO] [stdout] 1109 | |         .await
[INFO] [stdout]      | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]     --> src/db/postgres.rs:1116:22
[INFO] [stdout]      |
[INFO] [stdout] 1116 |           let result = sqlx::query!(
[INFO] [stdout]      |  ______________________^
[INFO] [stdout] 1117 | |             "SELECT COUNT(*) as vote_count FROM votes WHERE target_id = $1 AND target_type = $2",
[INFO] [stdout] 1118 | |             target_id, target_type
[INFO] [stdout] ...    |
[INFO] [stdout] 1121 | |         .await
[INFO] [stdout]      | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/db/postgres.rs:67:19
[INFO] [stdout]    |
[INFO] [stdout] 67 |           let row = sqlx::query!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 68 | |             r#"
[INFO] [stdout] 69 | |             INSERT INTO users (id, username, email, password_hash, display_name, bio, avatar_url, is_active)
[INFO] [stdout] 70 | |             VALUES ($1, $2, $3, $4, $5, $6, $7, $8)
[INFO] [stdout] ...  |
[INFO] [stdout] 82 | |         .fetch_one(&*self.pool)
[INFO] [stdout] 83 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db/postgres.rs:101:19
[INFO] [stdout]     |
[INFO] [stdout] 101 |           let row = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 102 | |             r#"
[INFO] [stdout] 103 | |             SELECT id, username, email, password_hash, display_name, bio, avatar_url, created_at, updated_at, is_active
[INFO] [stdout] 104 | |             FROM users WHERE id = $1
[INFO] [stdout] ...   |
[INFO] [stdout] 108 | |         .fetch_optional(&*self.pool)
[INFO] [stdout] 109 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db/postgres.rs:127:19
[INFO] [stdout]     |
[INFO] [stdout] 127 |           let row = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 128 | |             r#"
[INFO] [stdout] 129 | |             SELECT id, username, email, password_hash, display_name, bio, avatar_url, created_at, updated_at, is_active
[INFO] [stdout] 130 | |             FROM users WHERE email = $1
[INFO] [stdout] ...   |
[INFO] [stdout] 134 | |         .fetch_optional(&*self.pool)
[INFO] [stdout] 135 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db/postgres.rs:153:19
[INFO] [stdout]     |
[INFO] [stdout] 153 |   ...   let row = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 154 | | ...       r#"
[INFO] [stdout] 155 | | ...       UPDATE users 
[INFO] [stdout] 156 | | ...       SET username = $2, email = $3, password_hash = $4, display_name = $5, bio = $6, avatar_url = $7, is_active = $8, update...
[INFO] [stdout] ...   |
[INFO] [stdout] 169 | | ...   .fetch_one(&*self.pool)
[INFO] [stdout] 170 | | ...   .await
[INFO] [stdout]     | |____________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db/postgres.rs:188:9
[INFO] [stdout]     |
[INFO] [stdout] 188 | /         sqlx::query!("DELETE FROM users WHERE id = $1", id)
[INFO] [stdout] 189 | |             .execute(&*self.pool)
[INFO] [stdout] 190 | |             .await
[INFO] [stdout]     | |__________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db/postgres.rs:236:19
[INFO] [stdout]     |
[INFO] [stdout] 236 |   ...   let row = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 237 | | ...       r#"
[INFO] [stdout] 238 | | ...       INSERT INTO posts (id, user_id, content, title, sentiment_analysis, moderation_result, is_flagged, view_count, populari...
[INFO] [stdout] 239 | | ...       VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9)
[INFO] [stdout] ...   |
[INFO] [stdout] 261 | | ...   .fetch_one(&*self.pool)
[INFO] [stdout] 262 | | ...   .await
[INFO] [stdout]     | |____________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db/postgres.rs:286:19
[INFO] [stdout]     |
[INFO] [stdout] 286 |           let row = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 287 | |             r#"
[INFO] [stdout] 288 | |             SELECT p.id, p.user_id, p.content, p.title, p.sentiment_analysis, p.moderation_result, 
[INFO] [stdout] 289 | |                    p.is_flagged, p.created_at, p.updated_at, p.view_count, p.popularity_score, u.username
[INFO] [stdout] ...   |
[INFO] [stdout] 296 | |         .fetch_optional(&*self.pool)
[INFO] [stdout] 297 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db/postgres.rs:326:20
[INFO] [stdout]     |
[INFO] [stdout] 326 |           let rows = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 327 | |             r#"
[INFO] [stdout] 328 | |             SELECT p.id, p.user_id, p.content, p.title, p.sentiment_analysis, p.moderation_result, 
[INFO] [stdout] 329 | |                    p.is_flagged, p.created_at, p.updated_at, p.view_count, p.popularity_score, u.username,
[INFO] [stdout] ...   |
[INFO] [stdout] 339 | |         .fetch_all(&*self.pool)
[INFO] [stdout] 340 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db/postgres.rs:370:20
[INFO] [stdout]     |
[INFO] [stdout] 370 |           let rows = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 371 | |             r#"
[INFO] [stdout] 372 | |             SELECT p.id, p.user_id, p.content, p.title, p.sentiment_analysis, p.moderation_result, 
[INFO] [stdout] 373 | |                    p.is_flagged, p.created_at, p.updated_at, p.view_count, p.popularity_score, u.username,
[INFO] [stdout] ...   |
[INFO] [stdout] 383 | |         .fetch_all(&*self.pool)
[INFO] [stdout] 384 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db/postgres.rs:413:20
[INFO] [stdout]     |
[INFO] [stdout] 413 |           let rows = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 414 | |             r#"
[INFO] [stdout] 415 | |             SELECT p.id, p.user_id, p.content, p.title, p.sentiment_analysis, p.moderation_result, 
[INFO] [stdout] 416 | |                    p.is_flagged, p.created_at, p.updated_at, p.view_count, p.popularity_score, u.username,
[INFO] [stdout] ...   |
[INFO] [stdout] 428 | |         .fetch_all(&*self.pool)
[INFO] [stdout] 429 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db/postgres.rs:458:19
[INFO] [stdout]     |
[INFO] [stdout] 458 |           let row = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 459 | |             r#"
[INFO] [stdout] 460 | |             UPDATE posts 
[INFO] [stdout] 461 | |             SET content = $2, title = $3, updated_at = NOW()
[INFO] [stdout] ...   |
[INFO] [stdout] 470 | |         .fetch_one(&*self.pool)
[INFO] [stdout] 471 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db/postgres.rs:495:9
[INFO] [stdout]     |
[INFO] [stdout] 495 | /         sqlx::query!("DELETE FROM posts WHERE id = $1", id)
[INFO] [stdout] 496 | |             .execute(&*self.pool)
[INFO] [stdout] 497 | |             .await
[INFO] [stdout]     | |__________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db/postgres.rs:509:9
[INFO] [stdout]     |
[INFO] [stdout] 509 | /         sqlx::query!(
[INFO] [stdout] 510 | |             "UPDATE posts SET popularity_score = $1 WHERE id = $2",
[INFO] [stdout] 511 | |             score,
[INFO] [stdout] 512 | |             post_id
[INFO] [stdout] 513 | |         )
[INFO] [stdout] 514 | |         .execute(&*self.pool)
[INFO] [stdout] 515 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db/postgres.rs:611:17
[INFO] [stdout]     |
[INFO] [stdout] 611 | /                 sqlx::query!(
[INFO] [stdout] 612 | |                     "SELECT id FROM posts WHERE id = $1 FOR UPDATE",
[INFO] [stdout] 613 | |                     post_id
[INFO] [stdout] ...   |
[INFO] [stdout] 616 | |                 .await
[INFO] [stdout]     | |______________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db/postgres.rs:620:30
[INFO] [stdout]     |
[INFO] [stdout] 620 |                   let result = sqlx::query!(
[INFO] [stdout]     |  ______________________________^
[INFO] [stdout] 621 | |                     r#"
[INFO] [stdout] 622 | |                     SELECT COALESCE(MAX(
[INFO] [stdout] 623 | |                         CAST(SPLIT_PART(TRIM(TRAILING '/' FROM path), '/', 1) AS INTEGER)
[INFO] [stdout] ...   |
[INFO] [stdout] 630 | |                 .fetch_one(&mut *tx)
[INFO] [stdout] 631 | |                 .await
[INFO] [stdout]     | |______________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db/postgres.rs:640:37
[INFO] [stdout]     |
[INFO] [stdout] 640 |                   let parent_result = sqlx::query!(
[INFO] [stdout]     |  _____________________________________^
[INFO] [stdout] 641 | |                     "SELECT path, depth FROM comments WHERE id = $1 FOR UPDATE",
[INFO] [stdout] 642 | |                     parent_id
[INFO] [stdout] ...   |
[INFO] [stdout] 645 | |                 .await
[INFO] [stdout]     | |______________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db/postgres.rs:649:30
[INFO] [stdout]     |
[INFO] [stdout] 649 |                   let result = sqlx::query!(
[INFO] [stdout]     |  ______________________________^
[INFO] [stdout] 650 | |                     r#"
[INFO] [stdout] 651 | |                     SELECT COALESCE(MAX(
[INFO] [stdout] 652 | |                         CAST(SPLIT_PART(TRIM(TRAILING '/' FROM SUBSTRING(path FROM LENGTH($2) + 1)), '/', 1) AS INTEGER)
[INFO] [stdout] ...   |
[INFO] [stdout] 660 | |                 .fetch_one(&mut *tx)
[INFO] [stdout] 661 | |                 .await
[INFO] [stdout]     | |______________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db/postgres.rs:674:13
[INFO] [stdout]     |
[INFO] [stdout] 674 | /             sqlx::query!(
[INFO] [stdout] 675 | |                 "UPDATE comments SET reply_count = reply_count + 1 WHERE id = $1",
[INFO] [stdout] 676 | |                 parent_id
[INFO] [stdout] ...   |
[INFO] [stdout] 679 | |             .await
[INFO] [stdout]     | |__________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db/postgres.rs:684:19
[INFO] [stdout]     |
[INFO] [stdout] 684 |   ...   let row = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 685 | | ...       r#"
[INFO] [stdout] 686 | | ...       INSERT INTO comments (id, post_id, user_id, parent_id, content, path, depth, sentiment_analysis, moderation_result, is_...
[INFO] [stdout] 687 | | ...       VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14)
[INFO] [stdout] ...   |
[INFO] [stdout] 714 | | ...   .fetch_one(&mut *tx)
[INFO] [stdout] 715 | | ...   .await
[INFO] [stdout]     | |____________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db/postgres.rs:759:20
[INFO] [stdout]     |
[INFO] [stdout] 759 |           let rows = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 760 | |             r#"
[INFO] [stdout] 761 | |             SELECT id, post_id, user_id, parent_id, content, path, depth, 
[INFO] [stdout] 762 | |                    sentiment_analysis, moderation_result, is_flagged, 
[INFO] [stdout] ...   |
[INFO] [stdout] 770 | |         .fetch_all(&*self.pool)
[INFO] [stdout] 771 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db/postgres.rs:814:9
[INFO] [stdout]     |
[INFO] [stdout] 814 | /         sqlx::query!("DELETE FROM comments WHERE id = $1", id)
[INFO] [stdout] 815 | |             .execute(&*self.pool)
[INFO] [stdout] 816 | |             .await
[INFO] [stdout]     | |__________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db/postgres.rs:825:13
[INFO] [stdout]     |
[INFO] [stdout] 825 | /             sqlx::query!(
[INFO] [stdout] 826 | |                 "SELECT COUNT(*) as count FROM comments WHERE post_id = $1 AND parent_id IS NULL",
[INFO] [stdout] 827 | |                 post_id
[INFO] [stdout] ...   |
[INFO] [stdout] 830 | |             .await
[INFO] [stdout]     | |__________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db/postgres.rs:835:13
[INFO] [stdout]     |
[INFO] [stdout] 835 | /             sqlx::query!(
[INFO] [stdout] 836 | |                 "SELECT COUNT(*) as count FROM comments WHERE post_id = $1",
[INFO] [stdout] 837 | |                 post_id
[INFO] [stdout] ...   |
[INFO] [stdout] 840 | |             .await
[INFO] [stdout]     | |__________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db/postgres.rs:858:17
[INFO] [stdout]     |
[INFO] [stdout] 858 | /                 sqlx::query!(
[INFO] [stdout] 859 | |                     "SELECT id FROM posts WHERE id = $1 FOR UPDATE",
[INFO] [stdout] 860 | |                     post_id
[INFO] [stdout] ...   |
[INFO] [stdout] 863 | |                 .await
[INFO] [stdout]     | |______________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db/postgres.rs:867:30
[INFO] [stdout]     |
[INFO] [stdout] 867 |                   let result = sqlx::query!(
[INFO] [stdout]     |  ______________________________^
[INFO] [stdout] 868 | |                     "SELECT COUNT(*) as count FROM comments WHERE post_id = $1 AND parent_id IS NULL",
[INFO] [stdout] 869 | |                     post_id
[INFO] [stdout] ...   |
[INFO] [stdout] 872 | |                 .await
[INFO] [stdout]     | |______________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db/postgres.rs:880:17
[INFO] [stdout]     |
[INFO] [stdout] 880 | /                 sqlx::query!(
[INFO] [stdout] 881 | |                     "SELECT id FROM comments WHERE id = $1 FOR UPDATE",
[INFO] [stdout] 882 | |                     parent_id
[INFO] [stdout] ...   |
[INFO] [stdout] 885 | |                 .await
[INFO] [stdout]     | |______________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db/postgres.rs:889:30
[INFO] [stdout]     |
[INFO] [stdout] 889 |                   let result = sqlx::query!(
[INFO] [stdout]     |  ______________________________^
[INFO] [stdout] 890 | |                     "SELECT COUNT(*) as count FROM comments WHERE parent_id = $1",
[INFO] [stdout] 891 | |                     parent_id
[INFO] [stdout] ...   |
[INFO] [stdout] 894 | |                 .await
[INFO] [stdout]     | |______________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db/postgres.rs:910:9
[INFO] [stdout]     |
[INFO] [stdout] 910 | /         sqlx::query!(
[INFO] [stdout] 911 | |             "UPDATE comments SET reply_count = reply_count + 1, updated_at = NOW() WHERE id = $1",
[INFO] [stdout] 912 | |             comment_id
[INFO] [stdout] ...   |
[INFO] [stdout] 915 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db/postgres.rs:936:22
[INFO] [stdout]     |
[INFO] [stdout] 936 |           let result = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 937 | |             r#"
[INFO] [stdout] 938 | |             INSERT INTO votes (id, user_id, target_id, target_type, vote_type, tag, is_upvote, created_at, updated_at)
[INFO] [stdout] 939 | |             VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9)
[INFO] [stdout] ...   |
[INFO] [stdout] 956 | |         .fetch_one(&*self.pool)
[INFO] [stdout] 957 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/db/postgres.rs:974:22
[INFO] [stdout]     |
[INFO] [stdout] 974 |           let result = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 975 | |             "SELECT id, user_id, target_id, target_type, vote_type, tag, is_upvote, created_at, updated_at 
[INFO] [stdout] 976 | |              FROM votes 
[INFO] [stdout] 977 | |              WHERE user_id = $1 AND target_id = $2 AND vote_type = $3 AND tag = $4",
[INFO] [stdout] ...   |
[INFO] [stdout] 980 | |         .fetch_optional(&*self.pool)
[INFO] [stdout] 981 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]     --> src/db/postgres.rs:998:23
[INFO] [stdout]      |
[INFO] [stdout]  998 |           let results = sqlx::query!(
[INFO] [stdout]      |  _______________________^
[INFO] [stdout]  999 | |             r#"
[INFO] [stdout] 1000 | |             SELECT 
[INFO] [stdout] 1001 | |                 vote_type,
[INFO] [stdout] ...    |
[INFO] [stdout] 1012 | |         .fetch_all(&*self.pool)
[INFO] [stdout] 1013 | |         .await
[INFO] [stdout]      | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]     --> src/db/postgres.rs:1032:31
[INFO] [stdout]      |
[INFO] [stdout] 1032 |           let emotion_results = sqlx::query!(
[INFO] [stdout]      |  _______________________________^
[INFO] [stdout] 1033 | |             r#"
[INFO] [stdout] 1034 | |             SELECT 
[INFO] [stdout] 1035 | |                 tag,
[INFO] [stdout] ...    |
[INFO] [stdout] 1045 | |         .fetch_all(&*self.pool)
[INFO] [stdout] 1046 | |         .await
[INFO] [stdout]      | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]     --> src/db/postgres.rs:1049:38
[INFO] [stdout]      |
[INFO] [stdout] 1049 |           let content_filter_results = sqlx::query!(
[INFO] [stdout]      |  ______________________________________^
[INFO] [stdout] 1050 | |             r#"
[INFO] [stdout] 1051 | |             SELECT 
[INFO] [stdout] 1052 | |                 tag,
[INFO] [stdout] ...    |
[INFO] [stdout] 1062 | |         .fetch_all(&*self.pool)
[INFO] [stdout] 1063 | |         .await
[INFO] [stdout]      | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]     --> src/db/postgres.rs:1104:9
[INFO] [stdout]      |
[INFO] [stdout] 1104 | /         sqlx::query!(
[INFO] [stdout] 1105 | |             "DELETE FROM votes WHERE user_id = $1 AND target_id = $2 AND vote_type = $3 AND tag = $4",
[INFO] [stdout] 1106 | |             user_id, target_id, vote_type, tag
[INFO] [stdout] ...    |
[INFO] [stdout] 1109 | |         .await
[INFO] [stdout]      | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]     --> src/db/postgres.rs:1116:22
[INFO] [stdout]      |
[INFO] [stdout] 1116 |           let result = sqlx::query!(
[INFO] [stdout]      |  ______________________^
[INFO] [stdout] 1117 | |             "SELECT COUNT(*) as vote_count FROM votes WHERE target_id = $1 AND target_type = $2",
[INFO] [stdout] 1118 | |             target_id, target_type
[INFO] [stdout] ...    |
[INFO] [stdout] 1121 | |         .await
[INFO] [stdout]      | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> src/services/comment_service.rs:304:18
[INFO] [stdout]     |
[INFO] [stdout] 304 |             let (id, comment) = &comments_to_process[i];
[INFO] [stdout]     |                  ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `social_media_app` (lib) due to 70 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> src/services/comment_service.rs:304:18
[INFO] [stdout]     |
[INFO] [stdout] 304 |             let (id, comment) = &comments_to_process[i];
[INFO] [stdout]     |                  ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `social_media_app` (lib test) due to 70 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "f533e7a54674201b2b11c58c617222ac07f790a8036bb55c351f2aa954f80dab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f533e7a54674201b2b11c58c617222ac07f790a8036bb55c351f2aa954f80dab", kill_on_drop: false }`
[INFO] [stdout] f533e7a54674201b2b11c58c617222ac07f790a8036bb55c351f2aa954f80dab
