[INFO] cloning repository https://github.com/xjr1300/axum-sqlx-todo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xjr1300/axum-sqlx-todo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxjr1300%2Faxum-sqlx-todo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxjr1300%2Faxum-sqlx-todo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 064832fa3199bd7837c0ba2b0824b986812cfd00 [INFO] checking xjr1300/axum-sqlx-todo/064832fa3199bd7837c0ba2b0824b986812cfd00 against master#568b11762723b001bfa693d0f21c5dad01d4e813 for pr-149518 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxjr1300%2Faxum-sqlx-todo" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/xjr1300/axum-sqlx-todo [INFO] finished tweaking git repo https://github.com/xjr1300/axum-sqlx-todo [INFO] tweaked toml for git repo https://github.com/xjr1300/axum-sqlx-todo written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/xjr1300/axum-sqlx-todo on toolchain 568b11762723b001bfa693d0f21c5dad01d4e813 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+568b11762723b001bfa693d0f21c5dad01d4e813" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/xjr1300/axum-sqlx-todo 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" "+568b11762723b001bfa693d0f21c5dad01d4e813" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded deadpool v0.12.2 [INFO] [stderr] Downloaded garde_derive v0.22.0 [INFO] [stderr] Downloaded enum-display-macro v0.1.4 [INFO] [stderr] Downloaded secrecy v0.10.3 [INFO] [stderr] Downloaded garde v0.22.0 [INFO] [stderr] Downloaded enum-display v0.1.4 [INFO] [stderr] Downloaded deadpool-redis v0.21.1 [INFO] [stderr] Downloaded config v0.15.11 [INFO] [stderr] Downloaded axum-extra v0.10.1 [INFO] [stderr] Downloaded yaml-rust2 v0.10.3 [INFO] [stderr] Downloaded redis v0.31.0 [INFO] [stderr] Downloaded syn v2.0.102 [INFO] [stderr] Downloaded tracing-bunyan-formatter v0.3.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "+568b11762723b001bfa693d0f21c5dad01d4e813" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9b7ddb83448cdb21007fa7ec565d649b30cc5043b7558ad9ed07b102e684537c [INFO] running `Command { std: "docker" "start" "-a" "9b7ddb83448cdb21007fa7ec565d649b30cc5043b7558ad9ed07b102e684537c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b7ddb83448cdb21007fa7ec565d649b30cc5043b7558ad9ed07b102e684537c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b7ddb83448cdb21007fa7ec565d649b30cc5043b7558ad9ed07b102e684537c", kill_on_drop: false }` [INFO] [stdout] 9b7ddb83448cdb21007fa7ec565d649b30cc5043b7558ad9ed07b102e684537c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "+568b11762723b001bfa693d0f21c5dad01d4e813" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d9b6c332fe86b26282fb56fa8c8a16ef6ea8e4cd68f04afbfb3b0a997f86755 [INFO] running `Command { std: "docker" "start" "-a" "3d9b6c332fe86b26282fb56fa8c8a16ef6ea8e4cd68f04afbfb3b0a997f86755", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling syn v2.0.102 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Compiling cc v1.2.26 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Checking num-traits v0.2.19 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [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 tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.29 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Checking h2 v0.4.10 [INFO] [stderr] Checking secrecy v0.10.3 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking castaway v0.2.3 [INFO] [stderr] Compiling pest v2.8.0 [INFO] [stderr] Checking compact_str v0.8.1 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling garde_derive v0.22.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking utils v0.1.0 (/opt/rustwide/workdir/utils) [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking garde v0.22.0 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Compiling pest_meta v2.8.0 [INFO] [stderr] Checking cookie v0.18.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Checking winnow v0.7.10 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling pest_generator v2.8.0 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Compiling enum-display-macro v0.1.4 [INFO] [stderr] Checking sqlx-postgres v0.8.6 [INFO] [stderr] Checking ordered-multimap v0.7.3 [INFO] [stderr] Checking enum-display v0.1.4 [INFO] [stderr] Checking axum-core v0.5.2 [INFO] [stderr] Compiling pest_derive v2.8.0 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking deadpool-runtime v0.1.4 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking hyper-util v0.1.14 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking headers-core v0.3.0 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking base64ct v1.8.0 [INFO] [stderr] Checking trim-in-place v0.1.7 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking rust-ini v0.21.1 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking yaml-rust2 v0.10.3 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Checking deadpool v0.12.2 [INFO] [stderr] Checking headers v0.4.1 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking jwt v0.16.0 [INFO] [stderr] Checking config v0.15.11 [INFO] [stderr] Checking axum v0.8.4 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking fancy-regex v0.14.0 [INFO] [stderr] Compiling rstest_macros v0.25.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking iri-string v0.7.8 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking tracing-log v0.1.4 [INFO] [stderr] Checking gethostname v0.2.3 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Checking psl-types v2.0.11 [INFO] [stderr] Checking publicsuffix v2.3.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Checking tracing-bunyan-formatter v0.3.10 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Checking cookie_store v0.21.1 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking redis v0.31.0 [INFO] [stderr] Checking reqwest v0.12.19 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking domain v0.1.0 (/opt/rustwide/workdir/domain) [INFO] [stderr] Checking axum-extra v0.10.1 [INFO] [stderr] Checking use_case v0.1.0 (/opt/rustwide/workdir/use_case) [INFO] [stderr] Checking rstest v0.25.0 [INFO] [stdout] warning: struct `I32Primitive` is never constructed [INFO] [stdout] --> domain/src/models/primitives.rs:387:12 [INFO] [stdout] | [INFO] [stdout] 387 | struct I32Primitive(#[garde(range(min = 1, max = 10))] i32); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> domain/src/models/primitives.rs:154:20 [INFO] [stdout] | [INFO] [stdout] 153 | impl $name { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 154 | pub fn new(value: $ty) -> $crate::DomainResult { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 388 | impl_int_primitive!(I32Primitive, i32); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_int_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking deadpool-redis v0.21.1 [INFO] [stderr] Checking infra v0.1.0 (/opt/rustwide/workdir/infra) [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> infra/src/postgres/repositories/todo.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 53 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 54 | | TodoRow, [INFO] [stdout] 55 | | r#" [INFO] [stdout] 56 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 72 | | id.0 [INFO] [stdout] 73 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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] --> infra/src/postgres/repositories/todo.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 83 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 84 | | TodoRow, [INFO] [stdout] 85 | | r#" [INFO] [stdout] 86 | | WITH inserted AS ( [INFO] [stdout] ... | [INFO] [stdout] 113 | | None:: // completed_at is None for new todos [INFO] [stdout] 114 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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] --> infra/src/postgres/repositories/todo.rs:124:19 [INFO] [stdout] | [INFO] [stdout] 124 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 125 | | TodoRow, [INFO] [stdout] 126 | | r#" [INFO] [stdout] 127 | | WITH updated AS ( [INFO] [stdout] ... | [INFO] [stdout] 159 | | id.0 [INFO] [stdout] 160 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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] --> infra/src/postgres/repositories/todo.rs:173:19 [INFO] [stdout] | [INFO] [stdout] 173 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 174 | | TodoRow, [INFO] [stdout] 175 | | r#" [INFO] [stdout] 176 | | WITH updated AS ( [INFO] [stdout] ... | [INFO] [stdout] 204 | | id.0 [INFO] [stdout] 205 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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] --> infra/src/postgres/repositories/todo.rs:218:19 [INFO] [stdout] | [INFO] [stdout] 218 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 219 | | TodoRow, [INFO] [stdout] 220 | | r#" [INFO] [stdout] 221 | | WITH updated AS ( [INFO] [stdout] ... | [INFO] [stdout] 249 | | id.0 [INFO] [stdout] 250 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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] --> infra/src/postgres/repositories/todo.rs:263:19 [INFO] [stdout] | [INFO] [stdout] 263 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 264 | | TodoRow, [INFO] [stdout] 265 | | r#" [INFO] [stdout] 266 | | WITH updated AS ( [INFO] [stdout] ... | [INFO] [stdout] 293 | | id.0 [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_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] --> infra/src/postgres/repositories/todo.rs:307:28 [INFO] [stdout] | [INFO] [stdout] 307 | let query_result = sqlx::query!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 308 | | r#" [INFO] [stdout] 309 | | DELETE FROM todos [INFO] [stdout] 310 | | WHERE id = $1 [INFO] [stdout] 311 | | "#, [INFO] [stdout] 312 | | id.0 [INFO] [stdout] 313 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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] --> infra/src/postgres/repositories/user.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 24 | | UserRow, [INFO] [stdout] 25 | | r#" [INFO] [stdout] 26 | | WITH inserted AS ( [INFO] [stdout] ... | [INFO] [stdout] 49 | | None::, [INFO] [stdout] 50 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> infra/src/postgres/repositories/user.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 66 | | UserRow, [INFO] [stdout] 67 | | r#" [INFO] [stdout] 68 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 77 | | id.0 [INFO] [stdout] 78 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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] --> infra/src/postgres/repositories/user.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 87 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 88 | | UserRow, [INFO] [stdout] 89 | | r#" [INFO] [stdout] 90 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 99 | | email.0 [INFO] [stdout] 100 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> infra/src/postgres/repositories/user.rs:110:19 [INFO] [stdout] | [INFO] [stdout] 110 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 111 | | UserRow, [INFO] [stdout] 112 | | r#" [INFO] [stdout] 113 | | WITH updated AS ( [INFO] [stdout] ... | [INFO] [stdout] 136 | | id.0 [INFO] [stdout] 137 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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] --> infra/src/postgres/repositories/user.rs:162:28 [INFO] [stdout] | [INFO] [stdout] 162 | let row_affected = sqlx::query!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 163 | | r#" [INFO] [stdout] 164 | | UPDATE users [INFO] [stdout] 165 | | SET last_login_at = $1, updated_at = CURRENT_TIMESTAMP [INFO] [stdout] ... | [INFO] [stdout] 169 | | id.0 [INFO] [stdout] 170 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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] --> infra/src/postgres/repositories/user.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | / sqlx::query!( [INFO] [stdout] 195 | | r#" [INFO] [stdout] 196 | | DELETE FROM login_failed_histories [INFO] [stdout] 197 | | WHERE user_id = $1 [INFO] [stdout] 198 | | "#, [INFO] [stdout] 199 | | id.0 [INFO] [stdout] 200 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (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] --> infra/src/postgres/repositories/user.rs:209:12 [INFO] [stdout] | [INFO] [stdout] 209 | Ok(sqlx::query_as!( [INFO] [stdout] | ____________^ [INFO] [stdout] 210 | | UserTokenRow, [INFO] [stdout] 211 | | r#" [INFO] [stdout] 212 | | SELECT id, user_id, token_key, expired_at, created_at, updated_at [INFO] [stdout] ... | [INFO] [stdout] 216 | | id.0 [INFO] [stdout] 217 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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] --> infra/src/postgres/repositories/user.rs:229:20 [INFO] [stdout] | [INFO] [stdout] 229 | let rows = sqlx::query!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 230 | | r#" [INFO] [stdout] 231 | | DELETE FROM user_tokens [INFO] [stdout] 232 | | WHERE user_id = $1 [INFO] [stdout] ... | [INFO] [stdout] 235 | | id.0 [INFO] [stdout] 236 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (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] --> infra/src/postgres/repositories/user.rs:249:35 [INFO] [stdout] | [INFO] [stdout] 249 | let raw_hashed_password = sqlx::query_scalar!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 250 | | r#" [INFO] [stdout] 251 | | SELECT hashed_password [INFO] [stdout] 252 | | FROM users [INFO] [stdout] ... | [INFO] [stdout] 255 | | id.0 [INFO] [stdout] 256 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (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] --> infra/src/postgres/repositories/user.rs:275:29 [INFO] [stdout] | [INFO] [stdout] 275 | let affected_rows = sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 276 | | r#" [INFO] [stdout] 277 | | UPDATE users [INFO] [stdout] 278 | | SET hashed_password = $1, updated_at = CURRENT_TIMESTAMP [INFO] [stdout] ... | [INFO] [stdout] 282 | | id.0 [INFO] [stdout] 283 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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] --> infra/src/postgres/repositories/user.rs:299:29 [INFO] [stdout] | [INFO] [stdout] 299 | let affected_rows = sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 300 | | r#" [INFO] [stdout] 301 | | DELETE FROM users [INFO] [stdout] 302 | | WHERE id = $1 [INFO] [stdout] 303 | | "#, [INFO] [stdout] 304 | | id.0 [INFO] [stdout] 305 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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] --> infra/src/postgres/repositories/user.rs:326:19 [INFO] [stdout] | [INFO] [stdout] 326 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 327 | | LoginFailedHistoryRow, [INFO] [stdout] 328 | | r#" [INFO] [stdout] 329 | | INSERT INTO login_failed_histories ( [INFO] [stdout] ... | [INFO] [stdout] 338 | | attempted_at [INFO] [stdout] 339 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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] --> infra/src/postgres/repositories/user.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | Ok(sqlx::query_as!( [INFO] [stdout] | ____________^ [INFO] [stdout] 353 | | LoginFailedHistoryRow, [INFO] [stdout] 354 | | r#" [INFO] [stdout] 355 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 360 | | user_id.0 [INFO] [stdout] 361 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> infra/src/postgres/repositories/user.rs:379:9 [INFO] [stdout] | [INFO] [stdout] 379 | / sqlx::query!( [INFO] [stdout] 380 | | r#" [INFO] [stdout] 381 | | UPDATE login_failed_histories [INFO] [stdout] 382 | | SET [INFO] [stdout] ... | [INFO] [stdout] 387 | | user_id.0 [INFO] [stdout] 388 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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] --> infra/src/postgres/repositories/user.rs:394:9 [INFO] [stdout] | [INFO] [stdout] 394 | / sqlx::query!( [INFO] [stdout] 395 | | r#" [INFO] [stdout] 396 | | UPDATE users [INFO] [stdout] 397 | | SET [INFO] [stdout] ... | [INFO] [stdout] 408 | | max_attempts as i32, [INFO] [stdout] 409 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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] --> infra/src/postgres/repositories/user.rs:426:29 [INFO] [stdout] | [INFO] [stdout] 426 | let affected_rows = sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 427 | | r#" [INFO] [stdout] 428 | | UPDATE login_failed_histories [INFO] [stdout] 429 | | SET [INFO] [stdout] ... | [INFO] [stdout] 436 | | user_id.0 [INFO] [stdout] 437 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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] --> infra/src/postgres/repositories/todo.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 53 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 54 | | TodoRow, [INFO] [stdout] 55 | | r#" [INFO] [stdout] 56 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 72 | | id.0 [INFO] [stdout] 73 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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] --> infra/src/postgres/repositories/todo.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 83 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 84 | | TodoRow, [INFO] [stdout] 85 | | r#" [INFO] [stdout] 86 | | WITH inserted AS ( [INFO] [stdout] ... | [INFO] [stdout] 113 | | None:: // completed_at is None for new todos [INFO] [stdout] 114 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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] --> infra/src/postgres/repositories/todo.rs:124:19 [INFO] [stdout] | [INFO] [stdout] 124 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 125 | | TodoRow, [INFO] [stdout] 126 | | r#" [INFO] [stdout] 127 | | WITH updated AS ( [INFO] [stdout] ... | [INFO] [stdout] 159 | | id.0 [INFO] [stdout] 160 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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] --> infra/src/postgres/repositories/todo.rs:173:19 [INFO] [stdout] | [INFO] [stdout] 173 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 174 | | TodoRow, [INFO] [stdout] 175 | | r#" [INFO] [stdout] 176 | | WITH updated AS ( [INFO] [stdout] ... | [INFO] [stdout] 204 | | id.0 [INFO] [stdout] 205 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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] --> infra/src/postgres/repositories/todo.rs:218:19 [INFO] [stdout] | [INFO] [stdout] 218 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 219 | | TodoRow, [INFO] [stdout] 220 | | r#" [INFO] [stdout] 221 | | WITH updated AS ( [INFO] [stdout] ... | [INFO] [stdout] 249 | | id.0 [INFO] [stdout] 250 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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] --> infra/src/postgres/repositories/todo.rs:263:19 [INFO] [stdout] | [INFO] [stdout] 263 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 264 | | TodoRow, [INFO] [stdout] 265 | | r#" [INFO] [stdout] 266 | | WITH updated AS ( [INFO] [stdout] ... | [INFO] [stdout] 293 | | id.0 [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_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] --> infra/src/postgres/repositories/todo.rs:307:28 [INFO] [stdout] | [INFO] [stdout] 307 | let query_result = sqlx::query!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 308 | | r#" [INFO] [stdout] 309 | | DELETE FROM todos [INFO] [stdout] 310 | | WHERE id = $1 [INFO] [stdout] 311 | | "#, [INFO] [stdout] 312 | | id.0 [INFO] [stdout] 313 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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] --> infra/src/postgres/repositories/user.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 24 | | UserRow, [INFO] [stdout] 25 | | r#" [INFO] [stdout] 26 | | WITH inserted AS ( [INFO] [stdout] ... | [INFO] [stdout] 49 | | None::, [INFO] [stdout] 50 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> infra/src/postgres/repositories/user.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 66 | | UserRow, [INFO] [stdout] 67 | | r#" [INFO] [stdout] 68 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 77 | | id.0 [INFO] [stdout] 78 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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] --> infra/src/postgres/repositories/user.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 87 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 88 | | UserRow, [INFO] [stdout] 89 | | r#" [INFO] [stdout] 90 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 99 | | email.0 [INFO] [stdout] 100 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> infra/src/postgres/repositories/user.rs:110:19 [INFO] [stdout] | [INFO] [stdout] 110 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 111 | | UserRow, [INFO] [stdout] 112 | | r#" [INFO] [stdout] 113 | | WITH updated AS ( [INFO] [stdout] ... | [INFO] [stdout] 136 | | id.0 [INFO] [stdout] 137 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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] --> infra/src/postgres/repositories/user.rs:162:28 [INFO] [stdout] | [INFO] [stdout] 162 | let row_affected = sqlx::query!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 163 | | r#" [INFO] [stdout] 164 | | UPDATE users [INFO] [stdout] 165 | | SET last_login_at = $1, updated_at = CURRENT_TIMESTAMP [INFO] [stdout] ... | [INFO] [stdout] 169 | | id.0 [INFO] [stdout] 170 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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] --> infra/src/postgres/repositories/user.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | / sqlx::query!( [INFO] [stdout] 195 | | r#" [INFO] [stdout] 196 | | DELETE FROM login_failed_histories [INFO] [stdout] 197 | | WHERE user_id = $1 [INFO] [stdout] 198 | | "#, [INFO] [stdout] 199 | | id.0 [INFO] [stdout] 200 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (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] --> infra/src/postgres/repositories/user.rs:209:12 [INFO] [stdout] | [INFO] [stdout] 209 | Ok(sqlx::query_as!( [INFO] [stdout] | ____________^ [INFO] [stdout] 210 | | UserTokenRow, [INFO] [stdout] 211 | | r#" [INFO] [stdout] 212 | | SELECT id, user_id, token_key, expired_at, created_at, updated_at [INFO] [stdout] ... | [INFO] [stdout] 216 | | id.0 [INFO] [stdout] 217 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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] --> infra/src/postgres/repositories/user.rs:229:20 [INFO] [stdout] | [INFO] [stdout] 229 | let rows = sqlx::query!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 230 | | r#" [INFO] [stdout] 231 | | DELETE FROM user_tokens [INFO] [stdout] 232 | | WHERE user_id = $1 [INFO] [stdout] ... | [INFO] [stdout] 235 | | id.0 [INFO] [stdout] 236 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (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] --> infra/src/postgres/repositories/user.rs:249:35 [INFO] [stdout] | [INFO] [stdout] 249 | let raw_hashed_password = sqlx::query_scalar!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 250 | | r#" [INFO] [stdout] 251 | | SELECT hashed_password [INFO] [stdout] 252 | | FROM users [INFO] [stdout] ... | [INFO] [stdout] 255 | | id.0 [INFO] [stdout] 256 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (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] --> infra/src/postgres/repositories/user.rs:275:29 [INFO] [stdout] | [INFO] [stdout] 275 | let affected_rows = sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 276 | | r#" [INFO] [stdout] 277 | | UPDATE users [INFO] [stdout] 278 | | SET hashed_password = $1, updated_at = CURRENT_TIMESTAMP [INFO] [stdout] ... | [INFO] [stdout] 282 | | id.0 [INFO] [stdout] 283 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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] --> infra/src/postgres/repositories/user.rs:299:29 [INFO] [stdout] | [INFO] [stdout] 299 | let affected_rows = sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 300 | | r#" [INFO] [stdout] 301 | | DELETE FROM users [INFO] [stdout] 302 | | WHERE id = $1 [INFO] [stdout] 303 | | "#, [INFO] [stdout] 304 | | id.0 [INFO] [stdout] 305 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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] --> infra/src/postgres/repositories/user.rs:326:19 [INFO] [stdout] | [INFO] [stdout] 326 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 327 | | LoginFailedHistoryRow, [INFO] [stdout] 328 | | r#" [INFO] [stdout] 329 | | INSERT INTO login_failed_histories ( [INFO] [stdout] ... | [INFO] [stdout] 338 | | attempted_at [INFO] [stdout] 339 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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] --> infra/src/postgres/repositories/user.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | Ok(sqlx::query_as!( [INFO] [stdout] | ____________^ [INFO] [stdout] 353 | | LoginFailedHistoryRow, [INFO] [stdout] 354 | | r#" [INFO] [stdout] 355 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 360 | | user_id.0 [INFO] [stdout] 361 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> infra/src/postgres/repositories/user.rs:379:9 [INFO] [stdout] | [INFO] [stdout] 379 | / sqlx::query!( [INFO] [stdout] 380 | | r#" [INFO] [stdout] 381 | | UPDATE login_failed_histories [INFO] [stdout] 382 | | SET [INFO] [stdout] ... | [INFO] [stdout] 387 | | user_id.0 [INFO] [stdout] 388 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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] --> infra/src/postgres/repositories/user.rs:394:9 [INFO] [stdout] | [INFO] [stdout] 394 | / sqlx::query!( [INFO] [stdout] 395 | | r#" [INFO] [stdout] 396 | | UPDATE users [INFO] [stdout] 397 | | SET [INFO] [stdout] ... | [INFO] [stdout] 408 | | max_attempts as i32, [INFO] [stdout] 409 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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] --> infra/src/postgres/repositories/user.rs:426:29 [INFO] [stdout] | [INFO] [stdout] 426 | let affected_rows = sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 427 | | r#" [INFO] [stdout] 428 | | UPDATE login_failed_histories [INFO] [stdout] 429 | | SET [INFO] [stdout] ... | [INFO] [stdout] 436 | | user_id.0 [INFO] [stdout] 437 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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] --> infra/src/postgres/repositories/todo.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 53 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 54 | | TodoRow, [INFO] [stdout] 55 | | r#" [INFO] [stdout] 56 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 74 | | .fetch_optional(&self.pool) [INFO] [stdout] 75 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> infra/src/postgres/repositories/todo.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 83 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 84 | | TodoRow, [INFO] [stdout] 85 | | r#" [INFO] [stdout] 86 | | WITH inserted AS ( [INFO] [stdout] ... | [INFO] [stdout] 115 | | .fetch_one(&mut *tx) [INFO] [stdout] 116 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> infra/src/postgres/repositories/todo.rs:124:19 [INFO] [stdout] | [INFO] [stdout] 124 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 125 | | TodoRow, [INFO] [stdout] 126 | | r#" [INFO] [stdout] 127 | | WITH updated AS ( [INFO] [stdout] ... | [INFO] [stdout] 161 | | .fetch_optional(&mut *tx) [INFO] [stdout] 162 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> infra/src/postgres/repositories/todo.rs:173:19 [INFO] [stdout] | [INFO] [stdout] 173 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 174 | | TodoRow, [INFO] [stdout] 175 | | r#" [INFO] [stdout] 176 | | WITH updated AS ( [INFO] [stdout] ... | [INFO] [stdout] 206 | | .fetch_optional(&mut *tx) [INFO] [stdout] 207 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> infra/src/postgres/repositories/todo.rs:218:19 [INFO] [stdout] | [INFO] [stdout] 218 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 219 | | TodoRow, [INFO] [stdout] 220 | | r#" [INFO] [stdout] 221 | | WITH updated AS ( [INFO] [stdout] ... | [INFO] [stdout] 251 | | .fetch_optional(&mut *tx) [INFO] [stdout] 252 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> infra/src/postgres/repositories/todo.rs:263:19 [INFO] [stdout] | [INFO] [stdout] 263 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 264 | | TodoRow, [INFO] [stdout] 265 | | r#" [INFO] [stdout] 266 | | WITH updated AS ( [INFO] [stdout] ... | [INFO] [stdout] 295 | | .fetch_optional(&mut *tx) [INFO] [stdout] 296 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> infra/src/postgres/repositories/todo.rs:307:28 [INFO] [stdout] | [INFO] [stdout] 307 | let query_result = sqlx::query!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 308 | | r#" [INFO] [stdout] 309 | | DELETE FROM todos [INFO] [stdout] 310 | | WHERE id = $1 [INFO] [stdout] ... | [INFO] [stdout] 314 | | .execute(&mut *tx) [INFO] [stdout] 315 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> infra/src/postgres/repositories/user.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 24 | | UserRow, [INFO] [stdout] 25 | | r#" [INFO] [stdout] 26 | | WITH inserted AS ( [INFO] [stdout] ... | [INFO] [stdout] 51 | | .fetch_one(&mut *tx) [INFO] [stdout] 52 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> infra/src/postgres/repositories/user.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 66 | | UserRow, [INFO] [stdout] 67 | | r#" [INFO] [stdout] 68 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 79 | | .fetch_optional(&self.pool) [INFO] [stdout] 80 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> infra/src/postgres/repositories/user.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 87 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 88 | | UserRow, [INFO] [stdout] 89 | | r#" [INFO] [stdout] 90 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 101 | | .fetch_optional(&self.pool) [INFO] [stdout] 102 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> infra/src/postgres/repositories/user.rs:110:19 [INFO] [stdout] | [INFO] [stdout] 110 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 111 | | UserRow, [INFO] [stdout] 112 | | r#" [INFO] [stdout] 113 | | WITH updated AS ( [INFO] [stdout] ... | [INFO] [stdout] 138 | | .fetch_optional(&mut *tx) [INFO] [stdout] 139 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> infra/src/postgres/repositories/user.rs:162:28 [INFO] [stdout] | [INFO] [stdout] 162 | let row_affected = sqlx::query!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 163 | | r#" [INFO] [stdout] 164 | | UPDATE users [INFO] [stdout] 165 | | SET last_login_at = $1, updated_at = CURRENT_TIMESTAMP [INFO] [stdout] ... | [INFO] [stdout] 171 | | .execute(&mut *tx) [INFO] [stdout] 172 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> infra/src/postgres/repositories/user.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | / sqlx::query!( [INFO] [stdout] 195 | | r#" [INFO] [stdout] 196 | | DELETE FROM login_failed_histories [INFO] [stdout] 197 | | WHERE user_id = $1 [INFO] [stdout] ... | [INFO] [stdout] 201 | | .execute(&mut *tx) [INFO] [stdout] 202 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> infra/src/postgres/repositories/user.rs:209:12 [INFO] [stdout] | [INFO] [stdout] 209 | Ok(sqlx::query_as!( [INFO] [stdout] | ____________^ [INFO] [stdout] 210 | | UserTokenRow, [INFO] [stdout] 211 | | r#" [INFO] [stdout] 212 | | SELECT id, user_id, token_key, expired_at, created_at, updated_at [INFO] [stdout] ... | [INFO] [stdout] 218 | | .fetch_all(&self.pool) [INFO] [stdout] 219 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> infra/src/postgres/repositories/user.rs:229:20 [INFO] [stdout] | [INFO] [stdout] 229 | let rows = sqlx::query!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 230 | | r#" [INFO] [stdout] 231 | | DELETE FROM user_tokens [INFO] [stdout] 232 | | WHERE user_id = $1 [INFO] [stdout] ... | [INFO] [stdout] 237 | | .fetch_all(&mut *tx) [INFO] [stdout] 238 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> infra/src/postgres/repositories/user.rs:249:35 [INFO] [stdout] | [INFO] [stdout] 249 | let raw_hashed_password = sqlx::query_scalar!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 250 | | r#" [INFO] [stdout] 251 | | SELECT hashed_password [INFO] [stdout] 252 | | FROM users [INFO] [stdout] ... | [INFO] [stdout] 257 | | .fetch_optional(&self.pool) [INFO] [stdout] 258 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> infra/src/postgres/repositories/user.rs:262:50 [INFO] [stdout] | [INFO] [stdout] 262 | PHCString::new(SecretString::new(raw_hashed_password.into())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> infra/src/postgres/repositories/user.rs:275:29 [INFO] [stdout] | [INFO] [stdout] 275 | let affected_rows = sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 276 | | r#" [INFO] [stdout] 277 | | UPDATE users [INFO] [stdout] 278 | | SET hashed_password = $1, updated_at = CURRENT_TIMESTAMP [INFO] [stdout] ... | [INFO] [stdout] 284 | | .execute(&mut *tx) [INFO] [stdout] 285 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> infra/src/postgres/repositories/user.rs:299:29 [INFO] [stdout] | [INFO] [stdout] 299 | let affected_rows = sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 300 | | r#" [INFO] [stdout] 301 | | DELETE FROM users [INFO] [stdout] 302 | | WHERE id = $1 [INFO] [stdout] ... | [INFO] [stdout] 306 | | .execute(&mut *tx) [INFO] [stdout] 307 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> infra/src/postgres/repositories/user.rs:326:19 [INFO] [stdout] | [INFO] [stdout] 326 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 327 | | LoginFailedHistoryRow, [INFO] [stdout] 328 | | r#" [INFO] [stdout] 329 | | INSERT INTO login_failed_histories ( [INFO] [stdout] ... | [INFO] [stdout] 340 | | .fetch_one(&mut *tx) [INFO] [stdout] 341 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> infra/src/postgres/repositories/user.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | Ok(sqlx::query_as!( [INFO] [stdout] | ____________^ [INFO] [stdout] 353 | | LoginFailedHistoryRow, [INFO] [stdout] 354 | | r#" [INFO] [stdout] 355 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 362 | | .fetch_optional(&self.pool) [INFO] [stdout] 363 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> infra/src/postgres/repositories/user.rs:379:9 [INFO] [stdout] | [INFO] [stdout] 379 | / sqlx::query!( [INFO] [stdout] 380 | | r#" [INFO] [stdout] 381 | | UPDATE login_failed_histories [INFO] [stdout] 382 | | SET [INFO] [stdout] ... | [INFO] [stdout] 389 | | .execute(&mut *tx) [INFO] [stdout] 390 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> infra/src/postgres/repositories/user.rs:394:9 [INFO] [stdout] | [INFO] [stdout] 394 | / sqlx::query!( [INFO] [stdout] 395 | | r#" [INFO] [stdout] 396 | | UPDATE users [INFO] [stdout] 397 | | SET [INFO] [stdout] ... | [INFO] [stdout] 410 | | .execute(&mut *tx) [INFO] [stdout] 411 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> infra/src/postgres/repositories/user.rs:426:29 [INFO] [stdout] | [INFO] [stdout] 426 | let affected_rows = sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 427 | | r#" [INFO] [stdout] 428 | | UPDATE login_failed_histories [INFO] [stdout] 429 | | SET [INFO] [stdout] ... | [INFO] [stdout] 438 | | .execute(&mut *tx) [INFO] [stdout] 439 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> infra/src/postgres/repositories/todo.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 53 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 54 | | TodoRow, [INFO] [stdout] 55 | | r#" [INFO] [stdout] 56 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 74 | | .fetch_optional(&self.pool) [INFO] [stdout] 75 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> infra/src/postgres/repositories/todo.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 83 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 84 | | TodoRow, [INFO] [stdout] 85 | | r#" [INFO] [stdout] 86 | | WITH inserted AS ( [INFO] [stdout] ... | [INFO] [stdout] 115 | | .fetch_one(&mut *tx) [INFO] [stdout] 116 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> infra/src/postgres/repositories/todo.rs:124:19 [INFO] [stdout] | [INFO] [stdout] 124 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 125 | | TodoRow, [INFO] [stdout] 126 | | r#" [INFO] [stdout] 127 | | WITH updated AS ( [INFO] [stdout] ... | [INFO] [stdout] 161 | | .fetch_optional(&mut *tx) [INFO] [stdout] 162 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> infra/src/postgres/repositories/todo.rs:173:19 [INFO] [stdout] | [INFO] [stdout] 173 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 174 | | TodoRow, [INFO] [stdout] 175 | | r#" [INFO] [stdout] 176 | | WITH updated AS ( [INFO] [stdout] ... | [INFO] [stdout] 206 | | .fetch_optional(&mut *tx) [INFO] [stdout] 207 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> infra/src/postgres/repositories/todo.rs:218:19 [INFO] [stdout] | [INFO] [stdout] 218 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 219 | | TodoRow, [INFO] [stdout] 220 | | r#" [INFO] [stdout] 221 | | WITH updated AS ( [INFO] [stdout] ... | [INFO] [stdout] 251 | | .fetch_optional(&mut *tx) [INFO] [stdout] 252 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> infra/src/postgres/repositories/todo.rs:263:19 [INFO] [stdout] | [INFO] [stdout] 263 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 264 | | TodoRow, [INFO] [stdout] 265 | | r#" [INFO] [stdout] 266 | | WITH updated AS ( [INFO] [stdout] ... | [INFO] [stdout] 295 | | .fetch_optional(&mut *tx) [INFO] [stdout] 296 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> infra/src/postgres/repositories/todo.rs:307:28 [INFO] [stdout] | [INFO] [stdout] 307 | let query_result = sqlx::query!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 308 | | r#" [INFO] [stdout] 309 | | DELETE FROM todos [INFO] [stdout] 310 | | WHERE id = $1 [INFO] [stdout] ... | [INFO] [stdout] 314 | | .execute(&mut *tx) [INFO] [stdout] 315 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> infra/src/postgres/repositories/user.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 24 | | UserRow, [INFO] [stdout] 25 | | r#" [INFO] [stdout] 26 | | WITH inserted AS ( [INFO] [stdout] ... | [INFO] [stdout] 51 | | .fetch_one(&mut *tx) [INFO] [stdout] 52 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> infra/src/postgres/repositories/user.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 66 | | UserRow, [INFO] [stdout] 67 | | r#" [INFO] [stdout] 68 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 79 | | .fetch_optional(&self.pool) [INFO] [stdout] 80 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> infra/src/postgres/repositories/user.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 87 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 88 | | UserRow, [INFO] [stdout] 89 | | r#" [INFO] [stdout] 90 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 101 | | .fetch_optional(&self.pool) [INFO] [stdout] 102 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> infra/src/postgres/repositories/user.rs:110:19 [INFO] [stdout] | [INFO] [stdout] 110 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 111 | | UserRow, [INFO] [stdout] 112 | | r#" [INFO] [stdout] 113 | | WITH updated AS ( [INFO] [stdout] ... | [INFO] [stdout] 138 | | .fetch_optional(&mut *tx) [INFO] [stdout] 139 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> infra/src/postgres/repositories/user.rs:162:28 [INFO] [stdout] | [INFO] [stdout] 162 | let row_affected = sqlx::query!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 163 | | r#" [INFO] [stdout] 164 | | UPDATE users [INFO] [stdout] 165 | | SET last_login_at = $1, updated_at = CURRENT_TIMESTAMP [INFO] [stdout] ... | [INFO] [stdout] 171 | | .execute(&mut *tx) [INFO] [stdout] 172 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> infra/src/postgres/repositories/user.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | / sqlx::query!( [INFO] [stdout] 195 | | r#" [INFO] [stdout] 196 | | DELETE FROM login_failed_histories [INFO] [stdout] 197 | | WHERE user_id = $1 [INFO] [stdout] ... | [INFO] [stdout] 201 | | .execute(&mut *tx) [INFO] [stdout] 202 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> infra/src/postgres/repositories/user.rs:209:12 [INFO] [stdout] | [INFO] [stdout] 209 | Ok(sqlx::query_as!( [INFO] [stdout] | ____________^ [INFO] [stdout] 210 | | UserTokenRow, [INFO] [stdout] 211 | | r#" [INFO] [stdout] 212 | | SELECT id, user_id, token_key, expired_at, created_at, updated_at [INFO] [stdout] ... | [INFO] [stdout] 218 | | .fetch_all(&self.pool) [INFO] [stdout] 219 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> infra/src/postgres/repositories/user.rs:229:20 [INFO] [stdout] | [INFO] [stdout] 229 | let rows = sqlx::query!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 230 | | r#" [INFO] [stdout] 231 | | DELETE FROM user_tokens [INFO] [stdout] 232 | | WHERE user_id = $1 [INFO] [stdout] ... | [INFO] [stdout] 237 | | .fetch_all(&mut *tx) [INFO] [stdout] 238 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> infra/src/postgres/repositories/user.rs:249:35 [INFO] [stdout] | [INFO] [stdout] 249 | let raw_hashed_password = sqlx::query_scalar!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 250 | | r#" [INFO] [stdout] 251 | | SELECT hashed_password [INFO] [stdout] 252 | | FROM users [INFO] [stdout] ... | [INFO] [stdout] 257 | | .fetch_optional(&self.pool) [INFO] [stdout] 258 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> infra/src/postgres/repositories/user.rs:262:50 [INFO] [stdout] | [INFO] [stdout] 262 | PHCString::new(SecretString::new(raw_hashed_password.into())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> infra/src/postgres/repositories/user.rs:275:29 [INFO] [stdout] | [INFO] [stdout] 275 | let affected_rows = sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 276 | | r#" [INFO] [stdout] 277 | | UPDATE users [INFO] [stdout] 278 | | SET hashed_password = $1, updated_at = CURRENT_TIMESTAMP [INFO] [stdout] ... | [INFO] [stdout] 284 | | .execute(&mut *tx) [INFO] [stdout] 285 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> infra/src/postgres/repositories/user.rs:299:29 [INFO] [stdout] | [INFO] [stdout] 299 | let affected_rows = sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 300 | | r#" [INFO] [stdout] 301 | | DELETE FROM users [INFO] [stdout] 302 | | WHERE id = $1 [INFO] [stdout] ... | [INFO] [stdout] 306 | | .execute(&mut *tx) [INFO] [stdout] 307 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> infra/src/postgres/repositories/user.rs:326:19 [INFO] [stdout] | [INFO] [stdout] 326 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 327 | | LoginFailedHistoryRow, [INFO] [stdout] 328 | | r#" [INFO] [stdout] 329 | | INSERT INTO login_failed_histories ( [INFO] [stdout] ... | [INFO] [stdout] 340 | | .fetch_one(&mut *tx) [INFO] [stdout] 341 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> infra/src/postgres/repositories/user.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | Ok(sqlx::query_as!( [INFO] [stdout] | ____________^ [INFO] [stdout] 353 | | LoginFailedHistoryRow, [INFO] [stdout] 354 | | r#" [INFO] [stdout] 355 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 362 | | .fetch_optional(&self.pool) [INFO] [stdout] 363 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> infra/src/postgres/repositories/user.rs:379:9 [INFO] [stdout] | [INFO] [stdout] 379 | / sqlx::query!( [INFO] [stdout] 380 | | r#" [INFO] [stdout] 381 | | UPDATE login_failed_histories [INFO] [stdout] 382 | | SET [INFO] [stdout] ... | [INFO] [stdout] 389 | | .execute(&mut *tx) [INFO] [stdout] 390 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> infra/src/postgres/repositories/user.rs:394:9 [INFO] [stdout] | [INFO] [stdout] 394 | / sqlx::query!( [INFO] [stdout] 395 | | r#" [INFO] [stdout] 396 | | UPDATE users [INFO] [stdout] 397 | | SET [INFO] [stdout] ... | [INFO] [stdout] 410 | | .execute(&mut *tx) [INFO] [stdout] 411 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> infra/src/postgres/repositories/user.rs:426:29 [INFO] [stdout] | [INFO] [stdout] 426 | let affected_rows = sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 427 | | r#" [INFO] [stdout] 428 | | UPDATE login_failed_histories [INFO] [stdout] 429 | | SET [INFO] [stdout] ... | [INFO] [stdout] 438 | | .execute(&mut *tx) [INFO] [stdout] 439 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `infra` (lib test) due to 47 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `infra` (lib) due to 47 previous errors [INFO] running `Command { std: "docker" "inspect" "3d9b6c332fe86b26282fb56fa8c8a16ef6ea8e4cd68f04afbfb3b0a997f86755", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d9b6c332fe86b26282fb56fa8c8a16ef6ea8e4cd68f04afbfb3b0a997f86755", kill_on_drop: false }` [INFO] [stdout] 3d9b6c332fe86b26282fb56fa8c8a16ef6ea8e4cd68f04afbfb3b0a997f86755