[INFO] cloning repository https://github.com/Dawaman43/devnewsletter_backend
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Dawaman43/devnewsletter_backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDawaman43%2Fdevnewsletter_backend", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDawaman43%2Fdevnewsletter_backend'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e4324506a6a74f34671d94de9938141b861dd504
[INFO] checking Dawaman43/devnewsletter_backend/e4324506a6a74f34671d94de9938141b861dd504 against master#eeb94be79adc9df7a09ad0b2421f16e60e6d932c for pr-152971
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDawaman43%2Fdevnewsletter_backend" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Dawaman43/devnewsletter_backend
[INFO] finished tweaking git repo https://github.com/Dawaman43/devnewsletter_backend
[INFO] tweaked toml for git repo https://github.com/Dawaman43/devnewsletter_backend written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Dawaman43/devnewsletter_backend on toolchain eeb94be79adc9df7a09ad0b2421f16e60e6d932c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eeb94be79adc9df7a09ad0b2421f16e60e6d932c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Dawaman43/devnewsletter_backend 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" "+eeb94be79adc9df7a09ad0b2421f16e60e6d932c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+eeb94be79adc9df7a09ad0b2421f16e60e6d932c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 17b7984a4d74043da2b278b1223ad9d855488c6e40e93102f093a0ebad74ed81
[INFO] running `Command { std: "docker" "start" "-a" "17b7984a4d74043da2b278b1223ad9d855488c6e40e93102f093a0ebad74ed81", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "17b7984a4d74043da2b278b1223ad9d855488c6e40e93102f093a0ebad74ed81", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "17b7984a4d74043da2b278b1223ad9d855488c6e40e93102f093a0ebad74ed81", kill_on_drop: false }`
[INFO] [stdout] 17b7984a4d74043da2b278b1223ad9d855488c6e40e93102f093a0ebad74ed81
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+eeb94be79adc9df7a09ad0b2421f16e60e6d932c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ff4320100b00cf4ffabf4d35202b5a26e5acc76110cecc6a9617db6e354a808c
[INFO] running `Command { std: "docker" "start" "-a" "ff4320100b00cf4ffabf4d35202b5a26e5acc76110cecc6a9617db6e354a808c", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.178
[INFO] [stderr]    Compiling zerocopy v0.8.31
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]     Checking itoa v1.0.16
[INFO] [stderr]    Compiling find-msvc-tools v0.1.5
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling bytes v1.11.0
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]     Checking ryu v1.0.21
[INFO] [stderr]     Checking indexmap v2.12.1
[INFO] [stderr]    Compiling time-core v0.1.6
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling time-macros v0.2.24
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking mio v1.1.1
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]     Checking socket2 v0.6.1
[INFO] [stderr]    Compiling cc v1.2.50
[INFO] [stderr]     Checking signal-hook-registry v1.4.7
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling iana-time-zone v0.1.64
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling slab v0.4.11
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling zstd-sys v2.0.16+zstd.1.5.7
[INFO] [stderr]    Compiling sqlformat v0.2.6
[INFO] [stderr]     Checking time v0.3.44
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.8.1
[INFO] [stderr]     Checking zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]     Checking tinystr v0.8.2
[INFO] [stderr]     Checking potential_utf v0.1.4
[INFO] [stderr]     Checking icu_locale_core v2.1.1
[INFO] [stderr]     Checking icu_collections v2.1.1
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]     Checking icu_provider v2.1.1
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]     Checking icu_properties v2.1.2
[INFO] [stderr]    Compiling convert_case v0.10.0
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]     Checking aho-corasick v1.1.4
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking regex-syntax v0.8.8
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.7
[INFO] [stderr]    Compiling linux-raw-sys v0.11.0
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling uuid v1.19.0
[INFO] [stderr]    Compiling derive_more-impl v2.1.0
[INFO] [stderr]     Checking tokio-util v0.7.17
[INFO] [stderr]     Checking actix-rt v2.11.0
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]    Compiling sqlx-core v0.7.4
[INFO] [stderr]     Checking regex-automata v0.4.13
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]     Checking actix-utils v3.0.1
[INFO] [stderr]    Compiling bytestring v1.5.0
[INFO] [stderr]     Checking actix-service v2.0.3
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling regex-lite v0.1.8
[INFO] [stderr]    Compiling tempfile v3.23.0
[INFO] [stderr]     Checking flate2 v1.1.5
[INFO] [stderr]    Compiling actix-router v0.5.3
[INFO] [stderr]     Checking regex v1.12.2
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]     Checking actix-codec v0.5.2
[INFO] [stderr]     Checking derive_more v2.1.0
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling sqlx-postgres v0.7.4
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]     Checking inout v0.1.4
[INFO] [stderr]     Checking foldhash v0.1.5
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking actix-server v2.6.0
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]     Checking zstd v0.13.3
[INFO] [stderr]     Checking cookie v0.16.2
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.4
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]     Checking actix-http v3.11.2
[INFO] [stderr]     Checking md-5 v0.10.6
[INFO] [stderr]     Checking base64ct v1.8.1
[INFO] [stderr]     Checking simple_asn1 v0.6.3
[INFO] [stderr]     Checking password-hash v0.5.0
[INFO] [stderr]     Checking blowfish v0.9.1
[INFO] [stderr]     Checking pem v3.0.6
[INFO] [stderr]     Checking bcrypt v0.15.1
[INFO] [stderr]     Checking argon2 v0.5.3
[INFO] [stderr]    Compiling sqlx-macros v0.7.4
[INFO] [stderr]     Checking actix-web v4.12.1
[INFO] [stderr]     Checking jsonwebtoken v9.3.1
[INFO] [stderr]     Checking sqlx v0.7.4
[INFO] [stderr]     Checking actix-cors v0.7.1
[INFO] [stderr]     Checking newsletter-api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/handlers/admin.rs:68:18
[INFO] [stdout]    |
[INFO] [stdout] 68 |       let result = sqlx::query!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 69 | |         r#"
[INFO] [stdout] 70 | |             INSERT INTO posts(title, slug, content, published, published_at)
[INFO] [stdout] 71 | |             VALUES ($1, $2, $3, $4, $5)
[INFO] [stdout] ...  |
[INFO] [stdout] 79 | |         published_at
[INFO] [stdout] 80 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[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/handlers/admin.rs:100:16
[INFO] [stdout]     |
[INFO] [stdout] 100 |       let post = sqlx::query!(
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 101 | |         r#"
[INFO] [stdout] 102 | |         SELECT * FROM posts WHERE slug = $1
[INFO] [stdout] 103 | |         "#,
[INFO] [stdout] 104 | |         slug.as_str()
[INFO] [stdout] 105 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[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/handlers/admin.rs:139:18
[INFO] [stdout]     |
[INFO] [stdout] 139 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 140 | |         r#"
[INFO] [stdout] 141 | |         UPDATE posts
[INFO] [stdout] 142 | |         SET
[INFO] [stdout] ...   |
[INFO] [stdout] 154 | |         slug.as_str()
[INFO] [stdout] 155 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[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/handlers/admin.rs:181:18
[INFO] [stdout]     |
[INFO] [stdout] 181 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 182 | |         "DELETE FROM posts WHERE slug = $1 RETURNING id",
[INFO] [stdout] 183 | |         slug.as_str()
[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/handlers/posts.rs:6:18
[INFO] [stdout]    |
[INFO] [stdout]  6 |       let result = sqlx::query!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout]  7 | |         r#"
[INFO] [stdout]  8 | |         SELECT title, slug, content, published_at
[INFO] [stdout]  9 | |         FROM posts
[INFO] [stdout] ...  |
[INFO] [stdout] 12 | |         "#
[INFO] [stdout] 13 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[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/handlers/posts.rs:39:16
[INFO] [stdout]    |
[INFO] [stdout] 39 |       let post = sqlx::query!(
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 40 | |         r#"
[INFO] [stdout] 41 | |         SELECT title, slug, content, published_at
[INFO] [stdout] 42 | |         FROM posts
[INFO] [stdout] ...  |
[INFO] [stdout] 45 | |         slug.as_str()
[INFO] [stdout] 46 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[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/handlers/posts.rs:73:16
[INFO] [stdout]    |
[INFO] [stdout] 73 |       let post = sqlx::query!(
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 74 | |         r#"
[INFO] [stdout] 75 | |         SELECT title, slug, content, published_at
[INFO] [stdout] 76 | |         FROM posts
[INFO] [stdout] ...  |
[INFO] [stdout] 79 | |         slug.as_str()
[INFO] [stdout] 80 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `body::None`
[INFO] [stdout]  --> src/handlers/admin.rs:1:42
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{HttpResponse, Responder, body::None, web};
[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: `crate::auth::extractor::AdminAuth`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::auth::extractor::AdminAuth;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `handlers::admin::protected`
[INFO] [stdout]   --> src/main.rs:12:40
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::{config::setting::Settings, handlers::admin::protected};
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/handlers/admin.rs:68:18
[INFO] [stdout]    |
[INFO] [stdout] 68 |       let result = sqlx::query!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 69 | |         r#"
[INFO] [stdout] 70 | |             INSERT INTO posts(title, slug, content, published, published_at)
[INFO] [stdout] 71 | |             VALUES ($1, $2, $3, $4, $5)
[INFO] [stdout] ...  |
[INFO] [stdout] 79 | |         published_at
[INFO] [stdout] 80 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[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/handlers/admin.rs:100:16
[INFO] [stdout]     |
[INFO] [stdout] 100 |       let post = sqlx::query!(
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 101 | |         r#"
[INFO] [stdout] 102 | |         SELECT * FROM posts WHERE slug = $1
[INFO] [stdout] 103 | |         "#,
[INFO] [stdout] 104 | |         slug.as_str()
[INFO] [stdout] 105 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[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/handlers/admin.rs:139:18
[INFO] [stdout]     |
[INFO] [stdout] 139 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 140 | |         r#"
[INFO] [stdout] 141 | |         UPDATE posts
[INFO] [stdout] 142 | |         SET
[INFO] [stdout] ...   |
[INFO] [stdout] 154 | |         slug.as_str()
[INFO] [stdout] 155 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[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/handlers/admin.rs:181:18
[INFO] [stdout]     |
[INFO] [stdout] 181 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 182 | |         "DELETE FROM posts WHERE slug = $1 RETURNING id",
[INFO] [stdout] 183 | |         slug.as_str()
[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/handlers/posts.rs:6:18
[INFO] [stdout]    |
[INFO] [stdout]  6 |       let result = sqlx::query!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout]  7 | |         r#"
[INFO] [stdout]  8 | |         SELECT title, slug, content, published_at
[INFO] [stdout]  9 | |         FROM posts
[INFO] [stdout] ...  |
[INFO] [stdout] 12 | |         "#
[INFO] [stdout] 13 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[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/handlers/posts.rs:39:16
[INFO] [stdout]    |
[INFO] [stdout] 39 |       let post = sqlx::query!(
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 40 | |         r#"
[INFO] [stdout] 41 | |         SELECT title, slug, content, published_at
[INFO] [stdout] 42 | |         FROM posts
[INFO] [stdout] ...  |
[INFO] [stdout] 45 | |         slug.as_str()
[INFO] [stdout] 46 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[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/handlers/posts.rs:73:16
[INFO] [stdout]    |
[INFO] [stdout] 73 |       let post = sqlx::query!(
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 74 | |         r#"
[INFO] [stdout] 75 | |         SELECT title, slug, content, published_at
[INFO] [stdout] 76 | |         FROM posts
[INFO] [stdout] ...  |
[INFO] [stdout] 79 | |         slug.as_str()
[INFO] [stdout] 80 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `body::None`
[INFO] [stdout]  --> src/handlers/admin.rs:1:42
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{HttpResponse, Responder, body::None, web};
[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: `crate::auth::extractor::AdminAuth`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::auth::extractor::AdminAuth;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `handlers::admin::protected`
[INFO] [stdout]   --> src/main.rs:12:40
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::{config::setting::Settings, handlers::admin::protected};
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `newsletter-api` (bin "newsletter-api" test) due to 7 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `newsletter-api` (bin "newsletter-api") due to 7 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "ff4320100b00cf4ffabf4d35202b5a26e5acc76110cecc6a9617db6e354a808c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ff4320100b00cf4ffabf4d35202b5a26e5acc76110cecc6a9617db6e354a808c", kill_on_drop: false }`
[INFO] [stdout] ff4320100b00cf4ffabf4d35202b5a26e5acc76110cecc6a9617db6e354a808c
