[INFO] cloning repository https://github.com/caiyuanrui/newsletter-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/caiyuanrui/newsletter-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaiyuanrui%2Fnewsletter-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaiyuanrui%2Fnewsletter-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f2ed268146832e119e98afc5ccc59079c5627b46 [INFO] testing caiyuanrui/newsletter-server against beta-2026-04-21 for beta-1.96-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaiyuanrui%2Fnewsletter-server" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/caiyuanrui/newsletter-server [INFO] finished tweaking git repo https://github.com/caiyuanrui/newsletter-server [INFO] tweaked toml for git repo https://github.com/caiyuanrui/newsletter-server written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/caiyuanrui/newsletter-server on toolchain beta-2026-04-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2026-04-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/caiyuanrui/newsletter-server 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" "+beta-2026-04-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-trait v0.1.85 [INFO] [stderr] Downloaded validator v0.19.0 [INFO] [stderr] Downloaded wiremock v0.6.2 [INFO] [stderr] Downloaded uuid v1.12.0 [INFO] [stderr] Downloaded axum-messages v0.8.0 [INFO] [stderr] Downloaded tower-sessions-memory-store v0.14.0 [INFO] [stderr] Downloaded cookie-factory v0.3.2 [INFO] [stderr] Downloaded serde-aux v4.5.0 [INFO] [stderr] Downloaded tower-sessions-redis-store v0.16.0 [INFO] [stderr] Downloaded crc16 v0.4.0 [INFO] [stderr] Downloaded fred-macros v0.1.0 [INFO] [stderr] Downloaded linkify v0.10.0 [INFO] [stderr] Downloaded tower-sessions v0.14.0 [INFO] [stderr] Downloaded tower-sessions-core v0.14.0 [INFO] [stderr] Downloaded config v0.15.6 [INFO] [stderr] Downloaded htmlescape v0.3.1 [INFO] [stderr] Downloaded redis-protocol v6.0.0 [INFO] [stderr] Downloaded serde_json v1.0.135 [INFO] [stderr] Downloaded fake v3.1.0 [INFO] [stderr] Downloaded cc v1.2.9 [INFO] [stderr] Downloaded winnow v0.6.24 [INFO] [stderr] Downloaded deunicode v1.6.0 [INFO] [stderr] Downloaded aws-lc-rs v1.12.2 [INFO] [stderr] Downloaded quinn-udp v0.5.5 [INFO] [stderr] Downloaded tower-cookies v0.11.0 [INFO] [stderr] Downloaded fred v10.0.4 [INFO] [stderr] Downloaded tracing-bunyan-formatter v0.3.10 [INFO] [stderr] Downloaded rustix v0.38.43 [INFO] [stderr] Downloaded aws-lc-sys v0.25.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c39a06e8c0ce28cf4f4824e7f504ce75cc34976d15d72012c7138d3bff313db9 [INFO] running `Command { std: "docker" "start" "-a" "c39a06e8c0ce28cf4f4824e7f504ce75cc34976d15d72012c7138d3bff313db9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c39a06e8c0ce28cf4f4824e7f504ce75cc34976d15d72012c7138d3bff313db9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c39a06e8c0ce28cf4f4824e7f504ce75cc34976d15d72012c7138d3bff313db9", kill_on_drop: false }` [INFO] [stdout] c39a06e8c0ce28cf4f4824e7f504ce75cc34976d15d72012c7138d3bff313db9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae7dbe9133a9d48352081768e1fbb7fc6b4cb7490e8c78403630e3d6a38fce22 [INFO] running `Command { std: "docker" "start" "-a" "ae7dbe9133a9d48352081768e1fbb7fc6b4cb7490e8c78403630e3d6a38fce22", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_json v1.0.135 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling foldhash v0.1.4 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling aws-lc-rs v1.12.2 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Compiling rustls v0.23.21 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling tinyvec v1.8.1 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling rustix v0.38.43 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling crc16 v0.4.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling uuid v1.12.0 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling cc v1.2.9 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling semver v1.0.25 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling cookie-factory v0.3.2 [INFO] [stderr] Compiling winnow v0.6.24 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling cmake v0.1.52 [INFO] [stderr] Compiling document-features v0.2.10 [INFO] [stderr] Compiling float-cmp v0.10.0 [INFO] [stderr] Compiling rmp v0.8.14 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling trim-in-place v0.1.7 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling gethostname v0.2.3 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling tracing-log v0.1.4 [INFO] [stderr] Compiling http-range-header v0.4.2 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling linkify v0.10.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling aws-lc-sys v0.25.0 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling htmlescape v0.3.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling async-trait v0.1.85 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling fred-macros v0.1.0 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling pest v2.7.15 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling yaml-rust2 v0.9.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling rust-ini v0.21.1 [INFO] [stderr] Compiling pest_meta v2.7.15 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling axum-core v0.5.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling rsa v0.9.7 [INFO] [stderr] Compiling pest_generator v2.7.15 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling pest_derive v2.7.15 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling bytes-utils v0.1.4 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling rmp-serde v1.3.0 [INFO] [stderr] Compiling secrecy v0.10.3 [INFO] [stderr] Compiling redis-protocol v6.0.0 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling tower-http v0.6.2 [INFO] [stderr] Compiling serde-aux v4.5.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling tempfile v3.15.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling tower-sessions-core v0.14.0 [INFO] [stderr] Compiling tracing-bunyan-formatter v0.3.10 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling publicsuffix v2.3.0 [INFO] [stderr] Compiling config v0.15.6 [INFO] [stderr] Compiling tower-cookies v0.11.0 [INFO] [stderr] Compiling tower-sessions-memory-store v0.14.0 [INFO] [stderr] Compiling axum-messages v0.8.0 [INFO] [stderr] Compiling cookie_store v0.21.1 [INFO] [stderr] Compiling validator v0.19.0 [INFO] [stderr] Compiling sqlx-core v0.8.3 [INFO] [stderr] Compiling tower-sessions v0.14.0 [INFO] [stderr] Compiling hyper v1.5.2 [INFO] [stderr] Compiling sqlx-mysql v0.8.3 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling axum v0.8.1 [INFO] [stderr] Compiling sqlx-macros-core v0.8.3 [INFO] [stderr] Compiling sqlx-macros v0.8.3 [INFO] [stderr] Compiling tokio-rustls v0.26.1 [INFO] [stderr] Compiling hyper-rustls v0.27.5 [INFO] [stderr] Compiling fred v10.0.4 [INFO] [stderr] Compiling reqwest v0.12.12 [INFO] [stderr] Compiling sqlx v0.8.3 [INFO] [stderr] Compiling tower-sessions-redis-store v0.16.0 [INFO] [stderr] Compiling zero2prod v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/authentication/password.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | / sqlx::query!( [INFO] [stdout] 75 | | r#"SELECT user_id, password_hash FROM users WHERE username = ?"#, [INFO] [stdout] 76 | | credentials.username, [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` (in Nightly builds, run with -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/authentication/password.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | / sqlx::query!( [INFO] [stdout] 100 | | r#" [INFO] [stdout] 101 | | UPDATE users [INFO] [stdout] 102 | | SET password_hash = ? [INFO] [stdout] ... | [INFO] [stdout] 106 | | user_id [INFO] [stdout] 107 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/idempotency/persistence.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | / sqlx::query!( [INFO] [stdout] 34 | | r#" [INFO] [stdout] 35 | | UPDATE idempotency [INFO] [stdout] 36 | | SET [INFO] [stdout] ... | [INFO] [stdout] 48 | | idempotency_key.as_ref(), [INFO] [stdout] 49 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/idempotency/persistence.rs:65:26 [INFO] [stdout] | [INFO] [stdout] 65 | let saved_response = sqlx::query_unchecked!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 66 | | r#" [INFO] [stdout] 67 | | SELECT [INFO] [stdout] 68 | | response_status_code as "response_status_code!", [INFO] [stdout] ... | [INFO] [stdout] 77 | | idempotency_key.as_ref() [INFO] [stdout] 78 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_unchecked` (in Nightly builds, run with -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/idempotency/persistence.rs:110:27 [INFO] [stdout] | [INFO] [stdout] 110 | let n_inserted_rows = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 111 | | r#" [INFO] [stdout] 112 | | INSERT IGNORE INTO idempotency( [INFO] [stdout] 113 | | user_id, [INFO] [stdout] ... | [INFO] [stdout] 120 | | idempotency_key.as_ref() [INFO] [stdout] 121 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/routes/admin/dashboard.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | / sqlx::query!( [INFO] [stdout] 48 | | r#" [INFO] [stdout] 49 | | SELECT username [INFO] [stdout] 50 | | FROM users [INFO] [stdout] ... | [INFO] [stdout] 53 | | user_id [INFO] [stdout] 54 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/routes/admin/newsletter/post.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | / sqlx::query!( [INFO] [stdout] 76 | | r#"INSERT INTO newsletter_issues ( [INFO] [stdout] 77 | | newsletter_issue_id, [INFO] [stdout] 78 | | title, [INFO] [stdout] ... | [INFO] [stdout] 87 | | text_content [INFO] [stdout] 88 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/routes/admin/newsletter/post.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | / sqlx::query!( [INFO] [stdout] 100 | | r#" [INFO] [stdout] 101 | | INSERT INTO issue_delivery_queue ( [INFO] [stdout] 102 | | newsletter_issue_id, [INFO] [stdout] ... | [INFO] [stdout] 109 | | newsletter_issue_id [INFO] [stdout] 110 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/routes/subscriptions.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | / sqlx::query!( [INFO] [stdout] 156 | | r#" [INFO] [stdout] 157 | | INSERT INTO subscriptions (id, email, name, subscribed_at, status) [INFO] [stdout] 158 | | VALUES (?, ?, ?, ?, 'pending_confirmation') [INFO] [stdout] ... | [INFO] [stdout] 163 | | chrono::Utc::now() [INFO] [stdout] 164 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/routes/subscriptions.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 180 | / sqlx::query!( [INFO] [stdout] 181 | | r#"INSERT INTO subscription_tokens (subscription_token, subscriber_id) VALUES (?, ?)"#, [INFO] [stdout] 182 | | subscription_token, [INFO] [stdout] 183 | | subscriber_id [INFO] [stdout] 184 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/routes/subscriptions_confirm.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 45 | | r#"SELECT subscriber_id FROM subscription_tokens WHERE subscription_token = ?"#, [INFO] [stdout] 46 | | token, [INFO] [stdout] 47 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/routes/subscriptions_confirm.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | / sqlx::query!( [INFO] [stdout] 63 | | r#"UPDATE subscriptions SET status = 'confirmed' WHERE id = ?"#, [INFO] [stdout] 64 | | id, [INFO] [stdout] 65 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/workers/idempotency_purge_worker.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 35 | let num = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 36 | | r#" [INFO] [stdout] 37 | | DELETE FROM idempotency [INFO] [stdout] 38 | | WHERE TIMESTAMPDIFF(MINUTE, NOW(), created_at) > ? [INFO] [stdout] 39 | | "#, [INFO] [stdout] 40 | | expired_minutes [INFO] [stdout] 41 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/workers/issue_delivery_worker.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | let r = sqlx::query!( [INFO] [stdout] | _____________^ [INFO] [stdout] 99 | | r#" [INFO] [stdout] 100 | | SELECT newsletter_issue_id, subscriber_email FROM issue_delivery_queue LIMIT 1 FOR UPDATE SKIP LOCKED [INFO] [stdout] 101 | | "# [INFO] [stdout] 102 | | ).fetch_optional(&mut *txn).await.context("Failed to execute query")?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/workers/issue_delivery_worker.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | / sqlx::query!( [INFO] [stdout] 121 | | r#" [INFO] [stdout] 122 | | DELETE FROM issue_delivery_queue [INFO] [stdout] 123 | | WHERE newsletter_issue_id = ? AND subscriber_email = ? [INFO] [stdout] ... | [INFO] [stdout] 126 | | email [INFO] [stdout] 127 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/workers/issue_delivery_worker.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | / sqlx::query_as!(NewsletterIssue, [INFO] [stdout] 142 | | r#"SELECT title, text_content, html_content FROM newsletter_issues WHERE newsletter_issue_id = ?"#, [INFO] [stdout] 143 | | issue_id [INFO] [stdout] 144 | | ).fetch_one(pool).await.map(Ok)? [INFO] [stdout] | |_____^ [INFO] [stdout] | [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] [stderr] error: could not compile `zero2prod` (lib) due to 16 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "ae7dbe9133a9d48352081768e1fbb7fc6b4cb7490e8c78403630e3d6a38fce22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae7dbe9133a9d48352081768e1fbb7fc6b4cb7490e8c78403630e3d6a38fce22", kill_on_drop: false }` [INFO] [stdout] ae7dbe9133a9d48352081768e1fbb7fc6b4cb7490e8c78403630e3d6a38fce22