[INFO] cloning repository https://github.com/spayot/zero2prod_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/spayot/zero2prod_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspayot%2Fzero2prod_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspayot%2Fzero2prod_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 334dd58b1ce968b1f807dbb8f0acc9d132f90d2b [INFO] checking spayot/zero2prod_rust against try#6757d700f93f6d16c8b39cf79e96b019bd570e7d for pr-155299 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspayot%2Fzero2prod_rust" "/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/spayot/zero2prod_rust [INFO] finished tweaking git repo https://github.com/spayot/zero2prod_rust [INFO] tweaked toml for git repo https://github.com/spayot/zero2prod_rust written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/spayot/zero2prod_rust on toolchain 6757d700f93f6d16c8b39cf79e96b019bd570e7d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6757d700f93f6d16c8b39cf79e96b019bd570e7d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/spayot/zero2prod_rust 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" "+6757d700f93f6d16c8b39cf79e96b019bd570e7d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.205 [INFO] [stderr] Downloaded serde_spanned v0.6.7 [INFO] [stderr] Downloaded mutually_exclusive_features v0.0.3 [INFO] [stderr] Downloaded serde v1.0.205 [INFO] [stderr] Downloaded serde-aux v4.5.0 [INFO] [stderr] Downloaded deadpool v0.10.0 [INFO] [stderr] Downloaded cookie_store v0.21.0 [INFO] [stderr] Downloaded actix-session v0.10.1 [INFO] [stderr] Downloaded hyper-util v0.1.7 [INFO] [stderr] Downloaded wiremock v0.6.1 [INFO] [stderr] Downloaded config v0.14.0 [INFO] [stderr] Downloaded publicsuffix v2.2.3 [INFO] [stderr] Downloaded flate2 v1.0.31 [INFO] [stderr] Downloaded cc v1.1.7 [INFO] [stderr] Downloaded reqwest v0.12.5 [INFO] [stderr] Downloaded ordered-multimap v0.6.0 [INFO] [stderr] Downloaded actix-http v3.8.0 [INFO] [stderr] Downloaded h2 v0.4.5 [INFO] [stderr] Downloaded tracing-bunyan-formatter v0.3.9 [INFO] [stderr] Downloaded redis v0.26.1 [INFO] [stderr] Downloaded rust-ini v0.19.0 [INFO] [stderr] Downloaded tracing-actix-web v0.7.11 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+6757d700f93f6d16c8b39cf79e96b019bd570e7d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bd9ea6c66c5715a8d67f6c09290b93ee14e1f677e6399d69215860557f364c73 [INFO] running `Command { std: "docker" "start" "-a" "bd9ea6c66c5715a8d67f6c09290b93ee14e1f677e6399d69215860557f364c73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd9ea6c66c5715a8d67f6c09290b93ee14e1f677e6399d69215860557f364c73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd9ea6c66c5715a8d67f6c09290b93ee14e1f677e6399d69215860557f364c73", kill_on_drop: false }` [INFO] [stdout] bd9ea6c66c5715a8d67f6c09290b93ee14e1f677e6399d69215860557f364c73 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+6757d700f93f6d16c8b39cf79e96b019bd570e7d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b83eac53bfc93114b861cfa9a0b91e9c93b7e57b65523eb835eafbc3e6c9ddb0 [INFO] running `Command { std: "docker" "start" "-a" "b83eac53bfc93114b861cfa9a0b91e9c93b7e57b65523eb835eafbc3e6c9ddb0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling serde v1.0.205 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling cc v1.1.7 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Compiling tokio v1.39.2 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking brotli-decompressor v4.0.1 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking flate2 v1.0.31 [INFO] [stderr] Checking brotli v6.0.0 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Compiling unicode-properties v0.1.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Checking impl-more v0.1.6 [INFO] [stderr] Compiling whoami v1.5.1 [INFO] [stderr] Checking sqlformat v0.2.4 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking winnow v0.6.18 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking cookie v0.18.1 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking publicsuffix v2.2.3 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking gethostname v0.2.3 [INFO] [stderr] Checking tracing-log v0.1.4 [INFO] [stderr] Checking ordered-multimap v0.6.0 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking mutually_exclusive_features v0.0.3 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling claims v0.7.1 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking deadpool-runtime v0.1.4 [INFO] [stderr] Checking htmlescape v0.3.1 [INFO] [stderr] Checking rust-ini v0.19.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking deunicode v1.6.0 [INFO] [stderr] Checking linkify v0.10.0 [INFO] [stderr] Compiling serde_derive v1.0.205 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling pest v2.7.11 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking indexmap v2.3.0 [INFO] [stderr] Compiling pest_meta v2.7.11 [INFO] [stderr] Checking hashlink v0.9.1 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking cookie v0.16.2 [INFO] [stderr] Checking fake v2.9.2 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Compiling quickcheck_macros v1.0.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling pest_generator v2.7.11 [INFO] [stderr] Compiling pest_derive v2.7.11 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking actix-router v0.5.3 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking email_address v0.2.9 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking toml_edit v0.22.20 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Checking cookie_store v0.21.0 [INFO] [stderr] Checking serde-aux v4.5.0 [INFO] [stderr] Checking assert-json-diff v2.0.2 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Checking tracing-bunyan-formatter v0.3.9 [INFO] [stderr] Compiling sqlx-core v0.8.0 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking config v0.14.0 [INFO] [stderr] Compiling sqlx-postgres v0.8.0 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-retry v0.3.0 [INFO] [stderr] Checking deadpool v0.10.0 [INFO] [stderr] Checking actix-server v2.5.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Compiling sqlx-macros-core v0.8.0 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking actix-http v3.8.0 [INFO] [stderr] Checking redis v0.26.1 [INFO] [stderr] Compiling sqlx-macros v0.8.0 [INFO] [stderr] Checking hyper-util v0.1.7 [INFO] [stderr] Checking sqlx v0.8.0 [INFO] [stderr] Checking actix-web v4.9.0 [INFO] [stderr] Checking reqwest v0.12.5 [INFO] [stderr] Checking wiremock v0.6.1 [INFO] [stderr] Checking actix-web-flash-messages v0.5.0 [INFO] [stderr] Checking tracing-actix-web v0.7.11 [INFO] [stderr] Checking actix-session v0.10.1 [INFO] [stderr] Checking zero2prod v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/routes/subscriptions.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 100 | let query = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 101 | | r#" [INFO] [stdout] 102 | | INSERT INTO subscriptions (id, email, name, subscribed_at, status) [INFO] [stdout] 103 | | VALUES ($1, $2, $3, $4, 'pending_confirmation') [INFO] [stdout] ... | [INFO] [stdout] 108 | | Utc::now(), [INFO] [stdout] 109 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [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:100:17 [INFO] [stdout] | [INFO] [stdout] 100 | let query = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 101 | | r#" [INFO] [stdout] 102 | | INSERT INTO subscriptions (id, email, name, subscribed_at, status) [INFO] [stdout] 103 | | VALUES ($1, $2, $3, $4, 'pending_confirmation') [INFO] [stdout] ... | [INFO] [stdout] 108 | | Utc::now(), [INFO] [stdout] 109 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [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:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | let query = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 131 | | r#" [INFO] [stdout] 132 | | INSERT INTO subscription_tokens (subscription_token, subscriber_id) [INFO] [stdout] 133 | | VALUES ($1, $2) [INFO] [stdout] ... | [INFO] [stdout] 136 | | subscriber_id, [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -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:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | let query = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 131 | | r#" [INFO] [stdout] 132 | | INSERT INTO subscription_tokens (subscription_token, subscriber_id) [INFO] [stdout] 133 | | VALUES ($1, $2) [INFO] [stdout] ... | [INFO] [stdout] 136 | | subscriber_id, [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -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:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 64 | | r#"SELECT subscriber_id FROM subscription_tokens WHERE subscription_token = $1"#, [INFO] [stdout] 65 | | subscription_token [INFO] [stdout] 66 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/routes/subscriptions_confirm.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 64 | | r#"SELECT subscriber_id FROM subscription_tokens WHERE subscription_token = $1"#, [INFO] [stdout] 65 | | subscription_token [INFO] [stdout] 66 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/routes/subscriptions_confirm.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | / sqlx::query!( [INFO] [stdout] 83 | | r#" [INFO] [stdout] 84 | | UPDATE subscriptions SET status = 'confirmed' WHERE id = $1 [INFO] [stdout] 85 | | "#, [INFO] [stdout] 86 | | subscriber_id, [INFO] [stdout] 87 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | / sqlx::query!( [INFO] [stdout] 83 | | r#" [INFO] [stdout] 84 | | UPDATE subscriptions SET status = 'confirmed' WHERE id = $1 [INFO] [stdout] 85 | | "#, [INFO] [stdout] 86 | | subscriber_id, [INFO] [stdout] 87 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 24 | | r#"SELECT username FROM users WHERE user_id = $1"#, [INFO] [stdout] 25 | | user_id [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` (in Nightly builds, run with -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:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 24 | | r#"SELECT username FROM users WHERE user_id = $1"#, [INFO] [stdout] 25 | | user_id [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` (in Nightly builds, run with -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/newsletters/post.rs:79:33 [INFO] [stdout] | [INFO] [stdout] 79 | let confirmed_subscribers = sqlx::query!( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 80 | | r#" [INFO] [stdout] 81 | | SELECT email [INFO] [stdout] 82 | | FROM subscriptions [INFO] [stdout] 83 | | WHERE status = 'confirmed'"#) [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] | [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/newsletters/post.rs:79:33 [INFO] [stdout] | [INFO] [stdout] 79 | let confirmed_subscribers = sqlx::query!( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 80 | | r#" [INFO] [stdout] 81 | | SELECT email [INFO] [stdout] 82 | | FROM subscriptions [INFO] [stdout] 83 | | WHERE status = 'confirmed'"#) [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] | [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:61:15 [INFO] [stdout] | [INFO] [stdout] 61 | let row = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 62 | | r#" [INFO] [stdout] 63 | | SELECT user_id, password_hash [INFO] [stdout] 64 | | FROM users [INFO] [stdout] 65 | | WHERE username = $1"#, [INFO] [stdout] 66 | | username [INFO] [stdout] 67 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | let _ = sqlx::query!( [INFO] [stdout] | _____________^ [INFO] [stdout] 110 | | r#" [INFO] [stdout] 111 | | UPDATE users [INFO] [stdout] 112 | | SET password_hash = $1 [INFO] [stdout] ... | [INFO] [stdout] 115 | | user_id, [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` (in Nightly builds, run with -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:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | let saved_response = sqlx::query!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 17 | | r#" [INFO] [stdout] 18 | | SELECT response_status_code, [INFO] [stdout] 19 | | response_headers as "response_headers: Vec", [INFO] [stdout] ... | [INFO] [stdout] 25 | | user_id, [INFO] [stdout] 26 | | idempotency_key.as_ref()) [INFO] [stdout] | |_________________________________^ [INFO] [stdout] | [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:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | / sqlx::query_unchecked!(r#" [INFO] [stdout] 65 | | INSERT INTO idempotency ( [INFO] [stdout] 66 | | user_id, [INFO] [stdout] 67 | | idempotency_key, [INFO] [stdout] ... | [INFO] [stdout] 79 | | body.as_ref(), [INFO] [stdout] 80 | | ).execute(pool) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/authentication/password.rs:61:15 [INFO] [stdout] | [INFO] [stdout] 61 | let row = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 62 | | r#" [INFO] [stdout] 63 | | SELECT user_id, password_hash [INFO] [stdout] 64 | | FROM users [INFO] [stdout] 65 | | WHERE username = $1"#, [INFO] [stdout] 66 | | username [INFO] [stdout] 67 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | let _ = sqlx::query!( [INFO] [stdout] | _____________^ [INFO] [stdout] 110 | | r#" [INFO] [stdout] 111 | | UPDATE users [INFO] [stdout] 112 | | SET password_hash = $1 [INFO] [stdout] ... | [INFO] [stdout] 115 | | user_id, [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` (in Nightly builds, run with -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:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | let saved_response = sqlx::query!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 17 | | r#" [INFO] [stdout] 18 | | SELECT response_status_code, [INFO] [stdout] 19 | | response_headers as "response_headers: Vec", [INFO] [stdout] ... | [INFO] [stdout] 25 | | user_id, [INFO] [stdout] 26 | | idempotency_key.as_ref()) [INFO] [stdout] | |_________________________________^ [INFO] [stdout] | [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:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | / sqlx::query_unchecked!(r#" [INFO] [stdout] 65 | | INSERT INTO idempotency ( [INFO] [stdout] 66 | | user_id, [INFO] [stdout] 67 | | idempotency_key, [INFO] [stdout] ... | [INFO] [stdout] 79 | | body.as_ref(), [INFO] [stdout] 80 | | ).execute(pool) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/routes/subscriptions.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/routes/subscriptions.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zero2prod` (lib) due to 10 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `zero2prod` (lib test) due to 10 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "b83eac53bfc93114b861cfa9a0b91e9c93b7e57b65523eb835eafbc3e6c9ddb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b83eac53bfc93114b861cfa9a0b91e9c93b7e57b65523eb835eafbc3e6c9ddb0", kill_on_drop: false }` [INFO] [stdout] b83eac53bfc93114b861cfa9a0b91e9c93b7e57b65523eb835eafbc3e6c9ddb0