[INFO] cloning repository https://github.com/iFeyz/email-service
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iFeyz/email-service" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FiFeyz%2Femail-service", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FiFeyz%2Femail-service'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] cf09982d5fc16e5651777b2e03ef8b16b7e142c5
[INFO] checking iFeyz/email-service against try#a7b168ac4977e8e93a43448b44847adaa305d5a9 for pr-150557
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FiFeyz%2Femail-service" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/iFeyz/email-service
[INFO] finished tweaking git repo https://github.com/iFeyz/email-service
[INFO] tweaked toml for git repo https://github.com/iFeyz/email-service written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/iFeyz/email-service on toolchain a7b168ac4977e8e93a43448b44847adaa305d5a9
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7b168ac4977e8e93a43448b44847adaa305d5a9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/iFeyz/email-service 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" "+a7b168ac4977e8e93a43448b44847adaa305d5a9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[ERROR] error running command: no output for 300 seconds
[INFO] checking iFeyz/email-service against try#a7b168ac4977e8e93a43448b44847adaa305d5a9 for pr-150557
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FiFeyz%2Femail-service" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/iFeyz/email-service
[INFO] finished tweaking git repo https://github.com/iFeyz/email-service
[INFO] tweaked toml for git repo https://github.com/iFeyz/email-service written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/iFeyz/email-service on toolchain a7b168ac4977e8e93a43448b44847adaa305d5a9
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7b168ac4977e8e93a43448b44847adaa305d5a9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/iFeyz/email-service 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" "+a7b168ac4977e8e93a43448b44847adaa305d5a9" "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 prost-types v0.11.9
[INFO] [stderr]   Downloaded prost-derive v0.11.9
[INFO] [stderr]   Downloaded multimap v0.8.3
[INFO] [stderr]   Downloaded prost v0.11.9
[INFO] [stderr]   Downloaded sqlx-macros v0.7.4
[INFO] [stderr]   Downloaded tonic-build v0.9.2
[INFO] [stderr]   Downloaded uuid v1.11.0
[INFO] [stderr]   Downloaded email-encoding v0.3.1
[INFO] [stderr]   Downloaded email_address v0.2.9
[INFO] [stderr]   Downloaded sqlx-macros-core v0.7.4
[INFO] [stderr]   Downloaded prost-build v0.11.9
[INFO] [stderr]   Downloaded chumsky v0.9.3
[INFO] [stderr]   Downloaded sqlx-mysql v0.7.4
[INFO] [stderr]   Downloaded pin-project v1.1.8
[INFO] [stderr]   Downloaded sqlx-core v0.7.4
[INFO] [stderr]   Downloaded hyper v1.5.2
[INFO] [stderr]   Downloaded lettre v0.11.11
[INFO] [stderr]   Downloaded sqlx v0.7.4
[INFO] [stderr]   Downloaded sqlx-postgres v0.7.4
[INFO] [stderr]   Downloaded sqlx-sqlite v0.7.4
[INFO] [stderr]   Downloaded pin-project-internal v1.1.8
[INFO] [stderr]   Downloaded chrono v0.4.39
[INFO] [stderr]   Downloaded hashlink v0.8.4
[INFO] [stderr]   Downloaded quoted_printable v0.5.1
[INFO] [stderr]   Downloaded tokio v1.42.0
[INFO] [stderr]   Downloaded libsqlite3-sys v0.27.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7b168ac4977e8e93a43448b44847adaa305d5a9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3d5519eb3da5de9a322472e3b19c586e01c888844b8c2f76f16adc25af9e40f6
[INFO] running `Command { std: "docker" "start" "-a" "3d5519eb3da5de9a322472e3b19c586e01c888844b8c2f76f16adc25af9e40f6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3d5519eb3da5de9a322472e3b19c586e01c888844b8c2f76f16adc25af9e40f6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3d5519eb3da5de9a322472e3b19c586e01c888844b8c2f76f16adc25af9e40f6", kill_on_drop: false }`
[INFO] [stdout] 3d5519eb3da5de9a322472e3b19c586e01c888844b8c2f76f16adc25af9e40f6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7b168ac4977e8e93a43448b44847adaa305d5a9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e4c8936046a1ae8fa6dad01116b6c94a7bbe54ecc7b4140cf1d410fe7c408344
[INFO] running `Command { std: "docker" "start" "-a" "e4c8936046a1ae8fa6dad01116b6c94a7bbe54ecc7b4140cf1d410fe7c408344", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.217
[INFO] [stderr]     Checking bytes v1.9.0
[INFO] [stderr]    Compiling cc v1.2.7
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]     Checking futures-io v0.3.31
[INFO] [stderr]     Checking once_cell v1.20.2
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]    Compiling libc v0.2.169
[INFO] [stderr]     Checking log v0.4.22
[INFO] [stderr]    Compiling pkg-config v0.3.31
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]     Checking litemap v0.7.4
[INFO] [stderr]     Checking tracing-core v0.1.33
[INFO] [stderr]    Compiling openssl v0.10.68
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling anyhow v1.0.95
[INFO] [stderr]    Compiling syn v2.0.95
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]     Checking subtle v2.6.1
[INFO] [stderr]    Compiling httparse v1.9.5
[INFO] [stderr]    Compiling rustix v0.38.43
[INFO] [stderr]    Compiling serde_json v1.0.135
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling linux-raw-sys v0.4.15
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling indexmap v2.7.0
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling home v0.5.11
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling unicode-segmentation v1.12.0
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]     Checking http v1.2.0
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling socket2 v0.5.8
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling tinyvec v1.8.1
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]    Compiling tokio v1.42.0
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]    Compiling openssl-sys v0.9.104
[INFO] [stderr]    Compiling iana-time-zone v0.1.61
[INFO] [stderr]    Compiling itoa v1.0.14
[INFO] [stderr]    Compiling prettyplease v0.1.25
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling crc v3.2.1
[INFO] [stderr]    Compiling psm v0.1.24
[INFO] [stderr]    Compiling chrono v0.4.39
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling uuid v1.11.0
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]    Compiling unicode-properties v0.1.3
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]     Checking try-lock v0.2.5
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling petgraph v0.6.5
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]     Checking want v0.3.1
[INFO] [stderr]    Compiling tempfile v3.15.0
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling stacker v0.1.17
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling axum-core v0.3.4
[INFO] [stderr]    Compiling whoami v1.5.2
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling multimap v0.8.3
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]     Checking sqlformat v0.2.6
[INFO] [stderr]    Compiling axum v0.6.20
[INFO] [stderr]     Checking matchit v0.7.3
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking sync_wrapper v0.1.2
[INFO] [stderr]     Checking utf-8 v0.7.6
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]     Checking email-encoding v0.3.1
[INFO] [stderr]     Checking hostname v0.4.0
[INFO] [stderr]     Checking email_address v0.2.9
[INFO] [stderr]     Checking quoted_printable v0.5.1
[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 serde_derive v1.0.217
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling async-trait v0.1.85
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]     Checking zerofrom v0.1.5
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking yoke v0.7.5
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling zerovec v0.10.4
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling pin-project-internal v1.1.8
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]     Checking hashlink v0.8.4
[INFO] [stderr]     Checking chumsky v0.9.3
[INFO] [stderr]     Checking tinystr v0.7.6
[INFO] [stderr]     Checking icu_collections v1.5.0
[INFO] [stderr]     Checking async-stream v0.3.6
[INFO] [stderr]    Compiling icu_locid v1.5.0
[INFO] [stderr]    Compiling icu_provider v1.5.0
[INFO] [stderr]     Checking pin-project v1.1.8
[INFO] [stderr]     Checking icu_locid_transform v1.5.0
[INFO] [stderr]     Checking http-body-util v0.1.2
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]    Compiling icu_properties v1.5.1
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]     Checking tower-http v0.5.2
[INFO] [stderr]     Checking tokio-util v0.7.13
[INFO] [stderr]     Checking hyper v1.5.2
[INFO] [stderr]     Checking tokio-io-timeout v1.2.0
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking hyper-util v0.1.10
[INFO] [stderr]    Compiling icu_normalizer v1.5.0
[INFO] [stderr]     Checking either v1.13.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_path_to_error v0.1.16
[INFO] [stderr]    Compiling idna_adapter v1.2.0
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking axum v0.7.9
[INFO] [stderr]     Checking tungstenite v0.20.1
[INFO] [stderr]     Checking lettre v0.11.11
[INFO] [stderr]     Checking sqlx-core v0.7.4
[INFO] [stderr]     Checking tokio-tungstenite v0.20.1
[INFO] [stderr]    Compiling prost-derive v0.11.9
[INFO] [stderr]    Compiling prost-derive v0.12.6
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking prost v0.12.6
[INFO] [stderr]    Compiling prost v0.11.9
[INFO] [stderr]    Compiling prost-types v0.11.9
[INFO] [stderr]     Checking sqlx-postgres v0.7.4
[INFO] [stderr]    Compiling prost-build v0.11.9
[INFO] [stderr]    Compiling tonic-build v0.9.2
[INFO] [stderr]    Compiling email-service v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking hyper-timeout v0.4.1
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.4
[INFO] [stderr]    Compiling sqlx-macros v0.7.4
[INFO] [stderr]     Checking tonic v0.10.2
[INFO] [stderr]     Checking sqlx v0.7.4
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/db/mod.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 | /         sqlx::query!(
[INFO] [stdout] 35 | |             r#"CREATE EXTENSION IF NOT EXISTS "uuid-ossp";"#
[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` (in Nightly builds, run with -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/db/mod.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 | /         sqlx::query!(
[INFO] [stdout] 42 | |             r#"
[INFO] [stdout] 43 | |             CREATE TABLE IF NOT EXISTS emails (
[INFO] [stdout] 44 | |                 id UUID PRIMARY KEY DEFAULT uuid_generate_v4(),
[INFO] [stdout] ...  |
[INFO] [stdout] 50 | |             "#
[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` (in Nightly builds, run with -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/db/mod.rs:59:18
[INFO] [stdout]    |
[INFO] [stdout] 59 |           let id = sqlx::query_scalar!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 60 | |             r#"
[INFO] [stdout] 61 | |             INSERT INTO emails (to_address, subject, content)
[INFO] [stdout] 62 | |             VALUES ($1, $2, $3)
[INFO] [stdout] ...  |
[INFO] [stdout] 67 | |             request.content
[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_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/db/mod.rs:76:21
[INFO] [stdout]    |
[INFO] [stdout] 76 |           let email = sqlx::query_as!(
[INFO] [stdout]    |  _____________________^
[INFO] [stdout] 77 | |             Email,
[INFO] [stdout] 78 | |             r#"
[INFO] [stdout] 79 | |             SELECT * FROM emails WHERE id = $1
[INFO] [stdout] 80 | |             "#,
[INFO] [stdout] 81 | |             id
[INFO] [stdout] 82 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[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/db/mod.rs:90:22
[INFO] [stdout]    |
[INFO] [stdout] 90 |           let emails = sqlx::query_as!(
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 91 | |             Email,
[INFO] [stdout] 92 | |             r#"
[INFO] [stdout] 93 | |             SELECT * FROM emails ORDER BY sent_at DESC
[INFO] [stdout] 94 | |             "#
[INFO] [stdout] 95 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[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[E0432]: unresolved import `crate::email_service::test_utils`
[INFO] [stdout]   --> src/email_service/service.rs:65:31
[INFO] [stdout]    |
[INFO] [stdout] 65 |     use crate::email_service::test_utils::MockSmtpTransport;
[INFO] [stdout]    |                               ^^^^^^^^^^ could not find `test_utils` in `email_service`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/db/mod.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 | /         sqlx::query!(
[INFO] [stdout] 35 | |             r#"CREATE EXTENSION IF NOT EXISTS "uuid-ossp";"#
[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` (in Nightly builds, run with -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/db/mod.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 | /         sqlx::query!(
[INFO] [stdout] 42 | |             r#"
[INFO] [stdout] 43 | |             CREATE TABLE IF NOT EXISTS emails (
[INFO] [stdout] 44 | |                 id UUID PRIMARY KEY DEFAULT uuid_generate_v4(),
[INFO] [stdout] ...  |
[INFO] [stdout] 50 | |             "#
[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` (in Nightly builds, run with -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/db/mod.rs:59:18
[INFO] [stdout]    |
[INFO] [stdout] 59 |           let id = sqlx::query_scalar!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 60 | |             r#"
[INFO] [stdout] 61 | |             INSERT INTO emails (to_address, subject, content)
[INFO] [stdout] 62 | |             VALUES ($1, $2, $3)
[INFO] [stdout] ...  |
[INFO] [stdout] 67 | |             request.content
[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_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/db/mod.rs:76:21
[INFO] [stdout]    |
[INFO] [stdout] 76 |           let email = sqlx::query_as!(
[INFO] [stdout]    |  _____________________^
[INFO] [stdout] 77 | |             Email,
[INFO] [stdout] 78 | |             r#"
[INFO] [stdout] 79 | |             SELECT * FROM emails WHERE id = $1
[INFO] [stdout] 80 | |             "#,
[INFO] [stdout] 81 | |             id
[INFO] [stdout] 82 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[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/db/mod.rs:90:22
[INFO] [stdout]    |
[INFO] [stdout] 90 |           let emails = sqlx::query_as!(
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 91 | |             Email,
[INFO] [stdout] 92 | |             r#"
[INFO] [stdout] 93 | |             SELECT * FROM emails ORDER BY sent_at DESC
[INFO] [stdout] 94 | |             "#
[INFO] [stdout] 95 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[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[E0599]: no function or associated item named `new` found for struct `email_service::service::EmailService<T>` in the current scope
[INFO] [stdout]   --> src/email_service/service.rs:70:37
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct EmailService<T: Transport<Error = SmtpError>> {
[INFO] [stdout]    | -------------------------------------------------------- function or associated item `new` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 70 |         let service = EmailService::new();
[INFO] [stdout]    |                                     ^^^ function or associated item not found in `email_service::service::EmailService<_>`
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `email_service::service::EmailService<_>`, consider using `email_service::service::EmailService::<SmtpTransport>::with_config` which returns `Result<email_service::service::EmailService<SmtpTransport>, email_service::error::EmailError>`
[INFO] [stdout]   --> src/email_service/service.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn with_config(config: SmtpConfig) -> Result<Self, EmailError> {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following traits define an item `new`, perhaps you need to implement one of them:
[INFO] [stdout]            candidate #1: `ahash::HashMapExt`
[INFO] [stdout]            candidate #2: `ahash::HashSetExt`
[INFO] [stdout]            candidate #3: `chumsky::span::Span`
[INFO] [stdout]            candidate #4: `crypto_common::KeyInit`
[INFO] [stdout]            candidate #5: `crypto_common::KeyIvInit`
[INFO] [stdout]            candidate #6: `digest::VariableOutput`
[INFO] [stdout]            candidate #7: `digest::core_api::VariableOutputCore`
[INFO] [stdout]            candidate #8: `digest::digest::Digest`
[INFO] [stdout]            candidate #9: `digest::mac::Mac`
[INFO] [stdout]            candidate #10: `parking_lot_core::thread_parker::ThreadParkerT`
[INFO] [stdout]            candidate #11: `rand::distributions::uniform::UniformSampler`
[INFO] [stdout]            candidate #12: `typenum::marker_traits::Bit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `email_service::service::EmailService<_>` has no field named `smtp_client`
[INFO] [stdout]   --> src/email_service/service.rs:78:13
[INFO] [stdout]    |
[INFO] [stdout] 78 |             smtp_client: mock_transport.clone(),
[INFO] [stdout]    |             ^^^^^^^^^^^ `email_service::service::EmailService<_>` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `transport`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/email_service/service.rs:92:13
[INFO] [stdout]    |
[INFO] [stdout] 92 |         let sent_emails = mock_transport.get_sent_emails().await;
[INFO] [stdout]    |             ^^^^^^^^^^^
[INFO] [stdout] 93 |         assert_eq!(sent_emails.len(), 1);
[INFO] [stdout]    |                    ----------- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving `sent_emails` an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 92 |         let sent_emails: /* Type */ = mock_transport.get_sent_emails().await;
[INFO] [stdout]    |                        ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `email_service::service::EmailService<_>` has no field named `smtp_client`
[INFO] [stdout]    --> src/email_service/service.rs:100:13
[INFO] [stdout]     |
[INFO] [stdout] 100 |             smtp_client: mock_transport,
[INFO] [stdout]     |             ^^^^^^^^^^^ `email_service::service::EmailService<_>` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `transport`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `AddressError` found for enum `email_service::error::EmailError` in the current scope
[INFO] [stdout]    --> src/email_service/service.rs:112:50
[INFO] [stdout]     |
[INFO] [stdout] 112 |         assert!(matches!(result, Err(EmailError::AddressError(_))));
[INFO] [stdout]     |                                                  ^^^^^^^^^^^^ variant or associated item not found in `email_service::error::EmailError`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/email_service/error.rs:5:1
[INFO] [stdout]     |
[INFO] [stdout]   5 | pub enum EmailError {
[INFO] [stdout]     | ------------------- variant or associated item `AddressError` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0560, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `email-service` (lib test) due to 11 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `email-service` (lib) due to 5 previous errors
[INFO] running `Command { std: "docker" "inspect" "e4c8936046a1ae8fa6dad01116b6c94a7bbe54ecc7b4140cf1d410fe7c408344", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e4c8936046a1ae8fa6dad01116b6c94a7bbe54ecc7b4140cf1d410fe7c408344", kill_on_drop: false }`
[INFO] [stdout] e4c8936046a1ae8fa6dad01116b6c94a7bbe54ecc7b4140cf1d410fe7c408344
