[INFO] cloning repository https://github.com/inosion/esrs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/inosion/esrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finosion%2Fesrs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finosion%2Fesrs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] cbc909d47895b6a9ca91731e8f67b537488aac29
[INFO] testing inosion/esrs against 1.54.0 for beta-1.55-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finosion%2Fesrs" "/workspace/builds/worker-116/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-116/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/inosion/esrs on toolchain 1.54.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.54.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/inosion/esrs
[INFO] removed 2 missing examples
[INFO] finished tweaking git repo https://github.com/inosion/esrs
[INFO] tweaked toml for git repo https://github.com/inosion/esrs written to /workspace/builds/worker-116/source/Cargo.toml
[INFO] crate git repo https://github.com/inosion/esrs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.54.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+1.54.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 505f708f6eafe1d740fd638159c8a115a1d3066186794a62140b34c411c6ec1e
[INFO] running `Command { std: "docker" "start" "-a" "505f708f6eafe1d740fd638159c8a115a1d3066186794a62140b34c411c6ec1e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "505f708f6eafe1d740fd638159c8a115a1d3066186794a62140b34c411c6ec1e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "505f708f6eafe1d740fd638159c8a115a1d3066186794a62140b34c411c6ec1e", kill_on_drop: false }`
[INFO] [stdout] 505f708f6eafe1d740fd638159c8a115a1d3066186794a62140b34c411c6ec1e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/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=warn" "-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+1.54.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8d78cb223999be4ad574b51c18ef13d55c4d4884c9c6aa6df25e55f4ac429518
[INFO] running `Command { std: "docker" "start" "-a" "8d78cb223999be4ad574b51c18ef13d55c4d4884c9c6aa6df25e55f4ac429518", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling syn v1.0.67
[INFO] [stderr]    Compiling libc v0.2.86
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling memchr v2.4.0
[INFO] [stderr]    Compiling cc v1.0.67
[INFO] [stderr]    Compiling futures-core v0.3.15
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]    Compiling serde_derive v1.0.124
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling slab v0.4.2
[INFO] [stderr]    Compiling serde v1.0.124
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling proc-macro-hack v0.5.19
[INFO] [stderr]    Compiling proc-macro-nested v0.1.7
[INFO] [stderr]    Compiling openssl v0.10.34
[INFO] [stderr]    Compiling ahash v0.4.7
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling once_cell v1.7.2
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling radium v0.5.3
[INFO] [stderr]    Compiling futures-task v0.3.15
[INFO] [stderr]    Compiling matches v0.1.8
[INFO] [stderr]    Compiling futures-channel v0.3.15
[INFO] [stderr]    Compiling lexical-core v0.7.6
[INFO] [stderr]    Compiling native-tls v0.2.7
[INFO] [stderr]    Compiling getrandom v0.2.2
[INFO] [stderr]    Compiling futures-sink v0.3.15
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling tap v1.0.1
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling funty v1.1.0
[INFO] [stderr]    Compiling ucd-trie v0.1.3
[INFO] [stderr]    Compiling build_const v0.2.2
[INFO] [stderr]    Compiling openssl-probe v0.1.4
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling wyz v0.2.0
[INFO] [stderr]    Compiling bytes v0.5.6
[INFO] [stderr]    Compiling pin-project-lite v0.2.4
[INFO] [stderr]    Compiling futures-io v0.3.15
[INFO] [stderr]    Compiling pin-project-lite v0.1.12
[INFO] [stderr]    Compiling serde_json v1.0.64
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling whoami v1.1.2
[INFO] [stderr]    Compiling smallvec v1.6.1
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling itoa v0.4.7
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling cpufeatures v0.1.4
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling unicode-segmentation v1.7.1
[INFO] [stderr]    Compiling async-trait v0.1.50
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling futures-macro v0.3.15
[INFO] [stderr]    Compiling crossbeam-utils v0.8.4
[INFO] [stderr]    Compiling indexmap v1.6.2
[INFO] [stderr]    Compiling futures-util v0.3.15
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling instant v0.1.9
[INFO] [stderr]    Compiling atoi v0.4.0
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling nom v6.1.2
[INFO] [stderr]    Compiling ahash v0.6.3
[INFO] [stderr]    Compiling pest v2.1.3
[INFO] [stderr]    Compiling unicode-bidi v0.3.5
[INFO] [stderr]    Compiling hashbrown v0.9.1
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling lock_api v0.4.2
[INFO] [stderr]    Compiling tinyvec v1.2.0
[INFO] [stderr]    Compiling heck v0.3.2
[INFO] [stderr]    Compiling openssl-sys v0.9.63
[INFO] [stderr]    Compiling form_urlencoded v1.0.1
[INFO] [stderr]    Compiling crc v1.8.1
[INFO] [stderr]    Compiling hashlink v0.6.0
[INFO] [stderr]    Compiling semver-parser v0.10.2
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling regex v1.5.4
[INFO] [stderr]    Compiling unicode-normalization v0.1.17
[INFO] [stderr]    Compiling net2 v0.2.37
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling signal-hook-registry v1.3.0
[INFO] [stderr]    Compiling parking_lot_core v0.8.3
[INFO] [stderr]    Compiling time v0.1.43
[INFO] [stderr]    Compiling bitvec v0.19.5
[INFO] [stderr]    Compiling parking_lot v0.11.1
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling crossbeam-queue v0.3.1
[INFO] [stderr]    Compiling crossbeam-channel v0.5.1
[INFO] [stderr]    Compiling mio v0.6.23
[INFO] [stderr]    Compiling sha2 v0.9.5
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling stringprep v0.1.2
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling url v2.2.2
[INFO] [stderr]    Compiling sqlformat v0.1.6
[INFO] [stderr]    Compiling tokio-macros v0.2.6
[INFO] [stderr]    Compiling thiserror-impl v1.0.24
[INFO] [stderr]    Compiling tokio v0.2.25
[INFO] [stderr]    Compiling thiserror v1.0.24
[INFO] [stderr]    Compiling futures-executor v0.3.15
[INFO] [stderr]    Compiling futures v0.3.15
[INFO] [stderr]    Compiling tokio-native-tls v0.1.0
[INFO] [stderr]    Compiling sqlx-rt v0.2.0
[INFO] [stderr]    Compiling uuid v0.8.2
[INFO] [stderr]    Compiling semver v0.11.0
[INFO] [stderr]    Compiling cargo-platform v0.1.1
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling sqlx-core v0.4.2
[INFO] [stderr]    Compiling cargo_metadata v0.12.3
[INFO] [stderr]    Compiling sqlx-macros v0.4.2
[INFO] [stderr]    Compiling sqlx v0.4.2
[INFO] [stderr]    Compiling esrs v0.3.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1m 18s
[INFO] running `Command { std: "docker" "inspect" "8d78cb223999be4ad574b51c18ef13d55c4d4884c9c6aa6df25e55f4ac429518", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8d78cb223999be4ad574b51c18ef13d55c4d4884c9c6aa6df25e55f4ac429518", kill_on_drop: false }`
[INFO] [stdout] 8d78cb223999be4ad574b51c18ef13d55c4d4884c9c6aa6df25e55f4ac429518
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/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=warn" "-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+1.54.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 99b24f1ba22c2672582236e84daf2af3176b999744aa1fc45545d5a9edc3fdab
[INFO] running `Command { std: "docker" "start" "-a" "99b24f1ba22c2672582236e84daf2af3176b999744aa1fc45545d5a9edc3fdab", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling esrs v0.3.1 (/opt/rustwide/workdir)
[INFO] [stdout] error: No such file or directory (os error 2)
[INFO] [stdout]   --> tests/postgres_credit_card_test.rs:33:14
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let () = sqlx::migrate!("examples/postgres_payments/migrations")
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::migrate` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `sqlx` in `esrs`
[INFO] [stdout]  --> tests/postgres_credit_card_test.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | use esrs::sqlx::postgres::PgPoolOptions;
[INFO] [stdout]   |           ^^^^ could not find `sqlx` in `esrs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `esrs::sqlx`
[INFO] [stdout]  --> tests/postgres_credit_card_test.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use esrs::sqlx;
[INFO] [stdout]   |     ^^^^^^^^^^ no `sqlx` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `esrs::sqlx`
[INFO] [stdout]  --> tests/postgres_credit_card_test.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | use esrs::sqlx::{Pool, Postgres};
[INFO] [stdout]   |           ^^^^ could not find `sqlx` in `esrs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `postgres_payments`
[INFO] [stdout]  --> tests/postgres_credit_card_test.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use postgres_payments::bank_account::aggregate::BankAccountAggregate;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `postgres_payments`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `postgres_payments`
[INFO] [stdout]  --> tests/postgres_credit_card_test.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use postgres_payments::bank_account::command::BankAccountCommand;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `postgres_payments`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `postgres_payments`
[INFO] [stdout]   --> tests/postgres_credit_card_test.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use postgres_payments::bank_account::error::BankAccountError;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `postgres_payments`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `postgres_payments`
[INFO] [stdout]   --> tests/postgres_credit_card_test.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use postgres_payments::bank_account::event::BankAccountEvent;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `postgres_payments`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `postgres_payments`
[INFO] [stdout]   --> tests/postgres_credit_card_test.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use postgres_payments::bank_account::state::BankAccountState;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `postgres_payments`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `postgres_payments`
[INFO] [stdout]   --> tests/postgres_credit_card_test.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use postgres_payments::bank_account::store::BankAccountStore;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `postgres_payments`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `postgres_payments`
[INFO] [stdout]   --> tests/postgres_credit_card_test.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use postgres_payments::credit_card::aggregate::CreditCardAggregate;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `postgres_payments`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `postgres_payments`
[INFO] [stdout]   --> tests/postgres_credit_card_test.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use postgres_payments::credit_card::command::CreditCardCommand;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `postgres_payments`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `postgres_payments`
[INFO] [stdout]   --> tests/postgres_credit_card_test.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use postgres_payments::credit_card::error::CreditCardError;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `postgres_payments`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `postgres_payments`
[INFO] [stdout]   --> tests/postgres_credit_card_test.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use postgres_payments::credit_card::event::CreditCardEvent;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `postgres_payments`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `postgres_payments`
[INFO] [stdout]   --> tests/postgres_credit_card_test.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use postgres_payments::credit_card::projector::CreditCard;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `postgres_payments`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `postgres_payments`
[INFO] [stdout]   --> tests/postgres_credit_card_test.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use postgres_payments::credit_card::state::CreditCardState;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `postgres_payments`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `postgres_payments`
[INFO] [stdout]   --> tests/postgres_credit_card_test.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use postgres_payments::credit_card::store::CreditCardStore;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `postgres_payments`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `esrs::store::PgStore`
[INFO] [stdout]  --> tests/postgres_credit_card_test.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use esrs::store::PgStore;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^ no `PgStore` in `store`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PgPoolOptions`
[INFO] [stdout]   --> tests/postgres_credit_card_test.rs:28:32
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let pool: Pool<Postgres> = PgPoolOptions::new()
[INFO] [stdout]    |                                ^^^^^^^^^^^^^ use of undeclared type `PgPoolOptions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CreditCardStore`
[INFO] [stdout]   --> tests/postgres_credit_card_test.rs:39:72
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let credit_card_store: PgStore<CreditCardEvent, CreditCardError> = CreditCardStore::new(&pool).await.unwrap();
[INFO] [stdout]    |                                                                        ^^^^^^^^^^^^^^^ use of undeclared type `CreditCardStore`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CreditCardAggregate`
[INFO] [stdout]   --> tests/postgres_credit_card_test.rs:42:54
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let credit_card_aggregate: CreditCardAggregate = CreditCardAggregate::new(credit_card_store);
[INFO] [stdout]    |                                                      ^^^^^^^^^^^^^^^^^^^ use of undeclared type `CreditCardAggregate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BankAccountState`
[INFO] [stdout]   --> tests/postgres_credit_card_test.rs:50:57
[INFO] [stdout]    |
[INFO] [stdout] 50 |         AggregateState::new_with_state(bank_account_id, BankAccountState::default());
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^^^ use of undeclared type `BankAccountState`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BankAccountStore`
[INFO] [stdout]   --> tests/postgres_credit_card_test.rs:51:75
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let bank_account_store: PgStore<BankAccountEvent, BankAccountError> = BankAccountStore::new(&pool).await.unwrap();
[INFO] [stdout]    |                                                                           ^^^^^^^^^^^^^^^^ use of undeclared type `BankAccountStore`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BankAccountAggregate`
[INFO] [stdout]   --> tests/postgres_credit_card_test.rs:52:56
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let bank_account_aggregate: BankAccountAggregate = BankAccountAggregate::new(bank_account_store);
[INFO] [stdout]    |                                                        ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `BankAccountAggregate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BankAccountCommand`
[INFO] [stdout]   --> tests/postgres_credit_card_test.rs:56:45
[INFO] [stdout]    |
[INFO] [stdout] 56 |         .handle_command(bank_account_state, BankAccountCommand::Deposit { amount: 1000 })
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^^^ use of undeclared type `BankAccountCommand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CreditCardCommand`
[INFO] [stdout]   --> tests/postgres_credit_card_test.rs:72:52
[INFO] [stdout]    |
[INFO] [stdout] 72 |         .handle_command(credit_card_state.clone(), CreditCardCommand::Pay { amount: -10 })
[INFO] [stdout]    |                                                    ^^^^^^^^^^^^^^^^^ use of undeclared type `CreditCardCommand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CreditCardError`
[INFO] [stdout]   --> tests/postgres_credit_card_test.rs:77:9
[INFO] [stdout]    |
[INFO] [stdout] 77 |         CreditCardError::NegativeAmount.to_string()
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ use of undeclared type `CreditCardError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CreditCardCommand`
[INFO] [stdout]   --> tests/postgres_credit_card_test.rs:82:52
[INFO] [stdout]    |
[INFO] [stdout] 82 |         .handle_command(credit_card_state.clone(), CreditCardCommand::Refund { amount: -10 })
[INFO] [stdout]    |                                                    ^^^^^^^^^^^^^^^^^ use of undeclared type `CreditCardCommand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CreditCardError`
[INFO] [stdout]   --> tests/postgres_credit_card_test.rs:87:9
[INFO] [stdout]    |
[INFO] [stdout] 87 |         CreditCardError::NegativeAmount.to_string()
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ use of undeclared type `CreditCardError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CreditCardCommand`
[INFO] [stdout]   --> tests/postgres_credit_card_test.rs:92:44
[INFO] [stdout]    |
[INFO] [stdout] 92 |         .handle_command(credit_card_state, CreditCardCommand::Pay { amount: 1000 })
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^^^^^ use of undeclared type `CreditCardCommand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CreditCardCommand`
[INFO] [stdout]    --> tests/postgres_credit_card_test.rs:100:52
[INFO] [stdout]     |
[INFO] [stdout] 100 |         .handle_command(credit_card_state.clone(), CreditCardCommand::Pay { amount: 250 })
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^^^^^^ use of undeclared type `CreditCardCommand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BankAccountError`
[INFO] [stdout]    --> tests/postgres_credit_card_test.rs:106:9
[INFO] [stdout]     |
[INFO] [stdout] 106 |         BankAccountError::NegativeBalance.to_string()
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ use of undeclared type `BankAccountError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BankAccountCommand`
[INFO] [stdout]    --> tests/postgres_credit_card_test.rs:114:45
[INFO] [stdout]     |
[INFO] [stdout] 114 |         .handle_command(bank_account_state, BankAccountCommand::Deposit { amount: 1000 })
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^^^^ use of undeclared type `BankAccountCommand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CreditCardCommand`
[INFO] [stdout]    --> tests/postgres_credit_card_test.rs:122:44
[INFO] [stdout]     |
[INFO] [stdout] 122 |         .handle_command(credit_card_state, CreditCardCommand::Pay { amount: 250 })
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^^^ use of undeclared type `CreditCardCommand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CreditCardCommand`
[INFO] [stdout]    --> tests/postgres_credit_card_test.rs:130:52
[INFO] [stdout]     |
[INFO] [stdout] 130 |         .handle_command(credit_card_state.clone(), CreditCardCommand::Pay { amount: 300 })
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^^^^^^ use of undeclared type `CreditCardCommand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CreditCardError`
[INFO] [stdout]    --> tests/postgres_credit_card_test.rs:135:9
[INFO] [stdout]     |
[INFO] [stdout] 135 |         CreditCardError::PlafondLimitReached.to_string()
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ use of undeclared type `CreditCardError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CreditCardCommand`
[INFO] [stdout]    --> tests/postgres_credit_card_test.rs:140:44
[INFO] [stdout]     |
[INFO] [stdout] 140 |         .handle_command(credit_card_state, CreditCardCommand::Refund { amount: 250 })
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^^^ use of undeclared type `CreditCardCommand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CreditCard`
[INFO] [stdout]    --> tests/postgres_credit_card_test.rs:156:49
[INFO] [stdout]     |
[INFO] [stdout] 156 |     let credit_card_payments: Vec<CreditCard> = CreditCard::by_credit_card_id(bank_account_id, &pool).await.unwrap();
[INFO] [stdout]     |                                                 ^^^^^^^^^^ use of undeclared type `CreditCard`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CreditCardEvent` in this scope
[INFO] [stdout]   --> tests/postgres_credit_card_test.rs:39:36
[INFO] [stdout]    |
[INFO] [stdout] 23 | async fn credit_card_aggregate_and_projector_test() {
[INFO] [stdout]    |                                                  - help: you might be missing a type parameter: `<CreditCardEvent>`
[INFO] [stdout] ...
[INFO] [stdout] 39 |     let credit_card_store: PgStore<CreditCardEvent, CreditCardError> = CreditCardStore::new(&pool).await.unwrap();
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CreditCardError` in this scope
[INFO] [stdout]   --> tests/postgres_credit_card_test.rs:39:53
[INFO] [stdout]    |
[INFO] [stdout] 23 | async fn credit_card_aggregate_and_projector_test() {
[INFO] [stdout]    |                                                  - help: you might be missing a type parameter: `<CreditCardError>`
[INFO] [stdout] ...
[INFO] [stdout] 39 |     let credit_card_store: PgStore<CreditCardEvent, CreditCardError> = CreditCardStore::new(&pool).await.unwrap();
[INFO] [stdout]    |                                                     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CreditCardAggregate` in this scope
[INFO] [stdout]   --> tests/postgres_credit_card_test.rs:42:32
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let credit_card_aggregate: CreditCardAggregate = CreditCardAggregate::new(credit_card_store);
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CreditCardState` in this scope
[INFO] [stdout]   --> tests/postgres_credit_card_test.rs:46:43
[INFO] [stdout]    |
[INFO] [stdout] 23 | async fn credit_card_aggregate_and_projector_test() {
[INFO] [stdout]    |                                                  - help: you might be missing a type parameter: `<CreditCardState>`
[INFO] [stdout] ...
[INFO] [stdout] 46 |     let credit_card_state: AggregateState<CreditCardState> = AggregateState::new(bank_account_id);
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BankAccountState` in this scope
[INFO] [stdout]   --> tests/postgres_credit_card_test.rs:49:44
[INFO] [stdout]    |
[INFO] [stdout] 23 | async fn credit_card_aggregate_and_projector_test() {
[INFO] [stdout]    |                                                  - help: you might be missing a type parameter: `<BankAccountState>`
[INFO] [stdout] ...
[INFO] [stdout] 49 |     let bank_account_state: AggregateState<BankAccountState> =
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BankAccountEvent` in this scope
[INFO] [stdout]   --> tests/postgres_credit_card_test.rs:51:37
[INFO] [stdout]    |
[INFO] [stdout] 23 | async fn credit_card_aggregate_and_projector_test() {
[INFO] [stdout]    |                                                  - help: you might be missing a type parameter: `<BankAccountEvent>`
[INFO] [stdout] ...
[INFO] [stdout] 51 |     let bank_account_store: PgStore<BankAccountEvent, BankAccountError> = BankAccountStore::new(&pool).await.unwrap();
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BankAccountError` in this scope
[INFO] [stdout]   --> tests/postgres_credit_card_test.rs:51:55
[INFO] [stdout]    |
[INFO] [stdout] 23 | async fn credit_card_aggregate_and_projector_test() {
[INFO] [stdout]    |                                                  - help: you might be missing a type parameter: `<BankAccountError>`
[INFO] [stdout] ...
[INFO] [stdout] 51 |     let bank_account_store: PgStore<BankAccountEvent, BankAccountError> = BankAccountStore::new(&pool).await.unwrap();
[INFO] [stdout]    |                                                       ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BankAccountAggregate` in this scope
[INFO] [stdout]   --> tests/postgres_credit_card_test.rs:52:33
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let bank_account_aggregate: BankAccountAggregate = BankAccountAggregate::new(bank_account_store);
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BankAccountState` in this scope
[INFO] [stdout]   --> tests/postgres_credit_card_test.rs:55:44
[INFO] [stdout]    |
[INFO] [stdout] 23 | async fn credit_card_aggregate_and_projector_test() {
[INFO] [stdout]    |                                                  - help: you might be missing a type parameter: `<BankAccountState>`
[INFO] [stdout] ...
[INFO] [stdout] 55 |     let bank_account_state: AggregateState<BankAccountState> = bank_account_aggregate
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CreditCardState` in this scope
[INFO] [stdout]   --> tests/postgres_credit_card_test.rs:91:43
[INFO] [stdout]    |
[INFO] [stdout] 23 | async fn credit_card_aggregate_and_projector_test() {
[INFO] [stdout]    |                                                  - help: you might be missing a type parameter: `<CreditCardState>`
[INFO] [stdout] ...
[INFO] [stdout] 91 |     let credit_card_state: AggregateState<CreditCardState> = credit_card_aggregate
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BankAccountState` in this scope
[INFO] [stdout]    --> tests/postgres_credit_card_test.rs:110:44
[INFO] [stdout]     |
[INFO] [stdout] 23  | async fn credit_card_aggregate_and_projector_test() {
[INFO] [stdout]     |                                                  - help: you might be missing a type parameter: `<BankAccountState>`
[INFO] [stdout] ...
[INFO] [stdout] 110 |     let bank_account_state: AggregateState<BankAccountState> =
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BankAccountState` in this scope
[INFO] [stdout]    --> tests/postgres_credit_card_test.rs:113:45
[INFO] [stdout]     |
[INFO] [stdout] 23  | async fn credit_card_aggregate_and_projector_test() {
[INFO] [stdout]     |                                                  - help: you might be missing a type parameter: `<BankAccountState>`
[INFO] [stdout] ...
[INFO] [stdout] 113 |     let _bank_account_state: AggregateState<BankAccountState> = bank_account_aggregate
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CreditCardState` in this scope
[INFO] [stdout]    --> tests/postgres_credit_card_test.rs:119:43
[INFO] [stdout]     |
[INFO] [stdout] 23  | async fn credit_card_aggregate_and_projector_test() {
[INFO] [stdout]     |                                                  - help: you might be missing a type parameter: `<CreditCardState>`
[INFO] [stdout] ...
[INFO] [stdout] 119 |     let credit_card_state: AggregateState<CreditCardState> =
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CreditCardState` in this scope
[INFO] [stdout]    --> tests/postgres_credit_card_test.rs:121:43
[INFO] [stdout]     |
[INFO] [stdout] 23  | async fn credit_card_aggregate_and_projector_test() {
[INFO] [stdout]     |                                                  - help: you might be missing a type parameter: `<CreditCardState>`
[INFO] [stdout] ...
[INFO] [stdout] 121 |     let credit_card_state: AggregateState<CreditCardState> = credit_card_aggregate
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CreditCardState` in this scope
[INFO] [stdout]    --> tests/postgres_credit_card_test.rs:139:43
[INFO] [stdout]     |
[INFO] [stdout] 23  | async fn credit_card_aggregate_and_projector_test() {
[INFO] [stdout]     |                                                  - help: you might be missing a type parameter: `<CreditCardState>`
[INFO] [stdout] ...
[INFO] [stdout] 139 |     let credit_card_state: AggregateState<CreditCardState> = credit_card_aggregate
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CreditCard` in this scope
[INFO] [stdout]    --> tests/postgres_credit_card_test.rs:156:35
[INFO] [stdout]     |
[INFO] [stdout] 23  | async fn credit_card_aggregate_and_projector_test() {
[INFO] [stdout]     |                                                  - help: you might be missing a type parameter: `<CreditCard>`
[INFO] [stdout] ...
[INFO] [stdout] 156 |     let credit_card_payments: Vec<CreditCard> = CreditCard::by_credit_card_id(bank_account_id, &pool).await.unwrap();
[INFO] [stdout]     |                                   ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: No such file or directory (os error 2)
[INFO] [stdout]   --> tests/sqlite_credit_card_test.rs:31:14
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let () = sqlx::migrate!("examples/sqlite_payments/migrations")
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::migrate` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `esrs::sqlx`
[INFO] [stdout]  --> tests/sqlite_credit_card_test.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use esrs::sqlx;
[INFO] [stdout]   |     ^^^^^^^^^^ no `sqlx` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `esrs::sqlx`
[INFO] [stdout]  --> tests/sqlite_credit_card_test.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | use esrs::sqlx::{Pool, Sqlite};
[INFO] [stdout]   |           ^^^^ could not find `sqlx` in `esrs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sqlite_payments`
[INFO] [stdout]  --> tests/sqlite_credit_card_test.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use sqlite_payments::bank_account::aggregate::BankAccountAggregate;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^ use of undeclared crate or module `sqlite_payments`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sqlite_payments`
[INFO] [stdout]  --> tests/sqlite_credit_card_test.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use sqlite_payments::bank_account::command::BankAccountCommand;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^ use of undeclared crate or module `sqlite_payments`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sqlite_payments`
[INFO] [stdout]   --> tests/sqlite_credit_card_test.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use sqlite_payments::bank_account::error::BankAccountError;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^ use of undeclared crate or module `sqlite_payments`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sqlite_payments`
[INFO] [stdout]   --> tests/sqlite_credit_card_test.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use sqlite_payments::bank_account::event::BankAccountEvent;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^ use of undeclared crate or module `sqlite_payments`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sqlite_payments`
[INFO] [stdout]   --> tests/sqlite_credit_card_test.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use sqlite_payments::bank_account::state::BankAccountState;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^ use of undeclared crate or module `sqlite_payments`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sqlite_payments`
[INFO] [stdout]   --> tests/sqlite_credit_card_test.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use sqlite_payments::bank_account::store::BankAccountStore;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^ use of undeclared crate or module `sqlite_payments`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sqlite_payments`
[INFO] [stdout]   --> tests/sqlite_credit_card_test.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use sqlite_payments::credit_card::aggregate::CreditCardAggregate;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^ use of undeclared crate or module `sqlite_payments`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sqlite_payments`
[INFO] [stdout]   --> tests/sqlite_credit_card_test.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use sqlite_payments::credit_card::command::CreditCardCommand;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^ use of undeclared crate or module `sqlite_payments`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sqlite_payments`
[INFO] [stdout]   --> tests/sqlite_credit_card_test.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use sqlite_payments::credit_card::error::CreditCardError;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^ use of undeclared crate or module `sqlite_payments`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sqlite_payments`
[INFO] [stdout]   --> tests/sqlite_credit_card_test.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use sqlite_payments::credit_card::event::CreditCardEvent;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^ use of undeclared crate or module `sqlite_payments`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sqlite_payments`
[INFO] [stdout]   --> tests/sqlite_credit_card_test.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use sqlite_payments::credit_card::projector::CreditCard;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^ use of undeclared crate or module `sqlite_payments`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sqlite_payments`
[INFO] [stdout]   --> tests/sqlite_credit_card_test.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use sqlite_payments::credit_card::state::CreditCardState;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^ use of undeclared crate or module `sqlite_payments`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sqlite_payments`
[INFO] [stdout]   --> tests/sqlite_credit_card_test.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use sqlite_payments::credit_card::store::CreditCardStore;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^ use of undeclared crate or module `sqlite_payments`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `esrs::store::SqliteStore`
[INFO] [stdout]  --> tests/sqlite_credit_card_test.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use esrs::store::SqliteStore;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^ no `SqliteStore` in `store`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SqlitePoolOptions`
[INFO] [stdout]   --> tests/sqlite_credit_card_test.rs:26:30
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let pool: Pool<Sqlite> = SqlitePoolOptions::new()
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^ use of undeclared type `SqlitePoolOptions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CreditCardStore`
[INFO] [stdout]   --> tests/sqlite_credit_card_test.rs:37:76
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let credit_card_store: SqliteStore<CreditCardEvent, CreditCardError> = CreditCardStore::new(&pool).await.unwrap();
[INFO] [stdout]    |                                                                            ^^^^^^^^^^^^^^^ use of undeclared type `CreditCardStore`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CreditCardAggregate`
[INFO] [stdout]   --> tests/sqlite_credit_card_test.rs:40:54
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let credit_card_aggregate: CreditCardAggregate = CreditCardAggregate::new(credit_card_store);
[INFO] [stdout]    |                                                      ^^^^^^^^^^^^^^^^^^^ use of undeclared type `CreditCardAggregate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BankAccountState`
[INFO] [stdout]   --> tests/sqlite_credit_card_test.rs:48:57
[INFO] [stdout]    |
[INFO] [stdout] 48 |         AggregateState::new_with_state(bank_account_id, BankAccountState::default());
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^^^ use of undeclared type `BankAccountState`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BankAccountStore`
[INFO] [stdout]   --> tests/sqlite_credit_card_test.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |         BankAccountStore::new(&pool).await.unwrap();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ use of undeclared type `BankAccountStore`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BankAccountAggregate`
[INFO] [stdout]   --> tests/sqlite_credit_card_test.rs:51:56
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let bank_account_aggregate: BankAccountAggregate = BankAccountAggregate::new(bank_account_store);
[INFO] [stdout]    |                                                        ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `BankAccountAggregate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BankAccountCommand`
[INFO] [stdout]   --> tests/sqlite_credit_card_test.rs:55:45
[INFO] [stdout]    |
[INFO] [stdout] 55 |         .handle_command(bank_account_state, BankAccountCommand::Deposit { amount: 1000 })
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^^^ use of undeclared type `BankAccountCommand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CreditCardCommand`
[INFO] [stdout]   --> tests/sqlite_credit_card_test.rs:71:52
[INFO] [stdout]    |
[INFO] [stdout] 71 |         .handle_command(credit_card_state.clone(), CreditCardCommand::Pay { amount: -10 })
[INFO] [stdout]    |                                                    ^^^^^^^^^^^^^^^^^ use of undeclared type `CreditCardCommand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CreditCardError`
[INFO] [stdout]   --> tests/sqlite_credit_card_test.rs:76:9
[INFO] [stdout]    |
[INFO] [stdout] 76 |         CreditCardError::NegativeAmount.to_string()
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ use of undeclared type `CreditCardError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CreditCardCommand`
[INFO] [stdout]   --> tests/sqlite_credit_card_test.rs:81:52
[INFO] [stdout]    |
[INFO] [stdout] 81 |         .handle_command(credit_card_state.clone(), CreditCardCommand::Refund { amount: -10 })
[INFO] [stdout]    |                                                    ^^^^^^^^^^^^^^^^^ use of undeclared type `CreditCardCommand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CreditCardError`
[INFO] [stdout]   --> tests/sqlite_credit_card_test.rs:86:9
[INFO] [stdout]    |
[INFO] [stdout] 86 |         CreditCardError::NegativeAmount.to_string()
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ use of undeclared type `CreditCardError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CreditCardCommand`
[INFO] [stdout]   --> tests/sqlite_credit_card_test.rs:91:44
[INFO] [stdout]    |
[INFO] [stdout] 91 |         .handle_command(credit_card_state, CreditCardCommand::Pay { amount: 1000 })
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^^^^^ use of undeclared type `CreditCardCommand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CreditCardCommand`
[INFO] [stdout]   --> tests/sqlite_credit_card_test.rs:99:52
[INFO] [stdout]    |
[INFO] [stdout] 99 |         .handle_command(credit_card_state.clone(), CreditCardCommand::Pay { amount: 250 })
[INFO] [stdout]    |                                                    ^^^^^^^^^^^^^^^^^ use of undeclared type `CreditCardCommand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BankAccountError`
[INFO] [stdout]    --> tests/sqlite_credit_card_test.rs:105:9
[INFO] [stdout]     |
[INFO] [stdout] 105 |         BankAccountError::NegativeBalance.to_string()
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ use of undeclared type `BankAccountError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BankAccountCommand`
[INFO] [stdout]    --> tests/sqlite_credit_card_test.rs:113:45
[INFO] [stdout]     |
[INFO] [stdout] 113 |         .handle_command(bank_account_state, BankAccountCommand::Deposit { amount: 1000 })
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^^^^ use of undeclared type `BankAccountCommand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CreditCardCommand`
[INFO] [stdout]    --> tests/sqlite_credit_card_test.rs:121:44
[INFO] [stdout]     |
[INFO] [stdout] 121 |         .handle_command(credit_card_state, CreditCardCommand::Pay { amount: 250 })
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^^^ use of undeclared type `CreditCardCommand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CreditCardCommand`
[INFO] [stdout]    --> tests/sqlite_credit_card_test.rs:129:52
[INFO] [stdout]     |
[INFO] [stdout] 129 |         .handle_command(credit_card_state.clone(), CreditCardCommand::Pay { amount: 300 })
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^^^^^^ use of undeclared type `CreditCardCommand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CreditCardError`
[INFO] [stdout]    --> tests/sqlite_credit_card_test.rs:134:9
[INFO] [stdout]     |
[INFO] [stdout] 134 |         CreditCardError::PlafondLimitReached.to_string()
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ use of undeclared type `CreditCardError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CreditCardCommand`
[INFO] [stdout]    --> tests/sqlite_credit_card_test.rs:139:44
[INFO] [stdout]     |
[INFO] [stdout] 139 |         .handle_command(credit_card_state, CreditCardCommand::Refund { amount: 250 })
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^^^ use of undeclared type `CreditCardCommand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CreditCard`
[INFO] [stdout]    --> tests/sqlite_credit_card_test.rs:155:49
[INFO] [stdout]     |
[INFO] [stdout] 155 |     let credit_card_payments: Vec<CreditCard> = CreditCard::by_credit_card_id(bank_account_id, &pool).await.unwrap();
[INFO] [stdout]     |                                                 ^^^^^^^^^^ use of undeclared type `CreditCard`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CreditCardEvent` in this scope
[INFO] [stdout]   --> tests/sqlite_credit_card_test.rs:37:40
[INFO] [stdout]    |
[INFO] [stdout] 23 | async fn credit_card_aggregate_and_projector_test() {
[INFO] [stdout]    |                                                  - help: you might be missing a type parameter: `<CreditCardEvent>`
[INFO] [stdout] ...
[INFO] [stdout] 37 |     let credit_card_store: SqliteStore<CreditCardEvent, CreditCardError> = CreditCardStore::new(&pool).await.unwrap();
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CreditCardError` in this scope
[INFO] [stdout]   --> tests/sqlite_credit_card_test.rs:37:57
[INFO] [stdout]    |
[INFO] [stdout] 23 | async fn credit_card_aggregate_and_projector_test() {
[INFO] [stdout]    |                                                  - help: you might be missing a type parameter: `<CreditCardError>`
[INFO] [stdout] ...
[INFO] [stdout] 37 |     let credit_card_store: SqliteStore<CreditCardEvent, CreditCardError> = CreditCardStore::new(&pool).await.unwrap();
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CreditCardAggregate` in this scope
[INFO] [stdout]   --> tests/sqlite_credit_card_test.rs:40:32
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let credit_card_aggregate: CreditCardAggregate = CreditCardAggregate::new(credit_card_store);
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CreditCardState` in this scope
[INFO] [stdout]   --> tests/sqlite_credit_card_test.rs:44:43
[INFO] [stdout]    |
[INFO] [stdout] 23 | async fn credit_card_aggregate_and_projector_test() {
[INFO] [stdout]    |                                                  - help: you might be missing a type parameter: `<CreditCardState>`
[INFO] [stdout] ...
[INFO] [stdout] 44 |     let credit_card_state: AggregateState<CreditCardState> = AggregateState::new(bank_account_id);
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BankAccountState` in this scope
[INFO] [stdout]   --> tests/sqlite_credit_card_test.rs:47:44
[INFO] [stdout]    |
[INFO] [stdout] 23 | async fn credit_card_aggregate_and_projector_test() {
[INFO] [stdout]    |                                                  - help: you might be missing a type parameter: `<BankAccountState>`
[INFO] [stdout] ...
[INFO] [stdout] 47 |     let bank_account_state: AggregateState<BankAccountState> =
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BankAccountEvent` in this scope
[INFO] [stdout]   --> tests/sqlite_credit_card_test.rs:49:41
[INFO] [stdout]    |
[INFO] [stdout] 23 | async fn credit_card_aggregate_and_projector_test() {
[INFO] [stdout]    |                                                  - help: you might be missing a type parameter: `<BankAccountEvent>`
[INFO] [stdout] ...
[INFO] [stdout] 49 |     let bank_account_store: SqliteStore<BankAccountEvent, BankAccountError> =
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BankAccountError` in this scope
[INFO] [stdout]   --> tests/sqlite_credit_card_test.rs:49:59
[INFO] [stdout]    |
[INFO] [stdout] 23 | async fn credit_card_aggregate_and_projector_test() {
[INFO] [stdout]    |                                                  - help: you might be missing a type parameter: `<BankAccountError>`
[INFO] [stdout] ...
[INFO] [stdout] 49 |     let bank_account_store: SqliteStore<BankAccountEvent, BankAccountError> =
[INFO] [stdout]    |                                                           ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BankAccountAggregate` in this scope
[INFO] [stdout]   --> tests/sqlite_credit_card_test.rs:51:33
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let bank_account_aggregate: BankAccountAggregate = BankAccountAggregate::new(bank_account_store);
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BankAccountState` in this scope
[INFO] [stdout]   --> tests/sqlite_credit_card_test.rs:54:44
[INFO] [stdout]    |
[INFO] [stdout] 23 | async fn credit_card_aggregate_and_projector_test() {
[INFO] [stdout]    |                                                  - help: you might be missing a type parameter: `<BankAccountState>`
[INFO] [stdout] ...
[INFO] [stdout] 54 |     let bank_account_state: AggregateState<BankAccountState> = bank_account_aggregate
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CreditCardState` in this scope
[INFO] [stdout]   --> tests/sqlite_credit_card_test.rs:90:43
[INFO] [stdout]    |
[INFO] [stdout] 23 | async fn credit_card_aggregate_and_projector_test() {
[INFO] [stdout]    |                                                  - help: you might be missing a type parameter: `<CreditCardState>`
[INFO] [stdout] ...
[INFO] [stdout] 90 |     let credit_card_state: AggregateState<CreditCardState> = credit_card_aggregate
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BankAccountState` in this scope
[INFO] [stdout]    --> tests/sqlite_credit_card_test.rs:109:44
[INFO] [stdout]     |
[INFO] [stdout] 23  | async fn credit_card_aggregate_and_projector_test() {
[INFO] [stdout]     |                                                  - help: you might be missing a type parameter: `<BankAccountState>`
[INFO] [stdout] ...
[INFO] [stdout] 109 |     let bank_account_state: AggregateState<BankAccountState> =
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BankAccountState` in this scope
[INFO] [stdout]    --> tests/sqlite_credit_card_test.rs:112:45
[INFO] [stdout]     |
[INFO] [stdout] 23  | async fn credit_card_aggregate_and_projector_test() {
[INFO] [stdout]     |                                                  - help: you might be missing a type parameter: `<BankAccountState>`
[INFO] [stdout] ...
[INFO] [stdout] 112 |     let _bank_account_state: AggregateState<BankAccountState> = bank_account_aggregate
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CreditCardState` in this scope
[INFO] [stdout]    --> tests/sqlite_credit_card_test.rs:118:43
[INFO] [stdout]     |
[INFO] [stdout] 23  | async fn credit_card_aggregate_and_projector_test() {
[INFO] [stdout]     |                                                  - help: you might be missing a type parameter: `<CreditCardState>`
[INFO] [stdout] ...
[INFO] [stdout] 118 |     let credit_card_state: AggregateState<CreditCardState> =
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CreditCardState` in this scope
[INFO] [stdout]    --> tests/sqlite_credit_card_test.rs:120:43
[INFO] [stdout]     |
[INFO] [stdout] 23  | async fn credit_card_aggregate_and_projector_test() {
[INFO] [stdout]     |                                                  - help: you might be missing a type parameter: `<CreditCardState>`
[INFO] [stdout] ...
[INFO] [stdout] 120 |     let credit_card_state: AggregateState<CreditCardState> = credit_card_aggregate
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CreditCardState` in this scope
[INFO] [stdout]    --> tests/sqlite_credit_card_test.rs:138:43
[INFO] [stdout]     |
[INFO] [stdout] 23  | async fn credit_card_aggregate_and_projector_test() {
[INFO] [stdout]     |                                                  - help: you might be missing a type parameter: `<CreditCardState>`
[INFO] [stdout] ...
[INFO] [stdout] 138 |     let credit_card_state: AggregateState<CreditCardState> = credit_card_aggregate
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CreditCard` in this scope
[INFO] [stdout]    --> tests/sqlite_credit_card_test.rs:155:35
[INFO] [stdout]     |
[INFO] [stdout] 23  | async fn credit_card_aggregate_and_projector_test() {
[INFO] [stdout]     |                                                  - help: you might be missing a type parameter: `<CreditCard>`
[INFO] [stdout] ...
[INFO] [stdout] 155 |     let credit_card_payments: Vec<CreditCard> = CreditCard::by_credit_card_id(bank_account_id, &pool).await.unwrap();
[INFO] [stdout]     |                                   ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `sqlx` is ambiguous (name vs any other name during import resolution)
[INFO] [stdout]  --> tests/sqlite_credit_card_test.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use sqlx::sqlite::SqlitePoolOptions;
[INFO] [stdout]   |     ^^^^ ambiguous name
[INFO] [stdout]   |
[INFO] [stdout]   = note: `sqlx` could refer to a crate passed with `--extern`
[INFO] [stdout]   = help: use `::sqlx` to refer to this crate unambiguously
[INFO] [stdout] note: `sqlx` could also refer to the unresolved item imported here
[INFO] [stdout]  --> tests/sqlite_credit_card_test.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use esrs::sqlx;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   = help: use `crate::sqlx` to refer to this unresolved item unambiguously
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Aggregate`
[INFO] [stdout]  --> tests/postgres_credit_card_test.rs:3:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | use esrs::aggregate::{Aggregate, AggregateState};
[INFO] [stdout]   |                       ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 54 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `esrs`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused import: `Aggregate`
[INFO] [stdout]  --> tests/sqlite_credit_card_test.rs:4:23
[INFO] [stdout]   |
[INFO] [stdout] 4 | use esrs::aggregate::{Aggregate, AggregateState};
[INFO] [stdout]   |                       ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 54 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0659.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "99b24f1ba22c2672582236e84daf2af3176b999744aa1fc45545d5a9edc3fdab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "99b24f1ba22c2672582236e84daf2af3176b999744aa1fc45545d5a9edc3fdab", kill_on_drop: false }`
[INFO] [stdout] 99b24f1ba22c2672582236e84daf2af3176b999744aa1fc45545d5a9edc3fdab
