[INFO] cloning repository https://github.com/itsme-boii/dodo_payements
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/itsme-boii/dodo_payements" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsme-boii%2Fdodo_payements", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsme-boii%2Fdodo_payements'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 15eb36e75180053c8f50eea334694b503e12ccde
[INFO] testing itsme-boii/dodo_payements against 1.98.0-beta.6+cargoflags=--release for beta-1.98-release-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsme-boii%2Fdodo_payements" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/itsme-boii/dodo_payements
[INFO] finished tweaking git repo https://github.com/itsme-boii/dodo_payements
[INFO] tweaked toml for git repo https://github.com/itsme-boii/dodo_payements written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/itsme-boii/dodo_payements on toolchain 1.98.0-beta.6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/itsme-boii/dodo_payements 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" "+1.98.0-beta.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] c8e891bf92144326988a7a5159433d372b5b6b9cfcb21c9a1813ac9ad61b5b40
[INFO] running `Command { std: "docker" "start" "c8e891bf92144326988a7a5159433d372b5b6b9cfcb21c9a1813ac9ad61b5b40", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c8e891bf92144326988a7a5159433d372b5b6b9cfcb21c9a1813ac9ad61b5b40", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c8e891bf92144326988a7a5159433d372b5b6b9cfcb21c9a1813ac9ad61b5b40" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c8e891bf92144326988a7a5159433d372b5b6b9cfcb21c9a1813ac9ad61b5b40", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c8e891bf92144326988a7a5159433d372b5b6b9cfcb21c9a1813ac9ad61b5b40" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.6" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling cc v1.2.61
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling mio v1.2.0
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling socket2 v0.6.3
[INFO] [stderr]    Compiling futures-sink v0.3.32
[INFO] [stderr]    Compiling rustls v0.23.40
[INFO] [stderr]    Compiling slab v0.4.12
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling rustls-pki-types v1.14.1
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling zeroize v1.8.2
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling futures-channel v0.3.32
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling idna_adapter v1.2.2
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling webpki-roots v1.0.7
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling tokio v1.52.2
[INFO] [stderr]    Compiling hashbrown v0.17.0
[INFO] [stderr]    Compiling iana-time-zone v0.1.65
[INFO] [stderr]    Compiling crc-catalog v2.5.0
[INFO] [stderr]    Compiling chrono v0.4.44
[INFO] [stderr]    Compiling crc v3.4.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling indexmap v2.14.0
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling icu_normalizer v2.2.0
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling webpki-roots v0.26.11
[INFO] [stderr]    Compiling bitflags v2.11.1
[INFO] [stderr]    Compiling uuid v1.23.1
[INFO] [stderr]    Compiling rustls-webpki v0.103.13
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]    Compiling rand v0.8.6
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling sqlx-core v0.8.6
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling hyper v1.9.0
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling sqlx-postgres v0.8.6
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling axum-core v0.4.5
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling serde_path_to_error v0.1.20
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling axum-macros v0.4.2
[INFO] [stderr]    Compiling thread_local v1.1.9
[INFO] [stderr]    Compiling nu-ansi-term v0.50.3
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.6
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling base64ct v1.8.3
[INFO] [stderr]    Compiling axum v0.7.9
[INFO] [stderr]    Compiling password-hash v0.5.0
[INFO] [stderr]    Compiling tracing-subscriber v0.3.23
[INFO] [stderr]    Compiling tower-http v0.6.8
[INFO] [stderr]    Compiling blake2 v0.10.6
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling argon2 v0.5.3
[INFO] [stderr]    Compiling tower-http v0.5.2
[INFO] [stderr]    Compiling tokio-rustls v0.26.4
[INFO] [stderr]    Compiling hyper-rustls v0.27.9
[INFO] [stderr]    Compiling sqlx-macros v0.8.6
[INFO] [stderr]    Compiling reqwest v0.12.28
[INFO] [stderr]    Compiling mock-psp v0.1.0 (/opt/rustwide/workdir/mock-psp)
[INFO] [stderr]    Compiling sqlx v0.8.6
[INFO] [stderr]    Compiling invoice-service v0.1.0 (/opt/rustwide/workdir/invoice-service)
[INFO] [stdout] warning: unused import: `RefreshToken`
[INFO] [stdout]  --> invoice-service/src/models/mod.rs:7:38
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub use business::{ApiKey, Business, RefreshToken};
[INFO] [stdout]   |                                      ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CreateApiKeyResponse` is never constructed
[INFO] [stdout]   --> invoice-service/src/handlers/businesses.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub struct CreateApiKeyResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `key_hash` is never read
[INFO] [stdout]   --> invoice-service/src/models/business.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct ApiKey {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub key_hash:    String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ApiKey` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RefreshToken` is never constructed
[INFO] [stdout]   --> invoice-service/src/models/business.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct RefreshToken {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WebhookDelivery` is never constructed
[INFO] [stdout]   --> invoice-service/src/models/webhook.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct WebhookDelivery {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `api_key` is never read
[INFO] [stdout]   --> invoice-service/src/services/business_service.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub struct CreatedApiKey {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub api_key:    ApiKey,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_attempt` is never used
[INFO] [stdout]    --> invoice-service/src/services/payment_service.rs:254:14
[INFO] [stdout]     |
[INFO] [stdout] 254 | pub async fn get_attempt(
[INFO] [stdout]     |              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 1m 24s
[INFO] running `Command { std: "docker" "inspect" "c8e891bf92144326988a7a5159433d372b5b6b9cfcb21c9a1813ac9ad61b5b40", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c8e891bf92144326988a7a5159433d372b5b6b9cfcb21c9a1813ac9ad61b5b40" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling futures-sink v0.3.32
[INFO] [stderr]    Compiling futures-channel v0.3.32
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling hyper v1.9.0
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling sqlx-core v0.8.6
[INFO] [stderr]    Compiling axum-core v0.4.5
[INFO] [stderr]    Compiling futures-executor v0.3.32
[INFO] [stderr]    Compiling futures v0.3.32
[INFO] [stderr]    Compiling tower-http v0.6.8
[INFO] [stderr]    Compiling hyper-rustls v0.27.9
[INFO] [stderr]    Compiling reqwest v0.12.28
[INFO] [stderr]    Compiling axum v0.7.9
[INFO] [stderr]    Compiling sqlx-postgres v0.8.6
[INFO] [stderr]    Compiling mock-psp v0.1.0 (/opt/rustwide/workdir/mock-psp)
[INFO] [stderr]    Compiling sqlx v0.8.6
[INFO] [stderr]    Compiling invoice-service v0.1.0 (/opt/rustwide/workdir/invoice-service)
[INFO] [stdout] warning: unused import: `RefreshToken`
[INFO] [stdout]  --> invoice-service/src/models/mod.rs:7:38
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub use business::{ApiKey, Business, RefreshToken};
[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: `RefreshToken`
[INFO] [stdout]  --> invoice-service/src/models/mod.rs:7:38
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub use business::{ApiKey, Business, RefreshToken};
[INFO] [stdout]   |                                      ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CreateApiKeyResponse` is never constructed
[INFO] [stdout]   --> invoice-service/src/handlers/businesses.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub struct CreateApiKeyResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `key_hash` is never read
[INFO] [stdout]   --> invoice-service/src/models/business.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct ApiKey {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub key_hash:    String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ApiKey` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RefreshToken` is never constructed
[INFO] [stdout]   --> invoice-service/src/models/business.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct RefreshToken {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WebhookDelivery` is never constructed
[INFO] [stdout]   --> invoice-service/src/models/webhook.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct WebhookDelivery {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `api_key` is never read
[INFO] [stdout]   --> invoice-service/src/services/business_service.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub struct CreatedApiKey {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub api_key:    ApiKey,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_attempt` is never used
[INFO] [stdout]    --> invoice-service/src/services/payment_service.rs:254:14
[INFO] [stdout]     |
[INFO] [stdout] 254 | pub async fn get_attempt(
[INFO] [stdout]     |              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CreateApiKeyResponse` is never constructed
[INFO] [stdout]   --> invoice-service/src/handlers/businesses.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub struct CreateApiKeyResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `key_hash` is never read
[INFO] [stdout]   --> invoice-service/src/models/business.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct ApiKey {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub key_hash:    String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ApiKey` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RefreshToken` is never constructed
[INFO] [stdout]   --> invoice-service/src/models/business.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct RefreshToken {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WebhookDelivery` is never constructed
[INFO] [stdout]   --> invoice-service/src/models/webhook.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct WebhookDelivery {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `api_key` is never read
[INFO] [stdout]   --> invoice-service/src/services/business_service.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub struct CreatedApiKey {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub api_key:    ApiKey,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_attempt` is never used
[INFO] [stdout]    --> invoice-service/src/services/payment_service.rs:254:14
[INFO] [stdout]     |
[INFO] [stdout] 254 | pub async fn get_attempt(
[INFO] [stdout]     |              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 28.17s
[INFO] running `Command { std: "docker" "inspect" "c8e891bf92144326988a7a5159433d372b5b6b9cfcb21c9a1813ac9ad61b5b40", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c8e891bf92144326988a7a5159433d372b5b6b9cfcb21c9a1813ac9ad61b5b40" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.6" "test" "--frozen" "--release", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `RefreshToken`
[INFO] [stderr]  --> invoice-service/src/models/mod.rs:7:38
[INFO] [stderr]   |
[INFO] [stderr] 7 | pub use business::{ApiKey, Business, RefreshToken};
[INFO] [stderr]   |                                      ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: struct `CreateApiKeyResponse` is never constructed
[INFO] [stderr]   --> invoice-service/src/handlers/businesses.rs:43:12
[INFO] [stderr]    |
[INFO] [stderr] 43 | pub struct CreateApiKeyResponse {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `key_hash` is never read
[INFO] [stderr]   --> invoice-service/src/models/business.rs:22:9
[INFO] [stderr]    |
[INFO] [stderr] 17 | pub struct ApiKey {
[INFO] [stderr]    |            ------ field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 22 |     pub key_hash:    String,
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `ApiKey` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: struct `RefreshToken` is never constructed
[INFO] [stderr]   --> invoice-service/src/models/business.rs:30:12
[INFO] [stderr]    |
[INFO] [stderr] 30 | pub struct RefreshToken {
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `WebhookDelivery` is never constructed
[INFO] [stderr]   --> invoice-service/src/models/webhook.rs:19:12
[INFO] [stderr]    |
[INFO] [stderr] 19 | pub struct WebhookDelivery {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `api_key` is never read
[INFO] [stderr]   --> invoice-service/src/services/business_service.rs:54:9
[INFO] [stderr]    |
[INFO] [stderr] 51 | pub struct CreatedApiKey {
[INFO] [stderr]    |            ------------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 54 |     pub api_key:    ApiKey,
[INFO] [stderr]    |         ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_attempt` is never used
[INFO] [stderr]    --> invoice-service/src/services/payment_service.rs:254:14
[INFO] [stderr]     |
[INFO] [stderr] 254 | pub async fn get_attempt(
[INFO] [stderr]     |              ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `invoice-service` (bin "invoice-service" test) generated 7 warnings (run `cargo fix --bin "invoice-service" -p invoice-service --tests` to apply 1 suggestion)
[INFO] [stderr] warning: `invoice-service` (bin "invoice-service") generated 7 warnings (7 duplicates)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.16s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/release/deps/invoice_service-2ec5c3efc564416a)
[INFO] [stdout] 
[INFO] [stdout] running 11 tests
[INFO] [stdout] test utils::idempotency::tests::empty_body_has_known_hash ... ok
[INFO] [stdout] test utils::idempotency::tests::different_bytes_different_hash ... ok
[INFO] [stdout] test utils::money::tests::rejects_empty ... ok
[INFO] [stdout] test utils::money::tests::rejects_negative_cents ... ok
[INFO] [stdout] test utils::idempotency::tests::same_bytes_same_hash ... ok
[INFO] [stdout] test utils::money::tests::rejects_zero_quantity ... ok
[INFO] [stdout] test utils::money::tests::sums_correctly ... ok
[INFO] [stdout] test utils::money::tests::zero_unit_price_is_valid ... ok
[INFO] [stdout] test utils::signing::tests::different_secret_produces_different_signature ... ok
[INFO] [stdout] test utils::signing::tests::different_timestamp_produces_different_signature ... ok
[INFO] [stdout] test utils::signing::tests::produces_deterministic_signature ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/release/deps/invoice_service-f18dd93da2ea5695)
[INFO] [stdout] 
[INFO] [stdout] running 11 tests
[INFO] [stdout] test utils::idempotency::tests::different_bytes_different_hash ... ok
[INFO] [stdout] test utils::idempotency::tests::same_bytes_same_hash ... ok
[INFO] [stdout] test utils::idempotency::tests::empty_body_has_known_hash ... ok
[INFO] [stdout] test utils::money::tests::rejects_empty ... ok
[INFO] [stdout] test utils::money::tests::rejects_negative_cents ... ok
[INFO] [stdout] test utils::money::tests::rejects_zero_quantity ... ok
[INFO] [stdout] test utils::money::tests::sums_correctly ... ok
[INFO] [stdout] test utils::money::tests::zero_unit_price_is_valid ... ok
[INFO] [stdout] test utils::signing::tests::different_secret_produces_different_signature ... ok
[INFO] [stdout] test utils::signing::tests::different_timestamp_produces_different_signature ... ok
[INFO] [stdout] test utils::signing::tests::produces_deterministic_signature ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/integration.rs (/opt/rustwide/target/release/deps/integration-9f56d4aff0c3a11e)
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test test_idempotency_conflict_on_body_mismatch ... FAILED
[INFO] [stdout] test test_idempotent_replay_returns_same_attempt ... FAILED
[INFO] [stdout] test test_psp_timeout_leaves_invoice_open ... FAILED
[INFO] [stdout] test test_psp_network_failure_leaves_invoice_open ... FAILED
[INFO] [stdout] test test_concurrent_payments_only_one_wins ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- test_idempotency_conflict_on_body_mismatch stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'test_idempotency_conflict_on_body_mismatch' (2741) panicked at invoice-service/tests/integration.rs:30:10:
[INFO] [stdout] Set TEST_DATABASE_URL (or DATABASE_URL in .env) to run integration tests: NotPresent
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5effe5634d91 - <<std[93043b772a62376c]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[812a354ff5be3162]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x5effe564cc4a - core[812a354ff5be3162]::fmt::write
[INFO] [stdout]    2:     0x5effe563a17c - <alloc[9902a75dd20b7c99]::vec::Vec<u8> as std[93043b772a62376c]::io::Write>::write_fmt
[INFO] [stdout]    3:     0x5effe56112f6 - std[93043b772a62376c]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x5effe562c2b9 - std[93043b772a62376c]::panicking::default_hook
[INFO] [stdout]    5:     0x5effe5304900 - test[8de0c696b8e66f4f]::test_main_inner::<test[8de0c696b8e66f4f]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]    6:     0x5effe562c5e2 - std[93043b772a62376c]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x5effe56113a2 - std[93043b772a62376c]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x5effe56082a9 - std[93043b772a62376c]::sys::backtrace::__rust_end_short_backtrace::<std[93043b772a62376c]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x5effe561233d - __rustc[9fcb67b4460bf95]::rust_begin_unwind
[INFO] [stdout]   10:     0x5effe564d3ac - core[812a354ff5be3162]::panicking::panic_fmt
[INFO] [stdout]   11:     0x5effe564d182 - core[812a354ff5be3162]::result::unwrap_failed
[INFO] [stdout]   12:     0x5effe521e86f - integration[7a715b9cb6b30cdf]::setup_db::{closure#0}
[INFO] [stdout]   13:     0x5effe5222df5 - integration[7a715b9cb6b30cdf]::test_idempotency_conflict_on_body_mismatch::{closure#0}
[INFO] [stdout]   14:     0x5effe52d43d3 - <tokio[bcd6e4894ed86c0c]::runtime::scheduler::current_thread::Context>::enter::<core[812a354ff5be3162]::task::poll::Poll<()>, <tokio[bcd6e4894ed86c0c]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[812a354ff5be3162]::pin::Pin<&mut core[812a354ff5be3162]::pin::Pin<&mut dyn core[812a354ff5be3162]::future::future::Future<Output = ()>>>>::{closure#0}::{closure#0}>
[INFO] [stdout]   15:     0x5effe52dea99 - <std[93043b772a62376c]::thread::local::LocalKey<tokio[bcd6e4894ed86c0c]::runtime::context::Context>>::with::<tokio[bcd6e4894ed86c0c]::runtime::context::set_scheduler<(alloc[9902a75dd20b7c99]::boxed::Box<tokio[bcd6e4894ed86c0c]::runtime::scheduler::current_thread::Core>, core[812a354ff5be3162]::option::Option<()>), <tokio[bcd6e4894ed86c0c]::runtime::scheduler::current_thread::CoreGuard>::enter<<tokio[bcd6e4894ed86c0c]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[812a354ff5be3162]::pin::Pin<&mut core[812a354ff5be3162]::pin::Pin<&mut dyn core[812a354ff5be3162]::future::future::Future<Output = ()>>>>::{closure#0}, core[812a354ff5be3162]::option::Option<()>>::{closure#0}>::{closure#0}, (alloc[9902a75dd20b7c99]::boxed::Box<tokio[bcd6e4894ed86c0c]::runtime::scheduler::current_thread::Core>, core[812a354ff5be3162]::option::Option<()>)>
[INFO] [stdout]   16:     0x5effe52d50d7 - <tokio[bcd6e4894ed86c0c]::runtime::scheduler::current_thread::CoreGuard>::block_on::<core[812a354ff5be3162]::pin::Pin<&mut core[812a354ff5be3162]::pin::Pin<&mut dyn core[812a354ff5be3162]::future::future::Future<Output = ()>>>>
[INFO] [stdout]   17:     0x5effe52e7ada - tokio[bcd6e4894ed86c0c]::runtime::context::runtime::enter_runtime::<<tokio[bcd6e4894ed86c0c]::runtime::scheduler::current_thread::CurrentThread>::block_on<core[812a354ff5be3162]::pin::Pin<&mut dyn core[812a354ff5be3162]::future::future::Future<Output = ()>>>::{closure#0}, ()>
[INFO] [stdout]   18:     0x5effe52d42b5 - <tokio[bcd6e4894ed86c0c]::runtime::runtime::Runtime>::block_on::<core[812a354ff5be3162]::pin::Pin<&mut dyn core[812a354ff5be3162]::future::future::Future<Output = ()>>>
[INFO] [stdout]   19:     0x5effe5231d9e - <integration[7a715b9cb6b30cdf]::test_idempotency_conflict_on_body_mismatch::{closure#0} as core[812a354ff5be3162]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   20:     0x5effe52f7c3b - test[8de0c696b8e66f4f]::__rust_begin_short_backtrace::<core[812a354ff5be3162]::result::Result<(), alloc[9902a75dd20b7c99]::string::String>, fn() -> core[812a354ff5be3162]::result::Result<(), alloc[9902a75dd20b7c99]::string::String>>
[INFO] [stdout]   21:     0x5effe5305285 - test[8de0c696b8e66f4f]::run_test::{closure#0}
[INFO] [stdout]   22:     0x5effe52ffd34 - std[93043b772a62376c]::sys::backtrace::__rust_begin_short_backtrace::<test[8de0c696b8e66f4f]::run_test::{closure#1}, ()>
[INFO] [stdout]   23:     0x5effe53083d2 - <std[93043b772a62376c]::thread::lifecycle::spawn_unchecked<test[8de0c696b8e66f4f]::run_test::{closure#1}, ()>::{closure#1} as core[812a354ff5be3162]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   24:     0x5effe5633f4f - <std[93043b772a62376c]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   25:     0x762094ea707a - <unknown>
[INFO] [stdout]   26:     0x762094f3a534 - clone
[INFO] [stderr] error: test failed, to rerun pass `-p invoice-service --test integration`
[INFO] [stdout]   27:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test_idempotent_replay_returns_same_attempt stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'test_idempotent_replay_returns_same_attempt' (2742) panicked at invoice-service/tests/integration.rs:30:10:
[INFO] [stdout] Set TEST_DATABASE_URL (or DATABASE_URL in .env) to run integration tests: NotPresent
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5effe5634d91 - <<std[93043b772a62376c]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[812a354ff5be3162]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x5effe564cc4a - core[812a354ff5be3162]::fmt::write
[INFO] [stdout]    2:     0x5effe563a17c - <alloc[9902a75dd20b7c99]::vec::Vec<u8> as std[93043b772a62376c]::io::Write>::write_fmt
[INFO] [stdout]    3:     0x5effe56112f6 - std[93043b772a62376c]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x5effe562c2b9 - std[93043b772a62376c]::panicking::default_hook
[INFO] [stdout]    5:     0x5effe5304900 - test[8de0c696b8e66f4f]::test_main_inner::<test[8de0c696b8e66f4f]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]    6:     0x5effe562c5e2 - std[93043b772a62376c]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x5effe56113a2 - std[93043b772a62376c]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x5effe56082a9 - std[93043b772a62376c]::sys::backtrace::__rust_end_short_backtrace::<std[93043b772a62376c]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x5effe561233d - __rustc[9fcb67b4460bf95]::rust_begin_unwind
[INFO] [stdout]   10:     0x5effe564d3ac - core[812a354ff5be3162]::panicking::panic_fmt
[INFO] [stdout]   11:     0x5effe564d182 - core[812a354ff5be3162]::result::unwrap_failed
[INFO] [stdout]   12:     0x5effe521e86f - integration[7a715b9cb6b30cdf]::setup_db::{closure#0}
[INFO] [stdout]   13:     0x5effe52237ee - integration[7a715b9cb6b30cdf]::test_idempotent_replay_returns_same_attempt::{closure#0}
[INFO] [stdout]   14:     0x5effe52d43d3 - <tokio[bcd6e4894ed86c0c]::runtime::scheduler::current_thread::Context>::enter::<core[812a354ff5be3162]::task::poll::Poll<()>, <tokio[bcd6e4894ed86c0c]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[812a354ff5be3162]::pin::Pin<&mut core[812a354ff5be3162]::pin::Pin<&mut dyn core[812a354ff5be3162]::future::future::Future<Output = ()>>>>::{closure#0}::{closure#0}>
[INFO] [stdout]   15:     0x5effe52dea99 - <std[93043b772a62376c]::thread::local::LocalKey<tokio[bcd6e4894ed86c0c]::runtime::context::Context>>::with::<tokio[bcd6e4894ed86c0c]::runtime::context::set_scheduler<(alloc[9902a75dd20b7c99]::boxed::Box<tokio[bcd6e4894ed86c0c]::runtime::scheduler::current_thread::Core>, core[812a354ff5be3162]::option::Option<()>), <tokio[bcd6e4894ed86c0c]::runtime::scheduler::current_thread::CoreGuard>::enter<<tokio[bcd6e4894ed86c0c]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[812a354ff5be3162]::pin::Pin<&mut core[812a354ff5be3162]::pin::Pin<&mut dyn core[812a354ff5be3162]::future::future::Future<Output = ()>>>>::{closure#0}, core[812a354ff5be3162]::option::Option<()>>::{closure#0}>::{closure#0}, (alloc[9902a75dd20b7c99]::boxed::Box<tokio[bcd6e4894ed86c0c]::runtime::scheduler::current_thread::Core>, core[812a354ff5be3162]::option::Option<()>)>
[INFO] [stdout]   16:     0x5effe52d50d7 - <tokio[bcd6e4894ed86c0c]::runtime::scheduler::current_thread::CoreGuard>::block_on::<core[812a354ff5be3162]::pin::Pin<&mut core[812a354ff5be3162]::pin::Pin<&mut dyn core[812a354ff5be3162]::future::future::Future<Output = ()>>>>
[INFO] [stdout]   17:     0x5effe52e7ada - tokio[bcd6e4894ed86c0c]::runtime::context::runtime::enter_runtime::<<tokio[bcd6e4894ed86c0c]::runtime::scheduler::current_thread::CurrentThread>::block_on<core[812a354ff5be3162]::pin::Pin<&mut dyn core[812a354ff5be3162]::future::future::Future<Output = ()>>>::{closure#0}, ()>
[INFO] [stdout]   18:     0x5effe52d42b5 - <tokio[bcd6e4894ed86c0c]::runtime::runtime::Runtime>::block_on::<core[812a354ff5be3162]::pin::Pin<&mut dyn core[812a354ff5be3162]::future::future::Future<Output = ()>>>
[INFO] [stdout]   19:     0x5effe5231efe - <integration[7a715b9cb6b30cdf]::test_idempotent_replay_returns_same_attempt::{closure#0} as core[812a354ff5be3162]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   20:     0x5effe52f7c3b - test[8de0c696b8e66f4f]::__rust_begin_short_backtrace::<core[812a354ff5be3162]::result::Result<(), alloc[9902a75dd20b7c99]::string::String>, fn() -> core[812a354ff5be3162]::result::Result<(), alloc[9902a75dd20b7c99]::string::String>>
[INFO] [stdout]   21:     0x5effe5305285 - test[8de0c696b8e66f4f]::run_test::{closure#0}
[INFO] [stdout]   22:     0x5effe52ffd34 - std[93043b772a62376c]::sys::backtrace::__rust_begin_short_backtrace::<test[8de0c696b8e66f4f]::run_test::{closure#1}, ()>
[INFO] [stdout]   23:     0x5effe53083d2 - <std[93043b772a62376c]::thread::lifecycle::spawn_unchecked<test[8de0c696b8e66f4f]::run_test::{closure#1}, ()>::{closure#1} as core[812a354ff5be3162]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   24:     0x5effe5633f4f - <std[93043b772a62376c]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   25:     0x762094ea707a - <unknown>
[INFO] [stdout]   26:     0x762094f3a534 - clone
[INFO] [stdout]   27:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test_psp_timeout_leaves_invoice_open stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'test_psp_timeout_leaves_invoice_open' (2744) panicked at invoice-service/tests/integration.rs:30:10:
[INFO] [stdout] Set TEST_DATABASE_URL (or DATABASE_URL in .env) to run integration tests: NotPresent
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5effe5634d91 - <<std[93043b772a62376c]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[812a354ff5be3162]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x5effe564cc4a - core[812a354ff5be3162]::fmt::write
[INFO] [stdout]    2:     0x5effe563a17c - <alloc[9902a75dd20b7c99]::vec::Vec<u8> as std[93043b772a62376c]::io::Write>::write_fmt
[INFO] [stdout]    3:     0x5effe56112f6 - std[93043b772a62376c]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x5effe562c2b9 - std[93043b772a62376c]::panicking::default_hook
[INFO] [stdout]    5:     0x5effe5304900 - test[8de0c696b8e66f4f]::test_main_inner::<test[8de0c696b8e66f4f]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]    6:     0x5effe562c5e2 - std[93043b772a62376c]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x5effe56113a2 - std[93043b772a62376c]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x5effe56082a9 - std[93043b772a62376c]::sys::backtrace::__rust_end_short_backtrace::<std[93043b772a62376c]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x5effe561233d - __rustc[9fcb67b4460bf95]::rust_begin_unwind
[INFO] [stdout]   10:     0x5effe564d3ac - core[812a354ff5be3162]::panicking::panic_fmt
[INFO] [stdout]   11:     0x5effe564d182 - core[812a354ff5be3162]::result::unwrap_failed
[INFO] [stdout]   12:     0x5effe521e86f - integration[7a715b9cb6b30cdf]::setup_db::{closure#0}
[INFO] [stdout]   13:     0x5effe522136e - integration[7a715b9cb6b30cdf]::test_psp_timeout_leaves_invoice_open::{closure#0}
[INFO] [stdout]   14:     0x5effe52d43d3 - <tokio[bcd6e4894ed86c0c]::runtime::scheduler::current_thread::Context>::enter::<core[812a354ff5be3162]::task::poll::Poll<()>, <tokio[bcd6e4894ed86c0c]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[812a354ff5be3162]::pin::Pin<&mut core[812a354ff5be3162]::pin::Pin<&mut dyn core[812a354ff5be3162]::future::future::Future<Output = ()>>>>::{closure#0}::{closure#0}>
[INFO] [stdout]   15:     0x5effe52dea99 - <std[93043b772a62376c]::thread::local::LocalKey<tokio[bcd6e4894ed86c0c]::runtime::context::Context>>::with::<tokio[bcd6e4894ed86c0c]::runtime::context::set_scheduler<(alloc[9902a75dd20b7c99]::boxed::Box<tokio[bcd6e4894ed86c0c]::runtime::scheduler::current_thread::Core>, core[812a354ff5be3162]::option::Option<()>), <tokio[bcd6e4894ed86c0c]::runtime::scheduler::current_thread::CoreGuard>::enter<<tokio[bcd6e4894ed86c0c]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[812a354ff5be3162]::pin::Pin<&mut core[812a354ff5be3162]::pin::Pin<&mut dyn core[812a354ff5be3162]::future::future::Future<Output = ()>>>>::{closure#0}, core[812a354ff5be3162]::option::Option<()>>::{closure#0}>::{closure#0}, (alloc[9902a75dd20b7c99]::boxed::Box<tokio[bcd6e4894ed86c0c]::runtime::scheduler::current_thread::Core>, core[812a354ff5be3162]::option::Option<()>)>
[INFO] [stdout]   16:     0x5effe52d50d7 - <tokio[bcd6e4894ed86c0c]::runtime::scheduler::current_thread::CoreGuard>::block_on::<core[812a354ff5be3162]::pin::Pin<&mut core[812a354ff5be3162]::pin::Pin<&mut dyn core[812a354ff5be3162]::future::future::Future<Output = ()>>>>
[INFO] [stdout]   17:     0x5effe52e7ada - tokio[bcd6e4894ed86c0c]::runtime::context::runtime::enter_runtime::<<tokio[bcd6e4894ed86c0c]::runtime::scheduler::current_thread::CurrentThread>::block_on<core[812a354ff5be3162]::pin::Pin<&mut dyn core[812a354ff5be3162]::future::future::Future<Output = ()>>>::{closure#0}, ()>
[INFO] [stdout]   18:     0x5effe52d42b5 - <tokio[bcd6e4894ed86c0c]::runtime::runtime::Runtime>::block_on::<core[812a354ff5be3162]::pin::Pin<&mut dyn core[812a354ff5be3162]::future::future::Future<Output = ()>>>
[INFO] [stdout]   19:     0x5effe5231ade - <integration[7a715b9cb6b30cdf]::test_psp_timeout_leaves_invoice_open::{closure#0} as core[812a354ff5be3162]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   20:     0x5effe52f7c3b - test[8de0c696b8e66f4f]::__rust_begin_short_backtrace::<core[812a354ff5be3162]::result::Result<(), alloc[9902a75dd20b7c99]::string::String>, fn() -> core[812a354ff5be3162]::result::Result<(), alloc[9902a75dd20b7c99]::string::String>>
[INFO] [stdout]   21:     0x5effe5305285 - test[8de0c696b8e66f4f]::run_test::{closure#0}
[INFO] [stdout]   22:     0x5effe52ffd34 - std[93043b772a62376c]::sys::backtrace::__rust_begin_short_backtrace::<test[8de0c696b8e66f4f]::run_test::{closure#1}, ()>
[INFO] [stdout]   23:     0x5effe53083d2 - <std[93043b772a62376c]::thread::lifecycle::spawn_unchecked<test[8de0c696b8e66f4f]::run_test::{closure#1}, ()>::{closure#1} as core[812a354ff5be3162]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   24:     0x5effe5633f4f - <std[93043b772a62376c]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   25:     0x762094ea707a - <unknown>
[INFO] [stdout]   26:     0x762094f3a534 - clone
[INFO] [stdout]   27:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test_psp_network_failure_leaves_invoice_open stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'test_psp_network_failure_leaves_invoice_open' (2743) panicked at invoice-service/tests/integration.rs:30:10:
[INFO] [stdout] Set TEST_DATABASE_URL (or DATABASE_URL in .env) to run integration tests: NotPresent
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5effe5634d91 - <<std[93043b772a62376c]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[812a354ff5be3162]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x5effe564cc4a - core[812a354ff5be3162]::fmt::write
[INFO] [stdout]    2:     0x5effe563a17c - <alloc[9902a75dd20b7c99]::vec::Vec<u8> as std[93043b772a62376c]::io::Write>::write_fmt
[INFO] [stdout]    3:     0x5effe56112f6 - std[93043b772a62376c]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x5effe562c2b9 - std[93043b772a62376c]::panicking::default_hook
[INFO] [stdout]    5:     0x5effe5304900 - test[8de0c696b8e66f4f]::test_main_inner::<test[8de0c696b8e66f4f]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]    6:     0x5effe562c5e2 - std[93043b772a62376c]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x5effe56113a2 - std[93043b772a62376c]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x5effe56082a9 - std[93043b772a62376c]::sys::backtrace::__rust_end_short_backtrace::<std[93043b772a62376c]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x5effe561233d - __rustc[9fcb67b4460bf95]::rust_begin_unwind
[INFO] [stdout]   10:     0x5effe564d3ac - core[812a354ff5be3162]::panicking::panic_fmt
[INFO] [stdout]   11:     0x5effe564d182 - core[812a354ff5be3162]::result::unwrap_failed
[INFO] [stdout]   12:     0x5effe521e86f - integration[7a715b9cb6b30cdf]::setup_db::{closure#0}
[INFO] [stdout]   13:     0x5effe5224235 - integration[7a715b9cb6b30cdf]::test_psp_network_failure_leaves_invoice_open::{closure#0}
[INFO] [stdout]   14:     0x5effe52d43d3 - <tokio[bcd6e4894ed86c0c]::runtime::scheduler::current_thread::Context>::enter::<core[812a354ff5be3162]::task::poll::Poll<()>, <tokio[bcd6e4894ed86c0c]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[812a354ff5be3162]::pin::Pin<&mut core[812a354ff5be3162]::pin::Pin<&mut dyn core[812a354ff5be3162]::future::future::Future<Output = ()>>>>::{closure#0}::{closure#0}>
[INFO] [stdout]   15:     0x5effe52dea99 - <std[93043b772a62376c]::thread::local::LocalKey<tokio[bcd6e4894ed86c0c]::runtime::context::Context>>::with::<tokio[bcd6e4894ed86c0c]::runtime::context::set_scheduler<(alloc[9902a75dd20b7c99]::boxed::Box<tokio[bcd6e4894ed86c0c]::runtime::scheduler::current_thread::Core>, core[812a354ff5be3162]::option::Option<()>), <tokio[bcd6e4894ed86c0c]::runtime::scheduler::current_thread::CoreGuard>::enter<<tokio[bcd6e4894ed86c0c]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[812a354ff5be3162]::pin::Pin<&mut core[812a354ff5be3162]::pin::Pin<&mut dyn core[812a354ff5be3162]::future::future::Future<Output = ()>>>>::{closure#0}, core[812a354ff5be3162]::option::Option<()>>::{closure#0}>::{closure#0}, (alloc[9902a75dd20b7c99]::boxed::Box<tokio[bcd6e4894ed86c0c]::runtime::scheduler::current_thread::Core>, core[812a354ff5be3162]::option::Option<()>)>
[INFO] [stdout]   16:     0x5effe52d50d7 - <tokio[bcd6e4894ed86c0c]::runtime::scheduler::current_thread::CoreGuard>::block_on::<core[812a354ff5be3162]::pin::Pin<&mut core[812a354ff5be3162]::pin::Pin<&mut dyn core[812a354ff5be3162]::future::future::Future<Output = ()>>>>
[INFO] [stdout]   17:     0x5effe52e7ada - tokio[bcd6e4894ed86c0c]::runtime::context::runtime::enter_runtime::<<tokio[bcd6e4894ed86c0c]::runtime::scheduler::current_thread::CurrentThread>::block_on<core[812a354ff5be3162]::pin::Pin<&mut dyn core[812a354ff5be3162]::future::future::Future<Output = ()>>>::{closure#0}, ()>
[INFO] [stdout]   18:     0x5effe52d42b5 - <tokio[bcd6e4894ed86c0c]::runtime::runtime::Runtime>::block_on::<core[812a354ff5be3162]::pin::Pin<&mut dyn core[812a354ff5be3162]::future::future::Future<Output = ()>>>
[INFO] [stdout]   19:     0x5effe523205e - <integration[7a715b9cb6b30cdf]::test_psp_network_failure_leaves_invoice_open::{closure#0} as core[812a354ff5be3162]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   20:     0x5effe52f7c3b - test[8de0c696b8e66f4f]::__rust_begin_short_backtrace::<core[812a354ff5be3162]::result::Result<(), alloc[9902a75dd20b7c99]::string::String>, fn() -> core[812a354ff5be3162]::result::Result<(), alloc[9902a75dd20b7c99]::string::String>>
[INFO] [stdout]   21:     0x5effe5305285 - test[8de0c696b8e66f4f]::run_test::{closure#0}
[INFO] [stdout]   22:     0x5effe52ffd34 - std[93043b772a62376c]::sys::backtrace::__rust_begin_short_backtrace::<test[8de0c696b8e66f4f]::run_test::{closure#1}, ()>
[INFO] [stdout]   23:     0x5effe53083d2 - <std[93043b772a62376c]::thread::lifecycle::spawn_unchecked<test[8de0c696b8e66f4f]::run_test::{closure#1}, ()>::{closure#1} as core[812a354ff5be3162]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   24:     0x5effe5633f4f - <std[93043b772a62376c]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   25:     0x762094ea707a - <unknown>
[INFO] [stdout]   26:     0x762094f3a534 - clone
[INFO] [stdout]   27:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test_concurrent_payments_only_one_wins stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'test_concurrent_payments_only_one_wins' (2740) panicked at invoice-service/tests/integration.rs:30:10:
[INFO] [stdout] Set TEST_DATABASE_URL (or DATABASE_URL in .env) to run integration tests: NotPresent
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5effe5634d91 - <<std[93043b772a62376c]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[812a354ff5be3162]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x5effe564cc4a - core[812a354ff5be3162]::fmt::write
[INFO] [stdout]    2:     0x5effe563a17c - <alloc[9902a75dd20b7c99]::vec::Vec<u8> as std[93043b772a62376c]::io::Write>::write_fmt
[INFO] [stdout]    3:     0x5effe56112f6 - std[93043b772a62376c]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x5effe562c2b9 - std[93043b772a62376c]::panicking::default_hook
[INFO] [stdout]    5:     0x5effe5304900 - test[8de0c696b8e66f4f]::test_main_inner::<test[8de0c696b8e66f4f]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]    6:     0x5effe562c5e2 - std[93043b772a62376c]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x5effe56113a2 - std[93043b772a62376c]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x5effe56082a9 - std[93043b772a62376c]::sys::backtrace::__rust_end_short_backtrace::<std[93043b772a62376c]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x5effe561233d - __rustc[9fcb67b4460bf95]::rust_begin_unwind
[INFO] [stdout]   10:     0x5effe564d3ac - core[812a354ff5be3162]::panicking::panic_fmt
[INFO] [stdout]   11:     0x5effe564d182 - core[812a354ff5be3162]::result::unwrap_failed
[INFO] [stdout]   12:     0x5effe521e86f - integration[7a715b9cb6b30cdf]::setup_db::{closure#0}
[INFO] [stdout]   13:     0x5effe5221e77 - integration[7a715b9cb6b30cdf]::test_concurrent_payments_only_one_wins::{closure#0}
[INFO] [stdout]   14:     0x5effe52d43d3 - <tokio[bcd6e4894ed86c0c]::runtime::scheduler::current_thread::Context>::enter::<core[812a354ff5be3162]::task::poll::Poll<()>, <tokio[bcd6e4894ed86c0c]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[812a354ff5be3162]::pin::Pin<&mut core[812a354ff5be3162]::pin::Pin<&mut dyn core[812a354ff5be3162]::future::future::Future<Output = ()>>>>::{closure#0}::{closure#0}>
[INFO] [stdout]   15:     0x5effe52dea99 - <std[93043b772a62376c]::thread::local::LocalKey<tokio[bcd6e4894ed86c0c]::runtime::context::Context>>::with::<tokio[bcd6e4894ed86c0c]::runtime::context::set_scheduler<(alloc[9902a75dd20b7c99]::boxed::Box<tokio[bcd6e4894ed86c0c]::runtime::scheduler::current_thread::Core>, core[812a354ff5be3162]::option::Option<()>), <tokio[bcd6e4894ed86c0c]::runtime::scheduler::current_thread::CoreGuard>::enter<<tokio[bcd6e4894ed86c0c]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[812a354ff5be3162]::pin::Pin<&mut core[812a354ff5be3162]::pin::Pin<&mut dyn core[812a354ff5be3162]::future::future::Future<Output = ()>>>>::{closure#0}, core[812a354ff5be3162]::option::Option<()>>::{closure#0}>::{closure#0}, (alloc[9902a75dd20b7c99]::boxed::Box<tokio[bcd6e4894ed86c0c]::runtime::scheduler::current_thread::Core>, core[812a354ff5be3162]::option::Option<()>)>
[INFO] [stdout]   16:     0x5effe52d50d7 - <tokio[bcd6e4894ed86c0c]::runtime::scheduler::current_thread::CoreGuard>::block_on::<core[812a354ff5be3162]::pin::Pin<&mut core[812a354ff5be3162]::pin::Pin<&mut dyn core[812a354ff5be3162]::future::future::Future<Output = ()>>>>
[INFO] [stdout]   17:     0x5effe52e7ada - tokio[bcd6e4894ed86c0c]::runtime::context::runtime::enter_runtime::<<tokio[bcd6e4894ed86c0c]::runtime::scheduler::current_thread::CurrentThread>::block_on<core[812a354ff5be3162]::pin::Pin<&mut dyn core[812a354ff5be3162]::future::future::Future<Output = ()>>>::{closure#0}, ()>
[INFO] [stdout]   18:     0x5effe52d42b5 - <tokio[bcd6e4894ed86c0c]::runtime::runtime::Runtime>::block_on::<core[812a354ff5be3162]::pin::Pin<&mut dyn core[812a354ff5be3162]::future::future::Future<Output = ()>>>
[INFO] [stdout]   19:     0x5effe5231c3e - <integration[7a715b9cb6b30cdf]::test_concurrent_payments_only_one_wins::{closure#0} as core[812a354ff5be3162]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   20:     0x5effe52f7c3b - test[8de0c696b8e66f4f]::__rust_begin_short_backtrace::<core[812a354ff5be3162]::result::Result<(), alloc[9902a75dd20b7c99]::string::String>, fn() -> core[812a354ff5be3162]::result::Result<(), alloc[9902a75dd20b7c99]::string::String>>
[INFO] [stdout]   21:     0x5effe5305285 - test[8de0c696b8e66f4f]::run_test::{closure#0}
[INFO] [stdout]   22:     0x5effe52ffd34 - std[93043b772a62376c]::sys::backtrace::__rust_begin_short_backtrace::<test[8de0c696b8e66f4f]::run_test::{closure#1}, ()>
[INFO] [stdout]   23:     0x5effe53083d2 - <std[93043b772a62376c]::thread::lifecycle::spawn_unchecked<test[8de0c696b8e66f4f]::run_test::{closure#1}, ()>::{closure#1} as core[812a354ff5be3162]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   24:     0x5effe5633f4f - <std[93043b772a62376c]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   25:     0x762094ea707a - <unknown>
[INFO] [stdout]   26:     0x762094f3a534 - clone
[INFO] [stdout]   27:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     test_concurrent_payments_only_one_wins
[INFO] [stdout]     test_idempotency_conflict_on_body_mismatch
[INFO] [stdout]     test_idempotent_replay_returns_same_attempt
[INFO] [stdout]     test_psp_network_failure_leaves_invoice_open
[INFO] [stdout]     test_psp_timeout_leaves_invoice_open
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "c8e891bf92144326988a7a5159433d372b5b6b9cfcb21c9a1813ac9ad61b5b40", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c8e891bf92144326988a7a5159433d372b5b6b9cfcb21c9a1813ac9ad61b5b40", kill_on_drop: false }`
[INFO] [stdout] c8e891bf92144326988a7a5159433d372b5b6b9cfcb21c9a1813ac9ad61b5b40
