[INFO] cloning repository https://github.com/gourav-banerjee7/dodo_payments_backend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gourav-banerjee7/dodo_payments_backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgourav-banerjee7%2Fdodo_payments_backend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgourav-banerjee7%2Fdodo_payments_backend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 29a40b6a2f14c1b40f37c1f4e111569d2960eece [INFO] testing gourav-banerjee7/dodo_payments_backend against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgourav-banerjee7%2Fdodo_payments_backend" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/gourav-banerjee7/dodo_payments_backend [INFO] finished tweaking git repo https://github.com/gourav-banerjee7/dodo_payments_backend [INFO] tweaked toml for git repo https://github.com/gourav-banerjee7/dodo_payments_backend written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gourav-banerjee7/dodo_payments_backend on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gourav-banerjee7/dodo_payments_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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sqlx-mysql v0.7.4 [INFO] [stderr] Downloaded sqlx-macros v0.7.4 [INFO] [stderr] Downloaded windows-core v0.61.1 [INFO] [stderr] Downloaded windows-strings v0.4.1 [INFO] [stderr] Downloaded sqlx-macros-core v0.7.4 [INFO] [stderr] Downloaded cc v1.2.23 [INFO] [stderr] Downloaded windows-result v0.3.3 [INFO] [stderr] Downloaded sqlx-postgres v0.7.4 [INFO] [stderr] Downloaded sqlx-core v0.7.4 [INFO] [stderr] Downloaded sqlx-sqlite v0.7.4 [INFO] [stderr] Downloaded sqlx v0.7.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 873bca0c2bb7b3e3418e4929147be910438a96f88ebc79775db4dfd4212490d8 [INFO] running `Command { std: "docker" "start" "-a" "873bca0c2bb7b3e3418e4929147be910438a96f88ebc79775db4dfd4212490d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "873bca0c2bb7b3e3418e4929147be910438a96f88ebc79775db4dfd4212490d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "873bca0c2bb7b3e3418e4929147be910438a96f88ebc79775db4dfd4212490d8", kill_on_drop: false }` [INFO] [stdout] 873bca0c2bb7b3e3418e4929147be910438a96f88ebc79775db4dfd4212490d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e4323e26d31693d0b9a0d1a885d1e2660633c98218b34db428f3d2263bc907b1 [INFO] running `Command { std: "docker" "start" "-a" "e4323e26d31693d0b9a0d1a885d1e2660633c98218b34db428f3d2263bc907b1", kill_on_drop: false }` [INFO] [stderr] Compiling icu_properties_data v2.0.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling icu_properties v2.0.0 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling bigdecimal v0.3.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling cc v1.2.23 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling base64ct v1.7.3 [INFO] [stderr] Compiling pem v3.0.5 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling validator_derive v0.18.2 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling axum-macros v0.4.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling validator v0.18.1 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling jsonwebtoken v9.3.1 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Compiling sqlx v0.7.4 [INFO] [stderr] Compiling dodo_payments_backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::env; [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: `NaiveDateTime` [INFO] [stdout] --> src/handlers/user.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::{Utc, NaiveDateTime}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveDateTime` [INFO] [stdout] --> src/handlers/transaction.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::{Utc, NaiveDateTime}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 46s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "e4323e26d31693d0b9a0d1a885d1e2660633c98218b34db428f3d2263bc907b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4323e26d31693d0b9a0d1a885d1e2660633c98218b34db428f3d2263bc907b1", kill_on_drop: false }` [INFO] [stdout] e4323e26d31693d0b9a0d1a885d1e2660633c98218b34db428f3d2263bc907b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 438ff8aa2b8dff69d62f776bc6be019a2311234d2efa1556786ef1d97027c379 [INFO] running `Command { std: "docker" "start" "-a" "438ff8aa2b8dff69d62f776bc6be019a2311234d2efa1556786ef1d97027c379", kill_on_drop: false }` [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling sqlx v0.7.4 [INFO] [stderr] Compiling dodo_payments_backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::env; [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: `NaiveDateTime` [INFO] [stdout] --> src/handlers/user.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::{Utc, NaiveDateTime}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveDateTime` [INFO] [stdout] --> src/handlers/transaction.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::{Utc, NaiveDateTime}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::env; [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: `NaiveDateTime` [INFO] [stdout] --> src/handlers/user.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::{Utc, NaiveDateTime}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveDateTime` [INFO] [stdout] --> src/handlers/transaction.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::{Utc, NaiveDateTime}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 23s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "438ff8aa2b8dff69d62f776bc6be019a2311234d2efa1556786ef1d97027c379", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "438ff8aa2b8dff69d62f776bc6be019a2311234d2efa1556786ef1d97027c379", kill_on_drop: false }` [INFO] [stdout] 438ff8aa2b8dff69d62f776bc6be019a2311234d2efa1556786ef1d97027c379 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b14cfcd6c1167ab7eb09c431950c2aba13638088b623a1ed12f715a782b20690 [INFO] running `Command { std: "docker" "start" "-a" "b14cfcd6c1167ab7eb09c431950c2aba13638088b623a1ed12f715a782b20690", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::env` [INFO] [stderr] --> src/lib.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::env; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `NaiveDateTime` [INFO] [stderr] --> src/handlers/user.rs:5:19 [INFO] [stderr] | [INFO] [stderr] 5 | use chrono::{Utc, NaiveDateTime}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `NaiveDateTime` [INFO] [stderr] --> src/handlers/transaction.rs:5:19 [INFO] [stderr] | [INFO] [stderr] 5 | use chrono::{Utc, NaiveDateTime}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `dodo_payments_backend` (lib) generated 3 warnings (run `cargo fix --lib -p dodo_payments_backend` to apply 3 suggestions) [INFO] [stderr] warning: `dodo_payments_backend` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.43s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/dodo_payments_backend-76780c85eb6c63e1) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 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/debug/deps/dodo_payments_backend-927e4e5e1b916f8f) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/health.rs (/opt/rustwide/target/debug/deps/health-c1252e599f1f65f8) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_balance_unauthorized ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test_balance_unauthorized stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'test_balance_unauthorized' (19) panicked at src/db.rs:4:48: [INFO] [stdout] DATABASE_URL must be set: NotPresent [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5e4d47d48e82 - std::backtrace_rs::backtrace::libunwind::trace::h52580dd202462214 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5e4d47d48e82 - std::backtrace_rs::backtrace::trace_unsynchronized::hc969519abce0f52b [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5e4d47d48e82 - std::sys::backtrace::_print_fmt::hfd5825900b6e0030 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5e4d47d48e82 - ::fmt::h427144ad75cfb218 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5e4d47d5c80f - core::fmt::rt::Argument::fmt::hd5ccc9cf97cea7f7 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5e4d47d5c80f - core::fmt::write::h593aaf5adf0f5dae [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5e4d47d14aa1 - std::io::default_write_fmt::h305b5a0727055346 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5e4d47d14aa1 - std::io::Write::write_fmt::h76f14a8a88733dc5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5e4d47d217e2 - std::sys::backtrace::BacktraceLock::print::h3953113552dca3ca [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5e4d47d2692f - std::panicking::default_hook::{{closure}}::h486b96ad75eafbb8 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5e4d47d267c1 - std::panicking::default_hook::h99456317c5a1a20c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5e4d47577c9e - as core::ops::function::Fn>::call::h441e4551014e4cf8 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5e4d47577c9e - test::test_main_with_exit_callback::{{closure}}::hdbca54e17f1a00e4 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5e4d47d2709f - as core::ops::function::Fn>::call::h1e57b72c4e1d3045 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5e4d47d2709f - std::panicking::panic_with_hook::h67ab0df20212e4ea [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5e4d47d26e4a - std::panicking::panic_handler::{{closure}}::hc9e4a933ae92e208 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5e4d47d21929 - std::sys::backtrace::__rust_end_short_backtrace::hbfa72df9b68c2d19 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5e4d47d0894d - __rustc[8cce077e14951490]::rust_begin_unwind [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5e4d47d66280 - core::panicking::panic_fmt::h49931053d20abf41 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5e4d47d650f6 - core::result::unwrap_failed::h7f5a2d4cf85d933f [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/result.rs:1854:5 [INFO] [stdout] 20: 0x5e4d475aff0e - core::result::Result::expect::hbc590af12fe0c0a1 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/result.rs:1177:23 [INFO] [stdout] 21: 0x5e4d475bfaff - dodo_payments_backend::db::connect::{{closure}}::h09b62abc0e6ae584 [INFO] [stdout] at /opt/rustwide/workdir/src/db.rs:4:48 [INFO] [stdout] 22: 0x5e4d475f2e2c - dodo_payments_backend::create_app::{{closure}}::hc56eb1e998c6b38d [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:25:30 [INFO] [stdout] 23: 0x5e4d47555e5c - health::common::spawn_app::{{closure}}::hade5276284963d0e [INFO] [stdout] at /opt/rustwide/workdir/tests/common/mod.rs:16:18 [INFO] [stdout] 24: 0x5e4d47555504 - health::test_balance_unauthorized::{{closure}}::hd264fe990a80e89f [INFO] [stdout] at /opt/rustwide/workdir/tests/health.rs:7:35 [INFO] [stdout] 25: 0x5e4d4754cd12 - as core::future::future::Future>::poll::h163449487b2c29ef [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/future/future.rs:133:9 [INFO] [stdout] 26: 0x5e4d4754cd8d - as core::future::future::Future>::poll::ha867d1e80f6f491a [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/future/future.rs:133:9 [INFO] [stdout] 27: 0x5e4d4754c84d - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::ha2cbd1c7401960f7 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/runtime/scheduler/current_thread/mod.rs:733:70 [INFO] [stdout] 28: 0x5e4d4754c5ab - tokio::task::coop::with_budget::h1347c115c73d16a3 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/task/coop/mod.rs:167:5 [INFO] [stdout] 29: 0x5e4d4754c5ab - tokio::task::coop::budget::h81f88c76502ad8fd [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/task/coop/mod.rs:133:5 [INFO] [stdout] 30: 0x5e4d4754c5ab - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::h74bf3801401b2e73 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/runtime/scheduler/current_thread/mod.rs:733:25 [INFO] [stdout] 31: 0x5e4d475498d0 - tokio::runtime::scheduler::current_thread::Context::enter::hbc104c3d0f64b140 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/runtime/scheduler/current_thread/mod.rs:432:19 [INFO] [stdout] 32: 0x5e4d4754b1ed - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::ha44a9d9003a449ad [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/runtime/scheduler/current_thread/mod.rs:732:44 [INFO] [stdout] 33: 0x5e4d4754ae94 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::h6048e378ac190f62 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/runtime/scheduler/current_thread/mod.rs:820:68 [INFO] [stdout] 34: 0x5e4d4755469b - tokio::runtime::context::scoped::Scoped::set::hb622acfe21ba1315 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/runtime/context/scoped.rs:40:9 [INFO] [stdout] 35: 0x5e4d47547909 - tokio::runtime::context::set_scheduler::{{closure}}::h1c8ef90b6e303418 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/runtime/context.rs:176:38 [INFO] [stdout] 36: 0x5e4d47543472 - std::thread::local::LocalKey::try_with::h395658c7569b296a [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/local.rs:315:12 [INFO] [stdout] 37: 0x5e4d4754301e - std::thread::local::LocalKey::with::hc5d63a600aa19a12 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/local.rs:279:20 [INFO] [stdout] 38: 0x5e4d4754787d - tokio::runtime::context::set_scheduler::h37ac4a8a6bc7b27a [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/runtime/context.rs:176:17 [INFO] [stdout] 39: 0x5e4d4754ac40 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::h30061d87ee7d1373 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/runtime/scheduler/current_thread/mod.rs:820:27 [INFO] [stdout] 40: 0x5e4d4754aed3 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::h22ce69de71bfc183 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/runtime/scheduler/current_thread/mod.rs:720:24 [INFO] [stdout] 41: 0x5e4d475491c0 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::hd1df0958174a2fe3 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/runtime/scheduler/current_thread/mod.rs:200:33 [INFO] [stdout] 42: 0x5e4d47547d80 - tokio::runtime::context::runtime::enter_runtime::h93d235ce6cf44e87 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/runtime/context/runtime.rs:65:16 [INFO] [stdout] 43: 0x5e4d47548b81 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::h620fa8a4118c117b [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/runtime/scheduler/current_thread/mod.rs:188:9 [INFO] [stdout] 44: 0x5e4d47554914 - tokio::runtime::runtime::Runtime::block_on_inner::hf812c8392015a481 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/runtime/runtime.rs:356:52 [INFO] [stdout] 45: 0x5e4d47554ad7 - tokio::runtime::runtime::Runtime::block_on::h213d489305f99fbf [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/runtime/runtime.rs:330:18 [INFO] [stdout] 46: 0x5e4d475552bd - health::test_balance_unauthorized::ha8a914c0b2e43097 [INFO] [stdout] at /opt/rustwide/workdir/tests/health.rs:14:60 [INFO] [stdout] 47: 0x5e4d47555357 - health::test_balance_unauthorized::{{closure}}::hce0bab80f4d5686e [INFO] [stdout] at /opt/rustwide/workdir/tests/health.rs:6:37 [INFO] [stdout] 48: 0x5e4d47551476 - core::ops::function::FnOnce::call_once::h7f03bbb44a838e7c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 49: 0x5e4d47577a5b - core::ops::function::FnOnce::call_once::h5d9016d521f5aee4 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 50: 0x5e4d47577a5b - test::__rust_begin_short_backtrace::h123fcee610330442 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:663:18 [INFO] [stdout] 51: 0x5e4d4758d545 - test::run_test_in_process::{{closure}}::h0442efda2e6359b2 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:74 [INFO] [stdout] 52: 0x5e4d4758d545 - as core::ops::function::FnOnce<()>>::call_once::hfe3528c8dd09682c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 53: 0x5e4d4758d545 - std::panicking::catch_unwind::do_call::hb1659f7844fe8531 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 54: 0x5e4d4758d545 - std::panicking::catch_unwind::hdc1f4be0019e72ad [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 55: 0x5e4d4758d545 - std::panic::catch_unwind::hd6d7ccfa4513e770 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 56: 0x5e4d4758d545 - test::run_test_in_process::h6bbb839ed0802366 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:27 [INFO] [stdout] 57: 0x5e4d4758d545 - test::run_test::{{closure}}::he4fad7398c8acc11 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:607:43 [INFO] [stdout] 58: 0x5e4d47563eb4 - test::run_test::{{closure}}::h41975797e198d26c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:637:41 [INFO] [stdout] 59: 0x5e4d47563eb4 - std::sys::backtrace::__rust_begin_short_backtrace::hfb46c397857336f1 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 60: 0x5e4d4756785a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hddf826a64f532bea [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 61: 0x5e4d4756785a - as core::ops::function::FnOnce<()>>::call_once::hc3518c3eab91aeb3 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 62: 0x5e4d4756785a - std::panicking::catch_unwind::do_call::h7bf3ad6dc012415a [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 63: 0x5e4d4756785a - std::panicking::catch_unwind::h8b88f0375c767e36 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 64: 0x5e4d4756785a - std::panic::catch_unwind::h66cb5d61a90f7bc5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 65: 0x5e4d4756785a - std::thread::Builder::spawn_unchecked_::{{closure}}::h65bc9d15fb966bbd [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 66: 0x5e4d4756785a - core::ops::function::FnOnce::call_once{{vtable.shim}}::he8d2c9a8796342e5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 67: 0x5e4d47d1b80f - as core::ops::function::FnOnce>::call_once::hef12b47e5c033835 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 68: 0x5e4d47d1b80f - std::sys::pal::unix::thread::Thread::new::thread_start::h135087e7c97657bc [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 69: 0x7ca96450aaa4 - [INFO] [stdout] 70: 0x7ca964597a34 - clone [INFO] [stdout] 71: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test_balance_unauthorized [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 10.13s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test health` [INFO] running `Command { std: "docker" "inspect" "b14cfcd6c1167ab7eb09c431950c2aba13638088b623a1ed12f715a782b20690", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b14cfcd6c1167ab7eb09c431950c2aba13638088b623a1ed12f715a782b20690", kill_on_drop: false }` [INFO] [stdout] b14cfcd6c1167ab7eb09c431950c2aba13638088b623a1ed12f715a782b20690