[INFO] cloning repository https://github.com/Ratnesh2506/dodo-payment
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ratnesh2506/dodo-payment" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRatnesh2506%2Fdodo-payment", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRatnesh2506%2Fdodo-payment'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0589e81c04d460fc4890443a94069d6fc19f8247
[INFO] testing Ratnesh2506/dodo-payment against master#ec6f9a5b4413f74386267ef8efc93712c2ce6db6 for pr-155739-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRatnesh2506%2Fdodo-payment" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Ratnesh2506/dodo-payment
[INFO] finished tweaking git repo https://github.com/Ratnesh2506/dodo-payment
[INFO] tweaked toml for git repo https://github.com/Ratnesh2506/dodo-payment written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Ratnesh2506/dodo-payment on toolchain ec6f9a5b4413f74386267ef8efc93712c2ce6db6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Ratnesh2506/dodo-payment 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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "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]  Downloading crates ...
[INFO] [stderr]   Downloaded dsl_auto_type v0.1.3
[INFO] [stderr]   Downloaded diesel_table_macro_syntax v0.2.0
[INFO] [stderr]   Downloaded diesel_derives v2.2.7
[INFO] [stderr]   Downloaded r2d2 v0.8.10
[INFO] [stderr]   Downloaded toml_edit v0.23.9
[INFO] [stderr]   Downloaded diesel-async v0.5.2
[INFO] [stderr]   Downloaded jiff-static v0.2.16
[INFO] [stderr]   Downloaded diesel v2.2.12
[INFO] [stderr]   Downloaded redox_syscall v0.6.0
[INFO] [stderr]   Downloaded jiff v0.2.16
[INFO] [stderr]   Downloaded bigdecimal v0.3.1
[INFO] [stderr]   Downloaded actix-web v4.12.1
[INFO] [stderr]   Downloaded derive_more-impl v2.1.0
[INFO] [stderr]   Downloaded derive_more v2.1.0
[INFO] [stderr]   Downloaded actix-http v3.11.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 33cdbb09b1ce4f33a45df0e09e2eed463f838c6f99c75ef5821c78cf113abcba
[INFO] running `Command { std: "docker" "start" "-a" "33cdbb09b1ce4f33a45df0e09e2eed463f838c6f99c75ef5821c78cf113abcba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "33cdbb09b1ce4f33a45df0e09e2eed463f838c6f99c75ef5821c78cf113abcba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "33cdbb09b1ce4f33a45df0e09e2eed463f838c6f99c75ef5821c78cf113abcba", kill_on_drop: false }`
[INFO] [stdout] 33cdbb09b1ce4f33a45df0e09e2eed463f838c6f99c75ef5821c78cf113abcba
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e416a240e4057ec20808b25b9b81ba60e314a5cd838ab44c6b1bf3466752d137
[INFO] running `Command { std: "docker" "start" "-a" "e416a240e4057ec20808b25b9b81ba60e314a5cd838ab44c6b1bf3466752d137", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling find-msvc-tools v0.1.5
[INFO] [stderr]    Compiling zerocopy v0.8.31
[INFO] [stderr]    Compiling tracing-core v0.1.35
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling socket2 v0.6.1
[INFO] [stderr]    Compiling signal-hook-registry v1.4.7
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling indexmap v2.12.1
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling crunchy v0.2.4
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling time-core v0.1.6
[INFO] [stderr]    Compiling deranged v0.5.5
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling cc v1.2.49
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling time-macros v0.2.24
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling tinyvec v1.10.0
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling local-waker v0.1.4
[INFO] [stderr]    Compiling quote v1.0.42
[INFO] [stderr]    Compiling ucd-trie v0.1.7
[INFO] [stderr]    Compiling alloc-no-stdlib v2.0.4
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling alloc-stdlib v0.2.2
[INFO] [stderr]    Compiling convert_case v0.10.0
[INFO] [stderr]    Compiling bigdecimal v0.4.9
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]    Compiling pest v2.8.4
[INFO] [stderr]    Compiling bytes v1.11.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.25
[INFO] [stderr]    Compiling pq-sys v0.4.8
[INFO] [stderr]    Compiling regex-lite v0.1.8
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling const-random v0.1.18
[INFO] [stderr]    Compiling brotli-decompressor v5.0.0
[INFO] [stderr]    Compiling actix-utils v3.0.1
[INFO] [stderr]    Compiling bytestring v1.5.0
[INFO] [stderr]    Compiling scheduled-thread-pool v0.2.7
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling actix-service v2.0.3
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]    Compiling fallible-iterator v0.2.0
[INFO] [stderr]    Compiling time v0.3.44
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling siphasher v1.0.1
[INFO] [stderr]    Compiling r2d2 v0.8.10
[INFO] [stderr]    Compiling phf_shared v0.13.1
[INFO] [stderr]    Compiling flate2 v1.1.5
[INFO] [stderr]    Compiling brotli v8.0.2
[INFO] [stderr]    Compiling tracing v0.1.43
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]    Compiling zstd-sys v2.0.16+zstd.1.5.7
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling dlv-list v0.5.2
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling local-channel v0.1.5
[INFO] [stderr]    Compiling uuid v1.19.0
[INFO] [stderr]    Compiling actix-router v0.5.3
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling inout v0.1.4
[INFO] [stderr]    Compiling pest_meta v2.8.4
[INFO] [stderr]    Compiling num_cpus v1.17.0
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]    Compiling regex v1.12.2
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling language-tags v0.3.2
[INFO] [stderr]    Compiling deadpool-runtime v0.1.4
[INFO] [stderr]    Compiling cipher v0.4.4
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling phf v0.13.1
[INFO] [stderr]    Compiling rust_decimal v1.39.0
[INFO] [stderr]    Compiling arraydeque v0.5.1
[INFO] [stderr]    Compiling impl-more v0.1.9
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling whoami v1.6.1
[INFO] [stderr]    Compiling env_filter v0.1.4
[INFO] [stderr]    Compiling anstream v0.6.21
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling blowfish v0.9.1
[INFO] [stderr]    Compiling convert_case v0.6.0
[INFO] [stderr]    Compiling scoped-futures v0.1.4
[INFO] [stderr]    Compiling jiff v0.2.16
[INFO] [stderr]    Compiling bcrypt v0.15.1
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling ordered-multimap v0.7.3
[INFO] [stderr]    Compiling yaml-rust2 v0.8.1
[INFO] [stderr]    Compiling rust-ini v0.20.0
[INFO] [stderr]    Compiling postgres-protocol v0.6.9
[INFO] [stderr]    Compiling postgres-types v0.2.11
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling diesel_table_macro_syntax v0.2.0
[INFO] [stderr]    Compiling pest_generator v2.8.4
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling derive_more-impl v2.1.0
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling pest_derive v2.8.4
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling zstd v0.13.3
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling env_logger v0.11.8
[INFO] [stderr]    Compiling simple_asn1 v0.6.3
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling dsl_auto_type v0.1.3
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling diesel_derives v2.2.7
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling ron v0.8.1
[INFO] [stderr]    Compiling derive_more v2.1.0
[INFO] [stderr]    Compiling json5 v0.4.1
[INFO] [stderr]    Compiling jsonwebtoken v9.3.1
[INFO] [stderr]    Compiling bigdecimal v0.3.1
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling icu_properties v2.1.2
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stderr]    Compiling config v0.14.1
[INFO] [stderr]    Compiling tokio-util v0.7.17
[INFO] [stderr]    Compiling actix-rt v2.11.0
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling deadpool v0.12.3
[INFO] [stderr]    Compiling deadpool v0.10.0
[INFO] [stderr]    Compiling actix-server v2.6.0
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling actix-codec v0.5.2
[INFO] [stderr]    Compiling tokio-postgres v0.7.15
[INFO] [stderr]    Compiling diesel v2.2.12
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling actix-http v3.11.2
[INFO] [stderr]    Compiling actix-web v4.12.1
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling actix-cors v0.7.1
[INFO] [stderr]    Compiling diesel-async v0.5.2
[INFO] [stderr]    Compiling dodo-payments v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `middleware::*`
[INFO] [stdout]  --> src/auth/mod.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use middleware::*;
[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: `AuthenticatedAccount`
[INFO] [stdout]  --> src/services/webhook_service.rs:4:65
[INFO] [stdout]   |
[INFO] [stdout] 4 |     WebhookPayload, TransactionWebhookData, AccountWebhookData, AuthenticatedAccount
[INFO] [stdout]   |                                                                 ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
[INFO] [stdout]   --> src/services/api_key_service.rs:59:50
[INFO] [stdout]    |
[INFO] [stdout] 59 |             created_at: chrono::DateTime::<Utc>::from_utc(created_key.created_at, chrono::Utc),
[INFO] [stdout]    |                                                  ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
[INFO] [stdout]   --> src/services/api_key_service.rs:60:86
[INFO] [stdout]    |
[INFO] [stdout] 60 |             last_used_at: created_key.last_used_at.map(|dt| chrono::DateTime::<Utc>::from_utc(dt, chrono::Utc)),
[INFO] [stdout]    |                                                                                      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
[INFO] [stdout]   --> src/handlers/api_key_handlers.rs:92:62
[INFO] [stdout]    |
[INFO] [stdout] 92 |                 created_at: chrono::DateTime::<chrono::Utc>::from_utc(api_key.created_at, chrono::Utc),
[INFO] [stdout]    |                                                              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
[INFO] [stdout]   --> src/handlers/api_key_handlers.rs:93:94
[INFO] [stdout]    |
[INFO] [stdout] 93 |                 last_used_at: api_key.last_used_at.map(|dt| chrono::DateTime::<chrono::Utc>::from_utc(dt, chrono::Utc)),
[INFO] [stdout]    |                                                                                              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
[INFO] [stdout]   --> src/models/account.rs:72:42
[INFO] [stdout]    |
[INFO] [stdout] 72 |             created_at: DateTime::<Utc>::from_utc(account.created_at, Utc),
[INFO] [stdout]    |                                          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
[INFO] [stdout]   --> src/models/account.rs:73:42
[INFO] [stdout]    |
[INFO] [stdout] 73 |             updated_at: DateTime::<Utc>::from_utc(account.updated_at, Utc),
[INFO] [stdout]    |                                          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
[INFO] [stdout]   --> src/models/api_key.rs:84:50
[INFO] [stdout]    |
[INFO] [stdout] 84 |             created_at: chrono::DateTime::<Utc>::from_utc(api_key.created_at, Utc),
[INFO] [stdout]    |                                                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
[INFO] [stdout]   --> src/models/api_key.rs:85:82
[INFO] [stdout]    |
[INFO] [stdout] 85 |             last_used_at: api_key.last_used_at.map(|dt| chrono::DateTime::<Utc>::from_utc(dt, Utc)),
[INFO] [stdout]    |                                                                                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pool`
[INFO] [stdout]  --> src/database/migrations.rs:5:29
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub async fn run_migrations(pool: &crate::database::DbPool) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]   |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/auth/middleware.rs:64:20
[INFO] [stdout]    |
[INFO] [stdout] 64 |     fn call(&self, mut req: ServiceRequest) -> Self::Future {
[INFO] [stdout]    |                    ----^^^
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AuthenticatedAccount` is never constructed
[INFO] [stdout]   --> src/models/api_key.rs:99:12
[INFO] [stdout]    |
[INFO] [stdout] 99 | pub struct AuthenticatedAccount {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_str` is never used
[INFO] [stdout]   --> src/models/transaction.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl TransactionType {
[INFO] [stdout]    | -------------------- method in this implementation
[INFO] [stdout] 32 |     pub fn as_str(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_str` is never used
[INFO] [stdout]   --> src/models/transaction.rs:78:12
[INFO] [stdout]    |
[INFO] [stdout] 77 | impl TransactionStatus {
[INFO] [stdout]    | ---------------------- method in this implementation
[INFO] [stdout] 78 |     pub fn as_str(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AccountWebhookData` is never constructed
[INFO] [stdout]    --> src/models/webhook.rs:117:12
[INFO] [stdout]     |
[INFO] [stdout] 117 | pub struct AccountWebhookData {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `SyncDbPool` is never used
[INFO] [stdout]   --> src/database/connection.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub type SyncDbPool = Pool<ConnectionManager<PgConnection>>;
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_sync_connection_pool` is never used
[INFO] [stdout]   --> src/database/connection.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn create_sync_connection_pool() -> Pool<ConnectionManager<PgConnection>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `One` is never constructed
[INFO] [stdout]   --> src/database/connection.rs:43:8
[INFO] [stdout]    |
[INFO] [stdout] 43 | struct One {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_connection` is never used
[INFO] [stdout]   --> src/database/connection.rs:48:14
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub async fn test_connection(pool: &DbPool) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_migrations` is never used
[INFO] [stdout]  --> src/database/migrations.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub async fn run_migrations(pool: &crate::database::DbPool) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]   |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ensure_database_exists` is never used
[INFO] [stdout]   --> src/database/migrations.rs:22:14
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub async fn ensure_database_exists() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ApiKeyAuth` is never constructed
[INFO] [stdout]   --> src/auth/middleware.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct ApiKeyAuth {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/auth/middleware.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl ApiKeyAuth {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 22 |     pub fn new(pool: DbPool) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ApiKeyAuthMiddleware` is never constructed
[INFO] [stdout]   --> src/auth/middleware.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub struct ApiKeyAuthMiddleware<S> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `verify_api_key` is never used
[INFO] [stdout]   --> src/auth/utils.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn verify_api_key(api_key: &str, hash: &str) -> Result<bool, bcrypt::BcryptError> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `verify_signature` is never used
[INFO] [stdout]   --> src/auth/utils.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn verify_signature(payload: &str, signature: &str, secret: &str) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `send_account_webhook` is never used
[INFO] [stdout]    --> src/services/webhook_service.rs:154:12
[INFO] [stdout]     |
[INFO] [stdout]  22 | impl WebhookService {
[INFO] [stdout]     | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 154 |     pub fn send_account_webhook(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 31s
[INFO] running `Command { std: "docker" "inspect" "e416a240e4057ec20808b25b9b81ba60e314a5cd838ab44c6b1bf3466752d137", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e416a240e4057ec20808b25b9b81ba60e314a5cd838ab44c6b1bf3466752d137", kill_on_drop: false }`
[INFO] [stdout] e416a240e4057ec20808b25b9b81ba60e314a5cd838ab44c6b1bf3466752d137
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bec20b9f39a873fab5d182afa0fa2fd7cb84ddf110b3282b11f338280fcf45fb
[INFO] running `Command { std: "docker" "start" "-a" "bec20b9f39a873fab5d182afa0fa2fd7cb84ddf110b3282b11f338280fcf45fb", kill_on_drop: false }`
[INFO] [stderr]    Compiling actix-rt v2.11.0
[INFO] [stderr]    Compiling actix-http v3.11.2
[INFO] [stderr]    Compiling actix-server v2.6.0
[INFO] [stderr]    Compiling actix-web v4.12.1
[INFO] [stderr]    Compiling actix-cors v0.7.1
[INFO] [stderr]    Compiling dodo-payments v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `middleware::*`
[INFO] [stdout]  --> src/auth/mod.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use middleware::*;
[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: `AuthenticatedAccount`
[INFO] [stdout]  --> src/services/webhook_service.rs:4:65
[INFO] [stdout]   |
[INFO] [stdout] 4 |     WebhookPayload, TransactionWebhookData, AccountWebhookData, AuthenticatedAccount
[INFO] [stdout]   |                                                                 ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
[INFO] [stdout]   --> src/services/api_key_service.rs:59:50
[INFO] [stdout]    |
[INFO] [stdout] 59 |             created_at: chrono::DateTime::<Utc>::from_utc(created_key.created_at, chrono::Utc),
[INFO] [stdout]    |                                                  ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
[INFO] [stdout]   --> src/services/api_key_service.rs:60:86
[INFO] [stdout]    |
[INFO] [stdout] 60 |             last_used_at: created_key.last_used_at.map(|dt| chrono::DateTime::<Utc>::from_utc(dt, chrono::Utc)),
[INFO] [stdout]    |                                                                                      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
[INFO] [stdout]   --> src/handlers/api_key_handlers.rs:92:62
[INFO] [stdout]    |
[INFO] [stdout] 92 |                 created_at: chrono::DateTime::<chrono::Utc>::from_utc(api_key.created_at, chrono::Utc),
[INFO] [stdout]    |                                                              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
[INFO] [stdout]   --> src/handlers/api_key_handlers.rs:93:94
[INFO] [stdout]    |
[INFO] [stdout] 93 |                 last_used_at: api_key.last_used_at.map(|dt| chrono::DateTime::<chrono::Utc>::from_utc(dt, chrono::Utc)),
[INFO] [stdout]    |                                                                                              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
[INFO] [stdout]   --> src/models/account.rs:72:42
[INFO] [stdout]    |
[INFO] [stdout] 72 |             created_at: DateTime::<Utc>::from_utc(account.created_at, Utc),
[INFO] [stdout]    |                                          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
[INFO] [stdout]   --> src/models/account.rs:73:42
[INFO] [stdout]    |
[INFO] [stdout] 73 |             updated_at: DateTime::<Utc>::from_utc(account.updated_at, Utc),
[INFO] [stdout]    |                                          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
[INFO] [stdout]   --> src/models/api_key.rs:84:50
[INFO] [stdout]    |
[INFO] [stdout] 84 |             created_at: chrono::DateTime::<Utc>::from_utc(api_key.created_at, Utc),
[INFO] [stdout]    |                                                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
[INFO] [stdout]   --> src/models/api_key.rs:85:82
[INFO] [stdout]    |
[INFO] [stdout] 85 |             last_used_at: api_key.last_used_at.map(|dt| chrono::DateTime::<Utc>::from_utc(dt, Utc)),
[INFO] [stdout]    |                                                                                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pool`
[INFO] [stdout]  --> src/database/migrations.rs:5:29
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub async fn run_migrations(pool: &crate::database::DbPool) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]   |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/auth/middleware.rs:64:20
[INFO] [stdout]    |
[INFO] [stdout] 64 |     fn call(&self, mut req: ServiceRequest) -> Self::Future {
[INFO] [stdout]    |                    ----^^^
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AuthenticatedAccount` is never constructed
[INFO] [stdout]   --> src/models/api_key.rs:99:12
[INFO] [stdout]    |
[INFO] [stdout] 99 | pub struct AuthenticatedAccount {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_str` is never used
[INFO] [stdout]   --> src/models/transaction.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl TransactionType {
[INFO] [stdout]    | -------------------- method in this implementation
[INFO] [stdout] 32 |     pub fn as_str(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_str` is never used
[INFO] [stdout]   --> src/models/transaction.rs:78:12
[INFO] [stdout]    |
[INFO] [stdout] 77 | impl TransactionStatus {
[INFO] [stdout]    | ---------------------- method in this implementation
[INFO] [stdout] 78 |     pub fn as_str(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AccountWebhookData` is never constructed
[INFO] [stdout]    --> src/models/webhook.rs:117:12
[INFO] [stdout]     |
[INFO] [stdout] 117 | pub struct AccountWebhookData {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `SyncDbPool` is never used
[INFO] [stdout]   --> src/database/connection.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub type SyncDbPool = Pool<ConnectionManager<PgConnection>>;
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_sync_connection_pool` is never used
[INFO] [stdout]   --> src/database/connection.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn create_sync_connection_pool() -> Pool<ConnectionManager<PgConnection>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `One` is never constructed
[INFO] [stdout]   --> src/database/connection.rs:43:8
[INFO] [stdout]    |
[INFO] [stdout] 43 | struct One {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_connection` is never used
[INFO] [stdout]   --> src/database/connection.rs:48:14
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub async fn test_connection(pool: &DbPool) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_migrations` is never used
[INFO] [stdout]  --> src/database/migrations.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub async fn run_migrations(pool: &crate::database::DbPool) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]   |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ensure_database_exists` is never used
[INFO] [stdout]   --> src/database/migrations.rs:22:14
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub async fn ensure_database_exists() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ApiKeyAuth` is never constructed
[INFO] [stdout]   --> src/auth/middleware.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct ApiKeyAuth {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/auth/middleware.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl ApiKeyAuth {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 22 |     pub fn new(pool: DbPool) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ApiKeyAuthMiddleware` is never constructed
[INFO] [stdout]   --> src/auth/middleware.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub struct ApiKeyAuthMiddleware<S> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `send_account_webhook` is never used
[INFO] [stdout]    --> src/services/webhook_service.rs:154:12
[INFO] [stdout]     |
[INFO] [stdout]  22 | impl WebhookService {
[INFO] [stdout]     | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 154 |     pub fn send_account_webhook(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 19.05s
[INFO] running `Command { std: "docker" "inspect" "bec20b9f39a873fab5d182afa0fa2fd7cb84ddf110b3282b11f338280fcf45fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bec20b9f39a873fab5d182afa0fa2fd7cb84ddf110b3282b11f338280fcf45fb", kill_on_drop: false }`
[INFO] [stdout] bec20b9f39a873fab5d182afa0fa2fd7cb84ddf110b3282b11f338280fcf45fb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 99e7c45ec82b912e2de2a338cfbf8d7130708edc01e81311b0cbf46937bddc0e
[INFO] running `Command { std: "docker" "start" "-a" "99e7c45ec82b912e2de2a338cfbf8d7130708edc01e81311b0cbf46937bddc0e", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `middleware::*`
[INFO] [stderr]  --> src/auth/mod.rs:4:9
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub use middleware::*;
[INFO] [stderr]   |         ^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `AuthenticatedAccount`
[INFO] [stderr]  --> src/services/webhook_service.rs:4:65
[INFO] [stderr]   |
[INFO] [stderr] 4 |     WebhookPayload, TransactionWebhookData, AccountWebhookData, AuthenticatedAccount
[INFO] [stderr]   |                                                                 ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
[INFO] [stderr]   --> src/services/api_key_service.rs:59:50
[INFO] [stderr]    |
[INFO] [stderr] 59 |             created_at: chrono::DateTime::<Utc>::from_utc(created_key.created_at, chrono::Utc),
[INFO] [stderr]    |                                                  ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
[INFO] [stderr]   --> src/services/api_key_service.rs:60:86
[INFO] [stderr]    |
[INFO] [stderr] 60 |             last_used_at: created_key.last_used_at.map(|dt| chrono::DateTime::<Utc>::from_utc(dt, chrono::Utc)),
[INFO] [stderr]    |                                                                                      ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
[INFO] [stderr]   --> src/handlers/api_key_handlers.rs:92:62
[INFO] [stderr]    |
[INFO] [stderr] 92 |                 created_at: chrono::DateTime::<chrono::Utc>::from_utc(api_key.created_at, chrono::Utc),
[INFO] [stderr]    |                                                              ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
[INFO] [stderr]   --> src/handlers/api_key_handlers.rs:93:94
[INFO] [stderr]    |
[INFO] [stderr] 93 |                 last_used_at: api_key.last_used_at.map(|dt| chrono::DateTime::<chrono::Utc>::from_utc(dt, chrono::Utc)),
[INFO] [stderr]    |                                                                                              ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
[INFO] [stderr]   --> src/models/account.rs:72:42
[INFO] [stderr]    |
[INFO] [stderr] 72 |             created_at: DateTime::<Utc>::from_utc(account.created_at, Utc),
[INFO] [stderr]    |                                          ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
[INFO] [stderr]   --> src/models/account.rs:73:42
[INFO] [stderr]    |
[INFO] [stderr] 73 |             updated_at: DateTime::<Utc>::from_utc(account.updated_at, Utc),
[INFO] [stderr]    |                                          ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
[INFO] [stderr]   --> src/models/api_key.rs:84:50
[INFO] [stderr]    |
[INFO] [stderr] 84 |             created_at: chrono::DateTime::<Utc>::from_utc(api_key.created_at, Utc),
[INFO] [stderr]    |                                                  ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
[INFO] [stderr]   --> src/models/api_key.rs:85:82
[INFO] [stderr]    |
[INFO] [stderr] 85 |             last_used_at: api_key.last_used_at.map(|dt| chrono::DateTime::<Utc>::from_utc(dt, Utc)),
[INFO] [stderr]    |                                                                                  ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `pool`
[INFO] [stderr]  --> src/database/migrations.rs:5:29
[INFO] [stderr]   |
[INFO] [stderr] 5 | pub async fn run_migrations(pool: &crate::database::DbPool) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stderr]   |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/auth/middleware.rs:64:20
[INFO] [stderr]    |
[INFO] [stderr] 64 |     fn call(&self, mut req: ServiceRequest) -> Self::Future {
[INFO] [stderr]    |                    ----^^^
[INFO] [stderr]    |                    |
[INFO] [stderr]    |                    help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: struct `AuthenticatedAccount` is never constructed
[INFO] [stderr]   --> src/models/api_key.rs:99:12
[INFO] [stderr]    |
[INFO] [stderr] 99 | pub struct AuthenticatedAccount {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: method `as_str` is never used
[INFO] [stderr]   --> src/models/transaction.rs:32:12
[INFO] [stderr]    |
[INFO] [stderr] 31 | impl TransactionType {
[INFO] [stderr]    | -------------------- method in this implementation
[INFO] [stderr] 32 |     pub fn as_str(&self) -> &str {
[INFO] [stderr]    |            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `as_str` is never used
[INFO] [stderr]   --> src/models/transaction.rs:78:12
[INFO] [stderr]    |
[INFO] [stderr] 77 | impl TransactionStatus {
[INFO] [stderr]    | ---------------------- method in this implementation
[INFO] [stderr] 78 |     pub fn as_str(&self) -> &str {
[INFO] [stderr]    |            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `AccountWebhookData` is never constructed
[INFO] [stderr]    --> src/models/webhook.rs:117:12
[INFO] [stderr]     |
[INFO] [stderr] 117 | pub struct AccountWebhookData {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: type alias `SyncDbPool` is never used
[INFO] [stderr]   --> src/database/connection.rs:10:10
[INFO] [stderr]    |
[INFO] [stderr] 10 | pub type SyncDbPool = Pool<ConnectionManager<PgConnection>>;
[INFO] [stderr]    |          ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `create_sync_connection_pool` is never used
[INFO] [stderr]   --> src/database/connection.rs:25:8
[INFO] [stderr]    |
[INFO] [stderr] 25 | pub fn create_sync_connection_pool() -> Pool<ConnectionManager<PgConnection>> {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `One` is never constructed
[INFO] [stderr]   --> src/database/connection.rs:43:8
[INFO] [stderr]    |
[INFO] [stderr] 43 | struct One {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `test_connection` is never used
[INFO] [stderr]   --> src/database/connection.rs:48:14
[INFO] [stderr]    |
[INFO] [stderr] 48 | pub async fn test_connection(pool: &DbPool) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `run_migrations` is never used
[INFO] [stderr]  --> src/database/migrations.rs:5:14
[INFO] [stderr]   |
[INFO] [stderr] 5 | pub async fn run_migrations(pool: &crate::database::DbPool) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stderr]   |              ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `ensure_database_exists` is never used
[INFO] [stderr]   --> src/database/migrations.rs:22:14
[INFO] [stderr]    |
[INFO] [stderr] 22 | pub async fn ensure_database_exists() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ApiKeyAuth` is never constructed
[INFO] [stderr]   --> src/auth/middleware.rs:17:12
[INFO] [stderr]    |
[INFO] [stderr] 17 | pub struct ApiKeyAuth {
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/auth/middleware.rs:22:12
[INFO] [stderr]    |
[INFO] [stderr] 21 | impl ApiKeyAuth {
[INFO] [stderr]    | --------------- associated function in this implementation
[INFO] [stderr] 22 |     pub fn new(pool: DbPool) -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ApiKeyAuthMiddleware` is never constructed
[INFO] [stderr]   --> src/auth/middleware.rs:48:12
[INFO] [stderr]    |
[INFO] [stderr] 48 | pub struct ApiKeyAuthMiddleware<S> {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `send_account_webhook` is never used
[INFO] [stderr]    --> src/services/webhook_service.rs:154:12
[INFO] [stderr]     |
[INFO] [stderr]  22 | impl WebhookService {
[INFO] [stderr]     | ------------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 154 |     pub fn send_account_webhook(
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `dodo-payments` (bin "dodo-payments" test) generated 26 warnings (run `cargo fix --bin "dodo-payments" -p dodo-payments --tests` to apply 4 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.44s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/dodo_payments-715ca128800f5f1f)
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test auth::utils::tests::test_api_key_generation ... ok
[INFO] [stdout] test auth::utils::tests::test_webhook_signature ... ok
[INFO] [stdout] test auth::utils::tests::test_api_key_hashing ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.99s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "99e7c45ec82b912e2de2a338cfbf8d7130708edc01e81311b0cbf46937bddc0e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "99e7c45ec82b912e2de2a338cfbf8d7130708edc01e81311b0cbf46937bddc0e", kill_on_drop: false }`
[INFO] [stdout] 99e7c45ec82b912e2de2a338cfbf8d7130708edc01e81311b0cbf46937bddc0e
