[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.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finosion%2Fesrs" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/inosion/esrs on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.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-10/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.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.124 [INFO] [stderr] Downloaded openssl-sys v0.9.63 [INFO] [stderr] Downloaded crossbeam-utils v0.8.4 [INFO] [stderr] Downloaded openssl v0.10.34 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.74 [INFO] [stderr] Downloaded sqlformat v0.1.6 [INFO] [stderr] Downloaded sha-1 v0.9.6 [INFO] [stderr] Downloaded cargo-platform v0.1.1 [INFO] [stderr] Downloaded cargo_metadata v0.12.3 [INFO] [stderr] Downloaded ahash v0.6.3 [INFO] [stderr] Downloaded cpufeatures v0.1.4 [INFO] [stderr] Downloaded js-sys v0.3.51 [INFO] [stderr] Downloaded mio-named-pipes v0.1.7 [INFO] [stderr] Downloaded security-framework-sys v2.2.0 [INFO] [stderr] Downloaded web-sys v0.3.51 [INFO] [stderr] Downloaded sqlx-rt v0.2.0 [INFO] [stderr] Downloaded wasm-bindgen v0.2.74 [INFO] [stderr] Downloaded syn v1.0.67 [INFO] [stderr] Downloaded sqlx-macros v0.4.2 [INFO] [stderr] Downloaded sqlx-core v0.4.2 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.74 [INFO] [stderr] Downloaded libsqlite3-sys v0.20.1 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.74 [INFO] [stderr] Downloaded crossbeam-queue v0.3.1 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.74 [INFO] [stderr] Downloaded sqlx v0.4.2 [INFO] [stderr] Downloaded whoami v1.1.2 [INFO] [stderr] Downloaded security-framework v2.2.0 [INFO] [stderr] Downloaded tokio-native-tls v0.1.0 [INFO] [stderr] Downloaded hashlink v0.6.0 [INFO] [stderr] Downloaded crypto-mac v0.10.0 [INFO] [stderr] Downloaded serde v1.0.124 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a56b5428d3cccf81c1084de728511551037c8b45ec246d2a217233edbeaedf76 [INFO] running `Command { std: "docker" "start" "-a" "a56b5428d3cccf81c1084de728511551037c8b45ec246d2a217233edbeaedf76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a56b5428d3cccf81c1084de728511551037c8b45ec246d2a217233edbeaedf76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a56b5428d3cccf81c1084de728511551037c8b45ec246d2a217233edbeaedf76", kill_on_drop: false }` [INFO] [stdout] a56b5428d3cccf81c1084de728511551037c8b45ec246d2a217233edbeaedf76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6a5923c28e46373a6b258d15dee37d5bfcbbe321596639457b922c387c13bc63 [INFO] running `Command { std: "docker" "start" "-a" "6a5923c28e46373a6b258d15dee37d5bfcbbe321596639457b922c387c13bc63", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling syn v1.0.67 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling openssl v0.10.34 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling whoami v1.1.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling openssl-sys v0.9.63 [INFO] [stderr] Compiling hashlink v0.6.0 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling native-tls v0.2.7 [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 getrandom v0.2.2 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.1 [INFO] [stderr] Compiling ahash v0.6.3 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling sqlformat v0.1.6 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling futures-util v0.3.15 [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 cargo-platform v0.1.1 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling cargo_metadata v0.12.3 [INFO] [stderr] Compiling sqlx-core v0.4.2 [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 48s [INFO] running `Command { std: "docker" "inspect" "6a5923c28e46373a6b258d15dee37d5bfcbbe321596639457b922c387c13bc63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a5923c28e46373a6b258d15dee37d5bfcbbe321596639457b922c387c13bc63", kill_on_drop: false }` [INFO] [stdout] 6a5923c28e46373a6b258d15dee37d5bfcbbe321596639457b922c387c13bc63 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 620da619b4e8bfff987af739665f1cfb9c417a107b9a77baecfdef874f7323c9 [INFO] running `Command { std: "docker" "start" "-a" "620da619b4e8bfff987af739665f1cfb9c417a107b9a77baecfdef874f7323c9", kill_on_drop: false }` [INFO] [stderr] Compiling esrs v0.3.1 (/opt/rustwide/workdir) [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: 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 `SqlitePoolOptions` [INFO] [stdout] --> tests/sqlite_credit_card_test.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | let pool: Pool = 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 = 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 `PgPoolOptions` [INFO] [stdout] --> tests/postgres_credit_card_test.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | let pool: Pool = 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 = 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 `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 `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 `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 `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 `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 `BankAccountStore` [INFO] [stdout] --> tests/postgres_credit_card_test.rs:51:75 [INFO] [stdout] | [INFO] [stdout] 51 | let bank_account_store: PgStore = 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 `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 `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 `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 `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/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 `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 `CreditCard` [INFO] [stdout] --> tests/sqlite_credit_card_test.rs:155:49 [INFO] [stdout] | [INFO] [stdout] 155 | let credit_card_payments: Vec = 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[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[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: `` [INFO] [stdout] ... [INFO] [stdout] 37 | let credit_card_store: SqliteStore = 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: `` [INFO] [stdout] ... [INFO] [stdout] 37 | let credit_card_store: SqliteStore = 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: `` [INFO] [stdout] ... [INFO] [stdout] 44 | let credit_card_state: AggregateState = 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: `` [INFO] [stdout] ... [INFO] [stdout] 47 | let bank_account_state: AggregateState = [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: `` [INFO] [stdout] ... [INFO] [stdout] 49 | let bank_account_store: SqliteStore = [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: `` [INFO] [stdout] ... [INFO] [stdout] 49 | let bank_account_store: SqliteStore = [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: `` [INFO] [stdout] ... [INFO] [stdout] 54 | let bank_account_state: AggregateState = bank_account_aggregate [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [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[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: `` [INFO] [stdout] ... [INFO] [stdout] 90 | let credit_card_state: AggregateState = 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: `` [INFO] [stdout] ... [INFO] [stdout] 109 | let bank_account_state: AggregateState = [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [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[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: `` [INFO] [stdout] ... [INFO] [stdout] 112 | let _bank_account_state: AggregateState = bank_account_aggregate [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [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::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 `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: `` [INFO] [stdout] ... [INFO] [stdout] 118 | let credit_card_state: AggregateState = [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [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: `` [INFO] [stdout] ... [INFO] [stdout] 39 | let credit_card_store: PgStore = 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: `` [INFO] [stdout] ... [INFO] [stdout] 39 | let credit_card_store: PgStore = CreditCardStore::new(&pool).await.unwrap(); [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: `` [INFO] [stdout] ... [INFO] [stdout] 120 | let credit_card_state: AggregateState = credit_card_aggregate [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: `` [INFO] [stdout] ... [INFO] [stdout] 46 | let credit_card_state: AggregateState = AggregateState::new(bank_account_id); [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: `` [INFO] [stdout] ... [INFO] [stdout] 138 | let credit_card_state: AggregateState = 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: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: `` [INFO] [stdout] ... [INFO] [stdout] 49 | let bank_account_state: AggregateState = [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: `` [INFO] [stdout] ... [INFO] [stdout] 155 | let credit_card_payments: Vec = 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[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: `` [INFO] [stdout] ... [INFO] [stdout] 51 | let bank_account_store: PgStore = 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: `` [INFO] [stdout] ... [INFO] [stdout] 51 | let bank_account_store: PgStore = 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[E0659]: `sqlx` is ambiguous [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: ambiguous because of multiple potential import sources [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] 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: `` [INFO] [stdout] ... [INFO] [stdout] 55 | let bank_account_state: AggregateState = 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: `` [INFO] [stdout] ... [INFO] [stdout] 91 | let credit_card_state: AggregateState = 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: `` [INFO] [stdout] ... [INFO] [stdout] 110 | let bank_account_state: AggregateState = [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: `` [INFO] [stdout] ... [INFO] [stdout] 113 | let _bank_account_state: AggregateState = 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: `` [INFO] [stdout] ... [INFO] [stdout] 119 | let credit_card_state: AggregateState = [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: `` [INFO] [stdout] ... [INFO] [stdout] 121 | let credit_card_state: AggregateState = 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: `` [INFO] [stdout] ... [INFO] [stdout] 139 | let credit_card_state: AggregateState = 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: `` [INFO] [stdout] ... [INFO] [stdout] 156 | let credit_card_payments: Vec = CreditCard::by_credit_card_id(bank_account_id, &pool).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [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` due to 55 previous errors; 1 warning emitted [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" "620da619b4e8bfff987af739665f1cfb9c417a107b9a77baecfdef874f7323c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "620da619b4e8bfff987af739665f1cfb9c417a107b9a77baecfdef874f7323c9", kill_on_drop: false }` [INFO] [stdout] 620da619b4e8bfff987af739665f1cfb9c417a107b9a77baecfdef874f7323c9