[INFO] cloning repository https://github.com/iFeyz/rest-api-boilerplate [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iFeyz/rest-api-boilerplate" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FiFeyz%2Frest-api-boilerplate", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FiFeyz%2Frest-api-boilerplate'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 98d68caf38f303fce62d32a06e492b8049323797 [INFO] checking iFeyz/rest-api-boilerplate against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FiFeyz%2Frest-api-boilerplate" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-1-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/iFeyz/rest-api-boilerplate [INFO] finished tweaking git repo https://github.com/iFeyz/rest-api-boilerplate [INFO] tweaked toml for git repo https://github.com/iFeyz/rest-api-boilerplate written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/iFeyz/rest-api-boilerplate on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/iFeyz/rest-api-boilerplate 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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b991afe3d1c38bfa9bd0b036cf08e53fedcbdc45a25e89fcd366b531e40fb0c [INFO] running `Command { std: "docker" "start" "-a" "1b991afe3d1c38bfa9bd0b036cf08e53fedcbdc45a25e89fcd366b531e40fb0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b991afe3d1c38bfa9bd0b036cf08e53fedcbdc45a25e89fcd366b531e40fb0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b991afe3d1c38bfa9bd0b036cf08e53fedcbdc45a25e89fcd366b531e40fb0c", kill_on_drop: false }` [INFO] [stdout] 1b991afe3d1c38bfa9bd0b036cf08e53fedcbdc45a25e89fcd366b531e40fb0c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ebe9526eccb8f764b570a3f1d8e3b0fed2590bdd2e764407b760ede09309577 [INFO] running `Command { std: "docker" "start" "-a" "0ebe9526eccb8f764b570a3f1d8e3b0fed2590bdd2e764407b760ede09309577", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Checking once_cell v1.20.3 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Checking log v0.4.26 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking bytes v1.10.0 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling serde_json v1.0.139 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Checking indexmap v2.7.1 [INFO] [stderr] Checking ryu v1.0.19 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling zstd-safe v7.2.3 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling tinyvec v1.8.1 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling zstd-sys v2.0.14+zstd.1.5.7 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Compiling bigdecimal v0.3.1 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling psm v0.1.25 [INFO] [stderr] Checking miniz_oxide v0.8.5 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking brotli-decompressor v4.0.2 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tokio-util v0.7.13 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Compiling pest v2.7.15 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling either v1.14.0 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling uuid v1.15.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Checking time v0.3.37 [INFO] [stderr] Compiling derive_more v0.99.19 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Checking flate2 v1.1.0 [INFO] [stderr] Compiling pest_meta v2.7.15 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Checking brotli v6.0.0 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Compiling stacker v0.1.19 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling tempfile v3.17.1 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Compiling pest_generator v2.7.15 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Checking actix-server v2.5.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking actix-http v3.9.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Checking impl-more v0.1.9 [INFO] [stderr] Checking winnow v0.7.3 [INFO] [stderr] Compiling pest_derive v2.7.15 [INFO] [stderr] Checking ordered-multimap v0.7.3 [INFO] [stderr] Compiling async-trait v0.1.86 [INFO] [stderr] Checking toml_edit v0.22.24 [INFO] [stderr] Compiling tokio-cron-scheduler v0.13.0 [INFO] [stderr] Checking arraydeque v0.5.1 [INFO] [stderr] Checking actix-web v4.9.0 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking yaml-rust2 v0.8.1 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking chumsky v0.9.3 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Checking toml v0.8.20 [INFO] [stderr] Checking rust-ini v0.20.0 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking croner v2.1.0 [INFO] [stderr] Checking ipnetwork v0.18.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking email-encoding v0.3.1 [INFO] [stderr] Checking hostname v0.4.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking nom v8.0.0 [INFO] [stderr] Checking quoted_printable v0.5.1 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking pathdiff v0.2.3 [INFO] [stderr] Checking email_address v0.2.9 [INFO] [stderr] Checking actix-web-prom v0.7.0 [INFO] [stderr] Checking actix-cors v0.7.0 [INFO] [stderr] Checking config v0.14.1 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking sysinfo v0.29.11 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking maxminddb v0.23.0 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking lettre v0.11.14 [INFO] [stderr] Checking api-boilerplate v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/repositories/subscriber_repository.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | let subscriber = sqlx::query_as!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 21 | | Subscriber, [INFO] [stdout] 22 | | r#" [INFO] [stdout] 23 | | INSERT INTO subscribers (email, name, attribs, status) [INFO] [stdout] ... | [INFO] [stdout] 35 | | SubscriberStatus::Enabled as SubscriberStatus, // Cast explicite [INFO] [stdout] 36 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/subscriber_repository.rs:44:26 [INFO] [stdout] | [INFO] [stdout] 44 | let subscriber = sqlx::query_as!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 45 | | Subscriber, [INFO] [stdout] 46 | | r#" [INFO] [stdout] 47 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 56 | | email [INFO] [stdout] 57 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/repositories/subscriber_repository.rs:65:26 [INFO] [stdout] | [INFO] [stdout] 65 | let subscriber = sqlx::query_as!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 66 | | Subscriber, [INFO] [stdout] 67 | | r#" [INFO] [stdout] 68 | | SELECT [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/repositories/subscriber_repository.rs:85:26 [INFO] [stdout] | [INFO] [stdout] 85 | let subscriber = sqlx::query_as!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 86 | | Subscriber, [INFO] [stdout] 87 | | r#" [INFO] [stdout] 88 | | DELETE FROM subscribers [INFO] [stdout] ... | [INFO] [stdout] 100 | | id [INFO] [stdout] 101 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/subscriber_repository.rs:109:26 [INFO] [stdout] | [INFO] [stdout] 109 | let subscriber = sqlx::query_as!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 110 | | Subscriber, [INFO] [stdout] 111 | | r#" [INFO] [stdout] 112 | | DELETE FROM subscribers [INFO] [stdout] ... | [INFO] [stdout] 124 | | email [INFO] [stdout] 125 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/subscriber_repository.rs:218:26 [INFO] [stdout] | [INFO] [stdout] 218 | let subscriber = sqlx::query_as!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 219 | | Subscriber, [INFO] [stdout] 220 | | r#" [INFO] [stdout] 221 | | UPDATE subscribers SET [INFO] [stdout] ... | [INFO] [stdout] 239 | | subscriber.status as SubscriberStatus [INFO] [stdout] 240 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/repositories/subscriber_repository.rs:247:26 [INFO] [stdout] | [INFO] [stdout] 247 | let subscriber = sqlx::query_as!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 248 | | Subscriber, [INFO] [stdout] 249 | | r#" [INFO] [stdout] 250 | | UPDATE subscribers SET [INFO] [stdout] ... | [INFO] [stdout] 268 | | subscriber.status as SubscriberStatus [INFO] [stdout] 269 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/list_repository.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | let list = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 20 | | List, [INFO] [stdout] 21 | | r#" [INFO] [stdout] 22 | | INSERT INTO lists (name, "type", optin, tags, description) [INFO] [stdout] ... | [INFO] [stdout] 39 | | list.description [INFO] [stdout] 40 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/repositories/list_repository.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 48 | let list = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 49 | | List, [INFO] [stdout] 50 | | r#" [INFO] [stdout] 51 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 61 | | id [INFO] [stdout] 62 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/list_repository.rs:147:20 [INFO] [stdout] | [INFO] [stdout] 147 | let list = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 148 | | List, [INFO] [stdout] 149 | | r#" [INFO] [stdout] 150 | | DELETE FROM lists WHERE id = $1 [INFO] [stdout] ... | [INFO] [stdout] 162 | | 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/repositories/list_repository.rs:170:20 [INFO] [stdout] | [INFO] [stdout] 170 | let list = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 171 | | List, [INFO] [stdout] 172 | | r#" [INFO] [stdout] 173 | | UPDATE lists [INFO] [stdout] ... | [INFO] [stdout] 197 | | list.id [INFO] [stdout] 198 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/template_repository.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | let template = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 18 | | Template, [INFO] [stdout] 19 | | r#" [INFO] [stdout] 20 | | INSERT INTO templates (name, type, subject, body, is_default) [INFO] [stdout] ... | [INFO] [stdout] 25 | | template.name, template.template_type as TemplateType, template.subject, template.body, template.is_default [INFO] [stdout] 26 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/template_repository.rs:77:24 [INFO] [stdout] | [INFO] [stdout] 77 | let template = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 78 | | Template, [INFO] [stdout] 79 | | r#" [INFO] [stdout] 80 | | UPDATE templates SET [INFO] [stdout] ... | [INFO] [stdout] 96 | | template.is_default [INFO] [stdout] 97 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/template_repository.rs:105:24 [INFO] [stdout] | [INFO] [stdout] 105 | let template = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 106 | | Template, [INFO] [stdout] 107 | | r#" [INFO] [stdout] 108 | | DELETE FROM templates WHERE id = $1 [INFO] [stdout] ... | [INFO] [stdout] 112 | | id [INFO] [stdout] 113 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/template_repository.rs:121:24 [INFO] [stdout] | [INFO] [stdout] 121 | let template = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 122 | | Template, [INFO] [stdout] 123 | | r#" [INFO] [stdout] 124 | | SELECT id, name, type as "template_type: TemplateType", subject, body, is_default, [INFO] [stdout] ... | [INFO] [stdout] 129 | | id [INFO] [stdout] 130 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/subscriber_list_repository.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | let subscriber_list = sqlx::query_as!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 24 | | SubscriberList, [INFO] [stdout] 25 | | r#" [INFO] [stdout] 26 | | INSERT INTO subscriber_lists (subscriber_id, list_id, meta, status) [INFO] [stdout] ... | [INFO] [stdout] 39 | | dto.status as SubscriptionStatus [INFO] [stdout] 40 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/repositories/subscriber_list_repository.rs:48:31 [INFO] [stdout] | [INFO] [stdout] 48 | let subscriber_list = sqlx::query_as!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 49 | | SubscriberList, [INFO] [stdout] 50 | | r#" [INFO] [stdout] 51 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 62 | | list_id [INFO] [stdout] 63 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/repositories/subscriber_list_repository.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | / sqlx::query_as!( [INFO] [stdout] 76 | | SubscriberList, [INFO] [stdout] 77 | | r#" [INFO] [stdout] 78 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 92 | | offset as i64 [INFO] [stdout] 93 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [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/repositories/subscriber_list_repository.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | / sqlx::query_as!( [INFO] [stdout] 99 | | SubscriberList, [INFO] [stdout] 100 | | r#" [INFO] [stdout] 101 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 115 | | offset as i64 [INFO] [stdout] 116 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [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/repositories/subscriber_list_repository.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | / sqlx::query_as!( [INFO] [stdout] 122 | | SubscriberList, [INFO] [stdout] 123 | | r#" [INFO] [stdout] 124 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 139 | | offset as i64 [INFO] [stdout] 140 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [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/repositories/subscriber_list_repository.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | / sqlx::query_as!( [INFO] [stdout] 146 | | SubscriberList, [INFO] [stdout] 147 | | r#" [INFO] [stdout] 148 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 160 | | offset as i64 [INFO] [stdout] 161 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [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/repositories/subscriber_list_repository.rs:171:31 [INFO] [stdout] | [INFO] [stdout] 171 | let subscriber_list = sqlx::query_as!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 172 | | SubscriberList, [INFO] [stdout] 173 | | r#" [INFO] [stdout] 174 | | UPDATE subscriber_lists [INFO] [stdout] ... | [INFO] [stdout] 199 | | dto.meta [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_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/repositories/subscriber_list_repository.rs:208:22 [INFO] [stdout] | [INFO] [stdout] 208 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 209 | | r#" [INFO] [stdout] 210 | | DELETE FROM subscriber_lists [INFO] [stdout] 211 | | WHERE subscriber_id = $1 AND list_id = $2 [INFO] [stdout] ... | [INFO] [stdout] 214 | | list_id [INFO] [stdout] 215 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/campaign_repository.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | let campaign = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 24 | | Campaign, [INFO] [stdout] 25 | | r#" [INFO] [stdout] 26 | | INSERT INTO campaigns ( [INFO] [stdout] ... | [INFO] [stdout] 91 | | None::> // sequence_end_date [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/campaign_repository.rs:226:24 [INFO] [stdout] | [INFO] [stdout] 226 | let campaign = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 227 | | Campaign, [INFO] [stdout] 228 | | r#" [INFO] [stdout] 229 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 254 | | id [INFO] [stdout] 255 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/campaign_repository.rs:263:24 [INFO] [stdout] | [INFO] [stdout] 263 | let campaign = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 264 | | Campaign, [INFO] [stdout] 265 | | r#" [INFO] [stdout] 266 | | UPDATE campaigns [INFO] [stdout] ... | [INFO] [stdout] 329 | | campaign.id [INFO] [stdout] 330 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/campaign_repository.rs:339:13 [INFO] [stdout] | [INFO] [stdout] 339 | sqlx::query!("DELETE FROM campaigns WHERE id = $1", id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/repositories/campaign_repository.rs:343:13 [INFO] [stdout] | [INFO] [stdout] 343 | sqlx::query!("DELETE FROM campaigns WHERE uuid = $1", uuid) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/repositories/campaign_list_repository.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | let result = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 18 | | CampaignList, [INFO] [stdout] 19 | | r#" [INFO] [stdout] 20 | | INSERT INTO campaign_lists (campaign_id, list_id, list_name) [INFO] [stdout] ... | [INFO] [stdout] 30 | | campaign_list.list_id [INFO] [stdout] 31 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/campaign_list_repository.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 39 | let result = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 40 | | CampaignList, [INFO] [stdout] 41 | | r#" [INFO] [stdout] 42 | | SELECT id as "id!: i32", [INFO] [stdout] ... | [INFO] [stdout] 50 | | list_id [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_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/repositories/campaign_list_repository.rs:61:22 [INFO] [stdout] | [INFO] [stdout] 61 | let result = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 62 | | CampaignList, [INFO] [stdout] 63 | | r#" [INFO] [stdout] 64 | | SELECT id as "id!: i32", [INFO] [stdout] ... | [INFO] [stdout] 73 | | offset as i64 [INFO] [stdout] 74 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/repositories/campaign_list_repository.rs:82:22 [INFO] [stdout] | [INFO] [stdout] 82 | let result = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 83 | | CampaignList, [INFO] [stdout] 84 | | r#" [INFO] [stdout] 85 | | UPDATE campaign_lists [INFO] [stdout] ... | [INFO] [stdout] 98 | | campaign_list.list_name [INFO] [stdout] 99 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/campaign_list_repository.rs:107:22 [INFO] [stdout] | [INFO] [stdout] 107 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 108 | | r#" [INFO] [stdout] 109 | | DELETE FROM campaign_lists [INFO] [stdout] 110 | | WHERE campaign_id = $1 AND list_id = $2 [INFO] [stdout] ... | [INFO] [stdout] 113 | | list_id [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` (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/repositories/campaign_list_repository.rs:122:30 [INFO] [stdout] | [INFO] [stdout] 122 | let campaign_lists = sqlx::query_as!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 123 | | CampaignList, [INFO] [stdout] 124 | | r#" [INFO] [stdout] 125 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 135 | | campaign_id [INFO] [stdout] 136 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/campaign_list_repository.rs:144:30 [INFO] [stdout] | [INFO] [stdout] 144 | let campaign_lists = sqlx::query_as!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 145 | | CampaignList, [INFO] [stdout] 146 | | r#" [INFO] [stdout] 147 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 157 | | list_id [INFO] [stdout] 158 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/subscriber_repository.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | let subscriber = sqlx::query_as!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 21 | | Subscriber, [INFO] [stdout] 22 | | r#" [INFO] [stdout] 23 | | INSERT INTO subscribers (email, name, attribs, status) [INFO] [stdout] ... | [INFO] [stdout] 35 | | SubscriberStatus::Enabled as SubscriberStatus, // Cast explicite [INFO] [stdout] 36 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/subscriber_repository.rs:44:26 [INFO] [stdout] | [INFO] [stdout] 44 | let subscriber = sqlx::query_as!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 45 | | Subscriber, [INFO] [stdout] 46 | | r#" [INFO] [stdout] 47 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 56 | | email [INFO] [stdout] 57 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/repositories/subscriber_repository.rs:65:26 [INFO] [stdout] | [INFO] [stdout] 65 | let subscriber = sqlx::query_as!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 66 | | Subscriber, [INFO] [stdout] 67 | | r#" [INFO] [stdout] 68 | | SELECT [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/repositories/subscriber_repository.rs:85:26 [INFO] [stdout] | [INFO] [stdout] 85 | let subscriber = sqlx::query_as!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 86 | | Subscriber, [INFO] [stdout] 87 | | r#" [INFO] [stdout] 88 | | DELETE FROM subscribers [INFO] [stdout] ... | [INFO] [stdout] 100 | | id [INFO] [stdout] 101 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/email_views_repository.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | let email_view = sqlx::query_as!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 29 | | EmailView, [INFO] [stdout] 30 | | r#" [INFO] [stdout] 31 | | INSERT INTO email_views ( [INFO] [stdout] ... | [INFO] [stdout] 62 | | dto.metadata.unwrap_or_default() [INFO] [stdout] 63 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/repositories/subscriber_repository.rs:109:26 [INFO] [stdout] | [INFO] [stdout] 109 | let subscriber = sqlx::query_as!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 110 | | Subscriber, [INFO] [stdout] 111 | | r#" [INFO] [stdout] 112 | | DELETE FROM subscribers [INFO] [stdout] ... | [INFO] [stdout] 124 | | email [INFO] [stdout] 125 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/sequence_email_repository.rs:30:30 [INFO] [stdout] | [INFO] [stdout] 30 | let sequence_email = sqlx::query_as!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 31 | | SequenceEmail, [INFO] [stdout] 32 | | r#" [INFO] [stdout] 33 | | INSERT INTO sequence_emails ( [INFO] [stdout] ... | [INFO] [stdout] 96 | | dto.delay_unit [INFO] [stdout] 97 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/sequence_email_repository.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | / sqlx::query_as!( [INFO] [stdout] 114 | | SequenceEmail, [INFO] [stdout] 115 | | r#" [INFO] [stdout] 116 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 140 | | offset [INFO] [stdout] 141 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [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/repositories/subscriber_repository.rs:218:26 [INFO] [stdout] | [INFO] [stdout] 218 | let subscriber = sqlx::query_as!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 219 | | Subscriber, [INFO] [stdout] 220 | | r#" [INFO] [stdout] 221 | | UPDATE subscribers SET [INFO] [stdout] ... | [INFO] [stdout] 239 | | subscriber.status as SubscriberStatus [INFO] [stdout] 240 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/repositories/sequence_email_repository.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | / sqlx::query_as!( [INFO] [stdout] 147 | | SequenceEmail, [INFO] [stdout] 148 | | r#" [INFO] [stdout] 149 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 171 | | offset [INFO] [stdout] 172 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [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/repositories/subscriber_repository.rs:247:26 [INFO] [stdout] | [INFO] [stdout] 247 | let subscriber = sqlx::query_as!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 248 | | Subscriber, [INFO] [stdout] 249 | | r#" [INFO] [stdout] 250 | | UPDATE subscribers SET [INFO] [stdout] ... | [INFO] [stdout] 268 | | subscriber.status as SubscriberStatus [INFO] [stdout] 269 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/sequence_email_repository.rs:181:30 [INFO] [stdout] | [INFO] [stdout] 181 | let sequence_email = sqlx::query_as!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 182 | | SequenceEmail, [INFO] [stdout] 183 | | r#" [INFO] [stdout] 184 | | UPDATE sequence_emails [INFO] [stdout] ... | [INFO] [stdout] 226 | | dto.delay_unit [INFO] [stdout] 227 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/list_repository.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | let list = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 20 | | List, [INFO] [stdout] 21 | | r#" [INFO] [stdout] 22 | | INSERT INTO lists (name, "type", optin, tags, description) [INFO] [stdout] ... | [INFO] [stdout] 39 | | list.description [INFO] [stdout] 40 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/repositories/list_repository.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 48 | let list = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 49 | | List, [INFO] [stdout] 50 | | r#" [INFO] [stdout] 51 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 61 | | id [INFO] [stdout] 62 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/list_repository.rs:147:20 [INFO] [stdout] | [INFO] [stdout] 147 | let list = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 148 | | List, [INFO] [stdout] 149 | | r#" [INFO] [stdout] 150 | | DELETE FROM lists WHERE id = $1 [INFO] [stdout] ... | [INFO] [stdout] 162 | | 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/repositories/sequence_email_repository.rs:235:22 [INFO] [stdout] | [INFO] [stdout] 235 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 236 | | r#"DELETE FROM sequence_emails WHERE id = $1"#, [INFO] [stdout] 237 | | id [INFO] [stdout] 238 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/sequence_email_repository.rs:246:30 [INFO] [stdout] | [INFO] [stdout] 246 | let sequence_email = sqlx::query_as!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 247 | | SequenceEmail, [INFO] [stdout] 248 | | r#" [INFO] [stdout] 249 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 273 | | campaign_id [INFO] [stdout] 274 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/sequence_email_repository.rs:282:31 [INFO] [stdout] | [INFO] [stdout] 282 | let sequence_emails = sqlx::query_as!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 283 | | SequenceEmail, [INFO] [stdout] 284 | | r#" [INFO] [stdout] 285 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 311 | | "# [INFO] [stdout] 312 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/sequence_email_repository.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | / sqlx::query!( [INFO] [stdout] 321 | | r#" [INFO] [stdout] 322 | | UPDATE sequence_emails [INFO] [stdout] 323 | | SET status = $1::sequence_email_status, [INFO] [stdout] ... | [INFO] [stdout] 328 | | id [INFO] [stdout] 329 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/sequence_email_repository.rs:338:30 [INFO] [stdout] | [INFO] [stdout] 338 | let sequence_email = sqlx::query_as!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 339 | | SequenceEmail, [INFO] [stdout] 340 | | r#" [INFO] [stdout] 341 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 362 | | campaign_id [INFO] [stdout] 363 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/campaign_stats_repository.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | let campaign = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 18 | | r#" [INFO] [stdout] 19 | | SELECT [INFO] [stdout] 20 | | name, [INFO] [stdout] ... | [INFO] [stdout] 26 | | campaign_id [INFO] [stdout] 27 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/campaign_stats_repository.rs:32:29 [INFO] [stdout] | [INFO] [stdout] 32 | let overall_stats = sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 33 | | r#" [INFO] [stdout] 34 | | WITH subscriber_counts AS ( [INFO] [stdout] 35 | | SELECT COUNT(DISTINCT sl.subscriber_id) as total_subscribers [INFO] [stdout] ... | [INFO] [stdout] 62 | | campaign_id [INFO] [stdout] 63 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (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/repositories/list_repository.rs:170:20 [INFO] [stdout] | [INFO] [stdout] 170 | let list = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 171 | | List, [INFO] [stdout] 172 | | r#" [INFO] [stdout] 173 | | UPDATE lists [INFO] [stdout] ... | [INFO] [stdout] 197 | | list.id [INFO] [stdout] 198 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/template_repository.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | let template = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 18 | | Template, [INFO] [stdout] 19 | | r#" [INFO] [stdout] 20 | | INSERT INTO templates (name, type, subject, body, is_default) [INFO] [stdout] ... | [INFO] [stdout] 25 | | template.name, template.template_type as TemplateType, template.subject, template.body, template.is_default [INFO] [stdout] 26 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/campaign_stats_repository.rs:68:30 [INFO] [stdout] | [INFO] [stdout] 68 | let sequence_stats = sqlx::query_as!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 69 | | SequenceEmailStats, [INFO] [stdout] 70 | | r#" [INFO] [stdout] 71 | | WITH subscriber_count AS ( [INFO] [stdout] ... | [INFO] [stdout] 101 | | campaign_id [INFO] [stdout] 102 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/template_repository.rs:77:24 [INFO] [stdout] | [INFO] [stdout] 77 | let template = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 78 | | Template, [INFO] [stdout] 79 | | r#" [INFO] [stdout] 80 | | UPDATE templates SET [INFO] [stdout] ... | [INFO] [stdout] 96 | | template.is_default [INFO] [stdout] 97 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/campaign_stats_repository.rs:107:29 [INFO] [stdout] | [INFO] [stdout] 107 | let country_stats = sqlx::query_as!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 108 | | CountryStats, [INFO] [stdout] 109 | | r#" [INFO] [stdout] 110 | | WITH total_opens AS ( [INFO] [stdout] ... | [INFO] [stdout] 132 | | campaign_id [INFO] [stdout] 133 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/repositories/campaign_stats_repository.rs:138:26 [INFO] [stdout] | [INFO] [stdout] 138 | let city_stats = sqlx::query_as!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 139 | | CityStats, [INFO] [stdout] 140 | | r#" [INFO] [stdout] 141 | | WITH total_opens AS ( [INFO] [stdout] ... | [INFO] [stdout] 164 | | campaign_id [INFO] [stdout] 165 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/campaign_stats_repository.rs:170:29 [INFO] [stdout] | [INFO] [stdout] 170 | let opens_by_hour = sqlx::query_as!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 171 | | TimeStats, [INFO] [stdout] 172 | | r#" [INFO] [stdout] 173 | | WITH total_opens AS ( [INFO] [stdout] ... | [INFO] [stdout] 193 | | campaign_id [INFO] [stdout] 194 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/campaign_stats_repository.rs:199:28 [INFO] [stdout] | [INFO] [stdout] 199 | let opens_by_day = sqlx::query_as!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 200 | | TimeStats, [INFO] [stdout] 201 | | r#" [INFO] [stdout] 202 | | WITH total_opens AS ( [INFO] [stdout] ... | [INFO] [stdout] 222 | | campaign_id [INFO] [stdout] 223 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/campaign_stats_repository.rs:228:34 [INFO] [stdout] | [INFO] [stdout] 228 | let opened_subscribers = sqlx::query_as!( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 229 | | SubscriberOpenInfo, [INFO] [stdout] 230 | | r#" [INFO] [stdout] 231 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 242 | | campaign_id [INFO] [stdout] 243 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/template_repository.rs:105:24 [INFO] [stdout] | [INFO] [stdout] 105 | let template = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 106 | | Template, [INFO] [stdout] 107 | | r#" [INFO] [stdout] 108 | | DELETE FROM templates WHERE id = $1 [INFO] [stdout] ... | [INFO] [stdout] 112 | | id [INFO] [stdout] 113 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/campaign_stats_repository.rs:247:36 [INFO] [stdout] | [INFO] [stdout] 247 | let unopened_subscribers = sqlx::query_as!( [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 248 | | SubscriberInfo, [INFO] [stdout] 249 | | r#" [INFO] [stdout] 250 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 264 | | campaign_id [INFO] [stdout] 265 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/template_repository.rs:121:24 [INFO] [stdout] | [INFO] [stdout] 121 | let template = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 122 | | Template, [INFO] [stdout] 123 | | r#" [INFO] [stdout] 124 | | SELECT id, name, type as "template_type: TemplateType", subject, body, is_default, [INFO] [stdout] ... | [INFO] [stdout] 129 | | id [INFO] [stdout] 130 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/subscriber_list_repository.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | let subscriber_list = sqlx::query_as!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 24 | | SubscriberList, [INFO] [stdout] 25 | | r#" [INFO] [stdout] 26 | | INSERT INTO subscriber_lists (subscriber_id, list_id, meta, status) [INFO] [stdout] ... | [INFO] [stdout] 39 | | dto.status as SubscriptionStatus [INFO] [stdout] 40 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/repositories/subscriber_list_repository.rs:48:31 [INFO] [stdout] | [INFO] [stdout] 48 | let subscriber_list = sqlx::query_as!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 49 | | SubscriberList, [INFO] [stdout] 50 | | r#" [INFO] [stdout] 51 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 62 | | list_id [INFO] [stdout] 63 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/repositories/campaign_stats_repository.rs:304:24 [INFO] [stdout] | [INFO] [stdout] 304 | let campaign = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 305 | | r#" [INFO] [stdout] 306 | | SELECT [INFO] [stdout] 307 | | name, [INFO] [stdout] ... | [INFO] [stdout] 313 | | campaign_id [INFO] [stdout] 314 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/campaign_stats_repository.rs:319:26 [INFO] [stdout] | [INFO] [stdout] 319 | let base_stats = sqlx::query!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 320 | | r#" [INFO] [stdout] 321 | | WITH total_stats AS ( [INFO] [stdout] 322 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 340 | | campaign_id [INFO] [stdout] 341 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/campaign_stats_repository.rs:346:30 [INFO] [stdout] | [INFO] [stdout] 346 | let sequence_stats = sqlx::query_as!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 347 | | SequenceEmailStats, [INFO] [stdout] 348 | | r#" [INFO] [stdout] 349 | | WITH subscriber_count AS ( [INFO] [stdout] ... | [INFO] [stdout] 376 | | campaign_id [INFO] [stdout] 377 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/campaign_stats_repository.rs:382:34 [INFO] [stdout] | [INFO] [stdout] 382 | let opened_subscribers = sqlx::query_as!( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 383 | | SubscriberOpenInfo, [INFO] [stdout] 384 | | r#" [INFO] [stdout] 385 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 397 | | campaign_id [INFO] [stdout] 398 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/campaign_stats_repository.rs:403:36 [INFO] [stdout] | [INFO] [stdout] 403 | let unopened_subscribers = sqlx::query_as!( [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 404 | | SubscriberInfo, [INFO] [stdout] 405 | | r#" [INFO] [stdout] 406 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 421 | | campaign_id [INFO] [stdout] 422 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/subscriber_list_repository.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | / sqlx::query_as!( [INFO] [stdout] 76 | | SubscriberList, [INFO] [stdout] 77 | | r#" [INFO] [stdout] 78 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 92 | | offset as i64 [INFO] [stdout] 93 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [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/repositories/campaign_stats_repository.rs:465:26 [INFO] [stdout] | [INFO] [stdout] 465 | let base_stats = sqlx::query!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 466 | | r#" [INFO] [stdout] 467 | | WITH subscriber_count AS ( [INFO] [stdout] 468 | | SELECT COUNT(DISTINCT sl.subscriber_id) as total_subscribers [INFO] [stdout] ... | [INFO] [stdout] 489 | | sequence_id [INFO] [stdout] 490 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/subscriber_list_repository.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | / sqlx::query_as!( [INFO] [stdout] 99 | | SubscriberList, [INFO] [stdout] 100 | | r#" [INFO] [stdout] 101 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 115 | | offset as i64 [INFO] [stdout] 116 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [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/repositories/subscriber_list_repository.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | / sqlx::query_as!( [INFO] [stdout] 122 | | SubscriberList, [INFO] [stdout] 123 | | r#" [INFO] [stdout] 124 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 139 | | offset as i64 [INFO] [stdout] 140 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [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/repositories/campaign_stats_repository.rs:495:34 [INFO] [stdout] | [INFO] [stdout] 495 | let opened_subscribers = sqlx::query_as!( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 496 | | SubscriberOpenInfo, [INFO] [stdout] 497 | | r#" [INFO] [stdout] 498 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 509 | | sequence_id [INFO] [stdout] 510 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/campaign_stats_repository.rs:515:36 [INFO] [stdout] | [INFO] [stdout] 515 | let unopened_subscribers = sqlx::query_as!( [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 516 | | SubscriberInfo, [INFO] [stdout] 517 | | r#" [INFO] [stdout] 518 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 533 | | sequence_id [INFO] [stdout] 534 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/global_stats_repository.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | let overall = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 20 | | r#" [INFO] [stdout] 21 | | WITH subscriber_stats AS ( [INFO] [stdout] 22 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 97 | | "# [INFO] [stdout] 98 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/global_stats_repository.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 103 | let peak_hour = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 104 | | r#" [INFO] [stdout] 105 | | SELECT EXTRACT(HOUR FROM opened_at)::int as hour, [INFO] [stdout] 106 | | COUNT(*) as opens [INFO] [stdout] ... | [INFO] [stdout] 111 | | "# [INFO] [stdout] 112 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/global_stats_repository.rs:117:29 [INFO] [stdout] | [INFO] [stdout] 117 | let top_countries = sqlx::query_as!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 118 | | CountryEngagement, [INFO] [stdout] 119 | | r#" [INFO] [stdout] 120 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 130 | | "# [INFO] [stdout] 131 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/subscriber_list_repository.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | / sqlx::query_as!( [INFO] [stdout] 146 | | SubscriberList, [INFO] [stdout] 147 | | r#" [INFO] [stdout] 148 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 160 | | offset as i64 [INFO] [stdout] 161 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [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/repositories/global_stats_repository.rs:136:26 [INFO] [stdout] | [INFO] [stdout] 136 | let top_cities = sqlx::query_as!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 137 | | CityEngagement, [INFO] [stdout] 138 | | r#" [INFO] [stdout] 139 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 150 | | "# [INFO] [stdout] 151 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/subscriber_list_repository.rs:171:31 [INFO] [stdout] | [INFO] [stdout] 171 | let subscriber_list = sqlx::query_as!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 172 | | SubscriberList, [INFO] [stdout] 173 | | r#" [INFO] [stdout] 174 | | UPDATE subscriber_lists [INFO] [stdout] ... | [INFO] [stdout] 199 | | dto.meta [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_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/repositories/subscriber_sequence_progress_repository.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | let progress = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 24 | | SubscriberSequenceProgress, [INFO] [stdout] 25 | | r#" [INFO] [stdout] 26 | | INSERT INTO subscriber_sequence_progress [INFO] [stdout] ... | [INFO] [stdout] 42 | | dto.subscriber_id, dto.campaign_id, dto.list_id [INFO] [stdout] 43 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/repositories/subscriber_sequence_progress_repository.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | let progress = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 56 | | SubscriberSequenceProgress, [INFO] [stdout] 57 | | r#" [INFO] [stdout] 58 | | UPDATE subscriber_sequence_progress [INFO] [stdout] ... | [INFO] [stdout] 83 | | id [INFO] [stdout] 84 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/subscriber_sequence_progress_repository.rs:92:24 [INFO] [stdout] | [INFO] [stdout] 92 | let progress = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 93 | | SubscriberSequenceProgress, [INFO] [stdout] 94 | | r#" [INFO] [stdout] 95 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 110 | | id [INFO] [stdout] 111 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/subscriber_sequence_progress_repository.rs:123:24 [INFO] [stdout] | [INFO] [stdout] 123 | let progress = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 124 | | SubscriberSequenceProgress, [INFO] [stdout] 125 | | r#" [INFO] [stdout] 126 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 141 | | subscriber_id, campaign_id [INFO] [stdout] 142 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/subscriber_list_repository.rs:208:22 [INFO] [stdout] | [INFO] [stdout] 208 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 209 | | r#" [INFO] [stdout] 210 | | DELETE FROM subscriber_lists [INFO] [stdout] 211 | | WHERE subscriber_id = $1 AND list_id = $2 [INFO] [stdout] ... | [INFO] [stdout] 214 | | list_id [INFO] [stdout] 215 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/campaign_repository.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | let campaign = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 24 | | Campaign, [INFO] [stdout] 25 | | r#" [INFO] [stdout] 26 | | INSERT INTO campaigns ( [INFO] [stdout] ... | [INFO] [stdout] 91 | | None::> // sequence_end_date [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/subscriber_sequence_progress_repository.rs:152:29 [INFO] [stdout] | [INFO] [stdout] 152 | let progress_list = sqlx::query_as!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 153 | | SubscriberSequenceProgress, [INFO] [stdout] 154 | | r#" [INFO] [stdout] 155 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 174 | | now [INFO] [stdout] 175 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/subscriber_sequence_progress_repository.rs:183:24 [INFO] [stdout] | [INFO] [stdout] 183 | let progress = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 184 | | SubscriberSequenceProgress, [INFO] [stdout] 185 | | r#" [INFO] [stdout] 186 | | DELETE FROM subscriber_sequence_progress [INFO] [stdout] ... | [INFO] [stdout] 201 | | id [INFO] [stdout] 202 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/campaign_repository.rs:226:24 [INFO] [stdout] | [INFO] [stdout] 226 | let campaign = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 227 | | Campaign, [INFO] [stdout] 228 | | r#" [INFO] [stdout] 229 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 254 | | id [INFO] [stdout] 255 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/services/sequence_email_service.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | let result = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 45 | | SequenceEmail, [INFO] [stdout] 46 | | r#" [INFO] [stdout] 47 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 67 | | id [INFO] [stdout] 68 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/services/sequence_optin_service.rs:169:30 [INFO] [stdout] | [INFO] [stdout] 169 | let delay_type_str = sqlx::query_scalar!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 170 | | r#"SELECT delay_type FROM sequence_emails WHERE id = $1"#, [INFO] [stdout] 171 | | sequence_email.id [INFO] [stdout] 172 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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] --> src/services/sequence_optin_service.rs:177:27 [INFO] [stdout] | [INFO] [stdout] 177 | let delay_value = sqlx::query_scalar!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 178 | | r#"SELECT delay_value FROM sequence_emails WHERE id = $1"#, [INFO] [stdout] 179 | | sequence_email.id [INFO] [stdout] 180 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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] --> src/services/sequence_optin_service.rs:186:30 [INFO] [stdout] | [INFO] [stdout] 186 | let delay_unit_str = sqlx::query_scalar!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 187 | | r#"SELECT delay_unit FROM sequence_emails WHERE id = $1"#, [INFO] [stdout] 188 | | sequence_email.id [INFO] [stdout] 189 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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] --> src/repositories/campaign_repository.rs:263:24 [INFO] [stdout] | [INFO] [stdout] 263 | let campaign = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 264 | | Campaign, [INFO] [stdout] 265 | | r#" [INFO] [stdout] 266 | | UPDATE campaigns [INFO] [stdout] ... | [INFO] [stdout] 329 | | campaign.id [INFO] [stdout] 330 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/campaign_repository.rs:339:13 [INFO] [stdout] | [INFO] [stdout] 339 | sqlx::query!("DELETE FROM campaigns WHERE id = $1", id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/repositories/campaign_repository.rs:343:13 [INFO] [stdout] | [INFO] [stdout] 343 | sqlx::query!("DELETE FROM campaigns WHERE uuid = $1", uuid) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/repositories/campaign_list_repository.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | let result = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 18 | | CampaignList, [INFO] [stdout] 19 | | r#" [INFO] [stdout] 20 | | INSERT INTO campaign_lists (campaign_id, list_id, list_name) [INFO] [stdout] ... | [INFO] [stdout] 30 | | campaign_list.list_id [INFO] [stdout] 31 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/services/sequence_optin_service.rs:278:34 [INFO] [stdout] | [INFO] [stdout] 278 | let subscriber = sqlx::query!( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 279 | | r#"SELECT email FROM subscribers WHERE id = $1"#, [INFO] [stdout] 280 | | progress.subscriber_id [INFO] [stdout] 281 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [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/repositories/campaign_list_repository.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 39 | let result = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 40 | | CampaignList, [INFO] [stdout] 41 | | r#" [INFO] [stdout] 42 | | SELECT id as "id!: i32", [INFO] [stdout] ... | [INFO] [stdout] 50 | | list_id [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_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/repositories/campaign_list_repository.rs:61:22 [INFO] [stdout] | [INFO] [stdout] 61 | let result = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 62 | | CampaignList, [INFO] [stdout] 63 | | r#" [INFO] [stdout] 64 | | SELECT id as "id!: i32", [INFO] [stdout] ... | [INFO] [stdout] 73 | | offset as i64 [INFO] [stdout] 74 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/repositories/campaign_list_repository.rs:82:22 [INFO] [stdout] | [INFO] [stdout] 82 | let result = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 83 | | CampaignList, [INFO] [stdout] 84 | | r#" [INFO] [stdout] 85 | | UPDATE campaign_lists [INFO] [stdout] ... | [INFO] [stdout] 98 | | campaign_list.list_name [INFO] [stdout] 99 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/campaign_list_repository.rs:107:22 [INFO] [stdout] | [INFO] [stdout] 107 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 108 | | r#" [INFO] [stdout] 109 | | DELETE FROM campaign_lists [INFO] [stdout] 110 | | WHERE campaign_id = $1 AND list_id = $2 [INFO] [stdout] ... | [INFO] [stdout] 113 | | list_id [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` (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/repositories/campaign_list_repository.rs:122:30 [INFO] [stdout] | [INFO] [stdout] 122 | let campaign_lists = sqlx::query_as!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 123 | | CampaignList, [INFO] [stdout] 124 | | r#" [INFO] [stdout] 125 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 135 | | campaign_id [INFO] [stdout] 136 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/campaign_list_repository.rs:144:30 [INFO] [stdout] | [INFO] [stdout] 144 | let campaign_lists = sqlx::query_as!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 145 | | CampaignList, [INFO] [stdout] 146 | | r#" [INFO] [stdout] 147 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 157 | | list_id [INFO] [stdout] 158 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/email_views_repository.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | let email_view = sqlx::query_as!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 29 | | EmailView, [INFO] [stdout] 30 | | r#" [INFO] [stdout] 31 | | INSERT INTO email_views ( [INFO] [stdout] ... | [INFO] [stdout] 62 | | dto.metadata.unwrap_or_default() [INFO] [stdout] 63 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/email_service/service.rs:264:32 [INFO] [stdout] | [INFO] [stdout] 264 | let total_count: i64 = sqlx::query_scalar!( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 265 | | r#" [INFO] [stdout] 266 | | SELECT COUNT(DISTINCT s.id)::bigint [INFO] [stdout] 267 | | FROM subscribers s [INFO] [stdout] ... | [INFO] [stdout] 273 | | list_ids [INFO] [stdout] 274 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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] --> src/email_service/service.rs:285:31 [INFO] [stdout] | [INFO] [stdout] 285 | let subscribers = sqlx::query_as!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 286 | | Subscriber, [INFO] [stdout] 287 | | r#" [INFO] [stdout] 288 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 307 | | offset [INFO] [stdout] 308 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/repositories/sequence_email_repository.rs:30:30 [INFO] [stdout] | [INFO] [stdout] 30 | let sequence_email = sqlx::query_as!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 31 | | SequenceEmail, [INFO] [stdout] 32 | | r#" [INFO] [stdout] 33 | | INSERT INTO sequence_emails ( [INFO] [stdout] ... | [INFO] [stdout] 96 | | dto.delay_unit [INFO] [stdout] 97 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/sequence_email_repository.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | / sqlx::query_as!( [INFO] [stdout] 114 | | SequenceEmail, [INFO] [stdout] 115 | | r#" [INFO] [stdout] 116 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 140 | | offset [INFO] [stdout] 141 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [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/repositories/sequence_email_repository.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | / sqlx::query_as!( [INFO] [stdout] 147 | | SequenceEmail, [INFO] [stdout] 148 | | r#" [INFO] [stdout] 149 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 171 | | offset [INFO] [stdout] 172 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [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/repositories/sequence_email_repository.rs:181:30 [INFO] [stdout] | [INFO] [stdout] 181 | let sequence_email = sqlx::query_as!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 182 | | SequenceEmail, [INFO] [stdout] 183 | | r#" [INFO] [stdout] 184 | | UPDATE sequence_emails [INFO] [stdout] ... | [INFO] [stdout] 226 | | dto.delay_unit [INFO] [stdout] 227 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/email_service/service.rs:367:28 [INFO] [stdout] | [INFO] [stdout] 367 | let template = sqlx::query!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 368 | | r#"SELECT subject, body FROM templates WHERE id = $1"#, [INFO] [stdout] 369 | | template_id [INFO] [stdout] 370 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [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/repositories/sequence_email_repository.rs:235:22 [INFO] [stdout] | [INFO] [stdout] 235 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 236 | | r#"DELETE FROM sequence_emails WHERE id = $1"#, [INFO] [stdout] 237 | | id [INFO] [stdout] 238 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/email_service/service.rs:375:34 [INFO] [stdout] | [INFO] [stdout] 375 | let sequence_email = sqlx::query!( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 376 | | r#" [INFO] [stdout] 377 | | SELECT subject, body [INFO] [stdout] 378 | | FROM sequence_emails [INFO] [stdout] ... | [INFO] [stdout] 385 | | campaign_id [INFO] [stdout] 386 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [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/repositories/sequence_email_repository.rs:246:30 [INFO] [stdout] | [INFO] [stdout] 246 | let sequence_email = sqlx::query_as!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 247 | | SequenceEmail, [INFO] [stdout] 248 | | r#" [INFO] [stdout] 249 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 273 | | campaign_id [INFO] [stdout] 274 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/sequence_email_repository.rs:282:31 [INFO] [stdout] | [INFO] [stdout] 282 | let sequence_emails = sqlx::query_as!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 283 | | SequenceEmail, [INFO] [stdout] 284 | | r#" [INFO] [stdout] 285 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 311 | | "# [INFO] [stdout] 312 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/email_service/service.rs:420:9 [INFO] [stdout] | [INFO] [stdout] 420 | / sqlx::query!( [INFO] [stdout] 421 | | r#" [INFO] [stdout] 422 | | UPDATE campaigns [INFO] [stdout] 423 | | SET status = 'scheduled', [INFO] [stdout] ... | [INFO] [stdout] 438 | | campaign_id [INFO] [stdout] 439 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/email_service/service.rs:448:25 [INFO] [stdout] | [INFO] [stdout] 448 | let campaigns = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 449 | | r#" [INFO] [stdout] 450 | | SELECT [INFO] [stdout] 451 | | c.id, [INFO] [stdout] ... | [INFO] [stdout] 460 | | Utc::now() [INFO] [stdout] 461 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/email_service/service.rs:479:25 [INFO] [stdout] | [INFO] [stdout] 479 | / sqlx::query!( [INFO] [stdout] 480 | | r#" [INFO] [stdout] 481 | | UPDATE campaigns [INFO] [stdout] 482 | | SET status = 'cancelled', [INFO] [stdout] ... | [INFO] [stdout] 494 | | campaign.id [INFO] [stdout] 495 | | ) [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [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/repositories/sequence_email_repository.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | / sqlx::query!( [INFO] [stdout] 321 | | r#" [INFO] [stdout] 322 | | UPDATE sequence_emails [INFO] [stdout] 323 | | SET status = $1::sequence_email_status, [INFO] [stdout] ... | [INFO] [stdout] 328 | | id [INFO] [stdout] 329 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/sequence_email_repository.rs:338:30 [INFO] [stdout] | [INFO] [stdout] 338 | let sequence_email = sqlx::query_as!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 339 | | SequenceEmail, [INFO] [stdout] 340 | | r#" [INFO] [stdout] 341 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 362 | | campaign_id [INFO] [stdout] 363 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/campaign_stats_repository.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | let campaign = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 18 | | r#" [INFO] [stdout] 19 | | SELECT [INFO] [stdout] 20 | | name, [INFO] [stdout] ... | [INFO] [stdout] 26 | | campaign_id [INFO] [stdout] 27 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/campaign_stats_repository.rs:32:29 [INFO] [stdout] | [INFO] [stdout] 32 | let overall_stats = sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 33 | | r#" [INFO] [stdout] 34 | | WITH subscriber_counts AS ( [INFO] [stdout] 35 | | SELECT COUNT(DISTINCT sl.subscriber_id) as total_subscribers [INFO] [stdout] ... | [INFO] [stdout] 62 | | campaign_id [INFO] [stdout] 63 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (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/repositories/campaign_stats_repository.rs:68:30 [INFO] [stdout] | [INFO] [stdout] 68 | let sequence_stats = sqlx::query_as!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 69 | | SequenceEmailStats, [INFO] [stdout] 70 | | r#" [INFO] [stdout] 71 | | WITH subscriber_count AS ( [INFO] [stdout] ... | [INFO] [stdout] 101 | | campaign_id [INFO] [stdout] 102 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/campaign_stats_repository.rs:107:29 [INFO] [stdout] | [INFO] [stdout] 107 | let country_stats = sqlx::query_as!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 108 | | CountryStats, [INFO] [stdout] 109 | | r#" [INFO] [stdout] 110 | | WITH total_opens AS ( [INFO] [stdout] ... | [INFO] [stdout] 132 | | campaign_id [INFO] [stdout] 133 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/repositories/campaign_stats_repository.rs:138:26 [INFO] [stdout] | [INFO] [stdout] 138 | let city_stats = sqlx::query_as!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 139 | | CityStats, [INFO] [stdout] 140 | | r#" [INFO] [stdout] 141 | | WITH total_opens AS ( [INFO] [stdout] ... | [INFO] [stdout] 164 | | campaign_id [INFO] [stdout] 165 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/campaign_stats_repository.rs:170:29 [INFO] [stdout] | [INFO] [stdout] 170 | let opens_by_hour = sqlx::query_as!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 171 | | TimeStats, [INFO] [stdout] 172 | | r#" [INFO] [stdout] 173 | | WITH total_opens AS ( [INFO] [stdout] ... | [INFO] [stdout] 193 | | campaign_id [INFO] [stdout] 194 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/campaign_stats_repository.rs:199:28 [INFO] [stdout] | [INFO] [stdout] 199 | let opens_by_day = sqlx::query_as!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 200 | | TimeStats, [INFO] [stdout] 201 | | r#" [INFO] [stdout] 202 | | WITH total_opens AS ( [INFO] [stdout] ... | [INFO] [stdout] 222 | | campaign_id [INFO] [stdout] 223 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/campaign_stats_repository.rs:228:34 [INFO] [stdout] | [INFO] [stdout] 228 | let opened_subscribers = sqlx::query_as!( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 229 | | SubscriberOpenInfo, [INFO] [stdout] 230 | | r#" [INFO] [stdout] 231 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 242 | | campaign_id [INFO] [stdout] 243 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/campaign_stats_repository.rs:247:36 [INFO] [stdout] | [INFO] [stdout] 247 | let unopened_subscribers = sqlx::query_as!( [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 248 | | SubscriberInfo, [INFO] [stdout] 249 | | r#" [INFO] [stdout] 250 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 264 | | campaign_id [INFO] [stdout] 265 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/campaign_stats_repository.rs:304:24 [INFO] [stdout] | [INFO] [stdout] 304 | let campaign = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 305 | | r#" [INFO] [stdout] 306 | | SELECT [INFO] [stdout] 307 | | name, [INFO] [stdout] ... | [INFO] [stdout] 313 | | campaign_id [INFO] [stdout] 314 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/campaign_stats_repository.rs:319:26 [INFO] [stdout] | [INFO] [stdout] 319 | let base_stats = sqlx::query!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 320 | | r#" [INFO] [stdout] 321 | | WITH total_stats AS ( [INFO] [stdout] 322 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 340 | | campaign_id [INFO] [stdout] 341 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/campaign_stats_repository.rs:346:30 [INFO] [stdout] | [INFO] [stdout] 346 | let sequence_stats = sqlx::query_as!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 347 | | SequenceEmailStats, [INFO] [stdout] 348 | | r#" [INFO] [stdout] 349 | | WITH subscriber_count AS ( [INFO] [stdout] ... | [INFO] [stdout] 376 | | campaign_id [INFO] [stdout] 377 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/campaign_stats_repository.rs:382:34 [INFO] [stdout] | [INFO] [stdout] 382 | let opened_subscribers = sqlx::query_as!( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 383 | | SubscriberOpenInfo, [INFO] [stdout] 384 | | r#" [INFO] [stdout] 385 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 397 | | campaign_id [INFO] [stdout] 398 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/campaign_stats_repository.rs:403:36 [INFO] [stdout] | [INFO] [stdout] 403 | let unopened_subscribers = sqlx::query_as!( [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 404 | | SubscriberInfo, [INFO] [stdout] 405 | | r#" [INFO] [stdout] 406 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 421 | | campaign_id [INFO] [stdout] 422 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/campaign_stats_repository.rs:465:26 [INFO] [stdout] | [INFO] [stdout] 465 | let base_stats = sqlx::query!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 466 | | r#" [INFO] [stdout] 467 | | WITH subscriber_count AS ( [INFO] [stdout] 468 | | SELECT COUNT(DISTINCT sl.subscriber_id) as total_subscribers [INFO] [stdout] ... | [INFO] [stdout] 489 | | sequence_id [INFO] [stdout] 490 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/campaign_stats_repository.rs:495:34 [INFO] [stdout] | [INFO] [stdout] 495 | let opened_subscribers = sqlx::query_as!( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 496 | | SubscriberOpenInfo, [INFO] [stdout] 497 | | r#" [INFO] [stdout] 498 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 509 | | sequence_id [INFO] [stdout] 510 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/campaign_stats_repository.rs:515:36 [INFO] [stdout] | [INFO] [stdout] 515 | let unopened_subscribers = sqlx::query_as!( [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 516 | | SubscriberInfo, [INFO] [stdout] 517 | | r#" [INFO] [stdout] 518 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 533 | | sequence_id [INFO] [stdout] 534 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/global_stats_repository.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | let overall = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 20 | | r#" [INFO] [stdout] 21 | | WITH subscriber_stats AS ( [INFO] [stdout] 22 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 97 | | "# [INFO] [stdout] 98 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/global_stats_repository.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 103 | let peak_hour = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 104 | | r#" [INFO] [stdout] 105 | | SELECT EXTRACT(HOUR FROM opened_at)::int as hour, [INFO] [stdout] 106 | | COUNT(*) as opens [INFO] [stdout] ... | [INFO] [stdout] 111 | | "# [INFO] [stdout] 112 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/global_stats_repository.rs:117:29 [INFO] [stdout] | [INFO] [stdout] 117 | let top_countries = sqlx::query_as!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 118 | | CountryEngagement, [INFO] [stdout] 119 | | r#" [INFO] [stdout] 120 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 130 | | "# [INFO] [stdout] 131 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/global_stats_repository.rs:136:26 [INFO] [stdout] | [INFO] [stdout] 136 | let top_cities = sqlx::query_as!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 137 | | CityEngagement, [INFO] [stdout] 138 | | r#" [INFO] [stdout] 139 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 150 | | "# [INFO] [stdout] 151 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/subscriber_sequence_progress_repository.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | let progress = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 24 | | SubscriberSequenceProgress, [INFO] [stdout] 25 | | r#" [INFO] [stdout] 26 | | INSERT INTO subscriber_sequence_progress [INFO] [stdout] ... | [INFO] [stdout] 42 | | dto.subscriber_id, dto.campaign_id, dto.list_id [INFO] [stdout] 43 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/repositories/subscriber_sequence_progress_repository.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | let progress = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 56 | | SubscriberSequenceProgress, [INFO] [stdout] 57 | | r#" [INFO] [stdout] 58 | | UPDATE subscriber_sequence_progress [INFO] [stdout] ... | [INFO] [stdout] 83 | | id [INFO] [stdout] 84 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/subscriber_sequence_progress_repository.rs:92:24 [INFO] [stdout] | [INFO] [stdout] 92 | let progress = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 93 | | SubscriberSequenceProgress, [INFO] [stdout] 94 | | r#" [INFO] [stdout] 95 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 110 | | id [INFO] [stdout] 111 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/subscriber_sequence_progress_repository.rs:123:24 [INFO] [stdout] | [INFO] [stdout] 123 | let progress = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 124 | | SubscriberSequenceProgress, [INFO] [stdout] 125 | | r#" [INFO] [stdout] 126 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 141 | | subscriber_id, campaign_id [INFO] [stdout] 142 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/subscriber_sequence_progress_repository.rs:152:29 [INFO] [stdout] | [INFO] [stdout] 152 | let progress_list = sqlx::query_as!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 153 | | SubscriberSequenceProgress, [INFO] [stdout] 154 | | r#" [INFO] [stdout] 155 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 174 | | now [INFO] [stdout] 175 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/repositories/subscriber_sequence_progress_repository.rs:183:24 [INFO] [stdout] | [INFO] [stdout] 183 | let progress = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 184 | | SubscriberSequenceProgress, [INFO] [stdout] 185 | | r#" [INFO] [stdout] 186 | | DELETE FROM subscriber_sequence_progress [INFO] [stdout] ... | [INFO] [stdout] 201 | | id [INFO] [stdout] 202 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/services/sequence_email_service.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | let result = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 45 | | SequenceEmail, [INFO] [stdout] 46 | | r#" [INFO] [stdout] 47 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 67 | | id [INFO] [stdout] 68 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/services/sequence_optin_service.rs:169:30 [INFO] [stdout] | [INFO] [stdout] 169 | let delay_type_str = sqlx::query_scalar!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 170 | | r#"SELECT delay_type FROM sequence_emails WHERE id = $1"#, [INFO] [stdout] 171 | | sequence_email.id [INFO] [stdout] 172 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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] --> src/services/sequence_optin_service.rs:177:27 [INFO] [stdout] | [INFO] [stdout] 177 | let delay_value = sqlx::query_scalar!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 178 | | r#"SELECT delay_value FROM sequence_emails WHERE id = $1"#, [INFO] [stdout] 179 | | sequence_email.id [INFO] [stdout] 180 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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] --> src/services/sequence_optin_service.rs:186:30 [INFO] [stdout] | [INFO] [stdout] 186 | let delay_unit_str = sqlx::query_scalar!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 187 | | r#"SELECT delay_unit FROM sequence_emails WHERE id = $1"#, [INFO] [stdout] 188 | | sequence_email.id [INFO] [stdout] 189 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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] --> src/services/sequence_optin_service.rs:278:34 [INFO] [stdout] | [INFO] [stdout] 278 | let subscriber = sqlx::query!( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 279 | | r#"SELECT email FROM subscribers WHERE id = $1"#, [INFO] [stdout] 280 | | progress.subscriber_id [INFO] [stdout] 281 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [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/email_service/service.rs:264:32 [INFO] [stdout] | [INFO] [stdout] 264 | let total_count: i64 = sqlx::query_scalar!( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 265 | | r#" [INFO] [stdout] 266 | | SELECT COUNT(DISTINCT s.id)::bigint [INFO] [stdout] 267 | | FROM subscribers s [INFO] [stdout] ... | [INFO] [stdout] 273 | | list_ids [INFO] [stdout] 274 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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] --> src/email_service/service.rs:285:31 [INFO] [stdout] | [INFO] [stdout] 285 | let subscribers = sqlx::query_as!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 286 | | Subscriber, [INFO] [stdout] 287 | | r#" [INFO] [stdout] 288 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 307 | | offset [INFO] [stdout] 308 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/email_service/service.rs:367:28 [INFO] [stdout] | [INFO] [stdout] 367 | let template = sqlx::query!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 368 | | r#"SELECT subject, body FROM templates WHERE id = $1"#, [INFO] [stdout] 369 | | template_id [INFO] [stdout] 370 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [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/email_service/service.rs:375:34 [INFO] [stdout] | [INFO] [stdout] 375 | let sequence_email = sqlx::query!( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 376 | | r#" [INFO] [stdout] 377 | | SELECT subject, body [INFO] [stdout] 378 | | FROM sequence_emails [INFO] [stdout] ... | [INFO] [stdout] 385 | | campaign_id [INFO] [stdout] 386 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [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/email_service/service.rs:420:9 [INFO] [stdout] | [INFO] [stdout] 420 | / sqlx::query!( [INFO] [stdout] 421 | | r#" [INFO] [stdout] 422 | | UPDATE campaigns [INFO] [stdout] 423 | | SET status = 'scheduled', [INFO] [stdout] ... | [INFO] [stdout] 438 | | campaign_id [INFO] [stdout] 439 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/email_service/service.rs:448:25 [INFO] [stdout] | [INFO] [stdout] 448 | let campaigns = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 449 | | r#" [INFO] [stdout] 450 | | SELECT [INFO] [stdout] 451 | | c.id, [INFO] [stdout] ... | [INFO] [stdout] 460 | | Utc::now() [INFO] [stdout] 461 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/email_service/service.rs:479:25 [INFO] [stdout] | [INFO] [stdout] 479 | / sqlx::query!( [INFO] [stdout] 480 | | r#" [INFO] [stdout] 481 | | UPDATE campaigns [INFO] [stdout] 482 | | SET status = 'cancelled', [INFO] [stdout] ... | [INFO] [stdout] 494 | | campaign.id [INFO] [stdout] 495 | | ) [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [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 imports: `delete`, `get`, `post`, and `put` [INFO] [stdout] --> src/api/subscriber_list.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{web, HttpResponse, post, get, delete, put, HttpRequest}; [INFO] [stdout] | ^^^^ ^^^ ^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `delete`, `get`, `post`, and `put` [INFO] [stdout] --> src/api/campaign.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{web, HttpResponse, post, get, delete, put, HttpRequest}; [INFO] [stdout] | ^^^^ ^^^ ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CampaignParams` and `Campaign` [INFO] [stdout] --> src/api/campaign.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | models::campaign::{Campaign, CreateCampaignDto, DeleteCampaignDto, UpdateCampaignDto, CampaignParams, PaginationParams, CampaignFilter}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EmailView`, `GetEmailViewDto`, and `PaginationDto` [INFO] [stdout] --> src/api/email_views.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | PaginationDto, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 5 | GetEmailViewDto, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | EmailView [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BulkEmailStats` [INFO] [stdout] --> src/api/send_email.rs:4:79 [INFO] [stdout] | [INFO] [stdout] 4 | models::{EmailRequest, BulkEmailRequest, EmailResponse, ListEmailRequest, BulkEmailStats, CampaignEmailRequest}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `delete`, `get`, `post`, and `put` [INFO] [stdout] --> src/api/sequence_email.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{web, HttpResponse, post, get, delete, put, HttpRequest}; [INFO] [stdout] | ^^^^ ^^^ ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SequenceEmail` [INFO] [stdout] --> src/api/sequence_email.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | models::sequence_email::{SequenceEmail, CreateSequenceEmailDto, UpdateSequenceEmailDto, PaginationDto}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> src/middleware/auth.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::pin::Pin` [INFO] [stdout] --> src/middleware/auth.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::pin::Pin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Type` [INFO] [stdout] --> src/models/subscriber.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx::{FromRow, Type}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `QueryBuilder` [INFO] [stdout] --> src/repositories/subscriber_repository.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use sqlx::{PgPool, Execute, QueryBuilder}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::postgres::Postgres` [INFO] [stdout] --> src/repositories/subscriber_repository.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlx::postgres::Postgres; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/repositories/subscriber_repository.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SubscriberStatus` [INFO] [stdout] --> src/repositories/subscriber_repository.rs:7:60 [INFO] [stdout] | [INFO] [stdout] 7 | models::subscriber::{Subscriber, CreateSubscriberDto, SubscriberStatus, PaginationParams, SubscriberFilter, SubscriberResponse}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ListOptin` and `ListType` [INFO] [stdout] --> src/repositories/list_repository.rs:4:75 [INFO] [stdout] | [INFO] [stdout] 4 | models::list::{List, CreateListDto, ListPaginationDto, UpdateListDto, ListType, ListOptin} [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TemplateType` [INFO] [stdout] --> src/repositories/template_repository.rs:3:68 [INFO] [stdout] | [INFO] [stdout] 3 | models::template::{Template, CreateTemplateDto, PaginationDto, TemplateType, UpdateTemplateDto}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SubscriptionStatus` [INFO] [stdout] --> src/repositories/subscriber_list_repository.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | SubscriptionStatus [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/repositories/campaign_repository.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime` and `Utc` [INFO] [stdout] --> src/repositories/campaign_repository.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CampaignStatus` and `CampaignType` [INFO] [stdout] --> src/repositories/campaign_repository.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | models::campaign::{Campaign, CampaignStatus, CampaignType, CreateCampaignDto, DeleteCampaignDto, PaginationParams, CampaignFilter, U... [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GetEmailViewDto` and `PaginationDto` [INFO] [stdout] --> src/repositories/email_views_repository.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | GetEmailViewDto, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | PaginationDto [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/repositories/email_views_repository.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value as JsonValue` [INFO] [stdout] --> src/repositories/sequence_email_repository.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::Value as JsonValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime` and `Utc` [INFO] [stdout] --> src/repositories/sequence_email_repository.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::types::BigDecimal` [INFO] [stdout] --> src/repositories/global_stats_repository.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlx::types::BigDecimal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/repositories/subscriber_sequence_progress_repository.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/services/subscriber_service.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/services/subscriber_service.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/services/campaign_service.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/services/campaign_service.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PaginationDto` [INFO] [stdout] --> src/services/campaign_list_service.rs:3:89 [INFO] [stdout] | [INFO] [stdout] 3 | models::campaign_list::{CampaignList, CreateCampaignListDto, UpdateCampaignListDto, PaginationDto}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GetEmailViewDto` and `PaginationDto` [INFO] [stdout] --> src/services/email_views_service.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | GetEmailViewDto, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | PaginationDto [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime` and `Utc` [INFO] [stdout] --> src/services/sequence_email_service.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value as JsonValue` [INFO] [stdout] --> src/services/sequence_email_service.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json::Value as JsonValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SequenceEmailStatus` [INFO] [stdout] --> src/services/sequence_optin_service.rs:13:52 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::models::sequence_email::{SequenceEmail, SequenceEmailStatus}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::subscriber::Subscriber` [INFO] [stdout] --> src/email_service/service.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::models::subscriber::Subscriber; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::subscriber::SubscriberStatus` [INFO] [stdout] --> src/email_service/service.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::models::subscriber::SubscriberStatus; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `delete`, `get`, `post`, and `put` [INFO] [stdout] --> src/api/subscriber_list.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{web, HttpResponse, post, get, delete, put, HttpRequest}; [INFO] [stdout] | ^^^^ ^^^ ^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `delete`, `get`, `post`, and `put` [INFO] [stdout] --> src/api/campaign.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{web, HttpResponse, post, get, delete, put, HttpRequest}; [INFO] [stdout] | ^^^^ ^^^ ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CampaignParams` and `Campaign` [INFO] [stdout] --> src/api/campaign.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | models::campaign::{Campaign, CreateCampaignDto, DeleteCampaignDto, UpdateCampaignDto, CampaignParams, PaginationParams, CampaignFilter}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EmailView`, `GetEmailViewDto`, and `PaginationDto` [INFO] [stdout] --> src/api/email_views.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | PaginationDto, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 5 | GetEmailViewDto, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | EmailView [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BulkEmailStats` [INFO] [stdout] --> src/api/send_email.rs:4:79 [INFO] [stdout] | [INFO] [stdout] 4 | models::{EmailRequest, BulkEmailRequest, EmailResponse, ListEmailRequest, BulkEmailStats, CampaignEmailRequest}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `delete`, `get`, `post`, and `put` [INFO] [stdout] --> src/api/sequence_email.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{web, HttpResponse, post, get, delete, put, HttpRequest}; [INFO] [stdout] | ^^^^ ^^^ ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SequenceEmail` [INFO] [stdout] --> src/api/sequence_email.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | models::sequence_email::{SequenceEmail, CreateSequenceEmailDto, UpdateSequenceEmailDto, PaginationDto}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> src/middleware/auth.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::pin::Pin` [INFO] [stdout] --> src/middleware/auth.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::pin::Pin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Type` [INFO] [stdout] --> src/models/subscriber.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx::{FromRow, Type}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `QueryBuilder` [INFO] [stdout] --> src/repositories/subscriber_repository.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use sqlx::{PgPool, Execute, QueryBuilder}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::postgres::Postgres` [INFO] [stdout] --> src/repositories/subscriber_repository.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlx::postgres::Postgres; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/repositories/subscriber_repository.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SubscriberStatus` [INFO] [stdout] --> src/repositories/subscriber_repository.rs:7:60 [INFO] [stdout] | [INFO] [stdout] 7 | models::subscriber::{Subscriber, CreateSubscriberDto, SubscriberStatus, PaginationParams, SubscriberFilter, SubscriberResponse}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ListOptin` and `ListType` [INFO] [stdout] --> src/repositories/list_repository.rs:4:75 [INFO] [stdout] | [INFO] [stdout] 4 | models::list::{List, CreateListDto, ListPaginationDto, UpdateListDto, ListType, ListOptin} [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TemplateType` [INFO] [stdout] --> src/repositories/template_repository.rs:3:68 [INFO] [stdout] | [INFO] [stdout] 3 | models::template::{Template, CreateTemplateDto, PaginationDto, TemplateType, UpdateTemplateDto}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SubscriptionStatus` [INFO] [stdout] --> src/repositories/subscriber_list_repository.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | SubscriptionStatus [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/repositories/campaign_repository.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime` and `Utc` [INFO] [stdout] --> src/repositories/campaign_repository.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CampaignStatus` and `CampaignType` [INFO] [stdout] --> src/repositories/campaign_repository.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | models::campaign::{Campaign, CampaignStatus, CampaignType, CreateCampaignDto, DeleteCampaignDto, PaginationParams, CampaignFilter, U... [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GetEmailViewDto` and `PaginationDto` [INFO] [stdout] --> src/repositories/email_views_repository.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | GetEmailViewDto, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | PaginationDto [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/repositories/email_views_repository.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value as JsonValue` [INFO] [stdout] --> src/repositories/sequence_email_repository.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::Value as JsonValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime` and `Utc` [INFO] [stdout] --> src/repositories/sequence_email_repository.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::types::BigDecimal` [INFO] [stdout] --> src/repositories/global_stats_repository.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlx::types::BigDecimal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/repositories/subscriber_sequence_progress_repository.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/services/subscriber_service.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/services/subscriber_service.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/services/campaign_service.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/services/campaign_service.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PaginationDto` [INFO] [stdout] --> src/services/campaign_list_service.rs:3:89 [INFO] [stdout] | [INFO] [stdout] 3 | models::campaign_list::{CampaignList, CreateCampaignListDto, UpdateCampaignListDto, PaginationDto}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GetEmailViewDto` and `PaginationDto` [INFO] [stdout] --> src/services/email_views_service.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | GetEmailViewDto, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | PaginationDto [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime` and `Utc` [INFO] [stdout] --> src/services/sequence_email_service.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value as JsonValue` [INFO] [stdout] --> src/services/sequence_email_service.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json::Value as JsonValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SequenceEmailStatus` [INFO] [stdout] --> src/services/sequence_optin_service.rs:13:52 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::models::sequence_email::{SequenceEmail, SequenceEmailStatus}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::subscriber::Subscriber` [INFO] [stdout] --> src/email_service/service.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::models::subscriber::Subscriber; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::subscriber::SubscriberStatus` [INFO] [stdout] --> src/email_service/service.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::models::subscriber::SubscriberStatus; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `first_condition` is never read [INFO] [stdout] --> src/repositories/list_repository.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | first_condition = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `param_count` is never read [INFO] [stdout] --> src/repositories/campaign_repository.rs:189:17 [INFO] [stdout] | [INFO] [stdout] 189 | param_count += 1; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `first_condition` is never read [INFO] [stdout] --> src/repositories/list_repository.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | first_condition = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `param_count` is never read [INFO] [stdout] --> src/repositories/campaign_repository.rs:189:17 [INFO] [stdout] | [INFO] [stdout] 189 | param_count += 1; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/email_service/service.rs:466:20 [INFO] [stdout] | [INFO] [stdout] 466 | if let Some(schedule) = campaign.schedule { [INFO] [stdout] | ^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Sized` is not implemented for `str` [INFO] [stdout] note: required by a bound in `std::prelude::v1::Some` [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/option.rs:599:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/email_service/service.rs:466:20 [INFO] [stdout] | [INFO] [stdout] 466 | if let Some(schedule) = campaign.schedule { [INFO] [stdout] | ^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Sized` is not implemented for `str` [INFO] [stdout] note: required by a bound in `std::prelude::v1::Some` [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/option.rs:599:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/api/sequence_email.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | move |req: HttpRequest, service: web::Data, query: web::Query| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/api/sequence_email.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | move |req: HttpRequest, path: web::Path, service: web::Data| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/api/sequence_email.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 83 | move |req: HttpRequest, path: web::Path, service: web::Data| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/api/sequence_email.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | move |req: HttpRequest, service: web::Data, query: web::Query| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/api/sequence_email.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | move |req: HttpRequest, path: web::Path, service: web::Data| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/api/sequence_email.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 83 | move |req: HttpRequest, path: web::Path, service: web::Data| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `api-boilerplate` (lib test) due to 85 previous errors; 42 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `api-boilerplate` (lib) due to 85 previous errors; 42 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0ebe9526eccb8f764b570a3f1d8e3b0fed2590bdd2e764407b760ede09309577", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ebe9526eccb8f764b570a3f1d8e3b0fed2590bdd2e764407b760ede09309577", kill_on_drop: false }` [INFO] [stdout] 0ebe9526eccb8f764b570a3f1d8e3b0fed2590bdd2e764407b760ede09309577