[INFO] cloning repository https://github.com/devblock97/lotus_news_service
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/devblock97/lotus_news_service" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevblock97%2Flotus_news_service", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevblock97%2Flotus_news_service'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 685556507f184a1070552e03f113731724b3f880
[INFO] checking devblock97/lotus_news_service against try#87f2ecc56b5f6032b075c8934ebc77f28d57183c for pr-148190
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevblock97%2Flotus_news_service" "/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/devblock97/lotus_news_service
[INFO] finished tweaking git repo https://github.com/devblock97/lotus_news_service
[INFO] tweaked toml for git repo https://github.com/devblock97/lotus_news_service written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/devblock97/lotus_news_service on toolchain 87f2ecc56b5f6032b075c8934ebc77f28d57183c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/devblock97/lotus_news_service 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" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "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 nonempty v0.7.0
[INFO] [stderr]   Downloaded forwarded-header-value v0.1.1
[INFO] [stderr]   Downloaded tower_governor v0.6.0
[INFO] [stderr]   Downloaded validator_derive v0.20.0
[INFO] [stderr]   Downloaded validator v0.20.0
[INFO] [stderr]   Downloaded phf_shared v0.13.1
[INFO] [stderr]   Downloaded home v0.5.12
[INFO] [stderr]   Downloaded phf v0.13.1
[INFO] [stderr]   Downloaded postgres-types v0.2.11
[INFO] [stderr]   Downloaded camino v1.2.1
[INFO] [stderr]   Downloaded prometheus v0.13.4
[INFO] [stderr]   Downloaded clap_complete v4.5.60
[INFO] [stderr]   Downloaded num-bigint-dig v0.8.5
[INFO] [stderr]   Downloaded governor v0.8.1
[INFO] [stderr]   Downloaded sqlx-cli v0.8.6
[INFO] [stderr]   Downloaded tokio-postgres v0.7.15
[INFO] [stderr]   Downloaded dialoguer v0.11.0
[INFO] [stderr]   Downloaded unicode-properties v0.1.4
[INFO] [stderr]   Downloaded cc v1.2.44
[INFO] [stderr]   Downloaded postgres-protocol v0.6.9
[INFO] [stderr]   Downloaded postgres v0.19.12
[INFO] [stderr]   Downloaded rustls v0.23.34
[INFO] [stderr]   Downloaded whoami v1.6.1
[INFO] [stderr]   Downloaded terminal_size v0.4.3
[INFO] [stderr]   Downloaded filetime v0.2.26
[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" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9d49c37767ffa1da43c67d2fa037af72339869b08310e0e29365469593304b56
[INFO] running `Command { std: "docker" "start" "-a" "9d49c37767ffa1da43c67d2fa037af72339869b08310e0e29365469593304b56", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9d49c37767ffa1da43c67d2fa037af72339869b08310e0e29365469593304b56", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9d49c37767ffa1da43c67d2fa037af72339869b08310e0e29365469593304b56", kill_on_drop: false }`
[INFO] [stdout] 9d49c37767ffa1da43c67d2fa037af72339869b08310e0e29365469593304b56
[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" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 31cd74a79ae9e992de0f075b10d774eb9c5df77299ff68dd40043b7056f892c9
[INFO] running `Command { std: "docker" "start" "-a" "31cd74a79ae9e992de0f075b10d774eb9c5df77299ff68dd40043b7056f892c9", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling unicode-ident v1.0.22
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]    Compiling generic-array v0.14.9
[INFO] [stderr]    Compiling cc v1.2.44
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]     Checking const-oid v0.9.6
[INFO] [stderr]    Compiling cfg-if v1.0.4
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]    Compiling icu_normalizer_data v2.1.1
[INFO] [stderr]    Compiling syn v2.0.108
[INFO] [stderr]    Compiling icu_properties_data v2.1.1
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]     Checking signal-hook-registry v1.4.6
[INFO] [stderr]    Compiling zeroize v1.8.2
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]    Compiling rustls v0.23.34
[INFO] [stderr]    Compiling openssl-sys v0.9.110
[INFO] [stderr]    Compiling lock_api v0.4.14
[INFO] [stderr]     Checking tracing-core v0.1.34
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]    Compiling openssl v0.10.74
[INFO] [stderr]    Compiling libm v0.2.15
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling writeable v0.6.2
[INFO] [stderr]    Compiling litemap v0.8.1
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]     Checking bitflags v2.10.0
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling rustls-pki-types v1.13.0
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]    Compiling zerocopy v0.8.27
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling base64ct v1.8.0
[INFO] [stderr]    Compiling num-bigint-dig v0.8.5
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling pem-rfc7468 v0.7.0
[INFO] [stderr]     Checking tinyvec v1.10.0
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling socket2 v0.6.1
[INFO] [stderr]    Compiling mio v1.1.0
[INFO] [stderr]    Compiling slab v0.4.11
[INFO] [stderr]    Compiling ryu v1.0.20
[INFO] [stderr]    Compiling itoa v1.0.15
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling cpufeatures v0.2.17
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]     Checking unicode-normalization v0.1.25
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling der v0.7.10
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling icu_properties v2.1.1
[INFO] [stderr]    Compiling rustls-webpki v0.103.8
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling webpki-roots v1.0.4
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]    Compiling libsqlite3-sys v0.30.1
[INFO] [stderr]    Compiling iana-time-zone v0.1.64
[INFO] [stderr]    Compiling parking v2.2.1
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]     Checking unicode-properties v0.1.4
[INFO] [stderr]     Checking stringprep v0.1.5
[INFO] [stderr]    Compiling crc v3.3.0
[INFO] [stderr]    Compiling event-listener v5.4.1
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling webpki-roots v0.26.11
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling spki v0.7.3
[INFO] [stderr]    Compiling hashlink v0.10.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]     Checking lazy_static v1.5.0
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]     Checking md-5 v0.10.6
[INFO] [stderr]    Compiling uuid v1.18.1
[INFO] [stderr]    Compiling num-iter v0.1.45
[INFO] [stderr]    Compiling pkcs8 v0.10.2
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]    Compiling sqlx-core v0.8.6
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling pkcs1 v0.7.5
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling signature v2.2.0
[INFO] [stderr]    Compiling whoami v1.6.1
[INFO] [stderr]     Checking linux-raw-sys v0.11.0
[INFO] [stderr]     Checking deranged v0.5.5
[INFO] [stderr]    Compiling rsa v0.9.8
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling flume v0.11.1
[INFO] [stderr]    Compiling home v0.5.12
[INFO] [stderr]     Checking utf-8 v0.7.6
[INFO] [stderr]     Checking sync_wrapper v1.0.2
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]     Checking regex-syntax v0.8.8
[INFO] [stderr]     Checking data-encoding v2.9.0
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]     Checking terminal_size v0.4.3
[INFO] [stderr]     Checking hyper v1.7.0
[INFO] [stderr]    Compiling sqlx-postgres v0.8.6
[INFO] [stderr]     Checking tungstenite v0.28.0
[INFO] [stderr]     Checking time v0.3.44
[INFO] [stderr]    Compiling sqlx-mysql v0.8.6
[INFO] [stderr]     Checking regex-automata v0.4.13
[INFO] [stderr]    Compiling camino v1.2.1
[INFO] [stderr]    Compiling portable-atomic v1.11.1
[INFO] [stderr]     Checking clap_builder v4.5.51
[INFO] [stderr]     Checking phf_shared v0.13.1
[INFO] [stderr]     Checking postgres-protocol v0.6.9
[INFO] [stderr]     Checking axum-core v0.5.5
[INFO] [stderr]     Checking hyper-util v0.1.17
[INFO] [stderr]    Compiling sqlx-sqlite v0.8.6
[INFO] [stderr]     Checking tokio-tungstenite v0.28.0
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling clap_derive v4.5.49
[INFO] [stderr]    Compiling axum-macros v0.5.0
[INFO] [stderr]     Checking raw-cpuid v11.6.0
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]     Checking inout v0.1.4
[INFO] [stderr]    Compiling proc-macro-error-attr2 v2.0.0
[INFO] [stderr]     Checking matchit v0.8.4
[INFO] [stderr]    Compiling protobuf v2.28.0
[INFO] [stderr]     Checking unicode-width v0.2.2
[INFO] [stderr]    Compiling rustversion v1.0.22
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]    Compiling anyhow v1.0.100
[INFO] [stderr]     Checking axum v0.8.6
[INFO] [stderr]     Checking console v0.15.11
[INFO] [stderr]     Checking clap v4.5.51
[INFO] [stderr]     Checking quanta v0.12.6
[INFO] [stderr]    Compiling proc-macro-error2 v2.0.1
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.6
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]     Checking dashmap v6.1.0
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]     Checking postgres-types v0.2.11
[INFO] [stderr]     Checking phf v0.13.1
[INFO] [stderr]     Checking tokio-util v0.7.17
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking cargo-platform v0.1.9
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]     Checking headers-core v0.3.0
[INFO] [stderr]     Checking semver v1.0.27
[INFO] [stderr]     Checking spinning_top v0.3.0
[INFO] [stderr]     Checking instant v0.1.13
[INFO] [stderr]     Checking no-std-compat v0.4.1
[INFO] [stderr]     Checking nonempty v0.7.0
[INFO] [stderr]     Checking futures-timer v3.0.3
[INFO] [stderr]     Checking nonzero_ext v0.3.0
[INFO] [stderr]    Compiling prometheus v0.13.4
[INFO] [stderr]     Checking shell-words v1.1.0
[INFO] [stderr]     Checking dialoguer v0.11.0
[INFO] [stderr]     Checking governor v0.8.1
[INFO] [stderr]     Checking simple_asn1 v0.6.3
[INFO] [stderr]     Checking forwarded-header-value v0.1.1
[INFO] [stderr]     Checking pin-project v1.1.10
[INFO] [stderr]     Checking backoff v0.4.0
[INFO] [stderr]    Compiling sqlx-macros v0.8.6
[INFO] [stderr]     Checking cargo_metadata v0.18.1
[INFO] [stderr]     Checking tokio-postgres v0.7.15
[INFO] [stderr]     Checking headers v0.4.1
[INFO] [stderr]    Compiling validator_derive v0.20.0
[INFO] [stderr]     Checking blowfish v0.9.1
[INFO] [stderr]     Checking cookie v0.18.1
[INFO] [stderr]     Checking clap_complete v4.5.60
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]     Checking regex v1.12.2
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking sharded-slab v0.1.7
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking pem v3.0.6
[INFO] [stderr]     Checking filetime v0.2.26
[INFO] [stderr]     Checking thread_local v1.1.9
[INFO] [stderr]     Checking glob v0.3.3
[INFO] [stderr]     Checking nu-ansi-term v0.50.3
[INFO] [stderr]     Checking validator v0.20.0
[INFO] [stderr]     Checking jsonwebtoken v9.3.1
[INFO] [stderr]     Checking postgres v0.19.12
[INFO] [stderr]     Checking axum-extra v0.10.3
[INFO] [stderr]     Checking sqlx v0.8.6
[INFO] [stderr]     Checking tower_governor v0.6.0
[INFO] [stderr]     Checking tracing-subscriber v0.3.20
[INFO] [stderr]     Checking sqlx-cli v0.8.6
[INFO] [stderr]     Checking bcrypt v0.15.1
[INFO] [stderr]     Checking tower-http v0.6.6
[INFO] [stderr]     Checking lotus-news-service v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/infrastructure/repositories/posts_repo.rs:61:9
[INFO] [stdout]    |
[INFO] [stdout] 61 | /         sqlx::query!(
[INFO] [stdout] 62 | |             r#"INSERT INTO posts (id, user_id, title, short_description, url, content)
[INFO] [stdout] 63 | |                 VALUES ($1, $2, $3, $4, $5, $6)
[INFO] [stdout] 64 | |             "#,
[INFO] [stdout] 65 | |             id, user_id, title, short_description, url.as_deref(), content_json
[INFO] [stdout] 66 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[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: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/infrastructure/repositories/posts_repo.rs:69:24
[INFO] [stdout]    |
[INFO] [stdout] 69 |   ...   let post_row = sqlx::query_as!(
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 70 | | ...       PostRow,
[INFO] [stdout] 71 | | ...       r#"SELECT p.id, p.user_id, p.title, p.url, p.content as "content: sqlx::types::Json<Content>", p.short_description, p.sc...
[INFO] [stdout] 72 | | ...           FROM posts p
[INFO] [stdout] ...  |
[INFO] [stdout] 76 | | ...       id
[INFO] [stdout] 77 | | ...   )
[INFO] [stdout]    | |_______^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/infrastructure/repositories/posts_repo.rs:85:13
[INFO] [stdout]    |
[INFO] [stdout] 85 | / ...   sqlx::query_as!(
[INFO] [stdout] 86 | | ...       PostRow,
[INFO] [stdout] 87 | | ...       r#"SELECT p.id, p.user_id, p.title, p.url, p.content as "content: sqlx::types::Json<Content>", p.short_description, p.sc...
[INFO] [stdout] 88 | | ...           FROM posts p
[INFO] [stdout] ...  |
[INFO] [stdout] 93 | | ...       created_at, id, limit
[INFO] [stdout] 94 | | ...   ).fetch_all(&self.pool).await?
[INFO] [stdout]    | |_______^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/infrastructure/repositories/posts_repo.rs:96:13
[INFO] [stdout]     |
[INFO] [stdout]  96 | / ...   sqlx::query_as!(
[INFO] [stdout]  97 | | ...       PostRow,
[INFO] [stdout]  98 | | ...       r#"SELECT p.id, p.user_id, p.title, p.url, p.content as "content: sqlx::types::Json<Content>", p.short_description, p.s...
[INFO] [stdout]  99 | | ...           FROM posts p
[INFO] [stdout] ...   |
[INFO] [stdout] 103 | | ...       limit
[INFO] [stdout] 104 | | ...   ).fetch_all(&self.pool).await?
[INFO] [stdout]     | |_______^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/infrastructure/repositories/posts_repo.rs:61:9
[INFO] [stdout]    |
[INFO] [stdout] 61 | /         sqlx::query!(
[INFO] [stdout] 62 | |             r#"INSERT INTO posts (id, user_id, title, short_description, url, content)
[INFO] [stdout] 63 | |                 VALUES ($1, $2, $3, $4, $5, $6)
[INFO] [stdout] 64 | |             "#,
[INFO] [stdout] 65 | |             id, user_id, title, short_description, url.as_deref(), content_json
[INFO] [stdout] 66 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[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: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/infrastructure/repositories/posts_repo.rs:111:13
[INFO] [stdout]     |
[INFO] [stdout] 111 | / ...   sqlx::query_as!(
[INFO] [stdout] 112 | | ...       PostRow,
[INFO] [stdout] 113 | | ...       r#"SELECT p.id, p.user_id, p.title, p.url, p.content as "content: sqlx::types::Json<Content>", p.short_description, p.s...
[INFO] [stdout] 114 | | ...           FROM posts p
[INFO] [stdout] ...   |
[INFO] [stdout] 119 | | ...       created_at, id, limit
[INFO] [stdout] 120 | | ...   ).fetch_all(&self.pool).await?
[INFO] [stdout]     | |_______^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/infrastructure/repositories/posts_repo.rs:122:13
[INFO] [stdout]     |
[INFO] [stdout] 122 | / ...   sqlx::query_as!(
[INFO] [stdout] 123 | | ...       PostRow,
[INFO] [stdout] 124 | | ...       r#"SELECT p.id, p.user_id, p.title, p.url, p.content as "content: sqlx::types::Json<Content>", p.short_description, p.s...
[INFO] [stdout] 125 | | ...           FROM posts p
[INFO] [stdout] ...   |
[INFO] [stdout] 129 | | ...       limit
[INFO] [stdout] 130 | | ...   ).fetch_all(&self.pool).await?
[INFO] [stdout]     | |_______^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/infrastructure/repositories/posts_repo.rs:69:24
[INFO] [stdout]    |
[INFO] [stdout] 69 |   ...   let post_row = sqlx::query_as!(
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 70 | | ...       PostRow,
[INFO] [stdout] 71 | | ...       r#"SELECT p.id, p.user_id, p.title, p.url, p.content as "content: sqlx::types::Json<Content>", p.short_description, p.sc...
[INFO] [stdout] 72 | | ...           FROM posts p
[INFO] [stdout] ...  |
[INFO] [stdout] 76 | | ...       id
[INFO] [stdout] 77 | | ...   )
[INFO] [stdout]    | |_______^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/infrastructure/repositories/posts_repo.rs:148:24
[INFO] [stdout]     |
[INFO] [stdout] 148 |           let post_row = sqlx::query_as!(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 149 | |             PostRow,
[INFO] [stdout] 150 | |             r#"
[INFO] [stdout] 151 | |                 UPDATE posts p
[INFO] [stdout] ...   |
[INFO] [stdout] 162 | |             post_id
[INFO] [stdout] 163 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/infrastructure/repositories/posts_repo.rs:171:20
[INFO] [stdout]     |
[INFO] [stdout] 171 |           let post = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 172 | |             Post,
[INFO] [stdout] 173 | |             r#"
[INFO] [stdout] 174 | |                 DELETE FROM posts
[INFO] [stdout] ...   |
[INFO] [stdout] 177 | |             post_id
[INFO] [stdout] 178 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/infrastructure/repositories/posts_repo.rs:187:13
[INFO] [stdout]     |
[INFO] [stdout] 187 | / ...   sqlx::query_as!(
[INFO] [stdout] 188 | | ...       PostRow,
[INFO] [stdout] 189 | | ...       r#"SELECT p.id, p.user_id, p.title, p.url, p.content as "content: sqlx::types::Json<Content>", p.short_description, p.s...
[INFO] [stdout] 190 | | ...           FROM posts p
[INFO] [stdout] ...   |
[INFO] [stdout] 195 | | ...       format!("%{}%", query), created_at, id, limit
[INFO] [stdout] 196 | | ...   ).fetch_all(&self.pool).await?
[INFO] [stdout]     | |_______^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/infrastructure/repositories/posts_repo.rs:198:13
[INFO] [stdout]     |
[INFO] [stdout] 198 | / ...   sqlx::query_as!(
[INFO] [stdout] 199 | | ...       PostRow,
[INFO] [stdout] 200 | | ...       r#"SELECT p.id, p.user_id, p.title, p.url, p.content as "content: sqlx::types::Json<Content>", p.short_description, p.s...
[INFO] [stdout] 201 | | ...           FROM posts p
[INFO] [stdout] ...   |
[INFO] [stdout] 206 | | ...       format!("%{}%", query), limit
[INFO] [stdout] 207 | | ...   ).fetch_all(&self.pool).await?
[INFO] [stdout]     | |_______^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/infrastructure/repositories/posts_repo.rs:85:13
[INFO] [stdout]    |
[INFO] [stdout] 85 | / ...   sqlx::query_as!(
[INFO] [stdout] 86 | | ...       PostRow,
[INFO] [stdout] 87 | | ...       r#"SELECT p.id, p.user_id, p.title, p.url, p.content as "content: sqlx::types::Json<Content>", p.short_description, p.sc...
[INFO] [stdout] 88 | | ...           FROM posts p
[INFO] [stdout] ...  |
[INFO] [stdout] 93 | | ...       created_at, id, limit
[INFO] [stdout] 94 | | ...   ).fetch_all(&self.pool).await?
[INFO] [stdout]    | |_______^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/infrastructure/repositories/posts_repo.rs:215:24
[INFO] [stdout]     |
[INFO] [stdout] 215 |           let existing = sqlx::query!(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 216 | |             r#"
[INFO] [stdout] 217 | |             SELECT value FROM votes 
[INFO] [stdout] 218 | |             WHERE user_id = $1 AND post_id = $2
[INFO] [stdout] ...   |
[INFO] [stdout] 221 | |             post_id
[INFO] [stdout] 222 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[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: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/infrastructure/repositories/posts_repo.rs:96:13
[INFO] [stdout]     |
[INFO] [stdout]  96 | / ...   sqlx::query_as!(
[INFO] [stdout]  97 | | ...       PostRow,
[INFO] [stdout]  98 | | ...       r#"SELECT p.id, p.user_id, p.title, p.url, p.content as "content: sqlx::types::Json<Content>", p.short_description, p.s...
[INFO] [stdout]  99 | | ...           FROM posts p
[INFO] [stdout] ...   |
[INFO] [stdout] 103 | | ...       limit
[INFO] [stdout] 104 | | ...   ).fetch_all(&self.pool).await?
[INFO] [stdout]     | |_______^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/infrastructure/repositories/posts_repo.rs:228:17
[INFO] [stdout]     |
[INFO] [stdout] 228 | /                 sqlx::query!(
[INFO] [stdout] 229 | |                     "DELETE FROM votes WHERE user_id = $1 AND post_id = $2", 
[INFO] [stdout] 230 | |                     user_id, 
[INFO] [stdout] 231 | |                     post_id
[INFO] [stdout] 232 | |                 )
[INFO] [stdout]     | |_________________^
[INFO] [stdout]     |
[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: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/infrastructure/repositories/posts_repo.rs:236:17
[INFO] [stdout]     |
[INFO] [stdout] 236 | /                 sqlx::query!(
[INFO] [stdout] 237 | |                     "UPDATE votes SET value = $3 WHERE user_id = $1 AND post_id = $2", 
[INFO] [stdout] 238 | |                     user_id, 
[INFO] [stdout] 239 | |                     post_id, 
[INFO] [stdout] 240 | |                     value
[INFO] [stdout] 241 | |                 )
[INFO] [stdout]     | |_________________^
[INFO] [stdout]     |
[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: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/infrastructure/repositories/posts_repo.rs:111:13
[INFO] [stdout]     |
[INFO] [stdout] 111 | / ...   sqlx::query_as!(
[INFO] [stdout] 112 | | ...       PostRow,
[INFO] [stdout] 113 | | ...       r#"SELECT p.id, p.user_id, p.title, p.url, p.content as "content: sqlx::types::Json<Content>", p.short_description, p.s...
[INFO] [stdout] 114 | | ...           FROM posts p
[INFO] [stdout] ...   |
[INFO] [stdout] 119 | | ...       created_at, id, limit
[INFO] [stdout] 120 | | ...   ).fetch_all(&self.pool).await?
[INFO] [stdout]     | |_______^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/infrastructure/repositories/posts_repo.rs:122:13
[INFO] [stdout]     |
[INFO] [stdout] 122 | / ...   sqlx::query_as!(
[INFO] [stdout] 123 | | ...       PostRow,
[INFO] [stdout] 124 | | ...       r#"SELECT p.id, p.user_id, p.title, p.url, p.content as "content: sqlx::types::Json<Content>", p.short_description, p.s...
[INFO] [stdout] 125 | | ...           FROM posts p
[INFO] [stdout] ...   |
[INFO] [stdout] 129 | | ...       limit
[INFO] [stdout] 130 | | ...   ).fetch_all(&self.pool).await?
[INFO] [stdout]     | |_______^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/infrastructure/repositories/posts_repo.rs:246:13
[INFO] [stdout]     |
[INFO] [stdout] 246 | /             sqlx::query!(
[INFO] [stdout] 247 | |                 "INSERT INTO votes (user_id, post_id, value) VALUES ($1, $2, $3)", 
[INFO] [stdout] 248 | |                 user_id, 
[INFO] [stdout] 249 | |                 post_id, 
[INFO] [stdout] 250 | |                 value
[INFO] [stdout] 251 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[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: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/infrastructure/repositories/posts_repo.rs:257:9
[INFO] [stdout]     |
[INFO] [stdout] 257 | /         sqlx::query!(
[INFO] [stdout] 258 | |             r#"
[INFO] [stdout] 259 | |             INSERT INTO votes (user_id, post_id, value)
[INFO] [stdout] 260 | |             VALUES ($1, $2, $3)
[INFO] [stdout] ...   |
[INFO] [stdout] 265 | |             value
[INFO] [stdout] 266 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[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: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/infrastructure/repositories/posts_repo.rs:148:24
[INFO] [stdout]     |
[INFO] [stdout] 148 |           let post_row = sqlx::query_as!(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 149 | |             PostRow,
[INFO] [stdout] 150 | |             r#"
[INFO] [stdout] 151 | |                 UPDATE posts p
[INFO] [stdout] ...   |
[INFO] [stdout] 162 | |             post_id
[INFO] [stdout] 163 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/infrastructure/repositories/posts_repo.rs:271:28
[INFO] [stdout]     |
[INFO] [stdout] 271 |           let score_record = sqlx::query!(
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 272 | |             r#"
[INFO] [stdout] 273 | |             SELECT COALESCE(SUM(value), 0) as score
[INFO] [stdout] 274 | |             FROM votes
[INFO] [stdout] ...   |
[INFO] [stdout] 277 | |             post_id
[INFO] [stdout] 278 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[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: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/infrastructure/repositories/posts_repo.rs:171:20
[INFO] [stdout]     |
[INFO] [stdout] 171 |           let post = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 172 | |             Post,
[INFO] [stdout] 173 | |             r#"
[INFO] [stdout] 174 | |                 DELETE FROM posts
[INFO] [stdout] ...   |
[INFO] [stdout] 177 | |             post_id
[INFO] [stdout] 178 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/infrastructure/repositories/posts_repo.rs:285:28
[INFO] [stdout]     |
[INFO] [stdout] 285 |           let updated_post = sqlx::query!(
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 286 | |             r#"
[INFO] [stdout] 287 | |             UPDATE posts
[INFO] [stdout] 288 | |             SET score = $1
[INFO] [stdout] ...   |
[INFO] [stdout] 293 | |             post_id
[INFO] [stdout] 294 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[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: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/infrastructure/repositories/posts_repo.rs:187:13
[INFO] [stdout]     |
[INFO] [stdout] 187 | / ...   sqlx::query_as!(
[INFO] [stdout] 188 | | ...       PostRow,
[INFO] [stdout] 189 | | ...       r#"SELECT p.id, p.user_id, p.title, p.url, p.content as "content: sqlx::types::Json<Content>", p.short_description, p.s...
[INFO] [stdout] 190 | | ...           FROM posts p
[INFO] [stdout] ...   |
[INFO] [stdout] 195 | | ...       format!("%{}%", query), created_at, id, limit
[INFO] [stdout] 196 | | ...   ).fetch_all(&self.pool).await?
[INFO] [stdout]     | |_______^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/infrastructure/repositories/posts_repo.rs:198:13
[INFO] [stdout]     |
[INFO] [stdout] 198 | / ...   sqlx::query_as!(
[INFO] [stdout] 199 | | ...       PostRow,
[INFO] [stdout] 200 | | ...       r#"SELECT p.id, p.user_id, p.title, p.url, p.content as "content: sqlx::types::Json<Content>", p.short_description, p.s...
[INFO] [stdout] 201 | | ...           FROM posts p
[INFO] [stdout] ...   |
[INFO] [stdout] 206 | | ...       format!("%{}%", query), limit
[INFO] [stdout] 207 | | ...   ).fetch_all(&self.pool).await?
[INFO] [stdout]     | |_______^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/infrastructure/repositories/posts_repo.rs:215:24
[INFO] [stdout]     |
[INFO] [stdout] 215 |           let existing = sqlx::query!(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 216 | |             r#"
[INFO] [stdout] 217 | |             SELECT value FROM votes 
[INFO] [stdout] 218 | |             WHERE user_id = $1 AND post_id = $2
[INFO] [stdout] ...   |
[INFO] [stdout] 221 | |             post_id
[INFO] [stdout] 222 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[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: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/infrastructure/repositories/posts_repo.rs:228:17
[INFO] [stdout]     |
[INFO] [stdout] 228 | /                 sqlx::query!(
[INFO] [stdout] 229 | |                     "DELETE FROM votes WHERE user_id = $1 AND post_id = $2", 
[INFO] [stdout] 230 | |                     user_id, 
[INFO] [stdout] 231 | |                     post_id
[INFO] [stdout] 232 | |                 )
[INFO] [stdout]     | |_________________^
[INFO] [stdout]     |
[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: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/infrastructure/repositories/posts_repo.rs:236:17
[INFO] [stdout]     |
[INFO] [stdout] 236 | /                 sqlx::query!(
[INFO] [stdout] 237 | |                     "UPDATE votes SET value = $3 WHERE user_id = $1 AND post_id = $2", 
[INFO] [stdout] 238 | |                     user_id, 
[INFO] [stdout] 239 | |                     post_id, 
[INFO] [stdout] 240 | |                     value
[INFO] [stdout] 241 | |                 )
[INFO] [stdout]     | |_________________^
[INFO] [stdout]     |
[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: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/infrastructure/repositories/posts_repo.rs:246:13
[INFO] [stdout]     |
[INFO] [stdout] 246 | /             sqlx::query!(
[INFO] [stdout] 247 | |                 "INSERT INTO votes (user_id, post_id, value) VALUES ($1, $2, $3)", 
[INFO] [stdout] 248 | |                 user_id, 
[INFO] [stdout] 249 | |                 post_id, 
[INFO] [stdout] 250 | |                 value
[INFO] [stdout] 251 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[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: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/infrastructure/repositories/posts_repo.rs:257:9
[INFO] [stdout]     |
[INFO] [stdout] 257 | /         sqlx::query!(
[INFO] [stdout] 258 | |             r#"
[INFO] [stdout] 259 | |             INSERT INTO votes (user_id, post_id, value)
[INFO] [stdout] 260 | |             VALUES ($1, $2, $3)
[INFO] [stdout] ...   |
[INFO] [stdout] 265 | |             value
[INFO] [stdout] 266 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[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: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/infrastructure/repositories/posts_repo.rs:271:28
[INFO] [stdout]     |
[INFO] [stdout] 271 |           let score_record = sqlx::query!(
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 272 | |             r#"
[INFO] [stdout] 273 | |             SELECT COALESCE(SUM(value), 0) as score
[INFO] [stdout] 274 | |             FROM votes
[INFO] [stdout] ...   |
[INFO] [stdout] 277 | |             post_id
[INFO] [stdout] 278 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[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: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/infrastructure/repositories/user_repo.rs:15:19
[INFO] [stdout]    |
[INFO] [stdout] 15 |           let rec = sqlx::query_as!(UserRow, 
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 16 | |             r#"INSERT INTO users (id, email, username, avatar, password_hash)
[INFO] [stdout] 17 | |                 VALUES ($1, $2, $3, $4, $5)
[INFO] [stdout] 18 | |                 RETURNING id, email, username, avatar, password_hash, created_at"#,
[INFO] [stdout] 19 | |             id, email, username, avatar, password_hash
[INFO] [stdout] 20 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/infrastructure/repositories/user_repo.rs:27:19
[INFO] [stdout]    |
[INFO] [stdout] 27 |           let row = sqlx::query_as!(UserRow,
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 28 | |             r#"SELECT id, email, username, avatar, password_hash, created_at 
[INFO] [stdout] 29 | |                 FROM users
[INFO] [stdout] 30 | |                 WHERE email = $1 OR username = $1 LIMIT 1"#, key
[INFO] [stdout] 31 | |         ).fetch_optional(&self.pool).await?;
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/infrastructure/repositories/posts_repo.rs:285:28
[INFO] [stdout]     |
[INFO] [stdout] 285 |           let updated_post = sqlx::query!(
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 286 | |             r#"
[INFO] [stdout] 287 | |             UPDATE posts
[INFO] [stdout] 288 | |             SET score = $1
[INFO] [stdout] ...   |
[INFO] [stdout] 293 | |             post_id
[INFO] [stdout] 294 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[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: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/infrastructure/repositories/user_repo.rs:15:19
[INFO] [stdout]    |
[INFO] [stdout] 15 |           let rec = sqlx::query_as!(UserRow, 
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 16 | |             r#"INSERT INTO users (id, email, username, avatar, password_hash)
[INFO] [stdout] 17 | |                 VALUES ($1, $2, $3, $4, $5)
[INFO] [stdout] 18 | |                 RETURNING id, email, username, avatar, password_hash, created_at"#,
[INFO] [stdout] 19 | |             id, email, username, avatar, password_hash
[INFO] [stdout] 20 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/infrastructure/repositories/user_repo.rs:27:19
[INFO] [stdout]    |
[INFO] [stdout] 27 |           let row = sqlx::query_as!(UserRow,
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 28 | |             r#"SELECT id, email, username, avatar, password_hash, created_at 
[INFO] [stdout] 29 | |                 FROM users
[INFO] [stdout] 30 | |                 WHERE email = $1 OR username = $1 LIMIT 1"#, key
[INFO] [stdout] 31 | |         ).fetch_optional(&self.pool).await?;
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/infrastructure/repositories/vote_repo.rs:15:24
[INFO] [stdout]    |
[INFO] [stdout] 15 |           let existing = sqlx::query!(
[INFO] [stdout]    |  ________________________^
[INFO] [stdout] 16 | |             r#"
[INFO] [stdout] 17 | |             SELECT value FROM votes 
[INFO] [stdout] 18 | |             WHERE user_id = $1 AND post_id = $2
[INFO] [stdout] ...  |
[INFO] [stdout] 21 | |             vote.post_id
[INFO] [stdout] 22 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[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: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/infrastructure/repositories/vote_repo.rs:28:17
[INFO] [stdout]    |
[INFO] [stdout] 28 | /                 sqlx::query!(
[INFO] [stdout] 29 | |                     "DELETE FROM votes WHERE user_id = $1 AND post_id = $2",
[INFO] [stdout] 30 | |                     vote.user_id,
[INFO] [stdout] 31 | |                     vote.post_id
[INFO] [stdout] 32 | |                 )
[INFO] [stdout]    | |_________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/infrastructure/repositories/vote_repo.rs:36:17
[INFO] [stdout]    |
[INFO] [stdout] 36 | /                 sqlx::query!(
[INFO] [stdout] 37 | |                     "UPDATE votes SET value = $3 WHERE user_id = $1 AND post_id = $2",
[INFO] [stdout] 38 | |                     vote.user_id,
[INFO] [stdout] 39 | |                     vote.post_id,
[INFO] [stdout] 40 | |                     vote.value
[INFO] [stdout] 41 | |                 )
[INFO] [stdout]    | |_________________^
[INFO] [stdout]    |
[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: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/infrastructure/repositories/vote_repo.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 | /             sqlx::query!(
[INFO] [stdout] 47 | |                 "INSERT INTO votes (user_id, post_id, value) VALUES ($1, $2, $3)",
[INFO] [stdout] 48 | |                 vote.user_id,
[INFO] [stdout] 49 | |                 vote.post_id,
[INFO] [stdout] 50 | |                 vote.value
[INFO] [stdout] 51 | |             )
[INFO] [stdout]    | |_____________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/infrastructure/repositories/vote_repo.rs:59:22
[INFO] [stdout]    |
[INFO] [stdout] 59 |           let record = sqlx::query!(
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 60 | |             r#"SELECT COALESCE(SUM(value), 0) as score
[INFO] [stdout] 61 | |                FROM votes
[INFO] [stdout] 62 | |                WHERE post_id = $1
[INFO] [stdout] 63 | |             "#,
[INFO] [stdout] 64 | |             post_id
[INFO] [stdout] 65 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[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: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/infrastructure/repositories/vote_repo.rs:15:24
[INFO] [stdout]    |
[INFO] [stdout] 15 |           let existing = sqlx::query!(
[INFO] [stdout]    |  ________________________^
[INFO] [stdout] 16 | |             r#"
[INFO] [stdout] 17 | |             SELECT value FROM votes 
[INFO] [stdout] 18 | |             WHERE user_id = $1 AND post_id = $2
[INFO] [stdout] ...  |
[INFO] [stdout] 21 | |             vote.post_id
[INFO] [stdout] 22 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[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: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/infrastructure/repositories/vote_repo.rs:28:17
[INFO] [stdout]    |
[INFO] [stdout] 28 | /                 sqlx::query!(
[INFO] [stdout] 29 | |                     "DELETE FROM votes WHERE user_id = $1 AND post_id = $2",
[INFO] [stdout] 30 | |                     vote.user_id,
[INFO] [stdout] 31 | |                     vote.post_id
[INFO] [stdout] 32 | |                 )
[INFO] [stdout]    | |_________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/infrastructure/repositories/vote_repo.rs:36:17
[INFO] [stdout]    |
[INFO] [stdout] 36 | /                 sqlx::query!(
[INFO] [stdout] 37 | |                     "UPDATE votes SET value = $3 WHERE user_id = $1 AND post_id = $2",
[INFO] [stdout] 38 | |                     vote.user_id,
[INFO] [stdout] 39 | |                     vote.post_id,
[INFO] [stdout] 40 | |                     vote.value
[INFO] [stdout] 41 | |                 )
[INFO] [stdout]    | |_________________^
[INFO] [stdout]    |
[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: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/infrastructure/repositories/vote_repo.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 | /             sqlx::query!(
[INFO] [stdout] 47 | |                 "INSERT INTO votes (user_id, post_id, value) VALUES ($1, $2, $3)",
[INFO] [stdout] 48 | |                 vote.user_id,
[INFO] [stdout] 49 | |                 vote.post_id,
[INFO] [stdout] 50 | |                 vote.value
[INFO] [stdout] 51 | |             )
[INFO] [stdout]    | |_____________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/infrastructure/repositories/vote_repo.rs:59:22
[INFO] [stdout]    |
[INFO] [stdout] 59 |           let record = sqlx::query!(
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 60 | |             r#"SELECT COALESCE(SUM(value), 0) as score
[INFO] [stdout] 61 | |                FROM votes
[INFO] [stdout] 62 | |                WHERE post_id = $1
[INFO] [stdout] 63 | |             "#,
[INFO] [stdout] 64 | |             post_id
[INFO] [stdout] 65 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `de::value`
[INFO] [stdout]  --> src/domain/posts.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde::{de::value, Serialize, Deserialize};
[INFO] [stdout]   |             ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `log::debug`
[INFO] [stdout]  --> src/infrastructure/repositories/posts_repo.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use log::debug;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Pool`, `Postgres`, and `Transaction`
[INFO] [stdout]  --> src/infrastructure/repositories/posts_repo.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | use sqlx::{Pool, Postgres, Transaction};
[INFO] [stdout]   |            ^^^^  ^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/application/posts_service.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 61 |         if (title.len() < 3 || title.len() > 300) {
[INFO] [stdout]    |            ^                                    ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 61 -         if (title.len() < 3 || title.len() > 300) {
[INFO] [stdout] 61 +         if title.len() < 3 || title.len() > 300  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tower_http::cors::CorsLayer`
[INFO] [stdout]  --> src/presentation/mod.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tower_http::cors::CorsLayer;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::Deserialize`
[INFO] [stdout]  --> src/presentation/vote_handler.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde::Deserialize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `de::value`
[INFO] [stdout]  --> src/domain/posts.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde::{de::value, Serialize, Deserialize};
[INFO] [stdout]   |             ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `log::debug`
[INFO] [stdout]  --> src/infrastructure/repositories/posts_repo.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use log::debug;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Pool`, `Postgres`, and `Transaction`
[INFO] [stdout]  --> src/infrastructure/repositories/posts_repo.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | use sqlx::{Pool, Postgres, Transaction};
[INFO] [stdout]   |            ^^^^  ^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/application/posts_service.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 61 |         if (title.len() < 3 || title.len() > 300) {
[INFO] [stdout]    |            ^                                    ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 61 -         if (title.len() < 3 || title.len() > 300) {
[INFO] [stdout] 61 +         if title.len() < 3 || title.len() > 300  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tower_http::cors::CorsLayer`
[INFO] [stdout]  --> src/presentation/mod.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tower_http::cors::CorsLayer;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::Deserialize`
[INFO] [stdout]  --> src/presentation/vote_handler.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde::Deserialize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/infrastructure/repositories/posts_repo.rs:69:13
[INFO] [stdout]    |
[INFO] [stdout] 69 |         let post_row = sqlx::query_as!(
[INFO] [stdout]    |             ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 80 |         Ok(post_row.into())
[INFO] [stdout]    |            -------- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving `post_row` an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 69 |         let post_row: /* Type */ = sqlx::query_as!(
[INFO] [stdout]    |                     ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/infrastructure/repositories/posts_repo.rs:84:13
[INFO] [stdout]     |
[INFO] [stdout]  84 |         let posts = if let Some((created_at, id)) = after {
[INFO] [stdout]     |             ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 106 |         Ok(posts.into_iter().map(Post::from).collect())
[INFO] [stdout]     |            ----- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving `posts` an explicit type
[INFO] [stdout]     |
[INFO] [stdout]  84 |         let posts: /* Type */ = if let Some((created_at, id)) = after {
[INFO] [stdout]     |                  ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/infrastructure/repositories/posts_repo.rs:110:13
[INFO] [stdout]     |
[INFO] [stdout] 110 |         let posts = if let Some((created_at, id)) = after {
[INFO] [stdout]     |             ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 132 |         Ok(posts.into_iter().map(Post::from).collect())
[INFO] [stdout]     |            ----- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving `posts` an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 110 |         let posts: /* Type */ = if let Some((created_at, id)) = after {
[INFO] [stdout]     |                  ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/infrastructure/repositories/posts_repo.rs:148:13
[INFO] [stdout]     |
[INFO] [stdout] 148 |         let post_row = sqlx::query_as!(
[INFO] [stdout]     |             ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 167 |         Ok(post_row.into())
[INFO] [stdout]     |            -------- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving `post_row` an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 148 |         let post_row: /* Type */ = sqlx::query_as!(
[INFO] [stdout]     |                     ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/infrastructure/repositories/posts_repo.rs:186:13
[INFO] [stdout]     |
[INFO] [stdout] 186 |         let posts = if let Some((created_at, id)) = after {
[INFO] [stdout]     |             ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 209 |         Ok(posts.into_iter().map(Post::from).collect())
[INFO] [stdout]     |            ----- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving `posts` an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 186 |         let posts: /* Type */ = if let Some((created_at, id)) = after {
[INFO] [stdout]     |                  ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/infrastructure/repositories/user_repo.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 |         let rec = sqlx::query_as!(UserRow, 
[INFO] [stdout]    |             ^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |         Ok(rec.into())
[INFO] [stdout]    |            --- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving `rec` an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 15 |         let rec: /* Type */ = sqlx::query_as!(UserRow, 
[INFO] [stdout]    |                ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/infrastructure/repositories/user_repo.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let row = sqlx::query_as!(UserRow,
[INFO] [stdout]    |             ^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |         Ok(row.map(|r| r.into()))
[INFO] [stdout]    |            --- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving `row` an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let row: /* Type */ = sqlx::query_as!(UserRow,
[INFO] [stdout]    |                ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/infrastructure/repositories/user_repo.rs:32:21
[INFO] [stdout]    |
[INFO] [stdout] 32 |         Ok(row.map(|r| r.into()))
[INFO] [stdout]    |                     ^  - type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 32 |         Ok(row.map(|r: /* Type */| r.into()))
[INFO] [stdout]    |                      ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/infrastructure/repositories/posts_repo.rs:69:13
[INFO] [stdout]    |
[INFO] [stdout] 69 |         let post_row = sqlx::query_as!(
[INFO] [stdout]    |             ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 80 |         Ok(post_row.into())
[INFO] [stdout]    |            -------- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving `post_row` an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 69 |         let post_row: /* Type */ = sqlx::query_as!(
[INFO] [stdout]    |                     ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/infrastructure/repositories/posts_repo.rs:84:13
[INFO] [stdout]     |
[INFO] [stdout]  84 |         let posts = if let Some((created_at, id)) = after {
[INFO] [stdout]     |             ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 106 |         Ok(posts.into_iter().map(Post::from).collect())
[INFO] [stdout]     |            ----- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving `posts` an explicit type
[INFO] [stdout]     |
[INFO] [stdout]  84 |         let posts: /* Type */ = if let Some((created_at, id)) = after {
[INFO] [stdout]     |                  ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/infrastructure/repositories/posts_repo.rs:110:13
[INFO] [stdout]     |
[INFO] [stdout] 110 |         let posts = if let Some((created_at, id)) = after {
[INFO] [stdout]     |             ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 132 |         Ok(posts.into_iter().map(Post::from).collect())
[INFO] [stdout]     |            ----- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving `posts` an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 110 |         let posts: /* Type */ = if let Some((created_at, id)) = after {
[INFO] [stdout]     |                  ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/infrastructure/repositories/posts_repo.rs:148:13
[INFO] [stdout]     |
[INFO] [stdout] 148 |         let post_row = sqlx::query_as!(
[INFO] [stdout]     |             ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 167 |         Ok(post_row.into())
[INFO] [stdout]     |            -------- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving `post_row` an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 148 |         let post_row: /* Type */ = sqlx::query_as!(
[INFO] [stdout]     |                     ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/infrastructure/repositories/posts_repo.rs:186:13
[INFO] [stdout]     |
[INFO] [stdout] 186 |         let posts = if let Some((created_at, id)) = after {
[INFO] [stdout]     |             ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 209 |         Ok(posts.into_iter().map(Post::from).collect())
[INFO] [stdout]     |            ----- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving `posts` an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 186 |         let posts: /* Type */ = if let Some((created_at, id)) = after {
[INFO] [stdout]     |                  ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/infrastructure/repositories/user_repo.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 |         let rec = sqlx::query_as!(UserRow, 
[INFO] [stdout]    |             ^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |         Ok(rec.into())
[INFO] [stdout]    |            --- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving `rec` an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 15 |         let rec: /* Type */ = sqlx::query_as!(UserRow, 
[INFO] [stdout]    |                ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/infrastructure/repositories/user_repo.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let row = sqlx::query_as!(UserRow,
[INFO] [stdout]    |             ^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |         Ok(row.map(|r| r.into()))
[INFO] [stdout]    |            --- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving `row` an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let row: /* Type */ = sqlx::query_as!(UserRow,
[INFO] [stdout]    |                ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/infrastructure/repositories/user_repo.rs:32:21
[INFO] [stdout]    |
[INFO] [stdout] 32 |         Ok(row.map(|r| r.into()))
[INFO] [stdout]    |                     ^  - type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 32 |         Ok(row.map(|r: /* Type */| r.into()))
[INFO] [stdout]    |                      ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `lotus-news-service` (lib) due to 32 previous errors; 6 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `lotus-news-service` (lib test) due to 32 previous errors; 6 warnings emitted
[INFO] [stdout] For more information about this error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "31cd74a79ae9e992de0f075b10d774eb9c5df77299ff68dd40043b7056f892c9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "31cd74a79ae9e992de0f075b10d774eb9c5df77299ff68dd40043b7056f892c9", kill_on_drop: false }`
[INFO] [stdout] 31cd74a79ae9e992de0f075b10d774eb9c5df77299ff68dd40043b7056f892c9
